diff --git a/.gitignore b/.gitignore index cf7f923..0ef546b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,8 @@ cache artifacts # NPM -package-lock.json \ No newline at end of file +package-lock.json + +# Foundry +./out +./forge-cache \ No newline at end of file diff --git a/contracts/FleekERC721.sol b/contracts/FleekERC721.sol index 286863a..0b45d16 100644 --- a/contracts/FleekERC721.sol +++ b/contracts/FleekERC721.sol @@ -84,15 +84,6 @@ contract FleekERC721 is ERC721, FleekAccessControl { return tokenId; } - function upgradeTokenBuild( - uint256 tokenId, - string memory commit, - string memory repository - ) public payable requireTokenOwner(tokenId) { - _requireMinted(tokenId); - setTokenBuild(tokenId, commit, repository); - } - function tokenURI( uint256 tokenId ) public view virtual override returns (string memory) { @@ -123,8 +114,7 @@ contract FleekERC721 is ERC721, FleekAccessControl { uint256 tokenId, address controller ) public requireTokenOwner(tokenId) { - _requireMinted(tokenId); - _grantRole(_tokenRole(tokenId, "CONTROLLER"), controller); + _addTokenController(tokenId, controller); } function _addTokenController( @@ -211,6 +201,7 @@ contract FleekERC721 is ERC721, FleekAccessControl { function burn( uint256 tokenId ) public virtual requireTokenController(tokenId) { + _requireMinted(tokenId); require( ownerOf(tokenId) == msg.sender, "FleekERC721: must be token owner" diff --git a/forge-cache/solidity-files-cache.json b/forge-cache/solidity-files-cache.json deleted file mode 100644 index 9acdc6b..0000000 --- a/forge-cache/solidity-files-cache.json +++ /dev/null @@ -1,1431 +0,0 @@ -{ - "_format": "ethers-rs-sol-cache-3", - "paths": { - "artifacts": "out", - "build_infos": "out/build-info", - "sources": "contracts", - "tests": "test/foundry", - "scripts": "script", - "libraries": [ - "lib", - "node_modules" - ] - }, - "files": { - "contracts/FleekAccessControl.sol": { - "lastModificationDate": 1670411653177, - "contentHash": "5c645b97647998bd63b1f505d345beb9", - "sourceName": "contracts/FleekAccessControl.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [ - "node_modules/@openzeppelin/contracts/access/AccessControl.sol", - "node_modules/@openzeppelin/contracts/access/IAccessControl.sol", - "node_modules/@openzeppelin/contracts/utils/Context.sol", - "node_modules/@openzeppelin/contracts/utils/Strings.sol", - "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", - "node_modules/@openzeppelin/contracts/utils/math/Math.sol" - ], - "versionRequirement": "^0.8.7", - "artifacts": { - "FleekAccessControl": { - "0.8.17+commit.8df45f5f.Linux.gcc": "FleekAccessControl.sol/FleekAccessControl.json" - } - } - }, - "contracts/FleekERC721.sol": { - "lastModificationDate": 1670425560329, - "contentHash": "9522992e0912fe3d7fb8dbbd44df3550", - "sourceName": "contracts/FleekERC721.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [ - "contracts/FleekAccessControl.sol", - "node_modules/@openzeppelin/contracts/access/AccessControl.sol", - "node_modules/@openzeppelin/contracts/access/IAccessControl.sol", - "node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol", - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol", - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol", - "node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol", - "node_modules/@openzeppelin/contracts/utils/Address.sol", - "node_modules/@openzeppelin/contracts/utils/Base64.sol", - "node_modules/@openzeppelin/contracts/utils/Context.sol", - "node_modules/@openzeppelin/contracts/utils/Counters.sol", - "node_modules/@openzeppelin/contracts/utils/Strings.sol", - "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", - "node_modules/@openzeppelin/contracts/utils/math/Math.sol" - ], - "versionRequirement": "^0.8.7", - "artifacts": { - "FleekERC721": { - "0.8.17+commit.8df45f5f.Linux.gcc": "FleekERC721.sol/FleekERC721.json" - } - } - }, - "lib/forge-std/lib/ds-test/src/test.sol": { - "lastModificationDate": 1670411653183, - "contentHash": "962996f0e05d5218857a538a62d7c47e", - "sourceName": "lib/forge-std/lib/ds-test/src/test.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [], - "versionRequirement": ">=0.5.0", - "artifacts": { - "DSTest": { - "0.8.17+commit.8df45f5f.Linux.gcc": "test.sol/DSTest.json" - } - } - }, - "lib/forge-std/src/Common.sol": { - "lastModificationDate": 1670411653187, - "contentHash": "385215973dee04c2a4bfefa3a37e253c", - "sourceName": "lib/forge-std/src/Common.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [ - "lib/forge-std/lib/ds-test/src/test.sol", - "lib/forge-std/src/Components.sol", - "lib/forge-std/src/StdAssertions.sol", - "lib/forge-std/src/StdCheats.sol", - "lib/forge-std/src/StdError.sol", - "lib/forge-std/src/StdJson.sol", - "lib/forge-std/src/StdMath.sol", - "lib/forge-std/src/StdStorage.sol", - "lib/forge-std/src/StdUtils.sol", - "lib/forge-std/src/Vm.sol", - "lib/forge-std/src/console.sol", - "lib/forge-std/src/console2.sol" - ], - "versionRequirement": ">=0.6.2, <0.9.0", - "artifacts": { - "CommonBase": { - "0.8.17+commit.8df45f5f.Linux.gcc": "Common.sol/CommonBase.json" - } - } - }, - "lib/forge-std/src/Components.sol": { - "lastModificationDate": 1670411653187, - "contentHash": "745a7e4623550699a5e0333bcf4f0184", - "sourceName": "lib/forge-std/src/Components.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [ - "lib/forge-std/lib/ds-test/src/test.sol", - "lib/forge-std/src/StdAssertions.sol", - "lib/forge-std/src/StdCheats.sol", - "lib/forge-std/src/StdError.sol", - "lib/forge-std/src/StdJson.sol", - "lib/forge-std/src/StdMath.sol", - "lib/forge-std/src/StdStorage.sol", - "lib/forge-std/src/StdUtils.sol", - "lib/forge-std/src/Vm.sol", - "lib/forge-std/src/console.sol", - "lib/forge-std/src/console2.sol" - ], - "versionRequirement": ">=0.6.2, <0.9.0", - "artifacts": { - "Components": { - "0.8.17+commit.8df45f5f.Linux.gcc": "Components.sol/Components.json" - } - } - }, - "lib/forge-std/src/StdAssertions.sol": { - "lastModificationDate": 1670411653187, - "contentHash": "d3f7487aaf77c715fdbdea89ea4f8399", - "sourceName": "lib/forge-std/src/StdAssertions.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [ - "lib/forge-std/lib/ds-test/src/test.sol", - "lib/forge-std/src/StdMath.sol" - ], - "versionRequirement": ">=0.6.2, <0.9.0", - "artifacts": { - "StdAssertions": { - "0.8.17+commit.8df45f5f.Linux.gcc": "StdAssertions.sol/StdAssertions.json" - } - } - }, - "lib/forge-std/src/StdCheats.sol": { - "lastModificationDate": 1670411653187, - "contentHash": "e7337996cb2aa604814b2994c9e65826", - "sourceName": "lib/forge-std/src/StdCheats.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [ - "lib/forge-std/src/StdStorage.sol", - "lib/forge-std/src/Vm.sol" - ], - "versionRequirement": ">=0.6.2, <0.9.0", - "artifacts": { - "StdCheats": { - "0.8.17+commit.8df45f5f.Linux.gcc": "StdCheats.sol/StdCheats.json" - }, - "StdCheatsSafe": { - "0.8.17+commit.8df45f5f.Linux.gcc": "StdCheats.sol/StdCheatsSafe.json" - } - } - }, - "lib/forge-std/src/StdError.sol": { - "lastModificationDate": 1670411653187, - "contentHash": "64c896e1276a291776e5ea5aecb3870a", - "sourceName": "lib/forge-std/src/StdError.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [], - "versionRequirement": ">=0.6.2, <0.9.0", - "artifacts": { - "stdError": { - "0.8.17+commit.8df45f5f.Linux.gcc": "StdError.sol/stdError.json" - } - } - }, - "lib/forge-std/src/StdJson.sol": { - "lastModificationDate": 1670411653187, - "contentHash": "1df82178ad2d4556c856d0ca4b8f614d", - "sourceName": "lib/forge-std/src/StdJson.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [ - "lib/forge-std/src/Vm.sol" - ], - "versionRequirement": ">=0.6.0, <0.9.0", - "artifacts": { - "stdJson": { - "0.8.17+commit.8df45f5f.Linux.gcc": "StdJson.sol/stdJson.json" - } - } - }, - "lib/forge-std/src/StdMath.sol": { - "lastModificationDate": 1670411653187, - "contentHash": "9da8f453eba6bb98f3d75bc6822bfb29", - "sourceName": "lib/forge-std/src/StdMath.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [], - "versionRequirement": ">=0.6.2, <0.9.0", - "artifacts": { - "stdMath": { - "0.8.17+commit.8df45f5f.Linux.gcc": "StdMath.sol/stdMath.json" - } - } - }, - "lib/forge-std/src/StdStorage.sol": { - "lastModificationDate": 1670411653187, - "contentHash": "3f1bd6d72997330e2f556ececa8114a7", - "sourceName": "lib/forge-std/src/StdStorage.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [ - "lib/forge-std/src/Vm.sol" - ], - "versionRequirement": ">=0.6.2, <0.9.0", - "artifacts": { - "stdStorage": { - "0.8.17+commit.8df45f5f.Linux.gcc": "StdStorage.sol/stdStorage.json" - }, - "stdStorageSafe": { - "0.8.17+commit.8df45f5f.Linux.gcc": "StdStorage.sol/stdStorageSafe.json" - } - } - }, - "lib/forge-std/src/StdUtils.sol": { - "lastModificationDate": 1670411653187, - "contentHash": "1d1d6bf7b4609a675d06cc41f8dcd5ad", - "sourceName": "lib/forge-std/src/StdUtils.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [ - "lib/forge-std/src/console2.sol" - ], - "versionRequirement": ">=0.6.2, <0.9.0", - "artifacts": { - "StdUtils": { - "0.8.17+commit.8df45f5f.Linux.gcc": "StdUtils.sol/StdUtils.json" - } - } - }, - "lib/forge-std/src/Test.sol": { - "lastModificationDate": 1670411653187, - "contentHash": "23c73ad6c59f5d629042303f8ffc1359", - "sourceName": "lib/forge-std/src/Test.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [ - "lib/forge-std/lib/ds-test/src/test.sol", - "lib/forge-std/src/Common.sol", - "lib/forge-std/src/Components.sol", - "lib/forge-std/src/StdAssertions.sol", - "lib/forge-std/src/StdCheats.sol", - "lib/forge-std/src/StdError.sol", - "lib/forge-std/src/StdJson.sol", - "lib/forge-std/src/StdMath.sol", - "lib/forge-std/src/StdStorage.sol", - "lib/forge-std/src/StdUtils.sol", - "lib/forge-std/src/Vm.sol", - "lib/forge-std/src/console.sol", - "lib/forge-std/src/console2.sol" - ], - "versionRequirement": ">=0.6.2, <0.9.0", - "artifacts": { - "Test": { - "0.8.17+commit.8df45f5f.Linux.gcc": "Test.sol/Test.json" - }, - "TestBase": { - "0.8.17+commit.8df45f5f.Linux.gcc": "Test.sol/TestBase.json" - } - } - }, - "lib/forge-std/src/Vm.sol": { - "lastModificationDate": 1670411653187, - "contentHash": "af4e1189b1763fe0d73a21d17cc2ea9c", - "sourceName": "lib/forge-std/src/Vm.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [], - "versionRequirement": ">=0.6.2, <0.9.0", - "artifacts": { - "Vm": { - "0.8.17+commit.8df45f5f.Linux.gcc": "Vm.sol/Vm.json" - }, - "VmSafe": { - "0.8.17+commit.8df45f5f.Linux.gcc": "Vm.sol/VmSafe.json" - } - } - }, - "lib/forge-std/src/console.sol": { - "lastModificationDate": 1670411653187, - "contentHash": "100b8a33b917da1147740d7ab8b0ded3", - "sourceName": "lib/forge-std/src/console.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [], - "versionRequirement": ">=0.4.22, <0.9.0", - "artifacts": { - "console": { - "0.8.17+commit.8df45f5f.Linux.gcc": "console.sol/console.json" - } - } - }, - "lib/forge-std/src/console2.sol": { - "lastModificationDate": 1670411653187, - "contentHash": "493035087920d89b7c215d662e53ace3", - "sourceName": "lib/forge-std/src/console2.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [], - "versionRequirement": ">=0.4.22, <0.9.0", - "artifacts": { - "console2": { - "0.8.17+commit.8df45f5f.Linux.gcc": "console2.sol/console2.json" - } - } - }, - "node_modules/@openzeppelin/contracts/access/AccessControl.sol": { - "lastModificationDate": 1669821547078, - "contentHash": "95a6c227d1b8843e9385518a5bce4853", - "sourceName": "node_modules/@openzeppelin/contracts/access/AccessControl.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [ - "node_modules/@openzeppelin/contracts/access/IAccessControl.sol", - "node_modules/@openzeppelin/contracts/utils/Context.sol", - "node_modules/@openzeppelin/contracts/utils/Strings.sol", - "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", - "node_modules/@openzeppelin/contracts/utils/math/Math.sol" - ], - "versionRequirement": "^0.8.0", - "artifacts": { - "AccessControl": { - "0.8.17+commit.8df45f5f.Linux.gcc": "AccessControl.sol/AccessControl.json" - } - } - }, - "node_modules/@openzeppelin/contracts/access/IAccessControl.sol": { - "lastModificationDate": 1669821548318, - "contentHash": "57c84298234411cea19c7c284d86be8b", - "sourceName": "node_modules/@openzeppelin/contracts/access/IAccessControl.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [], - "versionRequirement": "^0.8.0", - "artifacts": { - "IAccessControl": { - "0.8.17+commit.8df45f5f.Linux.gcc": "IAccessControl.sol/IAccessControl.json" - } - } - }, - "node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol": { - "lastModificationDate": 1669821548041, - "contentHash": "190f627b9302b9602d3a313e28205cc5", - "sourceName": "node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [ - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol", - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol", - "node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol", - "node_modules/@openzeppelin/contracts/utils/Address.sol", - "node_modules/@openzeppelin/contracts/utils/Context.sol", - "node_modules/@openzeppelin/contracts/utils/Strings.sol", - "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", - "node_modules/@openzeppelin/contracts/utils/math/Math.sol" - ], - "versionRequirement": "^0.8.0", - "artifacts": { - "ERC721": { - "0.8.17+commit.8df45f5f.Linux.gcc": "ERC721.sol/ERC721.json" - } - } - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": { - "lastModificationDate": 1669821548588, - "contentHash": "eb7e61db29f31d88b3c1cef1b063d338", - "sourceName": "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [ - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol" - ], - "versionRequirement": "^0.8.0", - "artifacts": { - "IERC721": { - "0.8.17+commit.8df45f5f.Linux.gcc": "IERC721.sol/IERC721.json" - } - } - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": { - "lastModificationDate": 1669821548601, - "contentHash": "c22d4395e33763de693fd440c6fd10e1", - "sourceName": "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [], - "versionRequirement": "^0.8.0", - "artifacts": { - "IERC721Receiver": { - "0.8.17+commit.8df45f5f.Linux.gcc": "IERC721Receiver.sol/IERC721Receiver.json" - } - } - }, - "node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol": { - "lastModificationDate": 1669821548595, - "contentHash": "efbc0d15b80a74e34dbe8da0f3e879bb", - "sourceName": "node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [ - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol", - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol" - ], - "versionRequirement": "^0.8.0", - "artifacts": { - "IERC721Metadata": { - "0.8.17+commit.8df45f5f.Linux.gcc": "IERC721Metadata.sol/IERC721Metadata.json" - } - } - }, - "node_modules/@openzeppelin/contracts/utils/Address.sol": { - "lastModificationDate": 1669821547101, - "contentHash": "f31ad6fc4bbf9c06203987220156a6ba", - "sourceName": "node_modules/@openzeppelin/contracts/utils/Address.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [], - "versionRequirement": "^0.8.1", - "artifacts": { - "Address": { - "0.8.17+commit.8df45f5f.Linux.gcc": "Address.sol/Address.json" - } - } - }, - "node_modules/@openzeppelin/contracts/utils/Base64.sol": { - "lastModificationDate": 1669821547121, - "contentHash": "8f868da0a90e46a85baa348a896d1702", - "sourceName": "node_modules/@openzeppelin/contracts/utils/Base64.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [], - "versionRequirement": "^0.8.0", - "artifacts": { - "Base64": { - "0.8.17+commit.8df45f5f.Linux.gcc": "Base64.sol/Base64.json" - } - } - }, - "node_modules/@openzeppelin/contracts/utils/Context.sol": { - "lastModificationDate": 1669821547188, - "contentHash": "5f2c5c4b6af2dd4551027144797bc8be", - "sourceName": "node_modules/@openzeppelin/contracts/utils/Context.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [], - "versionRequirement": "^0.8.0", - "artifacts": { - "Context": { - "0.8.17+commit.8df45f5f.Linux.gcc": "Context.sol/Context.json" - } - } - }, - "node_modules/@openzeppelin/contracts/utils/Counters.sol": { - "lastModificationDate": 1669821547218, - "contentHash": "74654e3ae5d7f39555055dfe244dab7a", - "sourceName": "node_modules/@openzeppelin/contracts/utils/Counters.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [], - "versionRequirement": "^0.8.0", - "artifacts": { - "Counters": { - "0.8.17+commit.8df45f5f.Linux.gcc": "Counters.sol/Counters.json" - } - } - }, - "node_modules/@openzeppelin/contracts/utils/Strings.sol": { - "lastModificationDate": 1669821548768, - "contentHash": "396031251978f8febfd90cb62cb240ec", - "sourceName": "node_modules/@openzeppelin/contracts/utils/Strings.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [ - "node_modules/@openzeppelin/contracts/utils/math/Math.sol" - ], - "versionRequirement": "^0.8.0", - "artifacts": { - "Strings": { - "0.8.17+commit.8df45f5f.Linux.gcc": "Strings.sol/Strings.json" - } - } - }, - "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": { - "lastModificationDate": 1669821547785, - "contentHash": "0e7db055ce108f9da7bb6686a00287c0", - "sourceName": "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [ - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol" - ], - "versionRequirement": "^0.8.0", - "artifacts": { - "ERC165": { - "0.8.17+commit.8df45f5f.Linux.gcc": "ERC165.sol/ERC165.json" - } - } - }, - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { - "lastModificationDate": 1669821548518, - "contentHash": "03e6768535ac4da0e9756f1d8a4a018a", - "sourceName": "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [], - "versionRequirement": "^0.8.0", - "artifacts": { - "IERC165": { - "0.8.17+commit.8df45f5f.Linux.gcc": "IERC165.sol/IERC165.json" - } - } - }, - "node_modules/@openzeppelin/contracts/utils/math/Math.sol": { - "lastModificationDate": 1669821548671, - "contentHash": "b9c58920ce74d6dc819161786112e7ee", - "sourceName": "node_modules/@openzeppelin/contracts/utils/math/Math.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [], - "versionRequirement": "^0.8.0", - "artifacts": { - "Math": { - "0.8.17+commit.8df45f5f.Linux.gcc": "Math.sol/Math.json" - } - } - }, - "test/foundry/apps.t.sol": { - "lastModificationDate": 1670425619647, - "contentHash": "04a0358899f22e7f132b2e88e022426c", - "sourceName": "test/foundry/apps.t.sol", - "solcConfig": { - "settings": { - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs", - "appendCBOR": true - }, - "outputSelection": { - "*": { - "": [ - "ast" - ], - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ] - } - }, - "evmVersion": "london", - "viaIR": true, - "libraries": {} - } - }, - "imports": [ - "contracts/FleekAccessControl.sol", - "contracts/FleekERC721.sol", - "lib/forge-std/lib/ds-test/src/test.sol", - "lib/forge-std/src/Common.sol", - "lib/forge-std/src/Components.sol", - "lib/forge-std/src/StdAssertions.sol", - "lib/forge-std/src/StdCheats.sol", - "lib/forge-std/src/StdError.sol", - "lib/forge-std/src/StdJson.sol", - "lib/forge-std/src/StdMath.sol", - "lib/forge-std/src/StdStorage.sol", - "lib/forge-std/src/StdUtils.sol", - "lib/forge-std/src/Test.sol", - "lib/forge-std/src/Vm.sol", - "lib/forge-std/src/console.sol", - "lib/forge-std/src/console2.sol", - "node_modules/@openzeppelin/contracts/access/AccessControl.sol", - "node_modules/@openzeppelin/contracts/access/IAccessControl.sol", - "node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol", - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol", - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol", - "node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol", - "node_modules/@openzeppelin/contracts/utils/Address.sol", - "node_modules/@openzeppelin/contracts/utils/Base64.sol", - "node_modules/@openzeppelin/contracts/utils/Context.sol", - "node_modules/@openzeppelin/contracts/utils/Counters.sol", - "node_modules/@openzeppelin/contracts/utils/Strings.sol", - "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", - "node_modules/@openzeppelin/contracts/utils/math/Math.sol" - ], - "versionRequirement": "^0.8.7", - "artifacts": { - "ContractBTest": { - "0.8.17+commit.8df45f5f.Linux.gcc": "apps.t.sol/ContractBTest.json" - } - } - } - } -} \ No newline at end of file diff --git a/out/AccessControl.sol/AccessControl.json b/out/AccessControl.sol/AccessControl.json deleted file mode 100644 index bcca53f..0000000 --- a/out/AccessControl.sol/AccessControl.json +++ /dev/null @@ -1,4548 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "previousAdminRole", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "newAdminRole", - "type": "bytes32" - } - ], - "name": "RoleAdminChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "RoleGranted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "RoleRevoked", - "type": "event" - }, - { - "inputs": [], - "name": "DEFAULT_ADMIN_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - } - ], - "name": "getRoleAdmin", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "grantRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "hasRole", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "renounceRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "revokeRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "DEFAULT_ADMIN_ROLE()": "a217fddf", - "getRoleAdmin(bytes32)": "248a9ca3", - "grantRole(bytes32,address)": "2f2ff15d", - "hasRole(bytes32,address)": "91d14854", - "renounceRole(bytes32,address)": "36568abe", - "revokeRole(bytes32,address)": "d547741f", - "supportsInterface(bytes4)": "01ffc9a7" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"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\":\"Contract module that allows children to implement role-based access control mechanisms. This is a lightweight version that doesn't allow enumerating role members except through off-chain means by accessing the contract event logs. Some applications may benefit from on-chain enumerability, for those cases see {AccessControlEnumerable}. Roles are referred to by their `bytes32` identifier. These should be exposed in the external API and be unique. The best way to achieve this is by using `public constant` hash digests: ``` bytes32 public constant MY_ROLE = keccak256(\\\"MY_ROLE\\\"); ``` Roles can be used to represent a set of permissions. To restrict access to a function call, use {hasRole}: ``` function foo() public { require(hasRole(MY_ROLE, msg.sender)); ... } ``` Roles can be granted and revoked dynamically via the {grantRole} and {revokeRole} functions. Each role has an associated admin role, and only accounts that have a role's admin role can call {grantRole} and {revokeRole}. By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means that only accounts with this role will be able to grant or revoke other roles. More complex role relationships can be created by using {_setRoleAdmin}. WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to grant and revoke this role. Extra precautions should be taken to secure accounts that have been granted it.\",\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`. May emit a {RoleRevoked} event.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/access/AccessControl.sol\":\"AccessControl\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x67e3daf189111d6d5b0464ed09cf9f0605a22c4b965a7fcecd707101faff008a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbbb1a75e4064d564bf69e74970eef35064e51fcc09cbf3589aee7faa60d6afe\",\"dweb:/ipfs/QmYfAtQwFSGmxomnyAV3tpBDbfDwiFXV61osWW2zzQVg5Q\"]},\"node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634\",\"dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"node_modules/@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b\",\"dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "bytes32", - "name": "previousAdminRole", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "bytes32", - "name": "newAdminRole", - "type": "bytes32", - "indexed": true - } - ], - "type": "event", - "name": "RoleAdminChanged", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "address", - "name": "account", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "sender", - "type": "address", - "indexed": true - } - ], - "type": "event", - "name": "RoleGranted", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "address", - "name": "account", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "sender", - "type": "address", - "indexed": true - } - ], - "type": "event", - "name": "RoleRevoked", - "anonymous": false - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "DEFAULT_ADMIN_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getRoleAdmin", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "grantRole" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "hasRole", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "renounceRole" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeRole" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "stateMutability": "view", - "type": "function", - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": { - "getRoleAdmin(bytes32)": { - "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." - }, - "grantRole(bytes32,address)": { - "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event." - }, - "hasRole(bytes32,address)": { - "details": "Returns `true` if `account` has been granted `role`." - }, - "renounceRole(bytes32,address)": { - "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`. May emit a {RoleRevoked} event." - }, - "revokeRole(bytes32,address)": { - "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event." - }, - "supportsInterface(bytes4)": { - "details": "See {IERC165-supportsInterface}." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/access/AccessControl.sol": "AccessControl" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "node_modules/@openzeppelin/contracts/access/AccessControl.sol": { - "keccak256": "0x67e3daf189111d6d5b0464ed09cf9f0605a22c4b965a7fcecd707101faff008a", - "urls": [ - "bzz-raw://cbbb1a75e4064d564bf69e74970eef35064e51fcc09cbf3589aee7faa60d6afe", - "dweb:/ipfs/QmYfAtQwFSGmxomnyAV3tpBDbfDwiFXV61osWW2zzQVg5Q" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/access/IAccessControl.sol": { - "keccak256": "0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57", - "urls": [ - "bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a", - "dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Context.sol": { - "keccak256": "0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7", - "urls": [ - "bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92", - "dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Strings.sol": { - "keccak256": "0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a", - "urls": [ - "bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634", - "dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": { - "keccak256": "0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b", - "urls": [ - "bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d", - "dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { - "keccak256": "0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1", - "urls": [ - "bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f", - "dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/math/Math.sol": { - "keccak256": "0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6", - "urls": [ - "bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b", - "dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/access/AccessControl.sol", - "id": 25702, - "exportedSymbols": { - "AccessControl": [ - 25701 - ], - "Context": [ - 27279 - ], - "ERC165": [ - 27552 - ], - "IAccessControl": [ - 25774 - ], - "IERC165": [ - 27564 - ], - "Math": [ - 28429 - ], - "Strings": [ - 27528 - ] - }, - "nodeType": "SourceUnit", - "src": "108:7994:16", - "nodes": [ - { - "id": 25387, - "nodeType": "PragmaDirective", - "src": "108:23:16", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 25388, - "nodeType": "ImportDirective", - "src": "133:30:16", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/access/IAccessControl.sol", - "file": "./IAccessControl.sol", - "nameLocation": "-1:-1:-1", - "scope": 25702, - "sourceUnit": 25775, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 25389, - "nodeType": "ImportDirective", - "src": "164:30:16", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Context.sol", - "file": "../utils/Context.sol", - "nameLocation": "-1:-1:-1", - "scope": 25702, - "sourceUnit": 27280, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 25390, - "nodeType": "ImportDirective", - "src": "195:30:16", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Strings.sol", - "file": "../utils/Strings.sol", - "nameLocation": "-1:-1:-1", - "scope": 25702, - "sourceUnit": 27529, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 25391, - "nodeType": "ImportDirective", - "src": "226:43:16", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", - "file": "../utils/introspection/ERC165.sol", - "nameLocation": "-1:-1:-1", - "scope": 25702, - "sourceUnit": 27553, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 25701, - "nodeType": "ContractDefinition", - "src": "1806:6295:16", - "nodes": [ - { - "id": 25405, - "nodeType": "StructDefinition", - "src": "1879:92:16", - "nodes": [], - "canonicalName": "AccessControl.RoleData", - "members": [ - { - "constant": false, - "id": 25402, - "mutability": "mutable", - "name": "members", - "nameLocation": "1930:7:16", - "nodeType": "VariableDeclaration", - "scope": 25405, - "src": "1905:32:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "typeName": { - "id": 25401, - "keyType": { - "id": 25399, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1913:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1905:24:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "valueType": { - "id": 25400, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1924:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25404, - "mutability": "mutable", - "name": "adminRole", - "nameLocation": "1955:9:16", - "nodeType": "VariableDeclaration", - "scope": 25405, - "src": "1947:17:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25403, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1947:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "name": "RoleData", - "nameLocation": "1886:8:16", - "scope": 25701, - "visibility": "public" - }, - { - "id": 25410, - "nodeType": "VariableDeclaration", - "src": "1977:43:16", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "_roles", - "nameLocation": "2014:6:16", - "scope": 25701, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$25405_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData)" - }, - "typeName": { - "id": 25409, - "keyType": { - "id": 25406, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1985:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "1977:28:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$25405_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData)" - }, - "valueType": { - "id": 25408, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 25407, - "name": "RoleData", - "nameLocations": [ - "1996:8:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 25405, - "src": "1996:8:16" - }, - "referencedDeclaration": 25405, - "src": "1996:8:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$25405_storage_ptr", - "typeString": "struct AccessControl.RoleData" - } - } - }, - "visibility": "private" - }, - { - "id": 25413, - "nodeType": "VariableDeclaration", - "src": "2027:49:16", - "nodes": [], - "constant": true, - "functionSelector": "a217fddf", - "mutability": "constant", - "name": "DEFAULT_ADMIN_ROLE", - "nameLocation": "2051:18:16", - "scope": 25701, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25411, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2027:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "hexValue": "30783030", - "id": 25412, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2072:4:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x00" - }, - "visibility": "public" - }, - { - "id": 25424, - "nodeType": "ModifierDefinition", - "src": "2463:76:16", - "nodes": [], - "body": { - "id": 25423, - "nodeType": "Block", - "src": "2495:44:16", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 25419, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25416, - "src": "2516:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 25418, - "name": "_checkRole", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 25478, - 25517 - ], - "referencedDeclaration": 25478, - "src": "2505:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$__$", - "typeString": "function (bytes32) view" - } - }, - "id": 25420, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2505:16:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25421, - "nodeType": "ExpressionStatement", - "src": "2505:16:16" - }, - { - "id": 25422, - "nodeType": "PlaceholderStatement", - "src": "2531:1:16" - } - ] - }, - "documentation": { - "id": 25414, - "nodeType": "StructuredDocumentation", - "src": "2083:375:16", - "text": " @dev Modifier that checks that an account has a specific role. Reverts\n with a standardized message including the required role.\n The format of the revert reason is given by the following regular expression:\n /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\n _Available since v4.1._" - }, - "name": "onlyRole", - "nameLocation": "2472:8:16", - "parameters": { - "id": 25417, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25416, - "mutability": "mutable", - "name": "role", - "nameLocation": "2489:4:16", - "nodeType": "VariableDeclaration", - "scope": 25424, - "src": "2481:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25415, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2481:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "2480:14:16" - }, - "virtual": false, - "visibility": "internal" - }, - { - "id": 25446, - "nodeType": "FunctionDefinition", - "src": "2606:202:16", - "nodes": [], - "body": { - "id": 25445, - "nodeType": "Block", - "src": "2697:111:16", - "nodes": [], - "statements": [ - { - "expression": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 25443, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 25438, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25433, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25427, - "src": "2714:11:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 25435, - "name": "IAccessControl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25774, - "src": "2734:14:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IAccessControl_$25774_$", - "typeString": "type(contract IAccessControl)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_contract$_IAccessControl_$25774_$", - "typeString": "type(contract IAccessControl)" - } - ], - "id": 25434, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "2729:4:16", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 25436, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2729:20:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_contract$_IAccessControl_$25774", - "typeString": "type(contract IAccessControl)" - } - }, - "id": 25437, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2750:11:16", - "memberName": "interfaceId", - "nodeType": "MemberAccess", - "src": "2729:32:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "2714:47:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "arguments": [ - { - "id": 25441, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25427, - "src": "2789:11:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "id": 25439, - "name": "super", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -25, - "src": "2765:5:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_super$_AccessControl_$25701_$", - "typeString": "type(contract super AccessControl)" - } - }, - "id": 25440, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2771:17:16", - "memberName": "supportsInterface", - "nodeType": "MemberAccess", - "referencedDeclaration": 27551, - "src": "2765:23:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes4_$returns$_t_bool_$", - "typeString": "function (bytes4) view returns (bool)" - } - }, - "id": 25442, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2765:36:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2714:87:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 25432, - "id": 25444, - "nodeType": "Return", - "src": "2707:94:16" - } - ] - }, - "baseFunctions": [ - 27551 - ], - "documentation": { - "id": 25425, - "nodeType": "StructuredDocumentation", - "src": "2545:56:16", - "text": " @dev See {IERC165-supportsInterface}." - }, - "functionSelector": "01ffc9a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "supportsInterface", - "nameLocation": "2615:17:16", - "overrides": { - "id": 25429, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2673:8:16" - }, - "parameters": { - "id": 25428, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25427, - "mutability": "mutable", - "name": "interfaceId", - "nameLocation": "2640:11:16", - "nodeType": "VariableDeclaration", - "scope": 25446, - "src": "2633:18:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 25426, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "2633:6:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "2632:20:16" - }, - "returnParameters": { - "id": 25432, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25431, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25446, - "src": "2691:4:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 25430, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2691:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "2690:6:16" - }, - "scope": 25701, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 25465, - "nodeType": "FunctionDefinition", - "src": "2895:145:16", - "nodes": [], - "body": { - "id": 25464, - "nodeType": "Block", - "src": "2987:53:16", - "nodes": [], - "statements": [ - { - "expression": { - "baseExpression": { - "expression": { - "baseExpression": { - "id": 25457, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25410, - "src": "3004:6:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$25405_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 25459, - "indexExpression": { - "id": 25458, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25449, - "src": "3011:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3004:12:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$25405_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 25460, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3017:7:16", - "memberName": "members", - "nodeType": "MemberAccess", - "referencedDeclaration": 25402, - "src": "3004:20:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 25462, - "indexExpression": { - "id": 25461, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25451, - "src": "3025:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3004:29:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 25456, - "id": 25463, - "nodeType": "Return", - "src": "2997:36:16" - } - ] - }, - "baseFunctions": [ - 25741 - ], - "documentation": { - "id": 25447, - "nodeType": "StructuredDocumentation", - "src": "2814:76:16", - "text": " @dev Returns `true` if `account` has been granted `role`." - }, - "functionSelector": "91d14854", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hasRole", - "nameLocation": "2904:7:16", - "overrides": { - "id": 25453, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2963:8:16" - }, - "parameters": { - "id": 25452, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25449, - "mutability": "mutable", - "name": "role", - "nameLocation": "2920:4:16", - "nodeType": "VariableDeclaration", - "scope": 25465, - "src": "2912:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25448, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2912:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25451, - "mutability": "mutable", - "name": "account", - "nameLocation": "2934:7:16", - "nodeType": "VariableDeclaration", - "scope": 25465, - "src": "2926:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25450, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2926:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2911:31:16" - }, - "returnParameters": { - "id": 25456, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25455, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25465, - "src": "2981:4:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 25454, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2981:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "2980:6:16" - }, - "scope": 25701, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 25478, - "nodeType": "FunctionDefinition", - "src": "3334:103:16", - "nodes": [], - "body": { - "id": 25477, - "nodeType": "Block", - "src": "3390:47:16", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 25472, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25468, - "src": "3411:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 25473, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27269, - "src": "3417:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 25474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3417:12:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 25471, - "name": "_checkRole", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 25478, - 25517 - ], - "referencedDeclaration": 25517, - "src": "3400:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address) view" - } - }, - "id": 25475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3400:30:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25476, - "nodeType": "ExpressionStatement", - "src": "3400:30:16" - } - ] - }, - "documentation": { - "id": 25466, - "nodeType": "StructuredDocumentation", - "src": "3046:283:16", - "text": " @dev Revert with a standard message if `_msgSender()` is missing `role`.\n Overriding this function changes the behavior of the {onlyRole} modifier.\n Format of the revert message is described in {_checkRole}.\n _Available since v4.6._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_checkRole", - "nameLocation": "3343:10:16", - "parameters": { - "id": 25469, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25468, - "mutability": "mutable", - "name": "role", - "nameLocation": "3362:4:16", - "nodeType": "VariableDeclaration", - "scope": 25478, - "src": "3354:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25467, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3354:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "3353:14:16" - }, - "returnParameters": { - "id": 25470, - "nodeType": "ParameterList", - "parameters": [], - "src": "3390:0:16" - }, - "scope": 25701, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 25517, - "nodeType": "FunctionDefinition", - "src": "3718:479:16", - "nodes": [], - "body": { - "id": 25516, - "nodeType": "Block", - "src": "3791:406:16", - "nodes": [], - "statements": [ - { - "condition": { - "id": 25490, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "3805:23:16", - "subExpression": { - "arguments": [ - { - "id": 25487, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25481, - "src": "3814:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 25488, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25483, - "src": "3820:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 25486, - "name": "hasRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25465, - "src": "3806:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", - "typeString": "function (bytes32,address) view returns (bool)" - } - }, - "id": 25489, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3806:22:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 25515, - "nodeType": "IfStatement", - "src": "3801:390:16", - "trueBody": { - "id": 25514, - "nodeType": "Block", - "src": "3830:361:16", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "416363657373436f6e74726f6c3a206163636f756e7420", - "id": 25496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3938:25:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874", - "typeString": "literal_string \"AccessControl: account \"" - }, - "value": "AccessControl: account " - }, - { - "arguments": [ - { - "id": 25499, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25483, - "src": "4009:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 25497, - "name": "Strings", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27528, - "src": "3989:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Strings_$27528_$", - "typeString": "type(library Strings)" - } - }, - "id": 25498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3997:11:16", - "memberName": "toHexString", - "nodeType": "MemberAccess", - "referencedDeclaration": 27527, - "src": "3989:19:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_address_$returns$_t_string_memory_ptr_$", - "typeString": "function (address) pure returns (string memory)" - } - }, - "id": 25500, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3989:28:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "206973206d697373696e6720726f6c6520", - "id": 25501, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4043:19:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69", - "typeString": "literal_string \" is missing role \"" - }, - "value": " is missing role " - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 25506, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25481, - "src": "4116:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 25505, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4108:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 25504, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4108:7:16", - "typeDescriptions": {} - } - }, - "id": 25507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4108:13:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3332", - "id": 25508, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4123:2:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - } - ], - "expression": { - "id": 25502, - "name": "Strings", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27528, - "src": "4088:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Strings_$27528_$", - "typeString": "type(library Strings)" - } - }, - "id": 25503, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4096:11:16", - "memberName": "toHexString", - "nodeType": "MemberAccess", - "referencedDeclaration": 27507, - "src": "4088:19:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256,uint256) pure returns (string memory)" - } - }, - "id": 25509, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4088:38:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874", - "typeString": "literal_string \"AccessControl: account \"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69", - "typeString": "literal_string \" is missing role \"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 25494, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3896:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25495, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3900:12:16", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "3896:16:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 25510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3896:252:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25493, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3868:6:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 25492, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3868:6:16", - "typeDescriptions": {} - } - }, - "id": 25511, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3868:298:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 25491, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "3844:6:16", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 25512, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3844:336:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25513, - "nodeType": "ExpressionStatement", - "src": "3844:336:16" - } - ] - } - } - ] - }, - "documentation": { - "id": 25479, - "nodeType": "StructuredDocumentation", - "src": "3443:270:16", - "text": " @dev Revert with a standard message if `account` is missing `role`.\n The format of the revert reason is given by the following regular expression:\n /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_checkRole", - "nameLocation": "3727:10:16", - "parameters": { - "id": 25484, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25481, - "mutability": "mutable", - "name": "role", - "nameLocation": "3746:4:16", - "nodeType": "VariableDeclaration", - "scope": 25517, - "src": "3738:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25480, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3738:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25483, - "mutability": "mutable", - "name": "account", - "nameLocation": "3760:7:16", - "nodeType": "VariableDeclaration", - "scope": 25517, - "src": "3752:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25482, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3752:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3737:31:16" - }, - "returnParameters": { - "id": 25485, - "nodeType": "ParameterList", - "parameters": [], - "src": "3791:0:16" - }, - "scope": 25701, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 25532, - "nodeType": "FunctionDefinition", - "src": "4378:129:16", - "nodes": [], - "body": { - "id": 25531, - "nodeType": "Block", - "src": "4461:46:16", - "nodes": [], - "statements": [ - { - "expression": { - "expression": { - "baseExpression": { - "id": 25526, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25410, - "src": "4478:6:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$25405_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 25528, - "indexExpression": { - "id": 25527, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25520, - "src": "4485:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4478:12:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$25405_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 25529, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4491:9:16", - "memberName": "adminRole", - "nodeType": "MemberAccess", - "referencedDeclaration": 25404, - "src": "4478:22:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 25525, - "id": 25530, - "nodeType": "Return", - "src": "4471:29:16" - } - ] - }, - "baseFunctions": [ - 25749 - ], - "documentation": { - "id": 25518, - "nodeType": "StructuredDocumentation", - "src": "4203:170:16", - "text": " @dev Returns the admin role that controls `role`. See {grantRole} and\n {revokeRole}.\n To change a role's admin, use {_setRoleAdmin}." - }, - "functionSelector": "248a9ca3", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getRoleAdmin", - "nameLocation": "4387:12:16", - "overrides": { - "id": 25522, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4434:8:16" - }, - "parameters": { - "id": 25521, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25520, - "mutability": "mutable", - "name": "role", - "nameLocation": "4408:4:16", - "nodeType": "VariableDeclaration", - "scope": 25532, - "src": "4400:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25519, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4400:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "4399:14:16" - }, - "returnParameters": { - "id": 25525, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25524, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25532, - "src": "4452:7:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25523, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4452:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "4451:9:16" - }, - "scope": 25701, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 25552, - "nodeType": "FunctionDefinition", - "src": "4803:145:16", - "nodes": [], - "body": { - "id": 25551, - "nodeType": "Block", - "src": "4906:42:16", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 25547, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25535, - "src": "4927:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 25548, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25537, - "src": "4933:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 25546, - "name": "_grantRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25669, - "src": "4916:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 25549, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4916:25:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25550, - "nodeType": "ExpressionStatement", - "src": "4916:25:16" - } - ] - }, - "baseFunctions": [ - 25757 - ], - "documentation": { - "id": 25533, - "nodeType": "StructuredDocumentation", - "src": "4513:285:16", - "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event.\n Requirements:\n - the caller must have ``role``'s admin role.\n May emit a {RoleGranted} event." - }, - "functionSelector": "2f2ff15d", - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 25542, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25535, - "src": "4899:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 25541, - "name": "getRoleAdmin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25532, - "src": "4886:12:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (bytes32) view returns (bytes32)" - } - }, - "id": 25543, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4886:18:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 25544, - "kind": "modifierInvocation", - "modifierName": { - "id": 25540, - "name": "onlyRole", - "nameLocations": [ - "4877:8:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 25424, - "src": "4877:8:16" - }, - "nodeType": "ModifierInvocation", - "src": "4877:28:16" - } - ], - "name": "grantRole", - "nameLocation": "4812:9:16", - "overrides": { - "id": 25539, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4868:8:16" - }, - "parameters": { - "id": 25538, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25535, - "mutability": "mutable", - "name": "role", - "nameLocation": "4830:4:16", - "nodeType": "VariableDeclaration", - "scope": 25552, - "src": "4822:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25534, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4822:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25537, - "mutability": "mutable", - "name": "account", - "nameLocation": "4844:7:16", - "nodeType": "VariableDeclaration", - "scope": 25552, - "src": "4836:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25536, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4836:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4821:31:16" - }, - "returnParameters": { - "id": 25545, - "nodeType": "ParameterList", - "parameters": [], - "src": "4906:0:16" - }, - "scope": 25701, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 25572, - "nodeType": "FunctionDefinition", - "src": "5228:147:16", - "nodes": [], - "body": { - "id": 25571, - "nodeType": "Block", - "src": "5332:43:16", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 25567, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25555, - "src": "5354:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 25568, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25557, - "src": "5360:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 25566, - "name": "_revokeRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25700, - "src": "5342:11:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 25569, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5342:26:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25570, - "nodeType": "ExpressionStatement", - "src": "5342:26:16" - } - ] - }, - "baseFunctions": [ - 25765 - ], - "documentation": { - "id": 25553, - "nodeType": "StructuredDocumentation", - "src": "4954:269:16", - "text": " @dev Revokes `role` from `account`.\n If `account` had been granted `role`, emits a {RoleRevoked} event.\n Requirements:\n - the caller must have ``role``'s admin role.\n May emit a {RoleRevoked} event." - }, - "functionSelector": "d547741f", - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 25562, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25555, - "src": "5325:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 25561, - "name": "getRoleAdmin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25532, - "src": "5312:12:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (bytes32) view returns (bytes32)" - } - }, - "id": 25563, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5312:18:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 25564, - "kind": "modifierInvocation", - "modifierName": { - "id": 25560, - "name": "onlyRole", - "nameLocations": [ - "5303:8:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 25424, - "src": "5303:8:16" - }, - "nodeType": "ModifierInvocation", - "src": "5303:28:16" - } - ], - "name": "revokeRole", - "nameLocation": "5237:10:16", - "overrides": { - "id": 25559, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5294:8:16" - }, - "parameters": { - "id": 25558, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25555, - "mutability": "mutable", - "name": "role", - "nameLocation": "5256:4:16", - "nodeType": "VariableDeclaration", - "scope": 25572, - "src": "5248:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25554, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5248:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25557, - "mutability": "mutable", - "name": "account", - "nameLocation": "5270:7:16", - "nodeType": "VariableDeclaration", - "scope": 25572, - "src": "5262:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25556, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5262:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "5247:31:16" - }, - "returnParameters": { - "id": 25565, - "nodeType": "ParameterList", - "parameters": [], - "src": "5332:0:16" - }, - "scope": 25701, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 25595, - "nodeType": "FunctionDefinition", - "src": "5912:214:16", - "nodes": [], - "body": { - "id": 25594, - "nodeType": "Block", - "src": "5989:137:16", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25585, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25582, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25577, - "src": "6007:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 25583, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27269, - "src": "6018:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 25584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6018:12:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6007:23:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66", - "id": 25586, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6032:49:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b", - "typeString": "literal_string \"AccessControl: can only renounce roles for self\"" - }, - "value": "AccessControl: can only renounce roles for self" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b", - "typeString": "literal_string \"AccessControl: can only renounce roles for self\"" - } - ], - "id": 25581, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5999:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5999:83:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25588, - "nodeType": "ExpressionStatement", - "src": "5999:83:16" - }, - { - "expression": { - "arguments": [ - { - "id": 25590, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25575, - "src": "6105:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 25591, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25577, - "src": "6111:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 25589, - "name": "_revokeRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25700, - "src": "6093:11:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 25592, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6093:26:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25593, - "nodeType": "ExpressionStatement", - "src": "6093:26:16" - } - ] - }, - "baseFunctions": [ - 25773 - ], - "documentation": { - "id": 25573, - "nodeType": "StructuredDocumentation", - "src": "5381:526:16", - "text": " @dev Revokes `role` from the calling account.\n Roles are often managed via {grantRole} and {revokeRole}: this function's\n purpose is to provide a mechanism for accounts to lose their privileges\n if they are compromised (such as when a trusted device is misplaced).\n If the calling account had been revoked `role`, emits a {RoleRevoked}\n event.\n Requirements:\n - the caller must be `account`.\n May emit a {RoleRevoked} event." - }, - "functionSelector": "36568abe", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "renounceRole", - "nameLocation": "5921:12:16", - "overrides": { - "id": 25579, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5980:8:16" - }, - "parameters": { - "id": 25578, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25575, - "mutability": "mutable", - "name": "role", - "nameLocation": "5942:4:16", - "nodeType": "VariableDeclaration", - "scope": 25595, - "src": "5934:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25574, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5934:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25577, - "mutability": "mutable", - "name": "account", - "nameLocation": "5956:7:16", - "nodeType": "VariableDeclaration", - "scope": 25595, - "src": "5948:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25576, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5948:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "5933:31:16" - }, - "returnParameters": { - "id": 25580, - "nodeType": "ParameterList", - "parameters": [], - "src": "5989:0:16" - }, - "scope": 25701, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 25609, - "nodeType": "FunctionDefinition", - "src": "6811:110:16", - "nodes": [], - "body": { - "id": 25608, - "nodeType": "Block", - "src": "6879:42:16", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 25604, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25598, - "src": "6900:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 25605, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25600, - "src": "6906:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 25603, - "name": "_grantRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25669, - "src": "6889:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 25606, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6889:25:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25607, - "nodeType": "ExpressionStatement", - "src": "6889:25:16" - } - ] - }, - "documentation": { - "id": 25596, - "nodeType": "StructuredDocumentation", - "src": "6132:674:16", - "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event. Note that unlike {grantRole}, this function doesn't perform any\n checks on the calling account.\n May emit a {RoleGranted} event.\n [WARNING]\n ====\n This function should only be called from the constructor when setting\n up the initial roles for the system.\n Using this function in any other way is effectively circumventing the admin\n system imposed by {AccessControl}.\n ====\n NOTE: This function is deprecated in favor of {_grantRole}." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setupRole", - "nameLocation": "6820:10:16", - "parameters": { - "id": 25601, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25598, - "mutability": "mutable", - "name": "role", - "nameLocation": "6839:4:16", - "nodeType": "VariableDeclaration", - "scope": 25609, - "src": "6831:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25597, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6831:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25600, - "mutability": "mutable", - "name": "account", - "nameLocation": "6853:7:16", - "nodeType": "VariableDeclaration", - "scope": 25609, - "src": "6845:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25599, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6845:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6830:31:16" - }, - "returnParameters": { - "id": 25602, - "nodeType": "ParameterList", - "parameters": [], - "src": "6879:0:16" - }, - "scope": 25701, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 25637, - "nodeType": "FunctionDefinition", - "src": "7046:247:16", - "nodes": [], - "body": { - "id": 25636, - "nodeType": "Block", - "src": "7119:174:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 25618 - ], - "declarations": [ - { - "constant": false, - "id": 25618, - "mutability": "mutable", - "name": "previousAdminRole", - "nameLocation": "7137:17:16", - "nodeType": "VariableDeclaration", - "scope": 25636, - "src": "7129:25:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25617, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7129:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 25622, - "initialValue": { - "arguments": [ - { - "id": 25620, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25612, - "src": "7170:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 25619, - "name": "getRoleAdmin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25532, - "src": "7157:12:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (bytes32) view returns (bytes32)" - } - }, - "id": 25621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7157:18:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7129:46:16" - }, - { - "expression": { - "id": 25628, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 25623, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25410, - "src": "7185:6:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$25405_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 25625, - "indexExpression": { - "id": 25624, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25612, - "src": "7192:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7185:12:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$25405_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 25626, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "7198:9:16", - "memberName": "adminRole", - "nodeType": "MemberAccess", - "referencedDeclaration": 25404, - "src": "7185:22:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 25627, - "name": "adminRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25614, - "src": "7210:9:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "7185:34:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 25629, - "nodeType": "ExpressionStatement", - "src": "7185:34:16" - }, - { - "eventCall": { - "arguments": [ - { - "id": 25631, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25612, - "src": "7251:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 25632, - "name": "previousAdminRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25618, - "src": "7257:17:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 25633, - "name": "adminRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25614, - "src": "7276:9:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 25630, - "name": "RoleAdminChanged", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25713, - "src": "7234:16:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32,bytes32)" - } - }, - "id": 25634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7234:52:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25635, - "nodeType": "EmitStatement", - "src": "7229:57:16" - } - ] - }, - "documentation": { - "id": 25610, - "nodeType": "StructuredDocumentation", - "src": "6927:114:16", - "text": " @dev Sets `adminRole` as ``role``'s admin role.\n Emits a {RoleAdminChanged} event." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setRoleAdmin", - "nameLocation": "7055:13:16", - "parameters": { - "id": 25615, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25612, - "mutability": "mutable", - "name": "role", - "nameLocation": "7077:4:16", - "nodeType": "VariableDeclaration", - "scope": 25637, - "src": "7069:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25611, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7069:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25614, - "mutability": "mutable", - "name": "adminRole", - "nameLocation": "7091:9:16", - "nodeType": "VariableDeclaration", - "scope": 25637, - "src": "7083:17:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25613, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7083:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "7068:33:16" - }, - "returnParameters": { - "id": 25616, - "nodeType": "ParameterList", - "parameters": [], - "src": "7119:0:16" - }, - "scope": 25701, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 25669, - "nodeType": "FunctionDefinition", - "src": "7461:233:16", - "nodes": [], - "body": { - "id": 25668, - "nodeType": "Block", - "src": "7529:165:16", - "nodes": [], - "statements": [ - { - "condition": { - "id": 25649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "7543:23:16", - "subExpression": { - "arguments": [ - { - "id": 25646, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25640, - "src": "7552:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 25647, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25642, - "src": "7558:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 25645, - "name": "hasRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25465, - "src": "7544:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", - "typeString": "function (bytes32,address) view returns (bool)" - } - }, - "id": 25648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7544:22:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 25667, - "nodeType": "IfStatement", - "src": "7539:149:16", - "trueBody": { - "id": 25666, - "nodeType": "Block", - "src": "7568:120:16", - "statements": [ - { - "expression": { - "id": 25657, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "expression": { - "baseExpression": { - "id": 25650, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25410, - "src": "7582:6:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$25405_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 25652, - "indexExpression": { - "id": 25651, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25640, - "src": "7589:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7582:12:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$25405_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 25653, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7595:7:16", - "memberName": "members", - "nodeType": "MemberAccess", - "referencedDeclaration": 25402, - "src": "7582:20:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 25655, - "indexExpression": { - "id": 25654, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25642, - "src": "7603:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7582:29:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "74727565", - "id": 25656, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7614:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "7582:36:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 25658, - "nodeType": "ExpressionStatement", - "src": "7582:36:16" - }, - { - "eventCall": { - "arguments": [ - { - "id": 25660, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25640, - "src": "7649:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 25661, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25642, - "src": "7655:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 25662, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27269, - "src": "7664:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 25663, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7664:12:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 25659, - "name": "RoleGranted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25722, - "src": "7637:11:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$", - "typeString": "function (bytes32,address,address)" - } - }, - "id": 25664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7637:40:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25665, - "nodeType": "EmitStatement", - "src": "7632:45:16" - } - ] - } - } - ] - }, - "documentation": { - "id": 25638, - "nodeType": "StructuredDocumentation", - "src": "7299:157:16", - "text": " @dev Grants `role` to `account`.\n Internal function without access restriction.\n May emit a {RoleGranted} event." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_grantRole", - "nameLocation": "7470:10:16", - "parameters": { - "id": 25643, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25640, - "mutability": "mutable", - "name": "role", - "nameLocation": "7489:4:16", - "nodeType": "VariableDeclaration", - "scope": 25669, - "src": "7481:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25639, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7481:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25642, - "mutability": "mutable", - "name": "account", - "nameLocation": "7503:7:16", - "nodeType": "VariableDeclaration", - "scope": 25669, - "src": "7495:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25641, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7495:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7480:31:16" - }, - "returnParameters": { - "id": 25644, - "nodeType": "ParameterList", - "parameters": [], - "src": "7529:0:16" - }, - "scope": 25701, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 25700, - "nodeType": "FunctionDefinition", - "src": "7865:234:16", - "nodes": [], - "body": { - "id": 25699, - "nodeType": "Block", - "src": "7934:165:16", - "nodes": [], - "statements": [ - { - "condition": { - "arguments": [ - { - "id": 25678, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25672, - "src": "7956:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 25679, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25674, - "src": "7962:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 25677, - "name": "hasRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25465, - "src": "7948:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", - "typeString": "function (bytes32,address) view returns (bool)" - } - }, - "id": 25680, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7948:22:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 25698, - "nodeType": "IfStatement", - "src": "7944:149:16", - "trueBody": { - "id": 25697, - "nodeType": "Block", - "src": "7972:121:16", - "statements": [ - { - "expression": { - "id": 25688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "expression": { - "baseExpression": { - "id": 25681, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25410, - "src": "7986:6:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$25405_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 25683, - "indexExpression": { - "id": 25682, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25672, - "src": "7993:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7986:12:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$25405_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 25684, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7999:7:16", - "memberName": "members", - "nodeType": "MemberAccess", - "referencedDeclaration": 25402, - "src": "7986:20:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 25686, - "indexExpression": { - "id": 25685, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25674, - "src": "8007:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7986:29:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "66616c7365", - "id": 25687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8018:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "src": "7986:37:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 25689, - "nodeType": "ExpressionStatement", - "src": "7986:37:16" - }, - { - "eventCall": { - "arguments": [ - { - "id": 25691, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25672, - "src": "8054:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 25692, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25674, - "src": "8060:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 25693, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27269, - "src": "8069:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 25694, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8069:12:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 25690, - "name": "RoleRevoked", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25731, - "src": "8042:11:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$", - "typeString": "function (bytes32,address,address)" - } - }, - "id": 25695, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8042:40:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25696, - "nodeType": "EmitStatement", - "src": "8037:45:16" - } - ] - } - } - ] - }, - "documentation": { - "id": 25670, - "nodeType": "StructuredDocumentation", - "src": "7700:160:16", - "text": " @dev Revokes `role` from `account`.\n Internal function without access restriction.\n May emit a {RoleRevoked} event." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_revokeRole", - "nameLocation": "7874:11:16", - "parameters": { - "id": 25675, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25672, - "mutability": "mutable", - "name": "role", - "nameLocation": "7894:4:16", - "nodeType": "VariableDeclaration", - "scope": 25700, - "src": "7886:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25671, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7886:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25674, - "mutability": "mutable", - "name": "account", - "nameLocation": "7908:7:16", - "nodeType": "VariableDeclaration", - "scope": 25700, - "src": "7900:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25673, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7900:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7885:31:16" - }, - "returnParameters": { - "id": 25676, - "nodeType": "ParameterList", - "parameters": [], - "src": "7934:0:16" - }, - "scope": 25701, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 25393, - "name": "Context", - "nameLocations": [ - "1841:7:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27279, - "src": "1841:7:16" - }, - "id": 25394, - "nodeType": "InheritanceSpecifier", - "src": "1841:7:16" - }, - { - "baseName": { - "id": 25395, - "name": "IAccessControl", - "nameLocations": [ - "1850:14:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 25774, - "src": "1850:14:16" - }, - "id": 25396, - "nodeType": "InheritanceSpecifier", - "src": "1850:14:16" - }, - { - "baseName": { - "id": 25397, - "name": "ERC165", - "nameLocations": [ - "1866:6:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27552, - "src": "1866:6:16" - }, - "id": 25398, - "nodeType": "InheritanceSpecifier", - "src": "1866:6:16" - } - ], - "canonicalName": "AccessControl", - "contractDependencies": [], - "contractKind": "contract", - "documentation": { - "id": 25392, - "nodeType": "StructuredDocumentation", - "src": "271:1534:16", - "text": " @dev Contract module that allows children to implement role-based access\n control mechanisms. This is a lightweight version that doesn't allow enumerating role\n members except through off-chain means by accessing the contract event logs. Some\n applications may benefit from on-chain enumerability, for those cases see\n {AccessControlEnumerable}.\n Roles are referred to by their `bytes32` identifier. These should be exposed\n in the external API and be unique. The best way to achieve this is by\n using `public constant` hash digests:\n ```\n bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n ```\n Roles can be used to represent a set of permissions. To restrict access to a\n function call, use {hasRole}:\n ```\n function foo() public {\n require(hasRole(MY_ROLE, msg.sender));\n ...\n }\n ```\n Roles can be granted and revoked dynamically via the {grantRole} and\n {revokeRole} functions. Each role has an associated admin role, and only\n accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n that only accounts with this role will be able to grant or revoke other\n roles. More complex role relationships can be created by using\n {_setRoleAdmin}.\n WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n grant and revoke this role. Extra precautions should be taken to secure\n accounts that have been granted it." - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 25701, - 27552, - 27564, - 25774, - 27279 - ], - "name": "AccessControl", - "nameLocation": "1824:13:16", - "scope": 25702, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 16 -} \ No newline at end of file diff --git a/out/Address.sol/Address.json b/out/Address.sol/Address.json deleted file mode 100644 index 1f44b33..0000000 --- a/out/Address.sol/Address.json +++ /dev/null @@ -1,4450 +0,0 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea2646970667358221220392fa9cebfd94ad7174ca31cd489bc62c065ccdd62a9645aa035d347486e607764736f6c63430008110033", - "sourceMap": "194:8964:22:-:0;;;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x600080fdfea2646970667358221220392fa9cebfd94ad7174ca31cd489bc62c065ccdd62a9645aa035d347486e607764736f6c63430008110033", - "sourceMap": "194:8964:22:-:0;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Collection of functions related to the address type\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/utils/Address.sol\":\"Address\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ec772b45a624be516f1c81970caa8a2e144301e9d0921cbc1a2789fef39a1269\",\"dweb:/ipfs/QmNyjwxCrGhQMyzLD93oUobJXVe9ceJvRvfXwbEtuxPiEj\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/Address.sol": "Address" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "node_modules/@openzeppelin/contracts/utils/Address.sol": { - "keccak256": "0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1", - "urls": [ - "bzz-raw://ec772b45a624be516f1c81970caa8a2e144301e9d0921cbc1a2789fef39a1269", - "dweb:/ipfs/QmNyjwxCrGhQMyzLD93oUobJXVe9ceJvRvfXwbEtuxPiEj" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Address.sol", - "id": 27211, - "exportedSymbols": { - "Address": [ - 27210 - ] - }, - "nodeType": "SourceUnit", - "src": "101:9058:22", - "nodes": [ - { - "id": 26882, - "nodeType": "PragmaDirective", - "src": "101:23:22", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".1" - ] - }, - { - "id": 27210, - "nodeType": "ContractDefinition", - "src": "194:8964:22", - "nodes": [ - { - "id": 26898, - "nodeType": "FunctionDefinition", - "src": "1175:320:22", - "nodes": [], - "body": { - "id": 26897, - "nodeType": "Block", - "src": "1241:254:22", - "nodes": [], - "statements": [ - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "expression": { - "id": 26891, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26886, - "src": "1465:7:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 26892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1473:4:22", - "memberName": "code", - "nodeType": "MemberAccess", - "src": "1465:12:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 26893, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1478:6:22", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "1465:19:22", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 26894, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1487:1:22", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1465:23:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 26890, - "id": 26896, - "nodeType": "Return", - "src": "1458:30:22" - } - ] - }, - "documentation": { - "id": 26884, - "nodeType": "StructuredDocumentation", - "src": "216:954:22", - "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====\n [IMPORTANT]\n ====\n You shouldn't rely on `isContract` to protect against flash loan attacks!\n Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\n like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\n constructor.\n ====" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isContract", - "nameLocation": "1184:10:22", - "parameters": { - "id": 26887, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26886, - "mutability": "mutable", - "name": "account", - "nameLocation": "1203:7:22", - "nodeType": "VariableDeclaration", - "scope": 26898, - "src": "1195:15:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26885, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1195:7:22", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1194:17:22" - }, - "returnParameters": { - "id": 26890, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26889, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26898, - "src": "1235:4:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26888, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1235:4:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "1234:6:22" - }, - "scope": 27210, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26932, - "nodeType": "FunctionDefinition", - "src": "2412:312:22", - "nodes": [], - "body": { - "id": 26931, - "nodeType": "Block", - "src": "2483:241:22", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26913, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 26909, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "2509:4:22", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$27210", - "typeString": "library Address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Address_$27210", - "typeString": "library Address" - } - ], - "id": 26908, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2501:7:22", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 26907, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2501:7:22", - "typeDescriptions": {} - } - }, - "id": 26910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2501:13:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 26911, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2515:7:22", - "memberName": "balance", - "nodeType": "MemberAccess", - "src": "2501:21:22", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 26912, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26903, - "src": "2526:6:22", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2501:31:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 26914, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2534:31:22", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", - "typeString": "literal_string \"Address: insufficient balance\"" - }, - "value": "Address: insufficient balance" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", - "typeString": "literal_string \"Address: insufficient balance\"" - } - ], - "id": 26906, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2493:7:22", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26915, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2493:73:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26916, - "nodeType": "ExpressionStatement", - "src": "2493:73:22" - }, - { - "assignments": [ - 26918, - null - ], - "declarations": [ - { - "constant": false, - "id": 26918, - "mutability": "mutable", - "name": "success", - "nameLocation": "2583:7:22", - "nodeType": "VariableDeclaration", - "scope": 26931, - "src": "2578:12:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26917, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2578:4:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - null - ], - "id": 26925, - "initialValue": { - "arguments": [ - { - "hexValue": "", - "id": 26923, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2626:2:22", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "expression": { - "id": 26919, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26901, - "src": "2596:9:22", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 26920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2606:4:22", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "2596:14:22", - "typeDescriptions": { - "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) payable returns (bool,bytes memory)" - } - }, - "id": 26922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "value" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "id": 26921, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26903, - "src": "2618:6:22", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "2596:29:22", - "typeDescriptions": { - "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", - "typeString": "function (bytes memory) payable returns (bool,bytes memory)" - } - }, - "id": 26924, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2596:33:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2577:52:22" - }, - { - "expression": { - "arguments": [ - { - "id": 26927, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26918, - "src": "2647:7:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 26928, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2656:60:22", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", - "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" - }, - "value": "Address: unable to send value, recipient may have reverted" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", - "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" - } - ], - "id": 26926, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2639:7:22", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26929, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2639:78:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26930, - "nodeType": "ExpressionStatement", - "src": "2639:78:22" - } - ] - }, - "documentation": { - "id": 26899, - "nodeType": "StructuredDocumentation", - "src": "1501:906:22", - "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sendValue", - "nameLocation": "2421:9:22", - "parameters": { - "id": 26904, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26901, - "mutability": "mutable", - "name": "recipient", - "nameLocation": "2447:9:22", - "nodeType": "VariableDeclaration", - "scope": 26932, - "src": "2431:25:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 26900, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2431:15:22", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26903, - "mutability": "mutable", - "name": "amount", - "nameLocation": "2466:6:22", - "nodeType": "VariableDeclaration", - "scope": 26932, - "src": "2458:14:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26902, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2458:7:22", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2430:43:22" - }, - "returnParameters": { - "id": 26905, - "nodeType": "ParameterList", - "parameters": [], - "src": "2483:0:22" - }, - "scope": 27210, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26950, - "nodeType": "FunctionDefinition", - "src": "3466:185:22", - "nodes": [], - "body": { - "id": 26949, - "nodeType": "Block", - "src": "3555:96:22", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 26943, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26935, - "src": "3594:6:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26944, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26937, - "src": "3602:4:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "hexValue": "30", - "id": 26945, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3608:1:22", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - { - "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 26946, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3611:32:22", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", - "typeString": "literal_string \"Address: low-level call failed\"" - }, - "value": "Address: low-level call failed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - { - "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", - "typeString": "literal_string \"Address: low-level call failed\"" - } - ], - "id": 26942, - "name": "functionCallWithValue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 26990, - 27034 - ], - "referencedDeclaration": 27034, - "src": "3572:21:22", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" - } - }, - "id": 26947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3572:72:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 26941, - "id": 26948, - "nodeType": "Return", - "src": "3565:79:22" - } - ] - }, - "documentation": { - "id": 26933, - "nodeType": "StructuredDocumentation", - "src": "2730:731:22", - "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain `call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionCall", - "nameLocation": "3475:12:22", - "parameters": { - "id": 26938, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26935, - "mutability": "mutable", - "name": "target", - "nameLocation": "3496:6:22", - "nodeType": "VariableDeclaration", - "scope": 26950, - "src": "3488:14:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26934, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3488:7:22", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26937, - "mutability": "mutable", - "name": "data", - "nameLocation": "3517:4:22", - "nodeType": "VariableDeclaration", - "scope": 26950, - "src": "3504:17:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26936, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3504:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3487:35:22" - }, - "returnParameters": { - "id": 26941, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26940, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26950, - "src": "3541:12:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26939, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3541:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3540:14:22" - }, - "scope": 27210, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26970, - "nodeType": "FunctionDefinition", - "src": "3873:223:22", - "nodes": [], - "body": { - "id": 26969, - "nodeType": "Block", - "src": "4020:76:22", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 26963, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26953, - "src": "4059:6:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26964, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26955, - "src": "4067:4:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "hexValue": "30", - "id": 26965, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4073:1:22", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - { - "id": 26966, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26957, - "src": "4076:12:22", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 26962, - "name": "functionCallWithValue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 26990, - 27034 - ], - "referencedDeclaration": 27034, - "src": "4037:21:22", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" - } - }, - "id": 26967, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4037:52:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 26961, - "id": 26968, - "nodeType": "Return", - "src": "4030:59:22" - } - ] - }, - "documentation": { - "id": 26951, - "nodeType": "StructuredDocumentation", - "src": "3657:211:22", - "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionCall", - "nameLocation": "3882:12:22", - "parameters": { - "id": 26958, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26953, - "mutability": "mutable", - "name": "target", - "nameLocation": "3912:6:22", - "nodeType": "VariableDeclaration", - "scope": 26970, - "src": "3904:14:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26952, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3904:7:22", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26955, - "mutability": "mutable", - "name": "data", - "nameLocation": "3941:4:22", - "nodeType": "VariableDeclaration", - "scope": 26970, - "src": "3928:17:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26954, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3928:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26957, - "mutability": "mutable", - "name": "errorMessage", - "nameLocation": "3969:12:22", - "nodeType": "VariableDeclaration", - "scope": 26970, - "src": "3955:26:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 26956, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3955:6:22", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3894:93:22" - }, - "returnParameters": { - "id": 26961, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26960, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26970, - "src": "4006:12:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26959, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4006:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4005:14:22" - }, - "scope": 27210, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26990, - "nodeType": "FunctionDefinition", - "src": "4458:254:22", - "nodes": [], - "body": { - "id": 26989, - "nodeType": "Block", - "src": "4601:111:22", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 26983, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26973, - "src": "4640:6:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26984, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26975, - "src": "4648:4:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 26985, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26977, - "src": "4654:5:22", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 26986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4661:43:22", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", - "typeString": "literal_string \"Address: low-level call with value failed\"" - }, - "value": "Address: low-level call with value failed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", - "typeString": "literal_string \"Address: low-level call with value failed\"" - } - ], - "id": 26982, - "name": "functionCallWithValue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 26990, - 27034 - ], - "referencedDeclaration": 27034, - "src": "4618:21:22", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" - } - }, - "id": 26987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4618:87:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 26981, - "id": 26988, - "nodeType": "Return", - "src": "4611:94:22" - } - ] - }, - "documentation": { - "id": 26971, - "nodeType": "StructuredDocumentation", - "src": "4102:351:22", - "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionCallWithValue", - "nameLocation": "4467:21:22", - "parameters": { - "id": 26978, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26973, - "mutability": "mutable", - "name": "target", - "nameLocation": "4506:6:22", - "nodeType": "VariableDeclaration", - "scope": 26990, - "src": "4498:14:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26972, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4498:7:22", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26975, - "mutability": "mutable", - "name": "data", - "nameLocation": "4535:4:22", - "nodeType": "VariableDeclaration", - "scope": 26990, - "src": "4522:17:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26974, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4522:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26977, - "mutability": "mutable", - "name": "value", - "nameLocation": "4557:5:22", - "nodeType": "VariableDeclaration", - "scope": 26990, - "src": "4549:13:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26976, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4549:7:22", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4488:80:22" - }, - "returnParameters": { - "id": 26981, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26980, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26990, - "src": "4587:12:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26979, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4587:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4586:14:22" - }, - "scope": 27210, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27034, - "nodeType": "FunctionDefinition", - "src": "4960:446:22", - "nodes": [], - "body": { - "id": 27033, - "nodeType": "Block", - "src": "5139:267:22", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 27007, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "5165:4:22", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$27210", - "typeString": "library Address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Address_$27210", - "typeString": "library Address" - } - ], - "id": 27006, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5157:7:22", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 27005, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5157:7:22", - "typeDescriptions": {} - } - }, - "id": 27008, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5157:13:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 27009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5171:7:22", - "memberName": "balance", - "nodeType": "MemberAccess", - "src": "5157:21:22", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 27010, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26997, - "src": "5182:5:22", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5157:30:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 27012, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5189:40:22", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", - "typeString": "literal_string \"Address: insufficient balance for call\"" - }, - "value": "Address: insufficient balance for call" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", - "typeString": "literal_string \"Address: insufficient balance for call\"" - } - ], - "id": 27004, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5149:7:22", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 27013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5149:81:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27014, - "nodeType": "ExpressionStatement", - "src": "5149:81:22" - }, - { - "assignments": [ - 27016, - 27018 - ], - "declarations": [ - { - "constant": false, - "id": 27016, - "mutability": "mutable", - "name": "success", - "nameLocation": "5246:7:22", - "nodeType": "VariableDeclaration", - "scope": 27033, - "src": "5241:12:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 27015, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5241:4:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27018, - "mutability": "mutable", - "name": "returndata", - "nameLocation": "5268:10:22", - "nodeType": "VariableDeclaration", - "scope": 27033, - "src": "5255:23:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27017, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5255:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 27025, - "initialValue": { - "arguments": [ - { - "id": 27023, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26995, - "src": "5308:4:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 27019, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26993, - "src": "5282:6:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 27020, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5289:4:22", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "5282:11:22", - "typeDescriptions": { - "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) payable returns (bool,bytes memory)" - } - }, - "id": 27022, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "value" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "id": 27021, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26997, - "src": "5301:5:22", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "5282:25:22", - "typeDescriptions": { - "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", - "typeString": "function (bytes memory) payable returns (bool,bytes memory)" - } - }, - "id": 27024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5282:31:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5240:73:22" - }, - { - "expression": { - "arguments": [ - { - "id": 27027, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26993, - "src": "5357:6:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 27028, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27016, - "src": "5365:7:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 27029, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27018, - "src": "5374:10:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 27030, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26999, - "src": "5386:12:22", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 27026, - "name": "verifyCallResultFromTarget", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27165, - "src": "5330:26:22", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (address,bool,bytes memory,string memory) view returns (bytes memory)" - } - }, - "id": 27031, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5330:69:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 27003, - "id": 27032, - "nodeType": "Return", - "src": "5323:76:22" - } - ] - }, - "documentation": { - "id": 26991, - "nodeType": "StructuredDocumentation", - "src": "4718:237:22", - "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionCallWithValue", - "nameLocation": "4969:21:22", - "parameters": { - "id": 27000, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26993, - "mutability": "mutable", - "name": "target", - "nameLocation": "5008:6:22", - "nodeType": "VariableDeclaration", - "scope": 27034, - "src": "5000:14:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26992, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5000:7:22", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26995, - "mutability": "mutable", - "name": "data", - "nameLocation": "5037:4:22", - "nodeType": "VariableDeclaration", - "scope": 27034, - "src": "5024:17:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26994, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5024:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26997, - "mutability": "mutable", - "name": "value", - "nameLocation": "5059:5:22", - "nodeType": "VariableDeclaration", - "scope": 27034, - "src": "5051:13:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26996, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5051:7:22", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26999, - "mutability": "mutable", - "name": "errorMessage", - "nameLocation": "5088:12:22", - "nodeType": "VariableDeclaration", - "scope": 27034, - "src": "5074:26:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 26998, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5074:6:22", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4990:116:22" - }, - "returnParameters": { - "id": 27003, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27002, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27034, - "src": "5125:12:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27001, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5125:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5124:14:22" - }, - "scope": 27210, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27051, - "nodeType": "FunctionDefinition", - "src": "5583:197:22", - "nodes": [], - "body": { - "id": 27050, - "nodeType": "Block", - "src": "5683:97:22", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 27045, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27037, - "src": "5719:6:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 27046, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27039, - "src": "5727:4:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "hexValue": "416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564", - "id": 27047, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5733:39:22", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0", - "typeString": "literal_string \"Address: low-level static call failed\"" - }, - "value": "Address: low-level static call failed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0", - "typeString": "literal_string \"Address: low-level static call failed\"" - } - ], - "id": 27044, - "name": "functionStaticCall", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 27051, - 27080 - ], - "referencedDeclaration": 27080, - "src": "5700:18:22", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (address,bytes memory,string memory) view returns (bytes memory)" - } - }, - "id": 27048, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5700:73:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 27043, - "id": 27049, - "nodeType": "Return", - "src": "5693:80:22" - } - ] - }, - "documentation": { - "id": 27035, - "nodeType": "StructuredDocumentation", - "src": "5412:166:22", - "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionStaticCall", - "nameLocation": "5592:18:22", - "parameters": { - "id": 27040, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27037, - "mutability": "mutable", - "name": "target", - "nameLocation": "5619:6:22", - "nodeType": "VariableDeclaration", - "scope": 27051, - "src": "5611:14:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 27036, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5611:7:22", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27039, - "mutability": "mutable", - "name": "data", - "nameLocation": "5640:4:22", - "nodeType": "VariableDeclaration", - "scope": 27051, - "src": "5627:17:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27038, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5627:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5610:35:22" - }, - "returnParameters": { - "id": 27043, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27042, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27051, - "src": "5669:12:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27041, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5669:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5668:14:22" - }, - "scope": 27210, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27080, - "nodeType": "FunctionDefinition", - "src": "5964:326:22", - "nodes": [], - "body": { - "id": 27079, - "nodeType": "Block", - "src": "6122:168:22", - "nodes": [], - "statements": [ - { - "assignments": [ - 27064, - 27066 - ], - "declarations": [ - { - "constant": false, - "id": 27064, - "mutability": "mutable", - "name": "success", - "nameLocation": "6138:7:22", - "nodeType": "VariableDeclaration", - "scope": 27079, - "src": "6133:12:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 27063, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6133:4:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27066, - "mutability": "mutable", - "name": "returndata", - "nameLocation": "6160:10:22", - "nodeType": "VariableDeclaration", - "scope": 27079, - "src": "6147:23:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27065, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6147:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 27071, - "initialValue": { - "arguments": [ - { - "id": 27069, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27056, - "src": "6192:4:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 27067, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27054, - "src": "6174:6:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 27068, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6181:10:22", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "6174:17:22", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 27070, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6174:23:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6132:65:22" - }, - { - "expression": { - "arguments": [ - { - "id": 27073, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27054, - "src": "6241:6:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 27074, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27064, - "src": "6249:7:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 27075, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27066, - "src": "6258:10:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 27076, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27058, - "src": "6270:12:22", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 27072, - "name": "verifyCallResultFromTarget", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27165, - "src": "6214:26:22", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (address,bool,bytes memory,string memory) view returns (bytes memory)" - } - }, - "id": 27077, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6214:69:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 27062, - "id": 27078, - "nodeType": "Return", - "src": "6207:76:22" - } - ] - }, - "documentation": { - "id": 27052, - "nodeType": "StructuredDocumentation", - "src": "5786:173:22", - "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionStaticCall", - "nameLocation": "5973:18:22", - "parameters": { - "id": 27059, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27054, - "mutability": "mutable", - "name": "target", - "nameLocation": "6009:6:22", - "nodeType": "VariableDeclaration", - "scope": 27080, - "src": "6001:14:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 27053, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6001:7:22", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27056, - "mutability": "mutable", - "name": "data", - "nameLocation": "6038:4:22", - "nodeType": "VariableDeclaration", - "scope": 27080, - "src": "6025:17:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27055, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6025:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27058, - "mutability": "mutable", - "name": "errorMessage", - "nameLocation": "6066:12:22", - "nodeType": "VariableDeclaration", - "scope": 27080, - "src": "6052:26:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 27057, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6052:6:22", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5991:93:22" - }, - "returnParameters": { - "id": 27062, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27061, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27080, - "src": "6108:12:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27060, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6108:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6107:14:22" - }, - "scope": 27210, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27097, - "nodeType": "FunctionDefinition", - "src": "6469:198:22", - "nodes": [], - "body": { - "id": 27096, - "nodeType": "Block", - "src": "6566:101:22", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 27091, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27083, - "src": "6604:6:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 27092, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27085, - "src": "6612:4:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "hexValue": "416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564", - "id": 27093, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6618:41:22", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398", - "typeString": "literal_string \"Address: low-level delegate call failed\"" - }, - "value": "Address: low-level delegate call failed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398", - "typeString": "literal_string \"Address: low-level delegate call failed\"" - } - ], - "id": 27090, - "name": "functionDelegateCall", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 27097, - 27126 - ], - "referencedDeclaration": 27126, - "src": "6583:20:22", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" - } - }, - "id": 27094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6583:77:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 27089, - "id": 27095, - "nodeType": "Return", - "src": "6576:84:22" - } - ] - }, - "documentation": { - "id": 27081, - "nodeType": "StructuredDocumentation", - "src": "6296:168:22", - "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionDelegateCall", - "nameLocation": "6478:20:22", - "parameters": { - "id": 27086, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27083, - "mutability": "mutable", - "name": "target", - "nameLocation": "6507:6:22", - "nodeType": "VariableDeclaration", - "scope": 27097, - "src": "6499:14:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 27082, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6499:7:22", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27085, - "mutability": "mutable", - "name": "data", - "nameLocation": "6528:4:22", - "nodeType": "VariableDeclaration", - "scope": 27097, - "src": "6515:17:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27084, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6515:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6498:35:22" - }, - "returnParameters": { - "id": 27089, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27088, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27097, - "src": "6552:12:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27087, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6552:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6551:14:22" - }, - "scope": 27210, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27126, - "nodeType": "FunctionDefinition", - "src": "6853:325:22", - "nodes": [], - "body": { - "id": 27125, - "nodeType": "Block", - "src": "7008:170:22", - "nodes": [], - "statements": [ - { - "assignments": [ - 27110, - 27112 - ], - "declarations": [ - { - "constant": false, - "id": 27110, - "mutability": "mutable", - "name": "success", - "nameLocation": "7024:7:22", - "nodeType": "VariableDeclaration", - "scope": 27125, - "src": "7019:12:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 27109, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7019:4:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27112, - "mutability": "mutable", - "name": "returndata", - "nameLocation": "7046:10:22", - "nodeType": "VariableDeclaration", - "scope": 27125, - "src": "7033:23:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27111, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7033:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 27117, - "initialValue": { - "arguments": [ - { - "id": 27115, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27102, - "src": "7080:4:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 27113, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27100, - "src": "7060:6:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 27114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7067:12:22", - "memberName": "delegatecall", - "nodeType": "MemberAccess", - "src": "7060:19:22", - "typeDescriptions": { - "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) returns (bool,bytes memory)" - } - }, - "id": 27116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7060:25:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7018:67:22" - }, - { - "expression": { - "arguments": [ - { - "id": 27119, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27100, - "src": "7129:6:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 27120, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27110, - "src": "7137:7:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 27121, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27112, - "src": "7146:10:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 27122, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27104, - "src": "7158:12:22", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 27118, - "name": "verifyCallResultFromTarget", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27165, - "src": "7102:26:22", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (address,bool,bytes memory,string memory) view returns (bytes memory)" - } - }, - "id": 27123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7102:69:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 27108, - "id": 27124, - "nodeType": "Return", - "src": "7095:76:22" - } - ] - }, - "documentation": { - "id": 27098, - "nodeType": "StructuredDocumentation", - "src": "6673:175:22", - "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionDelegateCall", - "nameLocation": "6862:20:22", - "parameters": { - "id": 27105, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27100, - "mutability": "mutable", - "name": "target", - "nameLocation": "6900:6:22", - "nodeType": "VariableDeclaration", - "scope": 27126, - "src": "6892:14:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 27099, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6892:7:22", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27102, - "mutability": "mutable", - "name": "data", - "nameLocation": "6929:4:22", - "nodeType": "VariableDeclaration", - "scope": 27126, - "src": "6916:17:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27101, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6916:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27104, - "mutability": "mutable", - "name": "errorMessage", - "nameLocation": "6957:12:22", - "nodeType": "VariableDeclaration", - "scope": 27126, - "src": "6943:26:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 27103, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6943:6:22", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6882:93:22" - }, - "returnParameters": { - "id": 27108, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27107, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27126, - "src": "6994:12:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27106, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6994:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6993:14:22" - }, - "scope": 27210, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27165, - "nodeType": "FunctionDefinition", - "src": "7466:628:22", - "nodes": [], - "body": { - "id": 27164, - "nodeType": "Block", - "src": "7660:434:22", - "nodes": [], - "statements": [ - { - "condition": { - "id": 27140, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27131, - "src": "7674:7:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 27162, - "nodeType": "Block", - "src": "8030:58:22", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 27158, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27133, - "src": "8052:10:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 27159, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27135, - "src": "8064:12:22", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 27157, - "name": "_revert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27209, - "src": "8044:7:22", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bytes memory,string memory) pure" - } - }, - "id": 27160, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8044:33:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27161, - "nodeType": "ExpressionStatement", - "src": "8044:33:22" - } - ] - }, - "id": 27163, - "nodeType": "IfStatement", - "src": "7670:418:22", - "trueBody": { - "id": 27156, - "nodeType": "Block", - "src": "7683:341:22", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 27141, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27133, - "src": "7701:10:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 27142, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7712:6:22", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7701:17:22", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 27143, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7722:1:22", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "7701:22:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 27153, - "nodeType": "IfStatement", - "src": "7697:286:22", - "trueBody": { - "id": 27152, - "nodeType": "Block", - "src": "7725:258:22", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 27147, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27129, - "src": "7927:6:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 27146, - "name": "isContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26898, - "src": "7916:10:22", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 27148, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7916:18:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 27149, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7936:31:22", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", - "typeString": "literal_string \"Address: call to non-contract\"" - }, - "value": "Address: call to non-contract" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", - "typeString": "literal_string \"Address: call to non-contract\"" - } - ], - "id": 27145, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7908:7:22", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 27150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7908:60:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27151, - "nodeType": "ExpressionStatement", - "src": "7908:60:22" - } - ] - } - }, - { - "expression": { - "id": 27154, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27133, - "src": "8003:10:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 27139, - "id": 27155, - "nodeType": "Return", - "src": "7996:17:22" - } - ] - } - } - ] - }, - "documentation": { - "id": 27127, - "nodeType": "StructuredDocumentation", - "src": "7184:277:22", - "text": " @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\n the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\n _Available since v4.8._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "verifyCallResultFromTarget", - "nameLocation": "7475:26:22", - "parameters": { - "id": 27136, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27129, - "mutability": "mutable", - "name": "target", - "nameLocation": "7519:6:22", - "nodeType": "VariableDeclaration", - "scope": 27165, - "src": "7511:14:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 27128, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7511:7:22", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27131, - "mutability": "mutable", - "name": "success", - "nameLocation": "7540:7:22", - "nodeType": "VariableDeclaration", - "scope": 27165, - "src": "7535:12:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 27130, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7535:4:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27133, - "mutability": "mutable", - "name": "returndata", - "nameLocation": "7570:10:22", - "nodeType": "VariableDeclaration", - "scope": 27165, - "src": "7557:23:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27132, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7557:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27135, - "mutability": "mutable", - "name": "errorMessage", - "nameLocation": "7604:12:22", - "nodeType": "VariableDeclaration", - "scope": 27165, - "src": "7590:26:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 27134, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7590:6:22", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7501:121:22" - }, - "returnParameters": { - "id": 27139, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27138, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27165, - "src": "7646:12:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27137, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7646:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "7645:14:22" - }, - "scope": 27210, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27189, - "nodeType": "FunctionDefinition", - "src": "8315:295:22", - "nodes": [], - "body": { - "id": 27188, - "nodeType": "Block", - "src": "8475:135:22", - "nodes": [], - "statements": [ - { - "condition": { - "id": 27177, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27168, - "src": "8489:7:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 27186, - "nodeType": "Block", - "src": "8546:58:22", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 27182, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27170, - "src": "8568:10:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 27183, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27172, - "src": "8580:12:22", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 27181, - "name": "_revert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27209, - "src": "8560:7:22", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bytes memory,string memory) pure" - } - }, - "id": 27184, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8560:33:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27185, - "nodeType": "ExpressionStatement", - "src": "8560:33:22" - } - ] - }, - "id": 27187, - "nodeType": "IfStatement", - "src": "8485:119:22", - "trueBody": { - "id": 27180, - "nodeType": "Block", - "src": "8498:42:22", - "statements": [ - { - "expression": { - "id": 27178, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27170, - "src": "8519:10:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 27176, - "id": 27179, - "nodeType": "Return", - "src": "8512:17:22" - } - ] - } - } - ] - }, - "documentation": { - "id": 27166, - "nodeType": "StructuredDocumentation", - "src": "8100:210:22", - "text": " @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\n revert reason or using the provided one.\n _Available since v4.3._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "verifyCallResult", - "nameLocation": "8324:16:22", - "parameters": { - "id": 27173, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27168, - "mutability": "mutable", - "name": "success", - "nameLocation": "8355:7:22", - "nodeType": "VariableDeclaration", - "scope": 27189, - "src": "8350:12:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 27167, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8350:4:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27170, - "mutability": "mutable", - "name": "returndata", - "nameLocation": "8385:10:22", - "nodeType": "VariableDeclaration", - "scope": 27189, - "src": "8372:23:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27169, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8372:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27172, - "mutability": "mutable", - "name": "errorMessage", - "nameLocation": "8419:12:22", - "nodeType": "VariableDeclaration", - "scope": 27189, - "src": "8405:26:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 27171, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8405:6:22", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8340:97:22" - }, - "returnParameters": { - "id": 27176, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27175, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27189, - "src": "8461:12:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27174, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8461:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "8460:14:22" - }, - "scope": 27210, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27209, - "nodeType": "FunctionDefinition", - "src": "8616:540:22", - "nodes": [], - "body": { - "id": 27208, - "nodeType": "Block", - "src": "8699:457:22", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27199, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 27196, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27191, - "src": "8775:10:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 27197, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8786:6:22", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8775:17:22", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 27198, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8795:1:22", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8775:21:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 27206, - "nodeType": "Block", - "src": "9105:45:22", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 27203, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27193, - "src": "9126:12:22", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 27202, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "9119:6:22", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 27204, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9119:20:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27205, - "nodeType": "ExpressionStatement", - "src": "9119:20:22" - } - ] - }, - "id": 27207, - "nodeType": "IfStatement", - "src": "8771:379:22", - "trueBody": { - "id": 27201, - "nodeType": "Block", - "src": "8798:301:22", - "statements": [ - { - "AST": { - "nodeType": "YulBlock", - "src": "8956:133:22", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "8974:40:22", - "value": { - "arguments": [ - { - "name": "returndata", - "nodeType": "YulIdentifier", - "src": "9003:10:22" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "8997:5:22" - }, - "nodeType": "YulFunctionCall", - "src": "8997:17:22" - }, - "variables": [ - { - "name": "returndata_size", - "nodeType": "YulTypedName", - "src": "8978:15:22", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9042:2:22", - "type": "", - "value": "32" - }, - { - "name": "returndata", - "nodeType": "YulIdentifier", - "src": "9046:10:22" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "9038:3:22" - }, - "nodeType": "YulFunctionCall", - "src": "9038:19:22" - }, - { - "name": "returndata_size", - "nodeType": "YulIdentifier", - "src": "9059:15:22" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "9031:6:22" - }, - "nodeType": "YulFunctionCall", - "src": "9031:44:22" - }, - "nodeType": "YulExpressionStatement", - "src": "9031:44:22" - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 27191, - "isOffset": false, - "isSlot": false, - "src": "9003:10:22", - "valueSize": 1 - }, - { - "declaration": 27191, - "isOffset": false, - "isSlot": false, - "src": "9046:10:22", - "valueSize": 1 - } - ], - "id": 27200, - "nodeType": "InlineAssembly", - "src": "8947:142:22" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_revert", - "nameLocation": "8625:7:22", - "parameters": { - "id": 27194, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27191, - "mutability": "mutable", - "name": "returndata", - "nameLocation": "8646:10:22", - "nodeType": "VariableDeclaration", - "scope": 27209, - "src": "8633:23:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27190, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8633:5:22", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27193, - "mutability": "mutable", - "name": "errorMessage", - "nameLocation": "8672:12:22", - "nodeType": "VariableDeclaration", - "scope": 27209, - "src": "8658:26:22", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 27192, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8658:6:22", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8632:53:22" - }, - "returnParameters": { - "id": 27195, - "nodeType": "ParameterList", - "parameters": [], - "src": "8699:0:22" - }, - "scope": 27210, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "Address", - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 26883, - "nodeType": "StructuredDocumentation", - "src": "126:67:22", - "text": " @dev Collection of functions related to the address type" - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 27210 - ], - "name": "Address", - "nameLocation": "202:7:22", - "scope": 27211, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 22 -} \ No newline at end of file diff --git a/out/Base64.sol/Base64.json b/out/Base64.sol/Base64.json deleted file mode 100644 index 84c42d3..0000000 --- a/out/Base64.sol/Base64.json +++ /dev/null @@ -1,1641 +0,0 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea264697066735822122064e0deda595f67c095b36d14c7062ce249dca31bcdff3b57c54c82aa71e870b864736f6c63430008110033", - "sourceMap": "231:3302:23:-:0;;;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x600080fdfea264697066735822122064e0deda595f67c095b36d14c7062ce249dca31bcdff3b57c54c82aa71e870b864736f6c63430008110033", - "sourceMap": "231:3302:23:-:0;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Provides a set of functions to operate with Base64 strings. _Available since v4.5._\",\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"_TABLE\":{\"details\":\"Base64 Encoding/Decoding Table\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/utils/Base64.sol\":\"Base64\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/Base64.sol\":{\"keccak256\":\"0x5f3461639fe20794cfb4db4a6d8477388a15b2e70a018043084b7c4bedfa8136\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://77e5309e2cc4cdc3395214edb0ff43ff5a5f7373f5a425383e540f6fab530f96\",\"dweb:/ipfs/QmTV8DZ9knJDa3b5NPBFQqjvTzodyZVjRUg5mx5A99JPLJ\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/Base64.sol": "Base64" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "node_modules/@openzeppelin/contracts/utils/Base64.sol": { - "keccak256": "0x5f3461639fe20794cfb4db4a6d8477388a15b2e70a018043084b7c4bedfa8136", - "urls": [ - "bzz-raw://77e5309e2cc4cdc3395214edb0ff43ff5a5f7373f5a425383e540f6fab530f96", - "dweb:/ipfs/QmTV8DZ9knJDa3b5NPBFQqjvTzodyZVjRUg5mx5A99JPLJ" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Base64.sol", - "id": 27258, - "exportedSymbols": { - "Base64": [ - 27257 - ] - }, - "nodeType": "SourceUnit", - "src": "100:3434:23", - "nodes": [ - { - "id": 27212, - "nodeType": "PragmaDirective", - "src": "100:23:23", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 27257, - "nodeType": "ContractDefinition", - "src": "231:3302:23", - "nodes": [ - { - "id": 27217, - "nodeType": "VariableDeclaration", - "src": "311:100:23", - "nodes": [], - "constant": true, - "documentation": { - "id": 27214, - "nodeType": "StructuredDocumentation", - "src": "252:54:23", - "text": " @dev Base64 Encoding/Decoding Table" - }, - "mutability": "constant", - "name": "_TABLE", - "nameLocation": "336:6:23", - "scope": 27257, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 27215, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "311:6:23", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": { - "hexValue": "4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f", - "id": 27216, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "345:66:23", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_84d8a590de33e00cbdc16e1f28c3506f5ec15c599fab9a6a4bcd575cc2f110ce", - "typeString": "literal_string \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\"" - }, - "value": "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" - }, - "visibility": "internal" - }, - { - "id": 27256, - "nodeType": "FunctionDefinition", - "src": "505:3026:23", - "nodes": [], - "body": { - "id": 27255, - "nodeType": "Block", - "src": "578:2953:23", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27228, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 27225, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27220, - "src": "795:4:23", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 27226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "800:6:23", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "795:11:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 27227, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "810:1:23", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "795:16:23", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "documentation": " Inspired by Brecht Devos (Brechtpd) implementation - MIT licence\n https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol", - "id": 27231, - "nodeType": "IfStatement", - "src": "791:31:23", - "trueBody": { - "expression": { - "hexValue": "", - "id": 27229, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "820:2:23", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - }, - "functionReturnParameters": 27224, - "id": 27230, - "nodeType": "Return", - "src": "813:9:23" - } - }, - { - "assignments": [ - 27233 - ], - "declarations": [ - { - "constant": false, - "id": 27233, - "mutability": "mutable", - "name": "table", - "nameLocation": "886:5:23", - "nodeType": "VariableDeclaration", - "scope": 27255, - "src": "872:19:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 27232, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "872:6:23", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 27235, - "initialValue": { - "id": 27234, - "name": "_TABLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27217, - "src": "894:6:23", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "872:28:23" - }, - { - "assignments": [ - 27237 - ], - "declarations": [ - { - "constant": false, - "id": 27237, - "mutability": "mutable", - "name": "result", - "nameLocation": "1317:6:23", - "nodeType": "VariableDeclaration", - "scope": 27255, - "src": "1303:20:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 27236, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1303:6:23", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 27251, - "initialValue": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27249, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "34", - "id": 27240, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1337:1:23", - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27247, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 27241, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27220, - "src": "1343:4:23", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 27242, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1348:6:23", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "1343:11:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "32", - "id": 27243, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1357:1:23", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "1343:15:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 27245, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1342:17:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "hexValue": "33", - "id": 27246, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1362:1:23", - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - }, - "src": "1342:21:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 27248, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1341:23:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1337:27:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27239, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "1326:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory)" - }, - "typeName": { - "id": 27238, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1330:6:23", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - } - }, - "id": 27250, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1326:39:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1303:62:23" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "1428:2073:23", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "1513:29:23", - "value": { - "arguments": [ - { - "name": "table", - "nodeType": "YulIdentifier", - "src": "1533:5:23" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1540:1:23", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1529:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "1529:13:23" - }, - "variables": [ - { - "name": "tablePtr", - "nodeType": "YulTypedName", - "src": "1517:8:23", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "1612:32:23", - "value": { - "arguments": [ - { - "name": "result", - "nodeType": "YulIdentifier", - "src": "1633:6:23" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1641:2:23", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1629:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "1629:15:23" - }, - "variables": [ - { - "name": "resultPtr", - "nodeType": "YulTypedName", - "src": "1616:9:23", - "type": "" - } - ] - }, - { - "body": { - "nodeType": "YulBlock", - "src": "1857:1257:23", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "1910:26:23", - "value": { - "arguments": [ - { - "name": "dataPtr", - "nodeType": "YulIdentifier", - "src": "1925:7:23" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1934:1:23", - "type": "", - "value": "3" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1921:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "1921:15:23" - }, - "variableNames": [ - { - "name": "dataPtr", - "nodeType": "YulIdentifier", - "src": "1910:7:23" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "1953:27:23", - "value": { - "arguments": [ - { - "name": "dataPtr", - "nodeType": "YulIdentifier", - "src": "1972:7:23" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "1966:5:23" - }, - "nodeType": "YulFunctionCall", - "src": "1966:14:23" - }, - "variables": [ - { - "name": "input", - "nodeType": "YulTypedName", - "src": "1957:5:23", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "resultPtr", - "nodeType": "YulIdentifier", - "src": "2564:9:23" - }, - { - "arguments": [ - { - "arguments": [ - { - "name": "tablePtr", - "nodeType": "YulIdentifier", - "src": "2585:8:23" - }, - { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2603:2:23", - "type": "", - "value": "18" - }, - { - "name": "input", - "nodeType": "YulIdentifier", - "src": "2607:5:23" - } - ], - "functionName": { - "name": "shr", - "nodeType": "YulIdentifier", - "src": "2599:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "2599:14:23" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2615:4:23", - "type": "", - "value": "0x3F" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "2595:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "2595:25:23" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2581:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "2581:40:23" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2575:5:23" - }, - "nodeType": "YulFunctionCall", - "src": "2575:47:23" - } - ], - "functionName": { - "name": "mstore8", - "nodeType": "YulIdentifier", - "src": "2556:7:23" - }, - "nodeType": "YulFunctionCall", - "src": "2556:67:23" - }, - "nodeType": "YulExpressionStatement", - "src": "2556:67:23" - }, - { - "nodeType": "YulAssignment", - "src": "2640:30:23", - "value": { - "arguments": [ - { - "name": "resultPtr", - "nodeType": "YulIdentifier", - "src": "2657:9:23" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2668:1:23", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2653:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "2653:17:23" - }, - "variableNames": [ - { - "name": "resultPtr", - "nodeType": "YulIdentifier", - "src": "2640:9:23" - } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "resultPtr", - "nodeType": "YulIdentifier", - "src": "2707:9:23" - }, - { - "arguments": [ - { - "arguments": [ - { - "name": "tablePtr", - "nodeType": "YulIdentifier", - "src": "2728:8:23" - }, - { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2746:2:23", - "type": "", - "value": "12" - }, - { - "name": "input", - "nodeType": "YulIdentifier", - "src": "2750:5:23" - } - ], - "functionName": { - "name": "shr", - "nodeType": "YulIdentifier", - "src": "2742:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "2742:14:23" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2758:4:23", - "type": "", - "value": "0x3F" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "2738:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "2738:25:23" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2724:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "2724:40:23" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2718:5:23" - }, - "nodeType": "YulFunctionCall", - "src": "2718:47:23" - } - ], - "functionName": { - "name": "mstore8", - "nodeType": "YulIdentifier", - "src": "2699:7:23" - }, - "nodeType": "YulFunctionCall", - "src": "2699:67:23" - }, - "nodeType": "YulExpressionStatement", - "src": "2699:67:23" - }, - { - "nodeType": "YulAssignment", - "src": "2783:30:23", - "value": { - "arguments": [ - { - "name": "resultPtr", - "nodeType": "YulIdentifier", - "src": "2800:9:23" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2811:1:23", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2796:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "2796:17:23" - }, - "variableNames": [ - { - "name": "resultPtr", - "nodeType": "YulIdentifier", - "src": "2783:9:23" - } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "resultPtr", - "nodeType": "YulIdentifier", - "src": "2850:9:23" - }, - { - "arguments": [ - { - "arguments": [ - { - "name": "tablePtr", - "nodeType": "YulIdentifier", - "src": "2871:8:23" - }, - { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2889:1:23", - "type": "", - "value": "6" - }, - { - "name": "input", - "nodeType": "YulIdentifier", - "src": "2892:5:23" - } - ], - "functionName": { - "name": "shr", - "nodeType": "YulIdentifier", - "src": "2885:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "2885:13:23" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2900:4:23", - "type": "", - "value": "0x3F" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "2881:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "2881:24:23" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2867:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "2867:39:23" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2861:5:23" - }, - "nodeType": "YulFunctionCall", - "src": "2861:46:23" - } - ], - "functionName": { - "name": "mstore8", - "nodeType": "YulIdentifier", - "src": "2842:7:23" - }, - "nodeType": "YulFunctionCall", - "src": "2842:66:23" - }, - "nodeType": "YulExpressionStatement", - "src": "2842:66:23" - }, - { - "nodeType": "YulAssignment", - "src": "2925:30:23", - "value": { - "arguments": [ - { - "name": "resultPtr", - "nodeType": "YulIdentifier", - "src": "2942:9:23" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2953:1:23", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2938:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "2938:17:23" - }, - "variableNames": [ - { - "name": "resultPtr", - "nodeType": "YulIdentifier", - "src": "2925:9:23" - } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "resultPtr", - "nodeType": "YulIdentifier", - "src": "2992:9:23" - }, - { - "arguments": [ - { - "arguments": [ - { - "name": "tablePtr", - "nodeType": "YulIdentifier", - "src": "3013:8:23" - }, - { - "arguments": [ - { - "name": "input", - "nodeType": "YulIdentifier", - "src": "3027:5:23" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3034:4:23", - "type": "", - "value": "0x3F" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "3023:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "3023:16:23" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3009:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "3009:31:23" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "3003:5:23" - }, - "nodeType": "YulFunctionCall", - "src": "3003:38:23" - } - ], - "functionName": { - "name": "mstore8", - "nodeType": "YulIdentifier", - "src": "2984:7:23" - }, - "nodeType": "YulFunctionCall", - "src": "2984:58:23" - }, - "nodeType": "YulExpressionStatement", - "src": "2984:58:23" - }, - { - "nodeType": "YulAssignment", - "src": "3059:30:23", - "value": { - "arguments": [ - { - "name": "resultPtr", - "nodeType": "YulIdentifier", - "src": "3076:9:23" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3087:1:23", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3072:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "3072:17:23" - }, - "variableNames": [ - { - "name": "resultPtr", - "nodeType": "YulIdentifier", - "src": "3059:9:23" - } - ] - } - ] - }, - "condition": { - "arguments": [ - { - "name": "dataPtr", - "nodeType": "YulIdentifier", - "src": "1823:7:23" - }, - { - "name": "endPtr", - "nodeType": "YulIdentifier", - "src": "1832:6:23" - } - ], - "functionName": { - "name": "lt", - "nodeType": "YulIdentifier", - "src": "1820:2:23" - }, - "nodeType": "YulFunctionCall", - "src": "1820:19:23" - }, - "nodeType": "YulForLoop", - "post": { - "nodeType": "YulBlock", - "src": "1840:16:23", - "statements": [] - }, - "pre": { - "nodeType": "YulBlock", - "src": "1715:104:23", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "1733:19:23", - "value": { - "name": "data", - "nodeType": "YulIdentifier", - "src": "1748:4:23" - }, - "variables": [ - { - "name": "dataPtr", - "nodeType": "YulTypedName", - "src": "1737:7:23", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "1769:36:23", - "value": { - "arguments": [ - { - "name": "data", - "nodeType": "YulIdentifier", - "src": "1787:4:23" - }, - { - "arguments": [ - { - "name": "data", - "nodeType": "YulIdentifier", - "src": "1799:4:23" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "1793:5:23" - }, - "nodeType": "YulFunctionCall", - "src": "1793:11:23" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1783:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "1783:22:23" - }, - "variables": [ - { - "name": "endPtr", - "nodeType": "YulTypedName", - "src": "1773:6:23", - "type": "" - } - ] - } - ] - }, - "src": "1711:1403:23" - }, - { - "cases": [ - { - "body": { - "nodeType": "YulBlock", - "src": "3294:113:23", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "resultPtr", - "nodeType": "YulIdentifier", - "src": "3324:9:23" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3335:1:23", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "3320:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "3320:17:23" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3339:4:23", - "type": "", - "value": "0x3d" - } - ], - "functionName": { - "name": "mstore8", - "nodeType": "YulIdentifier", - "src": "3312:7:23" - }, - "nodeType": "YulFunctionCall", - "src": "3312:32:23" - }, - "nodeType": "YulExpressionStatement", - "src": "3312:32:23" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "resultPtr", - "nodeType": "YulIdentifier", - "src": "3373:9:23" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3384:1:23", - "type": "", - "value": "2" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "3369:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "3369:17:23" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3388:4:23", - "type": "", - "value": "0x3d" - } - ], - "functionName": { - "name": "mstore8", - "nodeType": "YulIdentifier", - "src": "3361:7:23" - }, - "nodeType": "YulFunctionCall", - "src": "3361:32:23" - }, - "nodeType": "YulExpressionStatement", - "src": "3361:32:23" - } - ] - }, - "nodeType": "YulCase", - "src": "3287:120:23", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3292:1:23", - "type": "", - "value": "1" - } - }, - { - "body": { - "nodeType": "YulBlock", - "src": "3427:64:23", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "resultPtr", - "nodeType": "YulIdentifier", - "src": "3457:9:23" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3468:1:23", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "3453:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "3453:17:23" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3472:4:23", - "type": "", - "value": "0x3d" - } - ], - "functionName": { - "name": "mstore8", - "nodeType": "YulIdentifier", - "src": "3445:7:23" - }, - "nodeType": "YulFunctionCall", - "src": "3445:32:23" - }, - "nodeType": "YulExpressionStatement", - "src": "3445:32:23" - } - ] - }, - "nodeType": "YulCase", - "src": "3420:71:23", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3425:1:23", - "type": "", - "value": "2" - } - } - ], - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "data", - "nodeType": "YulIdentifier", - "src": "3265:4:23" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "3259:5:23" - }, - "nodeType": "YulFunctionCall", - "src": "3259:11:23" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3272:1:23", - "type": "", - "value": "3" - } - ], - "functionName": { - "name": "mod", - "nodeType": "YulIdentifier", - "src": "3255:3:23" - }, - "nodeType": "YulFunctionCall", - "src": "3255:19:23" - }, - "nodeType": "YulSwitch", - "src": "3248:243:23" - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 27220, - "isOffset": false, - "isSlot": false, - "src": "1748:4:23", - "valueSize": 1 - }, - { - "declaration": 27220, - "isOffset": false, - "isSlot": false, - "src": "1787:4:23", - "valueSize": 1 - }, - { - "declaration": 27220, - "isOffset": false, - "isSlot": false, - "src": "1799:4:23", - "valueSize": 1 - }, - { - "declaration": 27220, - "isOffset": false, - "isSlot": false, - "src": "3265:4:23", - "valueSize": 1 - }, - { - "declaration": 27237, - "isOffset": false, - "isSlot": false, - "src": "1633:6:23", - "valueSize": 1 - }, - { - "declaration": 27233, - "isOffset": false, - "isSlot": false, - "src": "1533:5:23", - "valueSize": 1 - } - ], - "id": 27252, - "nodeType": "InlineAssembly", - "src": "1419:2082:23" - }, - { - "expression": { - "id": 27253, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27237, - "src": "3518:6:23", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 27224, - "id": 27254, - "nodeType": "Return", - "src": "3511:13:23" - } - ] - }, - "documentation": { - "id": 27218, - "nodeType": "StructuredDocumentation", - "src": "418:82:23", - "text": " @dev Converts a `bytes` to its Bytes64 `string` representation." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "encode", - "nameLocation": "514:6:23", - "parameters": { - "id": 27221, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27220, - "mutability": "mutable", - "name": "data", - "nameLocation": "534:4:23", - "nodeType": "VariableDeclaration", - "scope": 27256, - "src": "521:17:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27219, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "521:5:23", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "520:19:23" - }, - "returnParameters": { - "id": 27224, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27223, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27256, - "src": "563:13:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 27222, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "563:6:23", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "562:15:23" - }, - "scope": 27257, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "Base64", - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 27213, - "nodeType": "StructuredDocumentation", - "src": "125:105:23", - "text": " @dev Provides a set of functions to operate with Base64 strings.\n _Available since v4.5._" - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 27257 - ], - "name": "Base64", - "nameLocation": "239:6:23", - "scope": 27258, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 23 -} \ No newline at end of file diff --git a/out/Common.sol/CommonBase.json b/out/Common.sol/CommonBase.json deleted file mode 100644 index eb48198..0000000 --- a/out/Common.sol/CommonBase.json +++ /dev/null @@ -1,644 +0,0 @@ -{ - "abi": [], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/Common.sol\":\"CommonBase\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"lib/forge-std/lib/ds-test/src/test.sol\":{\"keccak256\":\"0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5\",\"dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr\"]},\"lib/forge-std/src/Common.sol\":{\"keccak256\":\"0x3ed7f49e907eaf339c3bb0b79a81d303d0f9e37aa5b8a9854c0cbfc3ad9a3ef0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01c2532fb5fea32c6dc165518f2c4918af25d9139d17c11da330414c9797a70b\",\"dweb:/ipfs/QmV4r8a1e9Rgu2xoigVCuSv3fZ737wD2DXbV6ZmHXVUtDn\"]},\"lib/forge-std/src/Components.sol\":{\"keccak256\":\"0xd3b8ba6df58174d5d650a668dfa49eeee28b2b855514b9e793e1c0b69d747149\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cce2b2ca79d5ce993b91358ed3d588396295e0aba9bb923481c1ffa5058a0dcd\",\"dweb:/ipfs/QmPNymteQmLWk7SqQhNsF6Rbc3xFPY7xGb4fBKravHLXD3\"]},\"lib/forge-std/src/StdAssertions.sol\":{\"keccak256\":\"0xde2bdee8e0e530de3269da50ebba83f4f90dde817971488980b720281e3cde4d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cb3f05bb06b654db43f4ce38e22aa7e2296ee00615df5329623c08c9ac030f8d\",\"dweb:/ipfs/QmdKwTpFsTiDFmc8zGwbPRu8mDs4oiKdZvzSj3WpiiGaez\"]},\"lib/forge-std/src/StdCheats.sol\":{\"keccak256\":\"0xf0c5c17c4cdfd0de659cf5e58e0e1611b6ee53900d3ab8b07b871d71d0b37bc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://21ffda3891e7480d5fdbf7f5e9d539f0ed76204bca69738f8ee006395ef1e23e\",\"dweb:/ipfs/Qmbhbn8zVXrCyvhvoQ5AUSj3usVGqMbMSEHYkNPdbQKBxt\"]},\"lib/forge-std/src/StdError.sol\":{\"keccak256\":\"0xbf477b11a42d7611696956546bcfaa29317d1166bf65e402344599c05943fc77\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc2e117d1135e030862b96a6526a43feb38d396cc79857f1fb696d4eff0e5fd6\",\"dweb:/ipfs/QmdSuQ5RrQudTLsNmWXGEeVJX8gR5U9XPm6m4dwwuQnJrj\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x2291ee8f379552b86f34d98acb248d50442c7d4ab94aed03f1c8ddb6aea6852d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1ca6ca6fe35692428b507008b24e4ec4ba0cabaf58110fd0b4456a42e0166bdc\",\"dweb:/ipfs/QmUcSeXfYMyusrWxEdPRMeWFYhf9qD6YJaZXCVo29F4eus\"]},\"lib/forge-std/src/StdMath.sol\":{\"keccak256\":\"0xd90ad4fd8aeaeb8929964e686e769fdedd5eded3fc3815df194a0ab9f91a3fb2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7919b70f636c7b805223992f28ad1ad0145d6c1385b5931a3589aface5fe6c92\",\"dweb:/ipfs/QmY7FRaULwoGgFteF8GawjQJRfasNgpWnU2aiMsFrYpuTC\"]},\"lib/forge-std/src/StdStorage.sol\":{\"keccak256\":\"0xb0da85ce6999940eba6190a26c15b9bc7aede57123891287e1b30f80333a9cf5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d287fd41de40ef992588f7a9531e66d1e9f8e4f3f194b9e721ac576d4613964a\",\"dweb:/ipfs/QmbFYYjoc8WGLKVfDe4rscYPwdGq48incbwRQNoLtcMMjn\"]},\"lib/forge-std/src/StdUtils.sol\":{\"keccak256\":\"0x216818221765c43713791708d7dc83fcd5ada81766c9d4ce54551528c191a59f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3f03d0ef065ce600e5922f3e9c92f0f54ff7c12895a250fa97d83e9ee38e7e2b\",\"dweb:/ipfs/QmX59m9mNRNEhjhEZnxbDirniesi26pnDaNzF5hPB4A3E8\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69\",\"dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0x225cc1ec33efd35c90e78aec0792ed9751cd6217e646271172421e96e2e2cc0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c6adbd216e40ca2387835b8618c82e7153cb826023d38943bbb0c2e992644aa\",\"dweb:/ipfs/QmZeejwEkm7iH9NHih7dPbuNqivuFn27EkgJesgByzS9wD\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/Common.sol": "CommonBase" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "lib/forge-std/lib/ds-test/src/test.sol": { - "keccak256": "0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54", - "urls": [ - "bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5", - "dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr" - ], - "license": "GPL-3.0-or-later" - }, - "lib/forge-std/src/Common.sol": { - "keccak256": "0x3ed7f49e907eaf339c3bb0b79a81d303d0f9e37aa5b8a9854c0cbfc3ad9a3ef0", - "urls": [ - "bzz-raw://01c2532fb5fea32c6dc165518f2c4918af25d9139d17c11da330414c9797a70b", - "dweb:/ipfs/QmV4r8a1e9Rgu2xoigVCuSv3fZ737wD2DXbV6ZmHXVUtDn" - ], - "license": "MIT" - }, - "lib/forge-std/src/Components.sol": { - "keccak256": "0xd3b8ba6df58174d5d650a668dfa49eeee28b2b855514b9e793e1c0b69d747149", - "urls": [ - "bzz-raw://cce2b2ca79d5ce993b91358ed3d588396295e0aba9bb923481c1ffa5058a0dcd", - "dweb:/ipfs/QmPNymteQmLWk7SqQhNsF6Rbc3xFPY7xGb4fBKravHLXD3" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdAssertions.sol": { - "keccak256": "0xde2bdee8e0e530de3269da50ebba83f4f90dde817971488980b720281e3cde4d", - "urls": [ - "bzz-raw://cb3f05bb06b654db43f4ce38e22aa7e2296ee00615df5329623c08c9ac030f8d", - "dweb:/ipfs/QmdKwTpFsTiDFmc8zGwbPRu8mDs4oiKdZvzSj3WpiiGaez" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdCheats.sol": { - "keccak256": "0xf0c5c17c4cdfd0de659cf5e58e0e1611b6ee53900d3ab8b07b871d71d0b37bc6", - "urls": [ - "bzz-raw://21ffda3891e7480d5fdbf7f5e9d539f0ed76204bca69738f8ee006395ef1e23e", - "dweb:/ipfs/Qmbhbn8zVXrCyvhvoQ5AUSj3usVGqMbMSEHYkNPdbQKBxt" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdError.sol": { - "keccak256": "0xbf477b11a42d7611696956546bcfaa29317d1166bf65e402344599c05943fc77", - "urls": [ - "bzz-raw://bc2e117d1135e030862b96a6526a43feb38d396cc79857f1fb696d4eff0e5fd6", - "dweb:/ipfs/QmdSuQ5RrQudTLsNmWXGEeVJX8gR5U9XPm6m4dwwuQnJrj" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdJson.sol": { - "keccak256": "0x2291ee8f379552b86f34d98acb248d50442c7d4ab94aed03f1c8ddb6aea6852d", - "urls": [ - "bzz-raw://1ca6ca6fe35692428b507008b24e4ec4ba0cabaf58110fd0b4456a42e0166bdc", - "dweb:/ipfs/QmUcSeXfYMyusrWxEdPRMeWFYhf9qD6YJaZXCVo29F4eus" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdMath.sol": { - "keccak256": "0xd90ad4fd8aeaeb8929964e686e769fdedd5eded3fc3815df194a0ab9f91a3fb2", - "urls": [ - "bzz-raw://7919b70f636c7b805223992f28ad1ad0145d6c1385b5931a3589aface5fe6c92", - "dweb:/ipfs/QmY7FRaULwoGgFteF8GawjQJRfasNgpWnU2aiMsFrYpuTC" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdStorage.sol": { - "keccak256": "0xb0da85ce6999940eba6190a26c15b9bc7aede57123891287e1b30f80333a9cf5", - "urls": [ - "bzz-raw://d287fd41de40ef992588f7a9531e66d1e9f8e4f3f194b9e721ac576d4613964a", - "dweb:/ipfs/QmbFYYjoc8WGLKVfDe4rscYPwdGq48incbwRQNoLtcMMjn" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdUtils.sol": { - "keccak256": "0x216818221765c43713791708d7dc83fcd5ada81766c9d4ce54551528c191a59f", - "urls": [ - "bzz-raw://3f03d0ef065ce600e5922f3e9c92f0f54ff7c12895a250fa97d83e9ee38e7e2b", - "dweb:/ipfs/QmX59m9mNRNEhjhEZnxbDirniesi26pnDaNzF5hPB4A3E8" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7", - "urls": [ - "bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69", - "dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB" - ], - "license": "MIT" - }, - "lib/forge-std/src/console.sol": { - "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", - "urls": [ - "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", - "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" - ], - "license": "MIT" - }, - "lib/forge-std/src/console2.sol": { - "keccak256": "0x225cc1ec33efd35c90e78aec0792ed9751cd6217e646271172421e96e2e2cc0f", - "urls": [ - "bzz-raw://6c6adbd216e40ca2387835b8618c82e7153cb826023d38943bbb0c2e992644aa", - "dweb:/ipfs/QmZeejwEkm7iH9NHih7dPbuNqivuFn27EkgJesgByzS9wD" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/Common.sol", - "id": 2545, - "exportedSymbols": { - "CommonBase": [ - 2544 - ], - "StdStorage": [ - 6388 - ], - "Vm": [ - 9256 - ] - }, - "nodeType": "SourceUnit", - "src": "32:429:3", - "nodes": [ - { - "id": 2514, - "nodeType": "PragmaDirective", - "src": "32:31:3", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.6", - ".2", - "<", - "0.9", - ".0" - ] - }, - { - "id": 2517, - "nodeType": "ImportDirective", - "src": "65:48:3", - "nodes": [], - "absolutePath": "lib/forge-std/src/Components.sol", - "file": "./Components.sol", - "nameLocation": "-1:-1:-1", - "scope": 2545, - "sourceUnit": 2557, - "symbolAliases": [ - { - "foreign": { - "id": 2515, - "name": "StdStorage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6388, - "src": "73:10:3", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 2516, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9256, - "src": "85:2:3", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 2544, - "nodeType": "ContractDefinition", - "src": "115:345:3", - "nodes": [ - { - "id": 2531, - "nodeType": "VariableDeclaration", - "src": "150:94:3", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "VM_ADDRESS", - "nameLocation": "176:10:3", - "scope": 2544, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2518, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "150:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6865766d20636865617420636f6465", - "id": 2526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "223:17:3", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - }, - "value": "hevm cheat code" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - } - ], - "id": 2525, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "213:9:3", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2527, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "213:28:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "205:7:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 2523, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "205:7:3", - "typeDescriptions": {} - } - }, - "id": 2528, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "205:37:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2522, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "197:7:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 2521, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "197:7:3", - "typeDescriptions": {} - } - }, - "id": 2529, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "197:46:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 2520, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "189:7:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2519, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "189:7:3", - "typeDescriptions": {} - } - }, - "id": 2530, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "189:55:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "id": 2534, - "nodeType": "VariableDeclaration", - "src": "250:126:3", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "UINT256_MAX", - "nameLocation": "276:11:3", - "scope": 2544, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2532, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "250:7:3", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "313135373932303839323337333136313935343233353730393835303038363837393037383533323639393834363635363430353634303339343537353834303037393133313239363339393335", - "id": 2533, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "298:78:3", - "typeDescriptions": { - "typeIdentifier": "t_rational_115792089237316195423570985008687907853269984665640564039457584007913129639935_by_1", - "typeString": "int_const 1157...(70 digits omitted)...9935" - }, - "value": "115792089237316195423570985008687907853269984665640564039457584007913129639935" - }, - "visibility": "internal" - }, - { - "id": 2537, - "nodeType": "VariableDeclaration", - "src": "383:28:3", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "stdstore", - "nameLocation": "403:8:3", - "scope": 2544, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 2536, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 2535, - "name": "StdStorage", - "nameLocations": [ - "383:10:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "383:10:3" - }, - "referencedDeclaration": 6388, - "src": "383:10:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "id": 2543, - "nodeType": "VariableDeclaration", - "src": "417:40:3", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "vm", - "nameLocation": "438:2:3", - "scope": 2544, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - }, - "typeName": { - "id": 2539, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 2538, - "name": "Vm", - "nameLocations": [ - "417:2:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 9256, - "src": "417:2:3" - }, - "referencedDeclaration": 9256, - "src": "417:2:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "value": { - "arguments": [ - { - "id": 2541, - "name": "VM_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2531, - "src": "446:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 2540, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9256, - "src": "443:2:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Vm_$9256_$", - "typeString": "type(contract Vm)" - } - }, - "id": 2542, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "443:14:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "visibility": "internal" - } - ], - "abstract": true, - "baseContracts": [], - "canonicalName": "CommonBase", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 2544 - ], - "name": "CommonBase", - "nameLocation": "133:10:3", - "scope": 2545, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 3 -} \ No newline at end of file diff --git a/out/Components.sol/Components.json b/out/Components.sol/Components.json deleted file mode 100644 index f8bd697..0000000 --- a/out/Components.sol/Components.json +++ /dev/null @@ -1,213 +0,0 @@ -{ - "abi": [], - "bytecode": { - "object": "0x", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "linkReferences": {} - }, - "ast": { - "absolutePath": "lib/forge-std/src/Components.sol", - "id": 2557, - "exportedSymbols": { - "DSTest": [ - 2512 - ], - "StdAssertions": [ - 3370 - ], - "StdCheats": [ - 5483 - ], - "StdCheatsSafe": [ - 5094 - ], - "StdStorage": [ - 6388 - ], - "StdUtils": [ - 8251 - ], - "Vm": [ - 9256 - ], - "VmSafe": [ - 8931 - ], - "console": [ - 17320 - ], - "console2": [ - 25385 - ], - "stdError": [ - 5549 - ], - "stdJson": [ - 6215 - ], - "stdMath": [ - 6357 - ], - "stdStorage": [ - 7822 - ], - "stdStorageSafe": [ - 7281 - ] - }, - "nodeType": "SourceUnit", - "src": "32:282:4", - "nodes": [ - { - "id": 2546, - "nodeType": "PragmaDirective", - "src": "32:31:4", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.6", - ".2", - "<", - "0.9", - ".0" - ] - }, - { - "id": 2547, - "nodeType": "ImportDirective", - "src": "65:23:4", - "nodes": [], - "absolutePath": "lib/forge-std/src/console.sol", - "file": "./console.sol", - "nameLocation": "-1:-1:-1", - "scope": 2557, - "sourceUnit": 17321, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 2548, - "nodeType": "ImportDirective", - "src": "89:24:4", - "nodes": [], - "absolutePath": "lib/forge-std/src/console2.sol", - "file": "./console2.sol", - "nameLocation": "-1:-1:-1", - "scope": 2557, - "sourceUnit": 25386, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 2549, - "nodeType": "ImportDirective", - "src": "114:29:4", - "nodes": [], - "absolutePath": "lib/forge-std/src/StdAssertions.sol", - "file": "./StdAssertions.sol", - "nameLocation": "-1:-1:-1", - "scope": 2557, - "sourceUnit": 3371, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 2550, - "nodeType": "ImportDirective", - "src": "144:25:4", - "nodes": [], - "absolutePath": "lib/forge-std/src/StdCheats.sol", - "file": "./StdCheats.sol", - "nameLocation": "-1:-1:-1", - "scope": 2557, - "sourceUnit": 5484, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 2551, - "nodeType": "ImportDirective", - "src": "170:24:4", - "nodes": [], - "absolutePath": "lib/forge-std/src/StdError.sol", - "file": "./StdError.sol", - "nameLocation": "-1:-1:-1", - "scope": 2557, - "sourceUnit": 5550, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 2552, - "nodeType": "ImportDirective", - "src": "195:23:4", - "nodes": [], - "absolutePath": "lib/forge-std/src/StdJson.sol", - "file": "./StdJson.sol", - "nameLocation": "-1:-1:-1", - "scope": 2557, - "sourceUnit": 6216, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 2553, - "nodeType": "ImportDirective", - "src": "219:23:4", - "nodes": [], - "absolutePath": "lib/forge-std/src/StdMath.sol", - "file": "./StdMath.sol", - "nameLocation": "-1:-1:-1", - "scope": 2557, - "sourceUnit": 6358, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 2554, - "nodeType": "ImportDirective", - "src": "243:26:4", - "nodes": [], - "absolutePath": "lib/forge-std/src/StdStorage.sol", - "file": "./StdStorage.sol", - "nameLocation": "-1:-1:-1", - "scope": 2557, - "sourceUnit": 7823, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 2555, - "nodeType": "ImportDirective", - "src": "270:24:4", - "nodes": [], - "absolutePath": "lib/forge-std/src/StdUtils.sol", - "file": "./StdUtils.sol", - "nameLocation": "-1:-1:-1", - "scope": 2557, - "sourceUnit": 8252, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 2556, - "nodeType": "ImportDirective", - "src": "295:18:4", - "nodes": [], - "absolutePath": "lib/forge-std/src/Vm.sol", - "file": "./Vm.sol", - "nameLocation": "-1:-1:-1", - "scope": 2557, - "sourceUnit": 9257, - "symbolAliases": [], - "unitAlias": "" - } - ], - "license": "MIT" - }, - "id": 4 -} \ No newline at end of file diff --git a/out/Context.sol/Context.json b/out/Context.sol/Context.json deleted file mode 100644 index d1bd373..0000000 --- a/out/Context.sol/Context.json +++ /dev/null @@ -1,314 +0,0 @@ -{ - "abi": [], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Provides information about the current execution context, including the sender of the transaction and its data. While these are generally available via msg.sender and msg.data, they should not be accessed in such a direct manner, since when dealing with meta-transactions the account sending and paying for execution may not be the actual sender (as far as an application is concerned). This contract is only required for intermediate, library-like contracts.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/utils/Context.sol\":\"Context\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/Context.sol": "Context" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "node_modules/@openzeppelin/contracts/utils/Context.sol": { - "keccak256": "0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7", - "urls": [ - "bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92", - "dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Context.sol", - "id": 27280, - "exportedSymbols": { - "Context": [ - 27279 - ] - }, - "nodeType": "SourceUnit", - "src": "86:758:24", - "nodes": [ - { - "id": 27259, - "nodeType": "PragmaDirective", - "src": "86:23:24", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 27279, - "nodeType": "ContractDefinition", - "src": "608:235:24", - "nodes": [ - { - "id": 27269, - "nodeType": "FunctionDefinition", - "src": "640:96:24", - "nodes": [], - "body": { - "id": 27268, - "nodeType": "Block", - "src": "702:34:24", - "nodes": [], - "statements": [ - { - "expression": { - "expression": { - "id": 27265, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "719:3:24", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 27266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "723:6:24", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "719:10:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 27264, - "id": 27267, - "nodeType": "Return", - "src": "712:17:24" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_msgSender", - "nameLocation": "649:10:24", - "parameters": { - "id": 27261, - "nodeType": "ParameterList", - "parameters": [], - "src": "659:2:24" - }, - "returnParameters": { - "id": 27264, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27263, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27269, - "src": "693:7:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 27262, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "693:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "692:9:24" - }, - "scope": 27279, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 27278, - "nodeType": "FunctionDefinition", - "src": "742:99:24", - "nodes": [], - "body": { - "id": 27277, - "nodeType": "Block", - "src": "809:32:24", - "nodes": [], - "statements": [ - { - "expression": { - "expression": { - "id": 27274, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "826:3:24", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 27275, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "830:4:24", - "memberName": "data", - "nodeType": "MemberAccess", - "src": "826:8:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "functionReturnParameters": 27273, - "id": 27276, - "nodeType": "Return", - "src": "819:15:24" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_msgData", - "nameLocation": "751:8:24", - "parameters": { - "id": 27270, - "nodeType": "ParameterList", - "parameters": [], - "src": "759:2:24" - }, - "returnParameters": { - "id": 27273, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27272, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27278, - "src": "793:14:24", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27271, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "793:5:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "792:16:24" - }, - "scope": 27279, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": true, - "baseContracts": [], - "canonicalName": "Context", - "contractDependencies": [], - "contractKind": "contract", - "documentation": { - "id": 27260, - "nodeType": "StructuredDocumentation", - "src": "111:496:24", - "text": " @dev Provides information about the current execution context, including the\n sender of the transaction and its data. While these are generally available\n via msg.sender and msg.data, they should not be accessed in such a direct\n manner, since when dealing with meta-transactions the account sending and\n paying for execution may not be the actual sender (as far as an application\n is concerned).\n This contract is only required for intermediate, library-like contracts." - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 27279 - ], - "name": "Context", - "nameLocation": "626:7:24", - "scope": 27280, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 24 -} \ No newline at end of file diff --git a/out/Counters.sol/Counters.json b/out/Counters.sol/Counters.json deleted file mode 100644 index c63e971..0000000 --- a/out/Counters.sol/Counters.json +++ /dev/null @@ -1,924 +0,0 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea2646970667358221220bf0ddfe91e11913198c1ecf5498e1f03f0e472589cb8e27394f39a0a55b3e22a64736f6c63430008110033", - "sourceMap": "424:971:25:-:0;;;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x600080fdfea2646970667358221220bf0ddfe91e11913198c1ecf5498e1f03f0e472589cb8e27394f39a0a55b3e22a64736f6c63430008110033", - "sourceMap": "424:971:25:-:0;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"author\":\"Matt Condon (@shrugs)\",\"details\":\"Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number of elements in a mapping, issuing ERC721 ids, or counting request ids. Include with `using Counters for Counters.Counter;`\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Counters\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/utils/Counters.sol\":\"Counters\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/Counters.sol\":{\"keccak256\":\"0xf0018c2440fbe238dd3a8732fa8e17a0f9dce84d31451dc8a32f6d62b349c9f1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://59e1c62884d55b70f3ae5432b44bb3166ad71ae3acd19c57ab6ddc3c87c325ee\",\"dweb:/ipfs/QmezuXg5GK5oeA4F91EZhozBFekhq5TD966bHPH18cCqhu\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/Counters.sol": "Counters" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "node_modules/@openzeppelin/contracts/utils/Counters.sol": { - "keccak256": "0xf0018c2440fbe238dd3a8732fa8e17a0f9dce84d31451dc8a32f6d62b349c9f1", - "urls": [ - "bzz-raw://59e1c62884d55b70f3ae5432b44bb3166ad71ae3acd19c57ab6ddc3c87c325ee", - "dweb:/ipfs/QmezuXg5GK5oeA4F91EZhozBFekhq5TD966bHPH18cCqhu" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Counters.sol", - "id": 27354, - "exportedSymbols": { - "Counters": [ - 27353 - ] - }, - "nodeType": "SourceUnit", - "src": "87:1309:25", - "nodes": [ - { - "id": 27281, - "nodeType": "PragmaDirective", - "src": "87:23:25", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 27353, - "nodeType": "ContractDefinition", - "src": "424:971:25", - "nodes": [ - { - "id": 27285, - "nodeType": "StructDefinition", - "src": "447:374:25", - "nodes": [], - "canonicalName": "Counters.Counter", - "members": [ - { - "constant": false, - "id": 27284, - "mutability": "mutable", - "name": "_value", - "nameLocation": "794:6:25", - "nodeType": "VariableDeclaration", - "scope": 27285, - "src": "786:14:25", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27283, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "786:7:25", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "Counter", - "nameLocation": "454:7:25", - "scope": 27353, - "visibility": "public" - }, - { - "id": 27297, - "nodeType": "FunctionDefinition", - "src": "827:112:25", - "nodes": [], - "body": { - "id": 27296, - "nodeType": "Block", - "src": "901:38:25", - "nodes": [], - "statements": [ - { - "expression": { - "expression": { - "id": 27293, - "name": "counter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27288, - "src": "918:7:25", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$27285_storage_ptr", - "typeString": "struct Counters.Counter storage pointer" - } - }, - "id": 27294, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "926:6:25", - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 27284, - "src": "918:14:25", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 27292, - "id": 27295, - "nodeType": "Return", - "src": "911:21:25" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "current", - "nameLocation": "836:7:25", - "parameters": { - "id": 27289, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27288, - "mutability": "mutable", - "name": "counter", - "nameLocation": "860:7:25", - "nodeType": "VariableDeclaration", - "scope": 27297, - "src": "844:23:25", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$27285_storage_ptr", - "typeString": "struct Counters.Counter" - }, - "typeName": { - "id": 27287, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 27286, - "name": "Counter", - "nameLocations": [ - "844:7:25" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27285, - "src": "844:7:25" - }, - "referencedDeclaration": 27285, - "src": "844:7:25", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$27285_storage_ptr", - "typeString": "struct Counters.Counter" - } - }, - "visibility": "internal" - } - ], - "src": "843:25:25" - }, - "returnParameters": { - "id": 27292, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27291, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27297, - "src": "892:7:25", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27290, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "892:7:25", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "891:9:25" - }, - "scope": 27353, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27311, - "nodeType": "FunctionDefinition", - "src": "945:123:25", - "nodes": [], - "body": { - "id": 27310, - "nodeType": "Block", - "src": "998:70:25", - "nodes": [], - "statements": [ - { - "id": 27309, - "nodeType": "UncheckedBlock", - "src": "1008:54:25", - "statements": [ - { - "expression": { - "id": 27307, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 27303, - "name": "counter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27300, - "src": "1032:7:25", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$27285_storage_ptr", - "typeString": "struct Counters.Counter storage pointer" - } - }, - "id": 27305, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "1040:6:25", - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 27284, - "src": "1032:14:25", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "31", - "id": 27306, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1050:1:25", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1032:19:25", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27308, - "nodeType": "ExpressionStatement", - "src": "1032:19:25" - } - ] - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "increment", - "nameLocation": "954:9:25", - "parameters": { - "id": 27301, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27300, - "mutability": "mutable", - "name": "counter", - "nameLocation": "980:7:25", - "nodeType": "VariableDeclaration", - "scope": 27311, - "src": "964:23:25", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$27285_storage_ptr", - "typeString": "struct Counters.Counter" - }, - "typeName": { - "id": 27299, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 27298, - "name": "Counter", - "nameLocations": [ - "964:7:25" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27285, - "src": "964:7:25" - }, - "referencedDeclaration": 27285, - "src": "964:7:25", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$27285_storage_ptr", - "typeString": "struct Counters.Counter" - } - }, - "visibility": "internal" - } - ], - "src": "963:25:25" - }, - "returnParameters": { - "id": 27302, - "nodeType": "ParameterList", - "parameters": [], - "src": "998:0:25" - }, - "scope": 27353, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27339, - "nodeType": "FunctionDefinition", - "src": "1074:229:25", - "nodes": [], - "body": { - "id": 27338, - "nodeType": "Block", - "src": "1127:176:25", - "nodes": [], - "statements": [ - { - "assignments": [ - 27318 - ], - "declarations": [ - { - "constant": false, - "id": 27318, - "mutability": "mutable", - "name": "value", - "nameLocation": "1145:5:25", - "nodeType": "VariableDeclaration", - "scope": 27338, - "src": "1137:13:25", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27317, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1137:7:25", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 27321, - "initialValue": { - "expression": { - "id": 27319, - "name": "counter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27314, - "src": "1153:7:25", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$27285_storage_ptr", - "typeString": "struct Counters.Counter storage pointer" - } - }, - "id": 27320, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1161:6:25", - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 27284, - "src": "1153:14:25", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1137:30:25" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27325, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27323, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27318, - "src": "1185:5:25", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 27324, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1193:1:25", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1185:9:25", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "436f756e7465723a2064656372656d656e74206f766572666c6f77", - "id": 27326, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1196:29:25", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1dfd0d5389474d871b8e8929aab9d4def041f55f90f625754fb5f9a9ba08af6f", - "typeString": "literal_string \"Counter: decrement overflow\"" - }, - "value": "Counter: decrement overflow" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1dfd0d5389474d871b8e8929aab9d4def041f55f90f625754fb5f9a9ba08af6f", - "typeString": "literal_string \"Counter: decrement overflow\"" - } - ], - "id": 27322, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1177:7:25", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 27327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1177:49:25", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27328, - "nodeType": "ExpressionStatement", - "src": "1177:49:25" - }, - { - "id": 27337, - "nodeType": "UncheckedBlock", - "src": "1236:61:25", - "statements": [ - { - "expression": { - "id": 27335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 27329, - "name": "counter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27314, - "src": "1260:7:25", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$27285_storage_ptr", - "typeString": "struct Counters.Counter storage pointer" - } - }, - "id": 27331, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "1268:6:25", - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 27284, - "src": "1260:14:25", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27334, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27332, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27318, - "src": "1277:5:25", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 27333, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1285:1:25", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1277:9:25", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1260:26:25", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27336, - "nodeType": "ExpressionStatement", - "src": "1260:26:25" - } - ] - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "decrement", - "nameLocation": "1083:9:25", - "parameters": { - "id": 27315, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27314, - "mutability": "mutable", - "name": "counter", - "nameLocation": "1109:7:25", - "nodeType": "VariableDeclaration", - "scope": 27339, - "src": "1093:23:25", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$27285_storage_ptr", - "typeString": "struct Counters.Counter" - }, - "typeName": { - "id": 27313, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 27312, - "name": "Counter", - "nameLocations": [ - "1093:7:25" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27285, - "src": "1093:7:25" - }, - "referencedDeclaration": 27285, - "src": "1093:7:25", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$27285_storage_ptr", - "typeString": "struct Counters.Counter" - } - }, - "visibility": "internal" - } - ], - "src": "1092:25:25" - }, - "returnParameters": { - "id": 27316, - "nodeType": "ParameterList", - "parameters": [], - "src": "1127:0:25" - }, - "scope": 27353, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27352, - "nodeType": "FunctionDefinition", - "src": "1309:84:25", - "nodes": [], - "body": { - "id": 27351, - "nodeType": "Block", - "src": "1358:35:25", - "nodes": [], - "statements": [ - { - "expression": { - "id": 27349, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 27345, - "name": "counter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27342, - "src": "1368:7:25", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$27285_storage_ptr", - "typeString": "struct Counters.Counter storage pointer" - } - }, - "id": 27347, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "1376:6:25", - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 27284, - "src": "1368:14:25", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "30", - "id": 27348, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1385:1:25", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1368:18:25", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27350, - "nodeType": "ExpressionStatement", - "src": "1368:18:25" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "reset", - "nameLocation": "1318:5:25", - "parameters": { - "id": 27343, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27342, - "mutability": "mutable", - "name": "counter", - "nameLocation": "1340:7:25", - "nodeType": "VariableDeclaration", - "scope": 27352, - "src": "1324:23:25", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$27285_storage_ptr", - "typeString": "struct Counters.Counter" - }, - "typeName": { - "id": 27341, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 27340, - "name": "Counter", - "nameLocations": [ - "1324:7:25" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27285, - "src": "1324:7:25" - }, - "referencedDeclaration": 27285, - "src": "1324:7:25", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$27285_storage_ptr", - "typeString": "struct Counters.Counter" - } - }, - "visibility": "internal" - } - ], - "src": "1323:25:25" - }, - "returnParameters": { - "id": 27344, - "nodeType": "ParameterList", - "parameters": [], - "src": "1358:0:25" - }, - "scope": 27353, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "Counters", - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 27282, - "nodeType": "StructuredDocumentation", - "src": "112:311:25", - "text": " @title Counters\n @author Matt Condon (@shrugs)\n @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number\n of elements in a mapping, issuing ERC721 ids, or counting request ids.\n Include with `using Counters for Counters.Counter;`" - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 27353 - ], - "name": "Counters", - "nameLocation": "432:8:25", - "scope": 27354, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 25 -} \ No newline at end of file diff --git a/out/ERC165.sol/ERC165.json b/out/ERC165.sol/ERC165.json deleted file mode 100644 index 03e88bd..0000000 --- a/out/ERC165.sol/ERC165.json +++ /dev/null @@ -1,415 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "supportsInterface(bytes4)": "01ffc9a7" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"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\":\"Implementation of the {IERC165} interface. Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check for the additional interface id that will be supported. For example: ```solidity function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); } ``` Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":\"ERC165\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "stateMutability": "view", - "type": "function", - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": { - "supportsInterface(bytes4)": { - "details": "See {IERC165-supportsInterface}." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": "ERC165" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": { - "keccak256": "0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b", - "urls": [ - "bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d", - "dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { - "keccak256": "0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1", - "urls": [ - "bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f", - "dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", - "id": 27553, - "exportedSymbols": { - "ERC165": [ - 27552 - ], - "IERC165": [ - 27564 - ] - }, - "nodeType": "SourceUnit", - "src": "99:888:27", - "nodes": [ - { - "id": 27530, - "nodeType": "PragmaDirective", - "src": "99:23:27", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 27531, - "nodeType": "ImportDirective", - "src": "124:23:27", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", - "file": "./IERC165.sol", - "nameLocation": "-1:-1:-1", - "scope": 27553, - "sourceUnit": 27565, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 27552, - "nodeType": "ContractDefinition", - "src": "726:260:27", - "nodes": [ - { - "id": 27551, - "nodeType": "FunctionDefinition", - "src": "829:155:27", - "nodes": [], - "body": { - "id": 27550, - "nodeType": "Block", - "src": "920:64:27", - "nodes": [], - "statements": [ - { - "expression": { - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 27548, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27543, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27537, - "src": "937:11:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 27545, - "name": "IERC165", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27564, - "src": "957:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC165_$27564_$", - "typeString": "type(contract IERC165)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_contract$_IERC165_$27564_$", - "typeString": "type(contract IERC165)" - } - ], - "id": 27544, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "952:4:27", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 27546, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "952:13:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_contract$_IERC165_$27564", - "typeString": "type(contract IERC165)" - } - }, - "id": 27547, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "966:11:27", - "memberName": "interfaceId", - "nodeType": "MemberAccess", - "src": "952:25:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "937:40:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 27542, - "id": 27549, - "nodeType": "Return", - "src": "930:47:27" - } - ] - }, - "baseFunctions": [ - 27563 - ], - "documentation": { - "id": 27535, - "nodeType": "StructuredDocumentation", - "src": "768:56:27", - "text": " @dev See {IERC165-supportsInterface}." - }, - "functionSelector": "01ffc9a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "supportsInterface", - "nameLocation": "838:17:27", - "overrides": { - "id": 27539, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "896:8:27" - }, - "parameters": { - "id": 27538, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27537, - "mutability": "mutable", - "name": "interfaceId", - "nameLocation": "863:11:27", - "nodeType": "VariableDeclaration", - "scope": 27551, - "src": "856:18:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 27536, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "856:6:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "855:20:27" - }, - "returnParameters": { - "id": 27542, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27541, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27551, - "src": "914:4:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 27540, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "914:4:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "913:6:27" - }, - "scope": 27552, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - } - ], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 27533, - "name": "IERC165", - "nameLocations": [ - "754:7:27" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27564, - "src": "754:7:27" - }, - "id": 27534, - "nodeType": "InheritanceSpecifier", - "src": "754:7:27" - } - ], - "canonicalName": "ERC165", - "contractDependencies": [], - "contractKind": "contract", - "documentation": { - "id": 27532, - "nodeType": "StructuredDocumentation", - "src": "149:576:27", - "text": " @dev Implementation of the {IERC165} interface.\n Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check\n for the additional interface id that will be supported. For example:\n ```solidity\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n }\n ```\n Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation." - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 27552, - 27564 - ], - "name": "ERC165", - "nameLocation": "744:6:27", - "scope": 27553, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 27 -} \ No newline at end of file diff --git a/out/ERC721.sol/ERC721.json b/out/ERC721.sol/ERC721.json deleted file mode 100644 index dadd026..0000000 --- a/out/ERC721.sol/ERC721.json +++ /dev/null @@ -1,13268 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "string", - "name": "name_", - "type": "string" - }, - { - "internalType": "string", - "name": "symbol_", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "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": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "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": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "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" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x608060405234620003195762001189803803806200001d816200031e565b928339810190604081830312620003195780516001600160401b03908181116200031957836200004f91840162000344565b916020938482015183811162000319576200006b920162000344565b825190828211620003035760008054926001958685811c95168015620002f8575b88861014620002e4578190601f9586811162000291575b5088908683116001146200022d57849262000221575b5050600019600383901b1c191690861b1781555b81519384116200020d5784548581811c9116801562000202575b87821014620001ee57838111620001a6575b50859284116001146200014157839495509262000135575b5050600019600383901b1c191690821b1790555b604051610dd29081620003b78239f35b01519050388062000111565b9190601f1984169585845280842093905b8782106200018e5750508385961062000174575b505050811b01905562000125565b015160001960f88460031b161c1916905538808062000166565b80878596829496860151815501950193019062000152565b8582528682208480870160051c820192898810620001e4575b0160051c019086905b828110620001d8575050620000f9565b838155018690620001c8565b92508192620001bf565b634e487b7160e01b82526022600452602482fd5b90607f1690620000e7565b634e487b7160e01b81526041600452602490fd5b015190503880620000b9565b8480528985208994509190601f198416865b8c8282106200027a575050841162000260575b505050811b018155620000cd565b015160001960f88460031b161c1916905538808062000252565b8385015186558c979095019493840193016200023f565b9091508380528884208680850160051c8201928b8610620002da575b918a91869594930160051c01915b828110620002cb575050620000a3565b8681558594508a9101620002bb565b92508192620002ad565b634e487b7160e01b83526022600452602483fd5b94607f16946200008c565b634e487b7160e01b600052604160045260246000fd5b600080fd5b6040519190601f01601f191682016001600160401b038111838210176200030357604052565b919080601f84011215620003195782516001600160401b03811162000303576020906200037a601f8201601f191683016200031e565b92818452828287010111620003195760005b818110620003a257508260009394955001015290565b85810183015184820184015282016200038c56fe608060408181526004918236101561001657600080fd5b600092833560e01c91826301ffc9a7146107645750816306fdde0314610699578163081812fc14610679578163095ea7b31461050b57816323b872dd146104e157816342842e0e146104935781636352211e1461046257816370a08231146103cc57816395d89b41146102b3578163a22cb465146101e3578163b88d4fde14610155578163c87b56dd14610104575063e985e9c5146100b457600080fd5b3461010057806003193601126101005760ff816020936100d261080f565b6100da61082a565b6001600160a01b0391821683526005875283832091168252855220549151911615158152f35b5080fd5b838334610100576020366003190112610100576101246101519335610c56565b81815161013081610875565b5280519161013d83610875565b8252519182916020835260208301906107cf565b0390f35b919050346101df5760803660031901126101df5761017161080f565b61017961082a565b846064359467ffffffffffffffff8611610100573660238701121561010057850135946101b16101a8876108c9565b955195866108a7565b858552366024878301011161010057856101dc966024602093018388013785010152604435916109dd565b80f35b8280fd5b919050346101df57806003193601126101df576101fe61080f565b90602435918215158093036102af576001600160a01b03169233841461026d5750338452600560205280842083855260205280842060ff1981541660ff8416179055519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a380f35b6020606492519162461bcd60e51b8352820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152fd5b8480fd5b8284346103c957806003193601126103c9578151918160019283549384811c918186169586156103bf575b60209687851081146103ac578899509688969785829a52918260001461038557505060011461032a575b505050610151929161031b9103856108a7565b519282849384528301906107cf565b91908693508083527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b82841061036d575050508201018161031b610151610308565b8054848a018601528895508794909301928101610354565b60ff19168782015293151560051b8601909301935084925061031b91506101519050610308565b634e487b7160e01b835260228a52602483fd5b92607f16926102de565b80fd5b83915034610100576020366003190112610100576001600160a01b036103f061080f565b1690811561040d5760208480858581526003845220549051908152f35b608490602085519162461bcd60e51b8352820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152fd5b8284346103c95760203660031901126103c9575061048260209235610931565b90516001600160a01b039091168152f35b838334610100576104a336610840565b91835193602085019085821067ffffffffffffffff8311176104ce576101dc969750528584526109dd565b634e487b7160e01b875260418852602487fd5b83346103c9576101dc6104f336610840565b916105066105018433610a78565b61097b565b610b40565b9050346101df57816003193601126101df5761052561080f565b6024359290916001600160a01b039190828061054087610931565b1694169380851461062c5780331490811561060d575b50156105a557848652602052842080546001600160a01b0319168317905561057d83610931565b167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258480a480f35b6020608492519162461bcd60e51b8352820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152fd5b90508652600560205281862033875260205260ff828720541638610556565b506020608492519162461bcd60e51b8352820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152fd5b8284346103c95760203660031901126103c9575061048260209235610957565b8284346103c957806003193601126103c95781519181825492600184811c9181861695861561075a575b60209687851081146103ac578899509688969785829a5291826000146103855750506001146106ff57505050610151929161031b9103856108a7565b91908693508280527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b828410610742575050508201018161031b610151610308565b8054848a018601528895508794909301928101610729565b92607f16926106c3565b8491346101df5760203660031901126101df573563ffffffff60e01b81168091036101df57602092506380ac58cd60e01b81149081156107be575b81156107ad575b5015158152f35b6301ffc9a760e01b149050836107a6565b635b5e139f60e01b8114915061079f565b919082519283825260005b8481106107fb575050826000602080949584010152601f8019910116010190565b6020818301810151848301820152016107da565b600435906001600160a01b038216820361082557565b600080fd5b602435906001600160a01b038216820361082557565b6060906003190112610825576001600160a01b0390600435828116810361082557916024359081168103610825579060443590565b6020810190811067ffffffffffffffff82111761089157604052565b634e487b7160e01b600052604160045260246000fd5b90601f8019910116810190811067ffffffffffffffff82111761089157604052565b67ffffffffffffffff811161089157601f01601f191660200190565b156108ec57565b60405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606490fd5b6000908152600260205260409020546001600160a01b03166109548115156108e5565b90565b61096081610c56565b6000908152600460205260409020546001600160a01b031690565b1561098257565b60405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b6064820152608490fd5b90610a019392916109f16105018433610a78565b6109fc838383610b40565b610c7b565b15610a0857565b60405162461bcd60e51b815280610a2160048201610a25565b0390fd5b60809060208152603260208201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60608201520190565b906001600160a01b038080610a8c84610931565b16931691838314938415610abf575b508315610aa9575b50505090565b610ab591929350610957565b1614388080610aa3565b909350600052600560205260406000208260005260205260ff604060002054169238610a9b565b15610aed57565b60405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608490fd5b90610b6891610b4e84610931565b6001600160a01b0393918416928492909183168414610ae6565b16918215610c055781610b8591610b7e86610931565b1614610ae6565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60008481526004602052604081206bffffffffffffffffffffffff60a01b9081815416905583825260036020526040822060001981540190558482526040822060018154019055858252600260205284604083209182541617905580a4565b60405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b600090815260026020526040902054610c79906001600160a01b031615156108e5565b565b9293600093909291803b15610d9157948491610cd59660405180948193630a85bd0160e11b9788845233600485015260018060a01b0380921660248501526044840152608060648401528260209b8c9760848301906107cf565b0393165af1849181610d51575b50610d40575050503d600014610d38573d610cfc816108c9565b90610d0a60405192836108a7565b81528091833d92013e5b80519182610d355760405162461bcd60e51b815280610a2160048201610a25565b01fd5b506060610d14565b6001600160e01b0319161492509050565b9091508581813d8311610d8a575b610d6981836108a7565b810103126102af57516001600160e01b0319811681036102af579038610ce2565b503d610d5f565b50505091505060019056fea2646970667358221220fffdba8d8070acba7f371e06abbf20db409b3a52ad99becc00c319ebb2c1eacd64736f6c63430008110033", - "sourceMap": "628:16327:18:-:0;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;628:16327:18;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;628:16327:18;;;;;;;;;;;;;;;-1:-1:-1;628:16327:18;;;;;;;;;;;;;;;-1:-1:-1;628:16327:18;;;;;;;;;;;;;;;-1:-1:-1;;;;628:16327:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;628:16327:18;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;628:16327:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;628:16327:18;;;;;;;;;;;;;;;;-1:-1:-1;;;628:16327:18;;;;;;;;;;;;-1:-1:-1;628:16327:18;;;;;;;;;;;;;-1:-1:-1;628:16327:18;;-1:-1:-1;;628:16327:18;;;;;;;;;;;;;-1:-1:-1;628:16327:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;628:16327:18;;;;;;;;;;;;;-1:-1:-1;;;628:16327:18;;;;;;;;;;;;;;;;;;;-1:-1:-1;628:16327:18;;;;;-1:-1:-1;628:16327:18;;-1:-1:-1;628:16327:18;;;;;;;;;-1:-1:-1;;628:16327:18;;;-1:-1:-1;;;;;628:16327:18;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;628:16327:18;;;;;;;;;;-1:-1:-1;;628:16327:18;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;628:16327:18;;;;;;;;-1:-1:-1;628:16327:18;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x608060408181526004918236101561001657600080fd5b600092833560e01c91826301ffc9a7146107645750816306fdde0314610699578163081812fc14610679578163095ea7b31461050b57816323b872dd146104e157816342842e0e146104935781636352211e1461046257816370a08231146103cc57816395d89b41146102b3578163a22cb465146101e3578163b88d4fde14610155578163c87b56dd14610104575063e985e9c5146100b457600080fd5b3461010057806003193601126101005760ff816020936100d261080f565b6100da61082a565b6001600160a01b0391821683526005875283832091168252855220549151911615158152f35b5080fd5b838334610100576020366003190112610100576101246101519335610c56565b81815161013081610875565b5280519161013d83610875565b8252519182916020835260208301906107cf565b0390f35b919050346101df5760803660031901126101df5761017161080f565b61017961082a565b846064359467ffffffffffffffff8611610100573660238701121561010057850135946101b16101a8876108c9565b955195866108a7565b858552366024878301011161010057856101dc966024602093018388013785010152604435916109dd565b80f35b8280fd5b919050346101df57806003193601126101df576101fe61080f565b90602435918215158093036102af576001600160a01b03169233841461026d5750338452600560205280842083855260205280842060ff1981541660ff8416179055519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a380f35b6020606492519162461bcd60e51b8352820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152fd5b8480fd5b8284346103c957806003193601126103c9578151918160019283549384811c918186169586156103bf575b60209687851081146103ac578899509688969785829a52918260001461038557505060011461032a575b505050610151929161031b9103856108a7565b519282849384528301906107cf565b91908693508083527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b82841061036d575050508201018161031b610151610308565b8054848a018601528895508794909301928101610354565b60ff19168782015293151560051b8601909301935084925061031b91506101519050610308565b634e487b7160e01b835260228a52602483fd5b92607f16926102de565b80fd5b83915034610100576020366003190112610100576001600160a01b036103f061080f565b1690811561040d5760208480858581526003845220549051908152f35b608490602085519162461bcd60e51b8352820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152fd5b8284346103c95760203660031901126103c9575061048260209235610931565b90516001600160a01b039091168152f35b838334610100576104a336610840565b91835193602085019085821067ffffffffffffffff8311176104ce576101dc969750528584526109dd565b634e487b7160e01b875260418852602487fd5b83346103c9576101dc6104f336610840565b916105066105018433610a78565b61097b565b610b40565b9050346101df57816003193601126101df5761052561080f565b6024359290916001600160a01b039190828061054087610931565b1694169380851461062c5780331490811561060d575b50156105a557848652602052842080546001600160a01b0319168317905561057d83610931565b167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258480a480f35b6020608492519162461bcd60e51b8352820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152fd5b90508652600560205281862033875260205260ff828720541638610556565b506020608492519162461bcd60e51b8352820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152fd5b8284346103c95760203660031901126103c9575061048260209235610957565b8284346103c957806003193601126103c95781519181825492600184811c9181861695861561075a575b60209687851081146103ac578899509688969785829a5291826000146103855750506001146106ff57505050610151929161031b9103856108a7565b91908693508280527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b828410610742575050508201018161031b610151610308565b8054848a018601528895508794909301928101610729565b92607f16926106c3565b8491346101df5760203660031901126101df573563ffffffff60e01b81168091036101df57602092506380ac58cd60e01b81149081156107be575b81156107ad575b5015158152f35b6301ffc9a760e01b149050836107a6565b635b5e139f60e01b8114915061079f565b919082519283825260005b8481106107fb575050826000602080949584010152601f8019910116010190565b6020818301810151848301820152016107da565b600435906001600160a01b038216820361082557565b600080fd5b602435906001600160a01b038216820361082557565b6060906003190112610825576001600160a01b0390600435828116810361082557916024359081168103610825579060443590565b6020810190811067ffffffffffffffff82111761089157604052565b634e487b7160e01b600052604160045260246000fd5b90601f8019910116810190811067ffffffffffffffff82111761089157604052565b67ffffffffffffffff811161089157601f01601f191660200190565b156108ec57565b60405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606490fd5b6000908152600260205260409020546001600160a01b03166109548115156108e5565b90565b61096081610c56565b6000908152600460205260409020546001600160a01b031690565b1561098257565b60405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b6064820152608490fd5b90610a019392916109f16105018433610a78565b6109fc838383610b40565b610c7b565b15610a0857565b60405162461bcd60e51b815280610a2160048201610a25565b0390fd5b60809060208152603260208201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60608201520190565b906001600160a01b038080610a8c84610931565b16931691838314938415610abf575b508315610aa9575b50505090565b610ab591929350610957565b1614388080610aa3565b909350600052600560205260406000208260005260205260ff604060002054169238610a9b565b15610aed57565b60405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608490fd5b90610b6891610b4e84610931565b6001600160a01b0393918416928492909183168414610ae6565b16918215610c055781610b8591610b7e86610931565b1614610ae6565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60008481526004602052604081206bffffffffffffffffffffffff60a01b9081815416905583825260036020526040822060001981540190558482526040822060018154019055858252600260205284604083209182541617905580a4565b60405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b600090815260026020526040902054610c79906001600160a01b031615156108e5565b565b9293600093909291803b15610d9157948491610cd59660405180948193630a85bd0160e11b9788845233600485015260018060a01b0380921660248501526044840152608060648401528260209b8c9760848301906107cf565b0393165af1849181610d51575b50610d40575050503d600014610d38573d610cfc816108c9565b90610d0a60405192836108a7565b81528091833d92013e5b80519182610d355760405162461bcd60e51b815280610a2160048201610a25565b01fd5b506060610d14565b6001600160e01b0319161492509050565b9091508581813d8311610d8a575b610d6981836108a7565b810103126102af57516001600160e01b0319811681036102af579038610ce2565b503d610d5f565b50505091505060019056fea2646970667358221220fffdba8d8070acba7f371e06abbf20db409b3a52ad99becc00c319ebb2c1eacd64736f6c63430008110033", - "sourceMap": "628:16327:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;-1:-1:-1;;;;;628:16327:18;;;;;4508:18;628:16327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;628:16327:18;;;;2914:7;628:16327;;;2914:7;:::i;:::-;628:16327;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;628:16327:18;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;628:16327:18;;719:10:24;13216:17:18;;628:16327;;719:10:24;;628:16327:18;;13273:18;628:16327;;;;;;;;;;;;;;;;;;;;;;;;;;;;13334:41;628:16327;719:10:24;13334:41:18;;628:16327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2721:7;628:16327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;628:16327:18;;;;;;;;;;;;;;;;;;;-1:-1:-1;628:16327:18;;;;;;;;;;;-1:-1:-1;;628:16327:18;;;;;;;;;;;;;;;;-1:-1:-1;628:16327:18;;-1:-1:-1;628:16327:18;;-1:-1:-1;628:16327:18;;-1:-1:-1;628:16327:18;;;-1:-1:-1;;;628:16327:18;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;628:16327:18;;;;-1:-1:-1;;;;;628:16327:18;;:::i;:::-;;2028:19;;;628:16327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;628:16327:18;;;;;;;;;;;;;-1:-1:-1;;628:16327:18;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;628:16327:18;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;5137:39;628:16327;;;;;;;5137:39;:::i;628:16327::-;-1:-1:-1;;;628:16327:18;;;;;;;;;;;;;4923:7;628:16327;;;:::i;:::-;719:10:24;4793:99:18;4801:41;719:10:24;;4801:41:18;:::i;:::-;4793:99;:::i;:::-;4923:7;:::i;628:16327::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;628:16327:18;;;;3564:23;628:16327;3564:23;:::i;:::-;628:16327;;;3605:11;;;;628:16327;;719:10:24;;3686:21:18;:62;;;;;628:16327;;;;;;;;;;;;;;-1:-1:-1;;;;;;628:16327:18;;;;;12895:23;628:16327;12895:23;:::i;:::-;628:16327;12886:46;;;;628:16327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3686:62;628:16327;;;;4508:18;628:16327;;;;;719:10:24;628:16327:18;;;;;;;;;;3686:62;;;628:16327;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;628:16327:18;;;;;;;;;;;;;-1:-1:-1;;628:16327:18;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;628:16327:18;;;;;;;;;;;;;;;;;;;-1:-1:-1;628:16327:18;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;628:16327:18;;;;;;;;;;;;;;;;;-1:-1:-1;;;;1707:40:18;;;:104;;;;628:16327;1707:156;;;;628:16327;;;;;;;1707:156;-1:-1:-1;;;937:40:27;;-1:-1:-1;1707:156:18;;;:104;-1:-1:-1;;;1763:48:18;;;-1:-1:-1;1707:104:18;;628:16327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;628:16327:18;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;;;;628:16327:18;;;;;;:::o;:::-;;;;;;;;;-1:-1:-1;;;;;628:16327:18;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;628:16327:18;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;628:16327:18;;;;;;;;;;;;;;;;;;;;2190:219;-1:-1:-1;628:16327:18;;;6930:7;628:16327;;;;;;-1:-1:-1;;;;;628:16327:18;2324:56;2332:19;;;2324:56;:::i;:::-;2190:219;:::o;3935:167::-;4045:7;;;:::i;:::-;-1:-1:-1;628:16327:18;;;4071:15;628:16327;;;;;;-1:-1:-1;;;;;628:16327:18;;3935:167::o;628:16327::-;;;;:::o;:::-;;;-1:-1:-1;;;628:16327:18;;;;;;;;;;;;;;;;;-1:-1:-1;;;628:16327:18;;;;;;;5249:314;;6620:47;5249:314;;;5409:99;5417:41;719:10:24;;5417:41:18;:::i;5409:99::-;6594:7;;;;;:::i;:::-;6620:47;:::i;:::-;628:16327;;;5249:314::o;628:16327::-;;;-1:-1:-1;;;628:16327:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;628:16327:18;;;;;;:::o;7540:261::-;;-1:-1:-1;;;;;628:16327:18;;7665:23;7540:261;7665:23;:::i;:::-;628:16327;;;7706:16;;;;:52;;;;;7540:261;7706:87;;;;;7540:261;7698:96;;;7540:261;:::o;7706:87::-;7762:20;;;;;;:::i;:::-;628:16327;7762:31;7706:87;;;;;:52;628:16327;;;-1:-1:-1;628:16327:18;4508:18;628:16327;;;-1:-1:-1;628:16327:18;;-1:-1:-1;628:16327:18;;;;;-1:-1:-1;628:16327:18;;;7706:52;;;;628:16327;;;;:::o;:::-;;;-1:-1:-1;;;628:16327:18;;;;;;;;;;;;;;;;;-1:-1:-1;;;628:16327:18;;;;;;;11423:1233;;11542:81;11423:1233;11550:23;;;:::i;:::-;-1:-1:-1;;;;;628:16327:18;;;;;;;;;;;11550:31;;11542:81;:::i;:::-;628:16327;11641:16;;;628:16327;;11851:23;11843:81;11851:23;;;;:::i;:::-;628:16327;11851:31;11843:81;:::i;:::-;12570:27;11655:1;628:16327;;;11993:15;628:16327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12533:7;628:16327;;;;;;;;;;;;;12570:27;;11423:1233::o;628:16327::-;;;-1:-1:-1;;;628:16327:18;;;;;;;;;;;;;;;;;-1:-1:-1;;;628:16327:18;;;;;;;13466:133;-1:-1:-1;628:16327:18;;;6930:7;628:16327;;;;;;13539:53;;-1:-1:-1;;;;;628:16327:18;7344:31;;13539:53;:::i;:::-;13466:133::o;14151:831::-;;;628:16327;;14151:831;;;1465:19:22;;:23;:19;;628:16327:18;;;;;;;;;;;;;;14355:71;;;;719:10:24;14355:71:18;;;628:16327;;;;;;;;;;;;;;;;;;;;;;14355:71;;628:16327;;;;;;;;:::i;:::-;14355:71;628:16327;;14355:71;;;;;;;14316:660;-1:-1:-1;14351:573:18;;14543:381;;;628:16327;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;14593:18;;;628:16327;;-1:-1:-1;;;14635:60:18;;628:16327;14635:60;14355:71;14635:60;;;:::i;14589:321::-;14797:95;;628:16327;;;;;14351:573;-1:-1:-1;;;;;;628:16327:18;14476:51;;-1:-1:-1;628:16327:18;-1:-1:-1;14469:58:18:o;14355:71::-;;;;;;;;;;;;;;;;;:::i;:::-;;;628:16327;;;;;-1:-1:-1;;;;;;628:16327:18;;;;;;14355:71;;;;;;;;;14316:660;14954:11;;;;;;14961:4;14954:11;:::o", - "linkReferences": {} - }, - "methodIdentifiers": { - "approve(address,uint256)": "095ea7b3", - "balanceOf(address)": "70a08231", - "getApproved(uint256)": "081812fc", - "isApprovedForAll(address,address)": "e985e9c5", - "name()": "06fdde03", - "ownerOf(uint256)": "6352211e", - "safeTransferFrom(address,address,uint256)": "42842e0e", - "safeTransferFrom(address,address,uint256,bytes)": "b88d4fde", - "setApprovalForAll(address,bool)": "a22cb465", - "supportsInterface(bytes4)": "01ffc9a7", - "symbol()": "95d89b41", - "tokenURI(uint256)": "c87b56dd", - "transferFrom(address,address,uint256)": "23b872dd" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"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\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"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\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including the Metadata extension, but not including the Enumerable extension, which is available separately as {ERC721Enumerable}.\",\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"constructor\":{\"details\":\"Initializes the contract by setting a `name` and a `symbol` to the token collection.\"},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"},\"symbol()\":{\"details\":\"See {IERC721Metadata-symbol}.\"},\"tokenURI(uint256)\":{\"details\":\"See {IERC721Metadata-tokenURI}.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-transferFrom}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol\":\"ERC721\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0xd89f3585b211fc9e3408384a4c4efdc3a93b2f877a3821046fa01c219d35be1b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5ea15ef7c8980240ccd46df13809d163f749bc0a01d8bced1875660d4872da1c\",\"dweb:/ipfs/QmbDfAT9VeCSG4cnPd6tjDMp8ED85dLHbWyMyv7wbmL4CH\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xa82b58eca1ee256be466e536706850163d2ec7821945abd6b4778cfb3bee37da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e75cf83beb757b8855791088546b8337e9d4684e169400c20d44a515353b708\",\"dweb:/ipfs/QmYvPafLfoquiDMEj7CKHtvbgHu7TJNPSVPSCjrtjV8HjV\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146\",\"dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf\"]},\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ec772b45a624be516f1c81970caa8a2e144301e9d0921cbc1a2789fef39a1269\",\"dweb:/ipfs/QmNyjwxCrGhQMyzLD93oUobJXVe9ceJvRvfXwbEtuxPiEj\"]},\"node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634\",\"dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"node_modules/@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b\",\"dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "string", - "name": "name_", - "type": "string" - }, - { - "internalType": "string", - "name": "symbol_", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "approved", - "type": "address", - "indexed": true - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256", - "indexed": true - } - ], - "type": "event", - "name": "Approval", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "operator", - "type": "address", - "indexed": true - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool", - "indexed": false - } - ], - "type": "event", - "name": "ApprovalForAll", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "to", - "type": "address", - "indexed": true - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256", - "indexed": true - } - ], - "type": "event", - "name": "Transfer", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "approve" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "safeTransferFrom" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "safeTransferFrom" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setApprovalForAll" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "stateMutability": "view", - "type": "function", - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom" - } - ], - "devdoc": { - "kind": "dev", - "methods": { - "approve(address,uint256)": { - "details": "See {IERC721-approve}." - }, - "balanceOf(address)": { - "details": "See {IERC721-balanceOf}." - }, - "constructor": { - "details": "Initializes the contract by setting a `name` and a `symbol` to the token collection." - }, - "getApproved(uint256)": { - "details": "See {IERC721-getApproved}." - }, - "isApprovedForAll(address,address)": { - "details": "See {IERC721-isApprovedForAll}." - }, - "name()": { - "details": "See {IERC721Metadata-name}." - }, - "ownerOf(uint256)": { - "details": "See {IERC721-ownerOf}." - }, - "safeTransferFrom(address,address,uint256)": { - "details": "See {IERC721-safeTransferFrom}." - }, - "safeTransferFrom(address,address,uint256,bytes)": { - "details": "See {IERC721-safeTransferFrom}." - }, - "setApprovalForAll(address,bool)": { - "details": "See {IERC721-setApprovalForAll}." - }, - "supportsInterface(bytes4)": { - "details": "See {IERC165-supportsInterface}." - }, - "symbol()": { - "details": "See {IERC721Metadata-symbol}." - }, - "tokenURI(uint256)": { - "details": "See {IERC721Metadata-tokenURI}." - }, - "transferFrom(address,address,uint256)": { - "details": "See {IERC721-transferFrom}." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol": "ERC721" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol": { - "keccak256": "0xd89f3585b211fc9e3408384a4c4efdc3a93b2f877a3821046fa01c219d35be1b", - "urls": [ - "bzz-raw://5ea15ef7c8980240ccd46df13809d163f749bc0a01d8bced1875660d4872da1c", - "dweb:/ipfs/QmbDfAT9VeCSG4cnPd6tjDMp8ED85dLHbWyMyv7wbmL4CH" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": { - "keccak256": "0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68", - "urls": [ - "bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56", - "dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": { - "keccak256": "0xa82b58eca1ee256be466e536706850163d2ec7821945abd6b4778cfb3bee37da", - "urls": [ - "bzz-raw://6e75cf83beb757b8855791088546b8337e9d4684e169400c20d44a515353b708", - "dweb:/ipfs/QmYvPafLfoquiDMEj7CKHtvbgHu7TJNPSVPSCjrtjV8HjV" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol": { - "keccak256": "0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9", - "urls": [ - "bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146", - "dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Address.sol": { - "keccak256": "0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1", - "urls": [ - "bzz-raw://ec772b45a624be516f1c81970caa8a2e144301e9d0921cbc1a2789fef39a1269", - "dweb:/ipfs/QmNyjwxCrGhQMyzLD93oUobJXVe9ceJvRvfXwbEtuxPiEj" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Context.sol": { - "keccak256": "0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7", - "urls": [ - "bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92", - "dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Strings.sol": { - "keccak256": "0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a", - "urls": [ - "bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634", - "dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": { - "keccak256": "0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b", - "urls": [ - "bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d", - "dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { - "keccak256": "0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1", - "urls": [ - "bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f", - "dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/math/Math.sol": { - "keccak256": "0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6", - "urls": [ - "bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b", - "dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol", - "id": 26720, - "exportedSymbols": { - "Address": [ - 27210 - ], - "Context": [ - 27279 - ], - "ERC165": [ - 27552 - ], - "ERC721": [ - 26719 - ], - "IERC165": [ - 27564 - ], - "IERC721": [ - 26835 - ], - "IERC721Metadata": [ - 26880 - ], - "IERC721Receiver": [ - 26853 - ], - "Math": [ - 28429 - ], - "Strings": [ - 27528 - ] - }, - "nodeType": "SourceUnit", - "src": "107:16849:18", - "nodes": [ - { - "id": 25776, - "nodeType": "PragmaDirective", - "src": "107:23:18", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 25777, - "nodeType": "ImportDirective", - "src": "132:23:18", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol", - "file": "./IERC721.sol", - "nameLocation": "-1:-1:-1", - "scope": 26720, - "sourceUnit": 26836, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 25778, - "nodeType": "ImportDirective", - "src": "156:31:18", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol", - "file": "./IERC721Receiver.sol", - "nameLocation": "-1:-1:-1", - "scope": 26720, - "sourceUnit": 26854, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 25779, - "nodeType": "ImportDirective", - "src": "188:42:18", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol", - "file": "./extensions/IERC721Metadata.sol", - "nameLocation": "-1:-1:-1", - "scope": 26720, - "sourceUnit": 26881, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 25780, - "nodeType": "ImportDirective", - "src": "231:33:18", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Address.sol", - "file": "../../utils/Address.sol", - "nameLocation": "-1:-1:-1", - "scope": 26720, - "sourceUnit": 27211, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 25781, - "nodeType": "ImportDirective", - "src": "265:33:18", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Context.sol", - "file": "../../utils/Context.sol", - "nameLocation": "-1:-1:-1", - "scope": 26720, - "sourceUnit": 27280, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 25782, - "nodeType": "ImportDirective", - "src": "299:33:18", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Strings.sol", - "file": "../../utils/Strings.sol", - "nameLocation": "-1:-1:-1", - "scope": 26720, - "sourceUnit": 27529, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 25783, - "nodeType": "ImportDirective", - "src": "333:46:18", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", - "file": "../../utils/introspection/ERC165.sol", - "nameLocation": "-1:-1:-1", - "scope": 26720, - "sourceUnit": 27553, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 26719, - "nodeType": "ContractDefinition", - "src": "628:16327:18", - "nodes": [ - { - "id": 25795, - "nodeType": "UsingForDirective", - "src": "695:26:18", - "nodes": [], - "global": false, - "libraryName": { - "id": 25793, - "name": "Address", - "nameLocations": [ - "701:7:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27210, - "src": "701:7:18" - }, - "typeName": { - "id": 25794, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "713:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - { - "id": 25798, - "nodeType": "UsingForDirective", - "src": "726:26:18", - "nodes": [], - "global": false, - "libraryName": { - "id": 25796, - "name": "Strings", - "nameLocations": [ - "732:7:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27528, - "src": "732:7:18" - }, - "typeName": { - "id": 25797, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "744:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "id": 25800, - "nodeType": "VariableDeclaration", - "src": "776:20:18", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "_name", - "nameLocation": "791:5:18", - "scope": 26719, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 25799, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "776:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "private" - }, - { - "id": 25802, - "nodeType": "VariableDeclaration", - "src": "823:22:18", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "_symbol", - "nameLocation": "838:7:18", - "scope": 26719, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 25801, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "823:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "private" - }, - { - "id": 25806, - "nodeType": "VariableDeclaration", - "src": "898:43:18", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "_owners", - "nameLocation": "934:7:18", - "scope": 26719, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "typeName": { - "id": 25805, - "keyType": { - "id": 25803, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "906:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "898:27:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "valueType": { - "id": 25804, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "917:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - "visibility": "private" - }, - { - "id": 25810, - "nodeType": "VariableDeclaration", - "src": "992:45:18", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "_balances", - "nameLocation": "1028:9:18", - "scope": 26719, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "typeName": { - "id": 25809, - "keyType": { - "id": 25807, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1000:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "992:27:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "valueType": { - "id": 25808, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1011:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "visibility": "private" - }, - { - "id": 25814, - "nodeType": "VariableDeclaration", - "src": "1093:51:18", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "_tokenApprovals", - "nameLocation": "1129:15:18", - "scope": 26719, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "typeName": { - "id": 25813, - "keyType": { - "id": 25811, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1101:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "1093:27:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "valueType": { - "id": 25812, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1112:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - "visibility": "private" - }, - { - "id": 25820, - "nodeType": "VariableDeclaration", - "src": "1199:71:18", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "_operatorApprovals", - "nameLocation": "1252:18:18", - "scope": 26719, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - }, - "typeName": { - "id": 25819, - "keyType": { - "id": 25815, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1207:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1199:44:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - }, - "valueType": { - "id": 25818, - "keyType": { - "id": 25816, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1226:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1218:24:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "valueType": { - "id": 25817, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1237:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - } - }, - "visibility": "private" - }, - { - "id": 25837, - "nodeType": "FunctionDefinition", - "src": "1390:113:18", - "nodes": [], - "body": { - "id": 25836, - "nodeType": "Block", - "src": "1446:57:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 25830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 25828, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25800, - "src": "1456:5:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 25829, - "name": "name_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25823, - "src": "1464:5:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "1456:13:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 25831, - "nodeType": "ExpressionStatement", - "src": "1456:13:18" - }, - { - "expression": { - "id": 25834, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 25832, - "name": "_symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25802, - "src": "1479:7:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 25833, - "name": "symbol_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25825, - "src": "1489:7:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "1479:17:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 25835, - "nodeType": "ExpressionStatement", - "src": "1479:17:18" - } - ] - }, - "documentation": { - "id": 25821, - "nodeType": "StructuredDocumentation", - "src": "1277:108:18", - "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 25826, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25823, - "mutability": "mutable", - "name": "name_", - "nameLocation": "1416:5:18", - "nodeType": "VariableDeclaration", - "scope": 25837, - "src": "1402:19:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25822, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1402:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25825, - "mutability": "mutable", - "name": "symbol_", - "nameLocation": "1437:7:18", - "nodeType": "VariableDeclaration", - "scope": 25837, - "src": "1423:21:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25824, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1423:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1401:44:18" - }, - "returnParameters": { - "id": 25827, - "nodeType": "ParameterList", - "parameters": [], - "src": "1446:0:18" - }, - "scope": 26719, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 25868, - "nodeType": "FunctionDefinition", - "src": "1570:300:18", - "nodes": [], - "body": { - "id": 25867, - "nodeType": "Block", - "src": "1678:192:18", - "nodes": [], - "statements": [ - { - "expression": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 25865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 25860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 25853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25848, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25840, - "src": "1707:11:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 25850, - "name": "IERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26835, - "src": "1727:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721_$26835_$", - "typeString": "type(contract IERC721)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_contract$_IERC721_$26835_$", - "typeString": "type(contract IERC721)" - } - ], - "id": 25849, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "1722:4:18", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 25851, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1722:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_contract$_IERC721_$26835", - "typeString": "type(contract IERC721)" - } - }, - "id": 25852, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1736:11:18", - "memberName": "interfaceId", - "nodeType": "MemberAccess", - "src": "1722:25:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "1707:40:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 25859, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25854, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25840, - "src": "1763:11:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 25856, - "name": "IERC721Metadata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26880, - "src": "1783:15:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Metadata_$26880_$", - "typeString": "type(contract IERC721Metadata)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_contract$_IERC721Metadata_$26880_$", - "typeString": "type(contract IERC721Metadata)" - } - ], - "id": 25855, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "1778:4:18", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 25857, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1778:21:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_contract$_IERC721Metadata_$26880", - "typeString": "type(contract IERC721Metadata)" - } - }, - "id": 25858, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1800:11:18", - "memberName": "interfaceId", - "nodeType": "MemberAccess", - "src": "1778:33:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "1763:48:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "1707:104:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "arguments": [ - { - "id": 25863, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25840, - "src": "1851:11:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "id": 25861, - "name": "super", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -25, - "src": "1827:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_super$_ERC721_$26719_$", - "typeString": "type(contract super ERC721)" - } - }, - "id": 25862, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1833:17:18", - "memberName": "supportsInterface", - "nodeType": "MemberAccess", - "referencedDeclaration": 27551, - "src": "1827:23:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes4_$returns$_t_bool_$", - "typeString": "function (bytes4) view returns (bool)" - } - }, - "id": 25864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1827:36:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "1707:156:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 25847, - "id": 25866, - "nodeType": "Return", - "src": "1688:175:18" - } - ] - }, - "baseFunctions": [ - 27551, - 27563 - ], - "documentation": { - "id": 25838, - "nodeType": "StructuredDocumentation", - "src": "1509:56:18", - "text": " @dev See {IERC165-supportsInterface}." - }, - "functionSelector": "01ffc9a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "supportsInterface", - "nameLocation": "1579:17:18", - "overrides": { - "id": 25844, - "nodeType": "OverrideSpecifier", - "overrides": [ - { - "id": 25842, - "name": "ERC165", - "nameLocations": [ - "1646:6:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27552, - "src": "1646:6:18" - }, - { - "id": 25843, - "name": "IERC165", - "nameLocations": [ - "1654:7:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27564, - "src": "1654:7:18" - } - ], - "src": "1637:25:18" - }, - "parameters": { - "id": 25841, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25840, - "mutability": "mutable", - "name": "interfaceId", - "nameLocation": "1604:11:18", - "nodeType": "VariableDeclaration", - "scope": 25868, - "src": "1597:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 25839, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1597:6:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "1596:20:18" - }, - "returnParameters": { - "id": 25847, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25846, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25868, - "src": "1672:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 25845, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1672:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "1671:6:18" - }, - "scope": 26719, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 25892, - "nodeType": "FunctionDefinition", - "src": "1929:204:18", - "nodes": [], - "body": { - "id": 25891, - "nodeType": "Block", - "src": "2010:123:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25883, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25878, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25871, - "src": "2028:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 25881, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2045:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 25880, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2037:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25879, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2037:7:18", - "typeDescriptions": {} - } - }, - "id": 25882, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2037:10:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2028:19:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a2061646472657373207a65726f206973206e6f7420612076616c6964206f776e6572", - "id": 25884, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2049:43:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d05c90094f31cfeb8f0eb86f0a513af3f7f8992991fbde41b08aa7960677159", - "typeString": "literal_string \"ERC721: address zero is not a valid owner\"" - }, - "value": "ERC721: address zero is not a valid owner" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_6d05c90094f31cfeb8f0eb86f0a513af3f7f8992991fbde41b08aa7960677159", - "typeString": "literal_string \"ERC721: address zero is not a valid owner\"" - } - ], - "id": 25877, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2020:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2020:73:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25886, - "nodeType": "ExpressionStatement", - "src": "2020:73:18" - }, - { - "expression": { - "baseExpression": { - "id": 25887, - "name": "_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25810, - "src": "2110:9:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 25889, - "indexExpression": { - "id": 25888, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25871, - "src": "2120:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2110:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 25876, - "id": 25890, - "nodeType": "Return", - "src": "2103:23:18" - } - ] - }, - "baseFunctions": [ - 26760 - ], - "documentation": { - "id": 25869, - "nodeType": "StructuredDocumentation", - "src": "1876:48:18", - "text": " @dev See {IERC721-balanceOf}." - }, - "functionSelector": "70a08231", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nameLocation": "1938:9:18", - "overrides": { - "id": 25873, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1983:8:18" - }, - "parameters": { - "id": 25872, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25871, - "mutability": "mutable", - "name": "owner", - "nameLocation": "1956:5:18", - "nodeType": "VariableDeclaration", - "scope": 25892, - "src": "1948:13:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25870, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1948:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1947:15:18" - }, - "returnParameters": { - "id": 25876, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25875, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25892, - "src": "2001:7:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25874, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2001:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2000:9:18" - }, - "scope": 26719, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 25920, - "nodeType": "FunctionDefinition", - "src": "2190:219:18", - "nodes": [], - "body": { - "id": 25919, - "nodeType": "Block", - "src": "2271:138:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 25902 - ], - "declarations": [ - { - "constant": false, - "id": 25902, - "mutability": "mutable", - "name": "owner", - "nameLocation": "2289:5:18", - "nodeType": "VariableDeclaration", - "scope": 25919, - "src": "2281:13:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25901, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2281:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 25906, - "initialValue": { - "arguments": [ - { - "id": 25904, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25895, - "src": "2306:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25903, - "name": "_ownerOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26202, - "src": "2297:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 25905, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2297:17:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2281:33:18" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25913, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25908, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25902, - "src": "2332:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 25911, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2349:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 25910, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2341:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25909, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2341:7:18", - "typeDescriptions": {} - } - }, - "id": 25912, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2341:10:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2332:19:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a20696e76616c696420746f6b656e204944", - "id": 25914, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2353:26:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b08d2b0fec7cc108ab049809a8beb42779d969a49299d0c317c907d9db22974f", - "typeString": "literal_string \"ERC721: invalid token ID\"" - }, - "value": "ERC721: invalid token ID" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b08d2b0fec7cc108ab049809a8beb42779d969a49299d0c317c907d9db22974f", - "typeString": "literal_string \"ERC721: invalid token ID\"" - } - ], - "id": 25907, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2324:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25915, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2324:56:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25916, - "nodeType": "ExpressionStatement", - "src": "2324:56:18" - }, - { - "expression": { - "id": 25917, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25902, - "src": "2397:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 25900, - "id": 25918, - "nodeType": "Return", - "src": "2390:12:18" - } - ] - }, - "baseFunctions": [ - 26768 - ], - "documentation": { - "id": 25893, - "nodeType": "StructuredDocumentation", - "src": "2139:46:18", - "text": " @dev See {IERC721-ownerOf}." - }, - "functionSelector": "6352211e", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "ownerOf", - "nameLocation": "2199:7:18", - "overrides": { - "id": 25897, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2244:8:18" - }, - "parameters": { - "id": 25896, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25895, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "2215:7:18", - "nodeType": "VariableDeclaration", - "scope": 25920, - "src": "2207:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25894, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2207:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2206:17:18" - }, - "returnParameters": { - "id": 25900, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25899, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25920, - "src": "2262:7:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25898, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2262:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2261:9:18" - }, - "scope": 26719, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 25930, - "nodeType": "FunctionDefinition", - "src": "2471:98:18", - "nodes": [], - "body": { - "id": 25929, - "nodeType": "Block", - "src": "2540:29:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 25927, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25800, - "src": "2557:5:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "functionReturnParameters": 25926, - "id": 25928, - "nodeType": "Return", - "src": "2550:12:18" - } - ] - }, - "baseFunctions": [ - 26865 - ], - "documentation": { - "id": 25921, - "nodeType": "StructuredDocumentation", - "src": "2415:51:18", - "text": " @dev See {IERC721Metadata-name}." - }, - "functionSelector": "06fdde03", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "name", - "nameLocation": "2480:4:18", - "overrides": { - "id": 25923, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2507:8:18" - }, - "parameters": { - "id": 25922, - "nodeType": "ParameterList", - "parameters": [], - "src": "2484:2:18" - }, - "returnParameters": { - "id": 25926, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25925, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25930, - "src": "2525:13:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25924, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2525:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2524:15:18" - }, - "scope": 26719, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 25940, - "nodeType": "FunctionDefinition", - "src": "2633:102:18", - "nodes": [], - "body": { - "id": 25939, - "nodeType": "Block", - "src": "2704:31:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 25937, - "name": "_symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25802, - "src": "2721:7:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "functionReturnParameters": 25936, - "id": 25938, - "nodeType": "Return", - "src": "2714:14:18" - } - ] - }, - "baseFunctions": [ - 26871 - ], - "documentation": { - "id": 25931, - "nodeType": "StructuredDocumentation", - "src": "2575:53:18", - "text": " @dev See {IERC721Metadata-symbol}." - }, - "functionSelector": "95d89b41", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "symbol", - "nameLocation": "2642:6:18", - "overrides": { - "id": 25933, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2671:8:18" - }, - "parameters": { - "id": 25932, - "nodeType": "ParameterList", - "parameters": [], - "src": "2648:2:18" - }, - "returnParameters": { - "id": 25936, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25935, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25940, - "src": "2689:13:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25934, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2689:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2688:15:18" - }, - "scope": 26719, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 25979, - "nodeType": "FunctionDefinition", - "src": "2801:276:18", - "nodes": [], - "body": { - "id": 25978, - "nodeType": "Block", - "src": "2889:188:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 25950, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25943, - "src": "2914:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25949, - "name": "_requireMinted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26597, - "src": "2899:14:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$__$", - "typeString": "function (uint256) view" - } - }, - "id": 25951, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2899:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25952, - "nodeType": "ExpressionStatement", - "src": "2899:23:18" - }, - { - "assignments": [ - 25954 - ], - "declarations": [ - { - "constant": false, - "id": 25954, - "mutability": "mutable", - "name": "baseURI", - "nameLocation": "2947:7:18", - "nodeType": "VariableDeclaration", - "scope": 25978, - "src": "2933:21:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25953, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2933:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 25957, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 25955, - "name": "_baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25988, - "src": "2957:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", - "typeString": "function () view returns (string memory)" - } - }, - "id": 25956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2957:10:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2933:34:18" - }, - { - "expression": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 25964, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 25960, - "name": "baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25954, - "src": "2990:7:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 25959, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2984:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 25958, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2984:5:18", - "typeDescriptions": {} - } - }, - "id": 25961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2984:14:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 25962, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2999:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "2984:21:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 25963, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3008:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2984:25:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "hexValue": "", - "id": 25975, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3068:2:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - }, - "id": 25976, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "2984:86:18", - "trueExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 25969, - "name": "baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25954, - "src": "3036:7:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 25970, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25943, - "src": "3045:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 25971, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3053:8:18", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 27411, - "src": "3045:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$bound_to$_t_uint256_$", - "typeString": "function (uint256) pure returns (string memory)" - } - }, - "id": 25972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3045:18:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 25967, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3019:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25968, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3023:12:18", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "3019:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 25973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3019:45:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25966, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3012:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 25965, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3012:6:18", - "typeDescriptions": {} - } - }, - "id": 25974, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3012:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 25948, - "id": 25977, - "nodeType": "Return", - "src": "2977:93:18" - } - ] - }, - "baseFunctions": [ - 26879 - ], - "documentation": { - "id": 25941, - "nodeType": "StructuredDocumentation", - "src": "2741:55:18", - "text": " @dev See {IERC721Metadata-tokenURI}." - }, - "functionSelector": "c87b56dd", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tokenURI", - "nameLocation": "2810:8:18", - "overrides": { - "id": 25945, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2856:8:18" - }, - "parameters": { - "id": 25944, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25943, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "2827:7:18", - "nodeType": "VariableDeclaration", - "scope": 25979, - "src": "2819:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25942, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2819:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2818:17:18" - }, - "returnParameters": { - "id": 25948, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25947, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25979, - "src": "2874:13:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25946, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2874:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2873:15:18" - }, - "scope": 26719, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 25988, - "nodeType": "FunctionDefinition", - "src": "3319:92:18", - "nodes": [], - "body": { - "id": 25987, - "nodeType": "Block", - "src": "3385:26:18", - "nodes": [], - "statements": [ - { - "expression": { - "hexValue": "", - "id": 25985, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3402:2:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - }, - "functionReturnParameters": 25984, - "id": 25986, - "nodeType": "Return", - "src": "3395:9:18" - } - ] - }, - "documentation": { - "id": 25980, - "nodeType": "StructuredDocumentation", - "src": "3083:231:18", - "text": " @dev Base URI for computing {tokenURI}. If set, the resulting URI for each\n token will be the concatenation of the `baseURI` and the `tokenId`. Empty\n by default, can be overridden in child contracts." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_baseURI", - "nameLocation": "3328:8:18", - "parameters": { - "id": 25981, - "nodeType": "ParameterList", - "parameters": [], - "src": "3336:2:18" - }, - "returnParameters": { - "id": 25984, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25983, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25988, - "src": "3370:13:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25982, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3370:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3369:15:18" - }, - "scope": 26719, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26031, - "nodeType": "FunctionDefinition", - "src": "3468:406:18", - "nodes": [], - "body": { - "id": 26030, - "nodeType": "Block", - "src": "3538:336:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 25998 - ], - "declarations": [ - { - "constant": false, - "id": 25998, - "mutability": "mutable", - "name": "owner", - "nameLocation": "3556:5:18", - "nodeType": "VariableDeclaration", - "scope": 26030, - "src": "3548:13:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25997, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3548:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 26003, - "initialValue": { - "arguments": [ - { - "id": 26001, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25993, - "src": "3579:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 25999, - "name": "ERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26719, - "src": "3564:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$26719_$", - "typeString": "type(contract ERC721)" - } - }, - "id": 26000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3571:7:18", - "memberName": "ownerOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 25920, - "src": "3564:14:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 26002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3564:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3548:39:18" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 26007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26005, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25991, - "src": "3605:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 26006, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25998, - "src": "3611:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3605:11:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572", - "id": 26008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3618:35:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", - "typeString": "literal_string \"ERC721: approval to current owner\"" - }, - "value": "ERC721: approval to current owner" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", - "typeString": "literal_string \"ERC721: approval to current owner\"" - } - ], - "id": 26004, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3597:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3597:57:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26010, - "nodeType": "ExpressionStatement", - "src": "3597:57:18" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 26021, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 26015, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 26012, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27269, - "src": "3686:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 26013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3686:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 26014, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25998, - "src": "3702:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3686:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "arguments": [ - { - "id": 26017, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25998, - "src": "3728:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 26018, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27269, - "src": "3735:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 26019, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3735:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 26016, - "name": "isApprovedForAll", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26084, - "src": "3711:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", - "typeString": "function (address,address) view returns (bool)" - } - }, - "id": 26020, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3711:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3686:62:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c", - "id": 26022, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3762:63:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c6e14a63ffb144eeef7cce6988e5dce07c60a7e0a7b1ef25dbe18c61483e0a83", - "typeString": "literal_string \"ERC721: approve caller is not token owner or approved for all\"" - }, - "value": "ERC721: approve caller is not token owner or approved for all" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_c6e14a63ffb144eeef7cce6988e5dce07c60a7e0a7b1ef25dbe18c61483e0a83", - "typeString": "literal_string \"ERC721: approve caller is not token owner or approved for all\"" - } - ], - "id": 26011, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3665:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26023, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3665:170:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26024, - "nodeType": "ExpressionStatement", - "src": "3665:170:18" - }, - { - "expression": { - "arguments": [ - { - "id": 26026, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25991, - "src": "3855:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26027, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25993, - "src": "3859:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26025, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26551, - "src": "3846:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 26028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3846:21:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26029, - "nodeType": "ExpressionStatement", - "src": "3846:21:18" - } - ] - }, - "baseFunctions": [ - 26808 - ], - "documentation": { - "id": 25989, - "nodeType": "StructuredDocumentation", - "src": "3417:46:18", - "text": " @dev See {IERC721-approve}." - }, - "functionSelector": "095ea7b3", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "approve", - "nameLocation": "3477:7:18", - "overrides": { - "id": 25995, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3529:8:18" - }, - "parameters": { - "id": 25994, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25991, - "mutability": "mutable", - "name": "to", - "nameLocation": "3493:2:18", - "nodeType": "VariableDeclaration", - "scope": 26031, - "src": "3485:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25990, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3485:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25993, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "3505:7:18", - "nodeType": "VariableDeclaration", - "scope": 26031, - "src": "3497:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25992, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3497:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3484:29:18" - }, - "returnParameters": { - "id": 25996, - "nodeType": "ParameterList", - "parameters": [], - "src": "3538:0:18" - }, - "scope": 26719, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 26049, - "nodeType": "FunctionDefinition", - "src": "3935:167:18", - "nodes": [], - "body": { - "id": 26048, - "nodeType": "Block", - "src": "4020:82:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 26041, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26034, - "src": "4045:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26040, - "name": "_requireMinted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26597, - "src": "4030:14:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$__$", - "typeString": "function (uint256) view" - } - }, - "id": 26042, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4030:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26043, - "nodeType": "ExpressionStatement", - "src": "4030:23:18" - }, - { - "expression": { - "baseExpression": { - "id": 26044, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25814, - "src": "4071:15:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 26046, - "indexExpression": { - "id": 26045, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26034, - "src": "4087:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4071:24:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 26039, - "id": 26047, - "nodeType": "Return", - "src": "4064:31:18" - } - ] - }, - "baseFunctions": [ - 26824 - ], - "documentation": { - "id": 26032, - "nodeType": "StructuredDocumentation", - "src": "3880:50:18", - "text": " @dev See {IERC721-getApproved}." - }, - "functionSelector": "081812fc", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getApproved", - "nameLocation": "3944:11:18", - "overrides": { - "id": 26036, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3993:8:18" - }, - "parameters": { - "id": 26035, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26034, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "3964:7:18", - "nodeType": "VariableDeclaration", - "scope": 26049, - "src": "3956:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26033, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3956:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3955:17:18" - }, - "returnParameters": { - "id": 26039, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26038, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26049, - "src": "4011:7:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26037, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4011:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4010:9:18" - }, - "scope": 26719, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 26066, - "nodeType": "FunctionDefinition", - "src": "4169:153:18", - "nodes": [], - "body": { - "id": 26065, - "nodeType": "Block", - "src": "4253:69:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 26059, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27269, - "src": "4282:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 26060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4282:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26061, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26052, - "src": "4296:8:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26062, - "name": "approved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26054, - "src": "4306:8:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 26058, - "name": "_setApprovalForAll", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26583, - "src": "4263:18:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", - "typeString": "function (address,address,bool)" - } - }, - "id": 26063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4263:52:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26064, - "nodeType": "ExpressionStatement", - "src": "4263:52:18" - } - ] - }, - "baseFunctions": [ - 26816 - ], - "documentation": { - "id": 26050, - "nodeType": "StructuredDocumentation", - "src": "4108:56:18", - "text": " @dev See {IERC721-setApprovalForAll}." - }, - "functionSelector": "a22cb465", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setApprovalForAll", - "nameLocation": "4178:17:18", - "overrides": { - "id": 26056, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4244:8:18" - }, - "parameters": { - "id": 26055, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26052, - "mutability": "mutable", - "name": "operator", - "nameLocation": "4204:8:18", - "nodeType": "VariableDeclaration", - "scope": 26066, - "src": "4196:16:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26051, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4196:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26054, - "mutability": "mutable", - "name": "approved", - "nameLocation": "4219:8:18", - "nodeType": "VariableDeclaration", - "scope": 26066, - "src": "4214:13:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26053, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4214:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "4195:33:18" - }, - "returnParameters": { - "id": 26057, - "nodeType": "ParameterList", - "parameters": [], - "src": "4253:0:18" - }, - "scope": 26719, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 26084, - "nodeType": "FunctionDefinition", - "src": "4388:162:18", - "nodes": [], - "body": { - "id": 26083, - "nodeType": "Block", - "src": "4491:59:18", - "nodes": [], - "statements": [ - { - "expression": { - "baseExpression": { - "baseExpression": { - "id": 26077, - "name": "_operatorApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25820, - "src": "4508:18:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 26079, - "indexExpression": { - "id": 26078, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26069, - "src": "4527:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4508:25:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 26081, - "indexExpression": { - "id": 26080, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26071, - "src": "4534:8:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4508:35:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 26076, - "id": 26082, - "nodeType": "Return", - "src": "4501:42:18" - } - ] - }, - "baseFunctions": [ - 26834 - ], - "documentation": { - "id": 26067, - "nodeType": "StructuredDocumentation", - "src": "4328:55:18", - "text": " @dev See {IERC721-isApprovedForAll}." - }, - "functionSelector": "e985e9c5", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isApprovedForAll", - "nameLocation": "4397:16:18", - "overrides": { - "id": 26073, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4467:8:18" - }, - "parameters": { - "id": 26072, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26069, - "mutability": "mutable", - "name": "owner", - "nameLocation": "4422:5:18", - "nodeType": "VariableDeclaration", - "scope": 26084, - "src": "4414:13:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26068, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4414:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26071, - "mutability": "mutable", - "name": "operator", - "nameLocation": "4437:8:18", - "nodeType": "VariableDeclaration", - "scope": 26084, - "src": "4429:16:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26070, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4429:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4413:33:18" - }, - "returnParameters": { - "id": 26076, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26075, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26084, - "src": "4485:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26074, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4485:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "4484:6:18" - }, - "scope": 26719, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 26111, - "nodeType": "FunctionDefinition", - "src": "4612:326:18", - "nodes": [], - "body": { - "id": 26110, - "nodeType": "Block", - "src": "4731:207:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 26097, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27269, - "src": "4820:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 26098, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4820:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26099, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26091, - "src": "4834:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26096, - "name": "_isApprovedOrOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26254, - "src": "4801:18:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,uint256) view returns (bool)" - } - }, - "id": 26100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4801:41:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6572206f7220617070726f766564", - "id": 26101, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4844:47:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_12a8e5623d251e191fe4a291d9a59bcc01a4db7a1f5c20fc8de44358c18308af", - "typeString": "literal_string \"ERC721: caller is not token owner or approved\"" - }, - "value": "ERC721: caller is not token owner or approved" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_12a8e5623d251e191fe4a291d9a59bcc01a4db7a1f5c20fc8de44358c18308af", - "typeString": "literal_string \"ERC721: caller is not token owner or approved\"" - } - ], - "id": 26095, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4793:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4793:99:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26103, - "nodeType": "ExpressionStatement", - "src": "4793:99:18" - }, - { - "expression": { - "arguments": [ - { - "id": 26105, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26087, - "src": "4913:4:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26106, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26089, - "src": "4919:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26107, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26091, - "src": "4923:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26104, - "name": "_transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26527, - "src": "4903:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 26108, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4903:28:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26109, - "nodeType": "ExpressionStatement", - "src": "4903:28:18" - } - ] - }, - "baseFunctions": [ - 26800 - ], - "documentation": { - "id": 26085, - "nodeType": "StructuredDocumentation", - "src": "4556:51:18", - "text": " @dev See {IERC721-transferFrom}." - }, - "functionSelector": "23b872dd", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "transferFrom", - "nameLocation": "4621:12:18", - "overrides": { - "id": 26093, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4722:8:18" - }, - "parameters": { - "id": 26092, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26087, - "mutability": "mutable", - "name": "from", - "nameLocation": "4651:4:18", - "nodeType": "VariableDeclaration", - "scope": 26111, - "src": "4643:12:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26086, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4643:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26089, - "mutability": "mutable", - "name": "to", - "nameLocation": "4673:2:18", - "nodeType": "VariableDeclaration", - "scope": 26111, - "src": "4665:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26088, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4665:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26091, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "4693:7:18", - "nodeType": "VariableDeclaration", - "scope": 26111, - "src": "4685:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26090, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4685:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4633:73:18" - }, - "returnParameters": { - "id": 26094, - "nodeType": "ParameterList", - "parameters": [], - "src": "4731:0:18" - }, - "scope": 26719, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 26130, - "nodeType": "FunctionDefinition", - "src": "5004:179:18", - "nodes": [], - "body": { - "id": 26129, - "nodeType": "Block", - "src": "5127:56:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 26123, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26114, - "src": "5154:4:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26124, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26116, - "src": "5160:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26125, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26118, - "src": "5164:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "", - "id": 26126, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5173:2:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 26122, - "name": "safeTransferFrom", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 26130, - 26160 - ], - "referencedDeclaration": 26160, - "src": "5137:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,address,uint256,bytes memory)" - } - }, - "id": 26127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5137:39:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26128, - "nodeType": "ExpressionStatement", - "src": "5137:39:18" - } - ] - }, - "baseFunctions": [ - 26790 - ], - "documentation": { - "id": 26112, - "nodeType": "StructuredDocumentation", - "src": "4944:55:18", - "text": " @dev See {IERC721-safeTransferFrom}." - }, - "functionSelector": "42842e0e", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "safeTransferFrom", - "nameLocation": "5013:16:18", - "overrides": { - "id": 26120, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5118:8:18" - }, - "parameters": { - "id": 26119, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26114, - "mutability": "mutable", - "name": "from", - "nameLocation": "5047:4:18", - "nodeType": "VariableDeclaration", - "scope": 26130, - "src": "5039:12:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26113, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5039:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26116, - "mutability": "mutable", - "name": "to", - "nameLocation": "5069:2:18", - "nodeType": "VariableDeclaration", - "scope": 26130, - "src": "5061:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26115, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5061:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26118, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "5089:7:18", - "nodeType": "VariableDeclaration", - "scope": 26130, - "src": "5081:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26117, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5081:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5029:73:18" - }, - "returnParameters": { - "id": 26121, - "nodeType": "ParameterList", - "parameters": [], - "src": "5127:0:18" - }, - "scope": 26719, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 26160, - "nodeType": "FunctionDefinition", - "src": "5249:314:18", - "nodes": [], - "body": { - "id": 26159, - "nodeType": "Block", - "src": "5399:164:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 26145, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27269, - "src": "5436:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 26146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5436:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26147, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26137, - "src": "5450:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26144, - "name": "_isApprovedOrOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26254, - "src": "5417:18:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,uint256) view returns (bool)" - } - }, - "id": 26148, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5417:41:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6572206f7220617070726f766564", - "id": 26149, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5460:47:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_12a8e5623d251e191fe4a291d9a59bcc01a4db7a1f5c20fc8de44358c18308af", - "typeString": "literal_string \"ERC721: caller is not token owner or approved\"" - }, - "value": "ERC721: caller is not token owner or approved" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_12a8e5623d251e191fe4a291d9a59bcc01a4db7a1f5c20fc8de44358c18308af", - "typeString": "literal_string \"ERC721: caller is not token owner or approved\"" - } - ], - "id": 26143, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5409:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5409:99:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26151, - "nodeType": "ExpressionStatement", - "src": "5409:99:18" - }, - { - "expression": { - "arguments": [ - { - "id": 26153, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26133, - "src": "5532:4:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26154, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26135, - "src": "5538:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26155, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26137, - "src": "5542:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 26156, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26139, - "src": "5551:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 26152, - "name": "_safeTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26189, - "src": "5518:13:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,address,uint256,bytes memory)" - } - }, - "id": 26157, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5518:38:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26158, - "nodeType": "ExpressionStatement", - "src": "5518:38:18" - } - ] - }, - "baseFunctions": [ - 26780 - ], - "documentation": { - "id": 26131, - "nodeType": "StructuredDocumentation", - "src": "5189:55:18", - "text": " @dev See {IERC721-safeTransferFrom}." - }, - "functionSelector": "b88d4fde", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "safeTransferFrom", - "nameLocation": "5258:16:18", - "overrides": { - "id": 26141, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5390:8:18" - }, - "parameters": { - "id": 26140, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26133, - "mutability": "mutable", - "name": "from", - "nameLocation": "5292:4:18", - "nodeType": "VariableDeclaration", - "scope": 26160, - "src": "5284:12:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26132, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5284:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26135, - "mutability": "mutable", - "name": "to", - "nameLocation": "5314:2:18", - "nodeType": "VariableDeclaration", - "scope": 26160, - "src": "5306:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26134, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5306:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26137, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "5334:7:18", - "nodeType": "VariableDeclaration", - "scope": 26160, - "src": "5326:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26136, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5326:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26139, - "mutability": "mutable", - "name": "data", - "nameLocation": "5364:4:18", - "nodeType": "VariableDeclaration", - "scope": 26160, - "src": "5351:17:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26138, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5351:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5274:100:18" - }, - "returnParameters": { - "id": 26142, - "nodeType": "ParameterList", - "parameters": [], - "src": "5399:0:18" - }, - "scope": 26719, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 26189, - "nodeType": "FunctionDefinition", - "src": "6424:305:18", - "nodes": [], - "body": { - "id": 26188, - "nodeType": "Block", - "src": "6564:165:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 26173, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26163, - "src": "6584:4:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26174, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26165, - "src": "6590:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26175, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26167, - "src": "6594:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26172, - "name": "_transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26527, - "src": "6574:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 26176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6574:28:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26177, - "nodeType": "ExpressionStatement", - "src": "6574:28:18" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 26180, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26163, - "src": "6643:4:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26181, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26165, - "src": "6649:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26182, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26167, - "src": "6653:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 26183, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26169, - "src": "6662:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 26179, - "name": "_checkOnERC721Received", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26659, - "src": "6620:22:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,address,uint256,bytes memory) returns (bool)" - } - }, - "id": 26184, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6620:47:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 26185, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6669:52:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", - "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" - }, - "value": "ERC721: transfer to non ERC721Receiver implementer" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", - "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" - } - ], - "id": 26178, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6612:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26186, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6612:110:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26187, - "nodeType": "ExpressionStatement", - "src": "6612:110:18" - } - ] - }, - "documentation": { - "id": 26161, - "nodeType": "StructuredDocumentation", - "src": "5569:850:18", - "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_safeTransfer", - "nameLocation": "6433:13:18", - "parameters": { - "id": 26170, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26163, - "mutability": "mutable", - "name": "from", - "nameLocation": "6464:4:18", - "nodeType": "VariableDeclaration", - "scope": 26189, - "src": "6456:12:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26162, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6456:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26165, - "mutability": "mutable", - "name": "to", - "nameLocation": "6486:2:18", - "nodeType": "VariableDeclaration", - "scope": 26189, - "src": "6478:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26164, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6478:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26167, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "6506:7:18", - "nodeType": "VariableDeclaration", - "scope": 26189, - "src": "6498:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26166, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6498:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26169, - "mutability": "mutable", - "name": "data", - "nameLocation": "6536:4:18", - "nodeType": "VariableDeclaration", - "scope": 26189, - "src": "6523:17:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26168, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6523:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6446:100:18" - }, - "returnParameters": { - "id": 26171, - "nodeType": "ParameterList", - "parameters": [], - "src": "6564:0:18" - }, - "scope": 26719, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26202, - "nodeType": "FunctionDefinition", - "src": "6838:115:18", - "nodes": [], - "body": { - "id": 26201, - "nodeType": "Block", - "src": "6913:40:18", - "nodes": [], - "statements": [ - { - "expression": { - "baseExpression": { - "id": 26197, - "name": "_owners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25806, - "src": "6930:7:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 26199, - "indexExpression": { - "id": 26198, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26192, - "src": "6938:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6930:16:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 26196, - "id": 26200, - "nodeType": "Return", - "src": "6923:23:18" - } - ] - }, - "documentation": { - "id": 26190, - "nodeType": "StructuredDocumentation", - "src": "6735:98:18", - "text": " @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_ownerOf", - "nameLocation": "6847:8:18", - "parameters": { - "id": 26193, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26192, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "6864:7:18", - "nodeType": "VariableDeclaration", - "scope": 26202, - "src": "6856:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26191, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6856:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6855:17:18" - }, - "returnParameters": { - "id": 26196, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26195, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26202, - "src": "6904:7:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26194, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6904:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6903:9:18" - }, - "scope": 26719, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26220, - "nodeType": "FunctionDefinition", - "src": "7256:126:18", - "nodes": [], - "body": { - "id": 26219, - "nodeType": "Block", - "src": "7327:55:18", - "nodes": [], - "statements": [ - { - "expression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 26217, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 26211, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26205, - "src": "7353:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26210, - "name": "_ownerOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26202, - "src": "7344:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 26212, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7344:17:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 26215, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7373:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 26214, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7365:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 26213, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7365:7:18", - "typeDescriptions": {} - } - }, - "id": 26216, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7365:10:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "7344:31:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 26209, - "id": 26218, - "nodeType": "Return", - "src": "7337:38:18" - } - ] - }, - "documentation": { - "id": 26203, - "nodeType": "StructuredDocumentation", - "src": "6959:292:18", - "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_exists", - "nameLocation": "7265:7:18", - "parameters": { - "id": 26206, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26205, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "7281:7:18", - "nodeType": "VariableDeclaration", - "scope": 26220, - "src": "7273:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26204, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7273:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7272:17:18" - }, - "returnParameters": { - "id": 26209, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26208, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26220, - "src": "7321:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26207, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7321:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "7320:6:18" - }, - "scope": 26719, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26254, - "nodeType": "FunctionDefinition", - "src": "7540:261:18", - "nodes": [], - "body": { - "id": 26253, - "nodeType": "Block", - "src": "7639:162:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 26231 - ], - "declarations": [ - { - "constant": false, - "id": 26231, - "mutability": "mutable", - "name": "owner", - "nameLocation": "7657:5:18", - "nodeType": "VariableDeclaration", - "scope": 26253, - "src": "7649:13:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26230, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7649:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 26236, - "initialValue": { - "arguments": [ - { - "id": 26234, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26225, - "src": "7680:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 26232, - "name": "ERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26719, - "src": "7665:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$26719_$", - "typeString": "type(contract ERC721)" - } - }, - "id": 26233, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7672:7:18", - "memberName": "ownerOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 25920, - "src": "7665:14:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 26235, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7665:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7649:39:18" - }, - { - "expression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 26250, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 26244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 26239, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26237, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26223, - "src": "7706:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 26238, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26231, - "src": "7717:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "7706:16:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "arguments": [ - { - "id": 26241, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26231, - "src": "7743:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26242, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26223, - "src": "7750:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 26240, - "name": "isApprovedForAll", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26084, - "src": "7726:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", - "typeString": "function (address,address) view returns (bool)" - } - }, - "id": 26243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7726:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "7706:52:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 26249, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 26246, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26225, - "src": "7774:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26245, - "name": "getApproved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26049, - "src": "7762:11:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 26247, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7762:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 26248, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26223, - "src": "7786:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "7762:31:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "7706:87:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 26251, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7705:89:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 26229, - "id": 26252, - "nodeType": "Return", - "src": "7698:96:18" - } - ] - }, - "documentation": { - "id": 26221, - "nodeType": "StructuredDocumentation", - "src": "7388:147:18", - "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_isApprovedOrOwner", - "nameLocation": "7549:18:18", - "parameters": { - "id": 26226, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26223, - "mutability": "mutable", - "name": "spender", - "nameLocation": "7576:7:18", - "nodeType": "VariableDeclaration", - "scope": 26254, - "src": "7568:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26222, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7568:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26225, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "7593:7:18", - "nodeType": "VariableDeclaration", - "scope": 26254, - "src": "7585:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26224, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7585:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7567:34:18" - }, - "returnParameters": { - "id": 26229, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26228, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26254, - "src": "7633:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26227, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7633:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "7632:6:18" - }, - "scope": 26719, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26269, - "nodeType": "FunctionDefinition", - "src": "8131:108:18", - "nodes": [], - "body": { - "id": 26268, - "nodeType": "Block", - "src": "8196:43:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 26263, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26257, - "src": "8216:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26264, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26259, - "src": "8220:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "", - "id": 26265, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8229:2:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 26262, - "name": "_safeMint", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 26269, - 26298 - ], - "referencedDeclaration": 26298, - "src": "8206:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,uint256,bytes memory)" - } - }, - "id": 26266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8206:26:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26267, - "nodeType": "ExpressionStatement", - "src": "8206:26:18" - } - ] - }, - "documentation": { - "id": 26255, - "nodeType": "StructuredDocumentation", - "src": "7807:319:18", - "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_safeMint", - "nameLocation": "8140:9:18", - "parameters": { - "id": 26260, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26257, - "mutability": "mutable", - "name": "to", - "nameLocation": "8158:2:18", - "nodeType": "VariableDeclaration", - "scope": 26269, - "src": "8150:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26256, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8150:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26259, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "8170:7:18", - "nodeType": "VariableDeclaration", - "scope": 26269, - "src": "8162:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26258, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8162:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8149:29:18" - }, - "returnParameters": { - "id": 26261, - "nodeType": "ParameterList", - "parameters": [], - "src": "8196:0:18" - }, - "scope": 26719, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26298, - "nodeType": "FunctionDefinition", - "src": "8460:309:18", - "nodes": [], - "body": { - "id": 26297, - "nodeType": "Block", - "src": "8574:195:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 26280, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26272, - "src": "8590:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26281, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26274, - "src": "8594:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26279, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26375, - "src": "8584:5:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 26282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8584:18:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26283, - "nodeType": "ExpressionStatement", - "src": "8584:18:18" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 26288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8664:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 26287, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8656:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 26286, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8656:7:18", - "typeDescriptions": {} - } - }, - "id": 26289, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8656:10:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26290, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26272, - "src": "8668:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26291, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26274, - "src": "8672:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 26292, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26276, - "src": "8681:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 26285, - "name": "_checkOnERC721Received", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26659, - "src": "8633:22:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,address,uint256,bytes memory) returns (bool)" - } - }, - "id": 26293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8633:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 26294, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8700:52:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", - "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" - }, - "value": "ERC721: transfer to non ERC721Receiver implementer" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", - "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" - } - ], - "id": 26284, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8612:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26295, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8612:150:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26296, - "nodeType": "ExpressionStatement", - "src": "8612:150:18" - } - ] - }, - "documentation": { - "id": 26270, - "nodeType": "StructuredDocumentation", - "src": "8245:210:18", - "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_safeMint", - "nameLocation": "8469:9:18", - "parameters": { - "id": 26277, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26272, - "mutability": "mutable", - "name": "to", - "nameLocation": "8496:2:18", - "nodeType": "VariableDeclaration", - "scope": 26298, - "src": "8488:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26271, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8488:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26274, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "8516:7:18", - "nodeType": "VariableDeclaration", - "scope": 26298, - "src": "8508:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26273, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8508:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26276, - "mutability": "mutable", - "name": "data", - "nameLocation": "8546:4:18", - "nodeType": "VariableDeclaration", - "scope": 26298, - "src": "8533:17:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26275, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8533:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "8478:78:18" - }, - "returnParameters": { - "id": 26278, - "nodeType": "ParameterList", - "parameters": [], - "src": "8574:0:18" - }, - "scope": 26719, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26375, - "nodeType": "FunctionDefinition", - "src": "9091:920:18", - "nodes": [], - "body": { - "id": 26374, - "nodeType": "Block", - "src": "9152:859:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 26312, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26307, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26301, - "src": "9170:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 26310, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9184:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 26309, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9176:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 26308, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9176:7:18", - "typeDescriptions": {} - } - }, - "id": 26311, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9176:10:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9170:16:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a206d696e7420746f20746865207a65726f2061646472657373", - "id": 26313, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9188:34:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", - "typeString": "literal_string \"ERC721: mint to the zero address\"" - }, - "value": "ERC721: mint to the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", - "typeString": "literal_string \"ERC721: mint to the zero address\"" - } - ], - "id": 26306, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9162:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26314, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9162:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26315, - "nodeType": "ExpressionStatement", - "src": "9162:61:18" - }, - { - "expression": { - "arguments": [ - { - "id": 26320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "9241:17:18", - "subExpression": { - "arguments": [ - { - "id": 26318, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26303, - "src": "9250:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26317, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26220, - "src": "9242:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 26319, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9242:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a20746f6b656e20616c7265616479206d696e746564", - "id": 26321, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9260:30:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", - "typeString": "literal_string \"ERC721: token already minted\"" - }, - "value": "ERC721: token already minted" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", - "typeString": "literal_string \"ERC721: token already minted\"" - } - ], - "id": 26316, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9233:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9233:58:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26323, - "nodeType": "ExpressionStatement", - "src": "9233:58:18" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 26327, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9331:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 26326, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9323:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 26325, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9323:7:18", - "typeDescriptions": {} - } - }, - "id": 26328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9323:10:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26329, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26301, - "src": "9335:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26330, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26303, - "src": "9339:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "31", - "id": 26331, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9348:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 26324, - "name": "_beforeTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26705, - "src": "9302:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256,uint256)" - } - }, - "id": 26332, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9302:48:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26333, - "nodeType": "ExpressionStatement", - "src": "9302:48:18" - }, - { - "expression": { - "arguments": [ - { - "id": 26338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "9445:17:18", - "subExpression": { - "arguments": [ - { - "id": 26336, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26303, - "src": "9454:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26335, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26220, - "src": "9446:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 26337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9446:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a20746f6b656e20616c7265616479206d696e746564", - "id": 26339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9464:30:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", - "typeString": "literal_string \"ERC721: token already minted\"" - }, - "value": "ERC721: token already minted" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", - "typeString": "literal_string \"ERC721: token already minted\"" - } - ], - "id": 26334, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9437:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9437:58:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26341, - "nodeType": "ExpressionStatement", - "src": "9437:58:18" - }, - { - "id": 26348, - "nodeType": "UncheckedBlock", - "src": "9506:360:18", - "statements": [ - { - "expression": { - "id": 26346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 26342, - "name": "_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25810, - "src": "9837:9:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 26344, - "indexExpression": { - "id": 26343, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26301, - "src": "9847:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "9837:13:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "31", - "id": 26345, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9854:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "9837:18:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 26347, - "nodeType": "ExpressionStatement", - "src": "9837:18:18" - } - ] - }, - { - "expression": { - "id": 26353, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 26349, - "name": "_owners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25806, - "src": "9876:7:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 26351, - "indexExpression": { - "id": 26350, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26303, - "src": "9884:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "9876:16:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 26352, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26301, - "src": "9895:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9876:21:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 26354, - "nodeType": "ExpressionStatement", - "src": "9876:21:18" - }, - { - "eventCall": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 26358, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9930:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 26357, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9922:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 26356, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9922:7:18", - "typeDescriptions": {} - } - }, - "id": 26359, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9922:10:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26360, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26301, - "src": "9934:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26361, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26303, - "src": "9938:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26355, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26734, - "src": "9913:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 26362, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9913:33:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26363, - "nodeType": "EmitStatement", - "src": "9908:38:18" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 26367, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9985:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 26366, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9977:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 26365, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9977:7:18", - "typeDescriptions": {} - } - }, - "id": 26368, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9977:10:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26369, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26301, - "src": "9989:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26370, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26303, - "src": "9993:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "31", - "id": 26371, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10002:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 26364, - "name": "_afterTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26718, - "src": "9957:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256,uint256)" - } - }, - "id": 26372, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9957:47:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26373, - "nodeType": "ExpressionStatement", - "src": "9957:47:18" - } - ] - }, - "documentation": { - "id": 26299, - "nodeType": "StructuredDocumentation", - "src": "8775:311:18", - "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_mint", - "nameLocation": "9100:5:18", - "parameters": { - "id": 26304, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26301, - "mutability": "mutable", - "name": "to", - "nameLocation": "9114:2:18", - "nodeType": "VariableDeclaration", - "scope": 26375, - "src": "9106:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26300, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9106:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26303, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "9126:7:18", - "nodeType": "VariableDeclaration", - "scope": 26375, - "src": "9118:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26302, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9118:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "9105:29:18" - }, - "returnParameters": { - "id": 26305, - "nodeType": "ParameterList", - "parameters": [], - "src": "9152:0:18" - }, - "scope": 26719, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26442, - "nodeType": "FunctionDefinition", - "src": "10337:762:18", - "nodes": [], - "body": { - "id": 26441, - "nodeType": "Block", - "src": "10386:713:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 26382 - ], - "declarations": [ - { - "constant": false, - "id": 26382, - "mutability": "mutable", - "name": "owner", - "nameLocation": "10404:5:18", - "nodeType": "VariableDeclaration", - "scope": 26441, - "src": "10396:13:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26381, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10396:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 26387, - "initialValue": { - "arguments": [ - { - "id": 26385, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26378, - "src": "10427:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 26383, - "name": "ERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26719, - "src": "10412:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$26719_$", - "typeString": "type(contract ERC721)" - } - }, - "id": 26384, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10419:7:18", - "memberName": "ownerOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 25920, - "src": "10412:14:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 26386, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10412:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10396:39:18" - }, - { - "expression": { - "arguments": [ - { - "id": 26389, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26382, - "src": "10467:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "30", - "id": 26392, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10482:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 26391, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10474:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 26390, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10474:7:18", - "typeDescriptions": {} - } - }, - "id": 26393, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10474:10:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26394, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26378, - "src": "10486:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "31", - "id": 26395, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10495:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 26388, - "name": "_beforeTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26705, - "src": "10446:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256,uint256)" - } - }, - "id": 26396, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10446:51:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26397, - "nodeType": "ExpressionStatement", - "src": "10446:51:18" - }, - { - "expression": { - "id": 26403, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 26398, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26382, - "src": "10599:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 26401, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26378, - "src": "10622:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 26399, - "name": "ERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26719, - "src": "10607:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$26719_$", - "typeString": "type(contract ERC721)" - } - }, - "id": 26400, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10614:7:18", - "memberName": "ownerOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 25920, - "src": "10607:14:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 26402, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10607:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10599:31:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 26404, - "nodeType": "ExpressionStatement", - "src": "10599:31:18" - }, - { - "expression": { - "id": 26408, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "10668:31:18", - "subExpression": { - "baseExpression": { - "id": 26405, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25814, - "src": "10675:15:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 26407, - "indexExpression": { - "id": 26406, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26378, - "src": "10691:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10675:24:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26409, - "nodeType": "ExpressionStatement", - "src": "10668:31:18" - }, - { - "id": 26416, - "nodeType": "UncheckedBlock", - "src": "10710:237:18", - "statements": [ - { - "expression": { - "id": 26414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 26410, - "name": "_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25810, - "src": "10915:9:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 26412, - "indexExpression": { - "id": 26411, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26382, - "src": "10925:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10915:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "hexValue": "31", - "id": 26413, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10935:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "10915:21:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 26415, - "nodeType": "ExpressionStatement", - "src": "10915:21:18" - } - ] - }, - { - "expression": { - "id": 26420, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "10956:23:18", - "subExpression": { - "baseExpression": { - "id": 26417, - "name": "_owners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25806, - "src": "10963:7:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 26419, - "indexExpression": { - "id": 26418, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26378, - "src": "10971:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10963:16:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26421, - "nodeType": "ExpressionStatement", - "src": "10956:23:18" - }, - { - "eventCall": { - "arguments": [ - { - "id": 26423, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26382, - "src": "11004:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "30", - "id": 26426, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11019:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 26425, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11011:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 26424, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11011:7:18", - "typeDescriptions": {} - } - }, - "id": 26427, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11011:10:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26428, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26378, - "src": "11023:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26422, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26734, - "src": "10995:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 26429, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10995:36:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26430, - "nodeType": "EmitStatement", - "src": "10990:41:18" - }, - { - "expression": { - "arguments": [ - { - "id": 26432, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26382, - "src": "11062:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "30", - "id": 26435, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11077:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 26434, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11069:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 26433, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11069:7:18", - "typeDescriptions": {} - } - }, - "id": 26436, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11069:10:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26437, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26378, - "src": "11081:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "31", - "id": 26438, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11090:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 26431, - "name": "_afterTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26718, - "src": "11042:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256,uint256)" - } - }, - "id": 26439, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11042:50:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26440, - "nodeType": "ExpressionStatement", - "src": "11042:50:18" - } - ] - }, - "documentation": { - "id": 26376, - "nodeType": "StructuredDocumentation", - "src": "10017:315:18", - "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n This is an internal function that does not check if the sender is authorized to operate on the token.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_burn", - "nameLocation": "10346:5:18", - "parameters": { - "id": 26379, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26378, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "10360:7:18", - "nodeType": "VariableDeclaration", - "scope": 26442, - "src": "10352:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26377, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10352:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10351:17:18" - }, - "returnParameters": { - "id": 26380, - "nodeType": "ParameterList", - "parameters": [], - "src": "10386:0:18" - }, - "scope": 26719, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26527, - "nodeType": "FunctionDefinition", - "src": "11423:1233:18", - "nodes": [], - "body": { - "id": 26526, - "nodeType": "Block", - "src": "11532:1124:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 26458, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 26455, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26449, - "src": "11565:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 26453, - "name": "ERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26719, - "src": "11550:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$26719_$", - "typeString": "type(contract ERC721)" - } - }, - "id": 26454, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11557:7:18", - "memberName": "ownerOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 25920, - "src": "11550:14:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 26456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11550:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 26457, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26445, - "src": "11577:4:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "11550:31:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a207472616e736665722066726f6d20696e636f7272656374206f776e6572", - "id": 26459, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11583:39:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_277f8ee9d5b4fc3c4149386f24de0fc1bbc63a8210e2197bfd1c0376a2ac5f48", - "typeString": "literal_string \"ERC721: transfer from incorrect owner\"" - }, - "value": "ERC721: transfer from incorrect owner" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_277f8ee9d5b4fc3c4149386f24de0fc1bbc63a8210e2197bfd1c0376a2ac5f48", - "typeString": "literal_string \"ERC721: transfer from incorrect owner\"" - } - ], - "id": 26452, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11542:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26460, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11542:81:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26461, - "nodeType": "ExpressionStatement", - "src": "11542:81:18" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 26468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26463, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26447, - "src": "11641:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 26466, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11655:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 26465, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11647:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 26464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11647:7:18", - "typeDescriptions": {} - } - }, - "id": 26467, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11647:10:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "11641:16:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 26469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11659:38:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", - "typeString": "literal_string \"ERC721: transfer to the zero address\"" - }, - "value": "ERC721: transfer to the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", - "typeString": "literal_string \"ERC721: transfer to the zero address\"" - } - ], - "id": 26462, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11633:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11633:65:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26471, - "nodeType": "ExpressionStatement", - "src": "11633:65:18" - }, - { - "expression": { - "arguments": [ - { - "id": 26473, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26445, - "src": "11730:4:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26474, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26447, - "src": "11736:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26475, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26449, - "src": "11740:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "31", - "id": 26476, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11749:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 26472, - "name": "_beforeTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26705, - "src": "11709:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256,uint256)" - } - }, - "id": 26477, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11709:42:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26478, - "nodeType": "ExpressionStatement", - "src": "11709:42:18" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 26485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 26482, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26449, - "src": "11866:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 26480, - "name": "ERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26719, - "src": "11851:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$26719_$", - "typeString": "type(contract ERC721)" - } - }, - "id": 26481, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11858:7:18", - "memberName": "ownerOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 25920, - "src": "11851:14:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 26483, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11851:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 26484, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26445, - "src": "11878:4:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "11851:31:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a207472616e736665722066726f6d20696e636f7272656374206f776e6572", - "id": 26486, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11884:39:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_277f8ee9d5b4fc3c4149386f24de0fc1bbc63a8210e2197bfd1c0376a2ac5f48", - "typeString": "literal_string \"ERC721: transfer from incorrect owner\"" - }, - "value": "ERC721: transfer from incorrect owner" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_277f8ee9d5b4fc3c4149386f24de0fc1bbc63a8210e2197bfd1c0376a2ac5f48", - "typeString": "literal_string \"ERC721: transfer from incorrect owner\"" - } - ], - "id": 26479, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11843:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26487, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11843:81:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26488, - "nodeType": "ExpressionStatement", - "src": "11843:81:18" - }, - { - "expression": { - "id": 26492, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "11986:31:18", - "subExpression": { - "baseExpression": { - "id": 26489, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25814, - "src": "11993:15:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 26491, - "indexExpression": { - "id": 26490, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26449, - "src": "12009:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11993:24:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26493, - "nodeType": "ExpressionStatement", - "src": "11986:31:18" - }, - { - "id": 26506, - "nodeType": "UncheckedBlock", - "src": "12028:496:18", - "statements": [ - { - "expression": { - "id": 26498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 26494, - "name": "_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25810, - "src": "12461:9:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 26496, - "indexExpression": { - "id": 26495, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26445, - "src": "12471:4:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "12461:15:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "hexValue": "31", - "id": 26497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12480:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "12461:20:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 26499, - "nodeType": "ExpressionStatement", - "src": "12461:20:18" - }, - { - "expression": { - "id": 26504, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 26500, - "name": "_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25810, - "src": "12495:9:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 26502, - "indexExpression": { - "id": 26501, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26447, - "src": "12505:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "12495:13:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "31", - "id": 26503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12512:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "12495:18:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 26505, - "nodeType": "ExpressionStatement", - "src": "12495:18:18" - } - ] - }, - { - "expression": { - "id": 26511, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 26507, - "name": "_owners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25806, - "src": "12533:7:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 26509, - "indexExpression": { - "id": 26508, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26449, - "src": "12541:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "12533:16:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 26510, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26447, - "src": "12552:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "12533:21:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 26512, - "nodeType": "ExpressionStatement", - "src": "12533:21:18" - }, - { - "eventCall": { - "arguments": [ - { - "id": 26514, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26445, - "src": "12579:4:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26515, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26447, - "src": "12585:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26516, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26449, - "src": "12589:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26513, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26734, - "src": "12570:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 26517, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12570:27:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26518, - "nodeType": "EmitStatement", - "src": "12565:32:18" - }, - { - "expression": { - "arguments": [ - { - "id": 26520, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26445, - "src": "12628:4:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26521, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26447, - "src": "12634:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26522, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26449, - "src": "12638:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "31", - "id": 26523, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12647:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 26519, - "name": "_afterTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26718, - "src": "12608:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256,uint256)" - } - }, - "id": 26524, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12608:41:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26525, - "nodeType": "ExpressionStatement", - "src": "12608:41:18" - } - ] - }, - "documentation": { - "id": 26443, - "nodeType": "StructuredDocumentation", - "src": "11105:313:18", - "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_transfer", - "nameLocation": "11432:9:18", - "parameters": { - "id": 26450, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26445, - "mutability": "mutable", - "name": "from", - "nameLocation": "11459:4:18", - "nodeType": "VariableDeclaration", - "scope": 26527, - "src": "11451:12:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26444, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11451:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26447, - "mutability": "mutable", - "name": "to", - "nameLocation": "11481:2:18", - "nodeType": "VariableDeclaration", - "scope": 26527, - "src": "11473:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26446, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11473:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26449, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "11501:7:18", - "nodeType": "VariableDeclaration", - "scope": 26527, - "src": "11493:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26448, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11493:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11441:73:18" - }, - "returnParameters": { - "id": 26451, - "nodeType": "ParameterList", - "parameters": [], - "src": "11532:0:18" - }, - "scope": 26719, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26551, - "nodeType": "FunctionDefinition", - "src": "12768:171:18", - "nodes": [], - "body": { - "id": 26550, - "nodeType": "Block", - "src": "12832:107:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 26539, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 26535, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25814, - "src": "12842:15:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 26537, - "indexExpression": { - "id": 26536, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26532, - "src": "12858:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "12842:24:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 26538, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26530, - "src": "12869:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "12842:29:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 26540, - "nodeType": "ExpressionStatement", - "src": "12842:29:18" - }, - { - "eventCall": { - "arguments": [ - { - "arguments": [ - { - "id": 26544, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26532, - "src": "12910:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 26542, - "name": "ERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26719, - "src": "12895:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$26719_$", - "typeString": "type(contract ERC721)" - } - }, - "id": 26543, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12902:7:18", - "memberName": "ownerOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 25920, - "src": "12895:14:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 26545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12895:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26546, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26530, - "src": "12920:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26547, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26532, - "src": "12924:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26541, - "name": "Approval", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26743, - "src": "12886:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 26548, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12886:46:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26549, - "nodeType": "EmitStatement", - "src": "12881:51:18" - } - ] - }, - "documentation": { - "id": 26528, - "nodeType": "StructuredDocumentation", - "src": "12662:101:18", - "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_approve", - "nameLocation": "12777:8:18", - "parameters": { - "id": 26533, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26530, - "mutability": "mutable", - "name": "to", - "nameLocation": "12794:2:18", - "nodeType": "VariableDeclaration", - "scope": 26551, - "src": "12786:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26529, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12786:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26532, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "12806:7:18", - "nodeType": "VariableDeclaration", - "scope": 26551, - "src": "12798:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26531, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12798:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12785:29:18" - }, - "returnParameters": { - "id": 26534, - "nodeType": "ParameterList", - "parameters": [], - "src": "12832:0:18" - }, - "scope": 26719, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26583, - "nodeType": "FunctionDefinition", - "src": "13075:307:18", - "nodes": [], - "body": { - "id": 26582, - "nodeType": "Block", - "src": "13198:184:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 26564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26562, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26554, - "src": "13216:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 26563, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26556, - "src": "13225:8:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "13216:17:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a20617070726f766520746f2063616c6c6572", - "id": 26565, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13235:27:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", - "typeString": "literal_string \"ERC721: approve to caller\"" - }, - "value": "ERC721: approve to caller" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", - "typeString": "literal_string \"ERC721: approve to caller\"" - } - ], - "id": 26561, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "13208:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26566, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13208:55:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26567, - "nodeType": "ExpressionStatement", - "src": "13208:55:18" - }, - { - "expression": { - "id": 26574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "id": 26568, - "name": "_operatorApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25820, - "src": "13273:18:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 26571, - "indexExpression": { - "id": 26569, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26554, - "src": "13292:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13273:25:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 26572, - "indexExpression": { - "id": 26570, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26556, - "src": "13299:8:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "13273:35:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 26573, - "name": "approved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26558, - "src": "13311:8:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "13273:46:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 26575, - "nodeType": "ExpressionStatement", - "src": "13273:46:18" - }, - { - "eventCall": { - "arguments": [ - { - "id": 26577, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26554, - "src": "13349:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26578, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26556, - "src": "13356:8:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26579, - "name": "approved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26558, - "src": "13366:8:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 26576, - "name": "ApprovalForAll", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26752, - "src": "13334:14:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", - "typeString": "function (address,address,bool)" - } - }, - "id": 26580, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13334:41:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26581, - "nodeType": "EmitStatement", - "src": "13329:46:18" - } - ] - }, - "documentation": { - "id": 26552, - "nodeType": "StructuredDocumentation", - "src": "12945:125:18", - "text": " @dev Approve `operator` to operate on all of `owner` tokens\n Emits an {ApprovalForAll} event." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setApprovalForAll", - "nameLocation": "13084:18:18", - "parameters": { - "id": 26559, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26554, - "mutability": "mutable", - "name": "owner", - "nameLocation": "13120:5:18", - "nodeType": "VariableDeclaration", - "scope": 26583, - "src": "13112:13:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26553, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13112:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26556, - "mutability": "mutable", - "name": "operator", - "nameLocation": "13143:8:18", - "nodeType": "VariableDeclaration", - "scope": 26583, - "src": "13135:16:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26555, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13135:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26558, - "mutability": "mutable", - "name": "approved", - "nameLocation": "13166:8:18", - "nodeType": "VariableDeclaration", - "scope": 26583, - "src": "13161:13:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26557, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13161:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "13102:78:18" - }, - "returnParameters": { - "id": 26560, - "nodeType": "ParameterList", - "parameters": [], - "src": "13198:0:18" - }, - "scope": 26719, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26597, - "nodeType": "FunctionDefinition", - "src": "13466:133:18", - "nodes": [], - "body": { - "id": 26596, - "nodeType": "Block", - "src": "13529:70:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 26591, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26586, - "src": "13555:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26590, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26220, - "src": "13547:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 26592, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13547:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a20696e76616c696420746f6b656e204944", - "id": 26593, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13565:26:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b08d2b0fec7cc108ab049809a8beb42779d969a49299d0c317c907d9db22974f", - "typeString": "literal_string \"ERC721: invalid token ID\"" - }, - "value": "ERC721: invalid token ID" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b08d2b0fec7cc108ab049809a8beb42779d969a49299d0c317c907d9db22974f", - "typeString": "literal_string \"ERC721: invalid token ID\"" - } - ], - "id": 26589, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "13539:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13539:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26595, - "nodeType": "ExpressionStatement", - "src": "13539:53:18" - } - ] - }, - "documentation": { - "id": 26584, - "nodeType": "StructuredDocumentation", - "src": "13388:73:18", - "text": " @dev Reverts if the `tokenId` has not been minted yet." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_requireMinted", - "nameLocation": "13475:14:18", - "parameters": { - "id": 26587, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26586, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "13498:7:18", - "nodeType": "VariableDeclaration", - "scope": 26597, - "src": "13490:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26585, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13490:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13489:17:18" - }, - "returnParameters": { - "id": 26588, - "nodeType": "ParameterList", - "parameters": [], - "src": "13529:0:18" - }, - "scope": 26719, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26659, - "nodeType": "FunctionDefinition", - "src": "14151:831:18", - "nodes": [], - "body": { - "id": 26658, - "nodeType": "Block", - "src": "14306:676:18", - "nodes": [], - "statements": [ - { - "condition": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 26611, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26602, - "src": "14320:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 26612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14323:10:18", - "memberName": "isContract", - "nodeType": "MemberAccess", - "referencedDeclaration": 26898, - "src": "14320:13:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 26613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14320:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 26656, - "nodeType": "Block", - "src": "14940:36:18", - "statements": [ - { - "expression": { - "hexValue": "74727565", - "id": 26654, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14961:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 26610, - "id": 26655, - "nodeType": "Return", - "src": "14954:11:18" - } - ] - }, - "id": 26657, - "nodeType": "IfStatement", - "src": "14316:660:18", - "trueBody": { - "id": 26653, - "nodeType": "Block", - "src": "14337:597:18", - "statements": [ - { - "clauses": [ - { - "block": { - "id": 26633, - "nodeType": "Block", - "src": "14451:91:18", - "statements": [ - { - "expression": { - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 26631, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26627, - "name": "retval", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26625, - "src": "14476:6:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "expression": { - "id": 26628, - "name": "IERC721Receiver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26853, - "src": "14486:15:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$26853_$", - "typeString": "type(contract IERC721Receiver)" - } - }, - "id": 26629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14502:16:18", - "memberName": "onERC721Received", - "nodeType": "MemberAccess", - "referencedDeclaration": 26852, - "src": "14486:32:18", - "typeDescriptions": { - "typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$", - "typeString": "function IERC721Receiver.onERC721Received(address,address,uint256,bytes calldata) returns (bytes4)" - } - }, - "id": 26630, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14519:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "14486:41:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "14476:51:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 26610, - "id": 26632, - "nodeType": "Return", - "src": "14469:58:18" - } - ] - }, - "errorName": "", - "id": 26634, - "nodeType": "TryCatchClause", - "parameters": { - "id": 26626, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26625, - "mutability": "mutable", - "name": "retval", - "nameLocation": "14443:6:18", - "nodeType": "VariableDeclaration", - "scope": 26634, - "src": "14436:13:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 26624, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "14436:6:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "14435:15:18" - }, - "src": "14427:115:18" - }, - { - "block": { - "id": 26650, - "nodeType": "Block", - "src": "14571:353:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26641, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 26638, - "name": "reason", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26636, - "src": "14593:6:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 26639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14600:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "14593:13:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 26640, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14610:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "14593:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 26648, - "nodeType": "Block", - "src": "14720:190:18", - "statements": [ - { - "AST": { - "nodeType": "YulBlock", - "src": "14806:86:18", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "14843:2:18", - "type": "", - "value": "32" - }, - { - "name": "reason", - "nodeType": "YulIdentifier", - "src": "14847:6:18" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "14839:3:18" - }, - "nodeType": "YulFunctionCall", - "src": "14839:15:18" - }, - { - "arguments": [ - { - "name": "reason", - "nodeType": "YulIdentifier", - "src": "14862:6:18" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "14856:5:18" - }, - "nodeType": "YulFunctionCall", - "src": "14856:13:18" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "14832:6:18" - }, - "nodeType": "YulFunctionCall", - "src": "14832:38:18" - }, - "nodeType": "YulExpressionStatement", - "src": "14832:38:18" - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 26636, - "isOffset": false, - "isSlot": false, - "src": "14847:6:18", - "valueSize": 1 - }, - { - "declaration": 26636, - "isOffset": false, - "isSlot": false, - "src": "14862:6:18", - "valueSize": 1 - } - ], - "id": 26647, - "nodeType": "InlineAssembly", - "src": "14797:95:18" - } - ] - }, - "id": 26649, - "nodeType": "IfStatement", - "src": "14589:321:18", - "trueBody": { - "id": 26646, - "nodeType": "Block", - "src": "14613:101:18", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 26643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14642:52:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", - "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" - }, - "value": "ERC721: transfer to non ERC721Receiver implementer" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", - "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" - } - ], - "id": 26642, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "14635:6:18", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 26644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14635:60:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26645, - "nodeType": "ExpressionStatement", - "src": "14635:60:18" - } - ] - } - } - ] - }, - "errorName": "", - "id": 26651, - "nodeType": "TryCatchClause", - "parameters": { - "id": 26637, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26636, - "mutability": "mutable", - "name": "reason", - "nameLocation": "14563:6:18", - "nodeType": "VariableDeclaration", - "scope": 26651, - "src": "14550:19:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26635, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "14550:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "14549:21:18" - }, - "src": "14543:381:18" - } - ], - "externalCall": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 26618, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27269, - "src": "14392:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 26619, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14392:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26620, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26600, - "src": "14406:4:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26621, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26604, - "src": "14412:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 26622, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26606, - "src": "14421:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "arguments": [ - { - "id": 26615, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26602, - "src": "14371:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 26614, - "name": "IERC721Receiver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26853, - "src": "14355:15:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$26853_$", - "typeString": "type(contract IERC721Receiver)" - } - }, - "id": 26616, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14355:19:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Receiver_$26853", - "typeString": "contract IERC721Receiver" - } - }, - "id": 26617, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14375:16:18", - "memberName": "onERC721Received", - "nodeType": "MemberAccess", - "referencedDeclaration": 26852, - "src": "14355:36:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" - } - }, - "id": 26623, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14355:71:18", - "tryCall": true, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 26652, - "nodeType": "TryStatement", - "src": "14351:573:18" - } - ] - } - } - ] - }, - "documentation": { - "id": 26598, - "nodeType": "StructuredDocumentation", - "src": "13605:541:18", - "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_checkOnERC721Received", - "nameLocation": "14160:22:18", - "parameters": { - "id": 26607, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26600, - "mutability": "mutable", - "name": "from", - "nameLocation": "14200:4:18", - "nodeType": "VariableDeclaration", - "scope": 26659, - "src": "14192:12:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26599, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14192:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26602, - "mutability": "mutable", - "name": "to", - "nameLocation": "14222:2:18", - "nodeType": "VariableDeclaration", - "scope": 26659, - "src": "14214:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26601, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14214:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26604, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "14242:7:18", - "nodeType": "VariableDeclaration", - "scope": 26659, - "src": "14234:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26603, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14234:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26606, - "mutability": "mutable", - "name": "data", - "nameLocation": "14272:4:18", - "nodeType": "VariableDeclaration", - "scope": 26659, - "src": "14259:17:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26605, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "14259:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "14182:100:18" - }, - "returnParameters": { - "id": 26610, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26609, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26659, - "src": "14300:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26608, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14300:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "14299:6:18" - }, - "scope": 26719, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "id": 26705, - "nodeType": "FunctionDefinition", - "src": "15698:396:18", - "nodes": [], - "body": { - "id": 26704, - "nodeType": "Block", - "src": "15856:238:18", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26671, - "name": "batchSize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26668, - "src": "15870:9:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "31", - "id": 26672, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15882:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "15870:13:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 26703, - "nodeType": "IfStatement", - "src": "15866:222:18", - "trueBody": { - "id": 26702, - "nodeType": "Block", - "src": "15885:203:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 26679, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26674, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26662, - "src": "15903:4:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 26677, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15919:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 26676, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "15911:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 26675, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15911:7:18", - "typeDescriptions": {} - } - }, - "id": 26678, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15911:10:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "15903:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 26687, - "nodeType": "IfStatement", - "src": "15899:85:18", - "trueBody": { - "id": 26686, - "nodeType": "Block", - "src": "15923:61:18", - "statements": [ - { - "expression": { - "id": 26684, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 26680, - "name": "_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25810, - "src": "15941:9:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 26682, - "indexExpression": { - "id": 26681, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26662, - "src": "15951:4:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "15941:15:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "id": 26683, - "name": "batchSize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26668, - "src": "15960:9:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15941:28:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 26685, - "nodeType": "ExpressionStatement", - "src": "15941:28:18" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 26693, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26688, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26664, - "src": "16001:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 26691, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16015:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 26690, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "16007:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 26689, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16007:7:18", - "typeDescriptions": {} - } - }, - "id": 26692, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16007:10:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "16001:16:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 26701, - "nodeType": "IfStatement", - "src": "15997:81:18", - "trueBody": { - "id": 26700, - "nodeType": "Block", - "src": "16019:59:18", - "statements": [ - { - "expression": { - "id": 26698, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 26694, - "name": "_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25810, - "src": "16037:9:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 26696, - "indexExpression": { - "id": 26695, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26664, - "src": "16047:2:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "16037:13:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "id": 26697, - "name": "batchSize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26668, - "src": "16054:9:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "16037:26:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 26699, - "nodeType": "ExpressionStatement", - "src": "16037:26:18" - } - ] - } - } - ] - } - } - ] - }, - "documentation": { - "id": 26660, - "nodeType": "StructuredDocumentation", - "src": "14988:705:18", - "text": " @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is\n used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.\n - When `from` is zero, the tokens will be minted for `to`.\n - When `to` is zero, ``from``'s tokens will be burned.\n - `from` and `to` are never both zero.\n - `batchSize` is non-zero.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_beforeTokenTransfer", - "nameLocation": "15707:20:18", - "parameters": { - "id": 26669, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26662, - "mutability": "mutable", - "name": "from", - "nameLocation": "15745:4:18", - "nodeType": "VariableDeclaration", - "scope": 26705, - "src": "15737:12:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26661, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15737:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26664, - "mutability": "mutable", - "name": "to", - "nameLocation": "15767:2:18", - "nodeType": "VariableDeclaration", - "scope": 26705, - "src": "15759:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26663, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15759:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26666, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26705, - "src": "15779:7:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26665, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15779:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26668, - "mutability": "mutable", - "name": "batchSize", - "nameLocation": "15823:9:18", - "nodeType": "VariableDeclaration", - "scope": 26705, - "src": "15815:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26667, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15815:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "15727:111:18" - }, - "returnParameters": { - "id": 26670, - "nodeType": "ParameterList", - "parameters": [], - "src": "15856:0:18" - }, - "scope": 26719, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26718, - "nodeType": "FunctionDefinition", - "src": "16800:153:18", - "nodes": [], - "body": { - "id": 26717, - "nodeType": "Block", - "src": "16951:2:18", - "nodes": [], - "statements": [] - }, - "documentation": { - "id": 26706, - "nodeType": "StructuredDocumentation", - "src": "16100:695:18", - "text": " @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is\n used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.\n - When `from` is zero, the tokens were minted for `to`.\n - When `to` is zero, ``from``'s tokens were burned.\n - `from` and `to` are never both zero.\n - `batchSize` is non-zero.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_afterTokenTransfer", - "nameLocation": "16809:19:18", - "parameters": { - "id": 26715, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26708, - "mutability": "mutable", - "name": "from", - "nameLocation": "16846:4:18", - "nodeType": "VariableDeclaration", - "scope": 26718, - "src": "16838:12:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26707, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16838:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26710, - "mutability": "mutable", - "name": "to", - "nameLocation": "16868:2:18", - "nodeType": "VariableDeclaration", - "scope": 26718, - "src": "16860:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26709, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16860:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26712, - "mutability": "mutable", - "name": "firstTokenId", - "nameLocation": "16888:12:18", - "nodeType": "VariableDeclaration", - "scope": 26718, - "src": "16880:20:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26711, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16880:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26714, - "mutability": "mutable", - "name": "batchSize", - "nameLocation": "16918:9:18", - "nodeType": "VariableDeclaration", - "scope": 26718, - "src": "16910:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26713, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16910:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "16828:105:18" - }, - "returnParameters": { - "id": 26716, - "nodeType": "ParameterList", - "parameters": [], - "src": "16951:0:18" - }, - "scope": 26719, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 25785, - "name": "Context", - "nameLocations": [ - "647:7:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27279, - "src": "647:7:18" - }, - "id": 25786, - "nodeType": "InheritanceSpecifier", - "src": "647:7:18" - }, - { - "baseName": { - "id": 25787, - "name": "ERC165", - "nameLocations": [ - "656:6:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27552, - "src": "656:6:18" - }, - "id": 25788, - "nodeType": "InheritanceSpecifier", - "src": "656:6:18" - }, - { - "baseName": { - "id": 25789, - "name": "IERC721", - "nameLocations": [ - "664:7:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26835, - "src": "664:7:18" - }, - "id": 25790, - "nodeType": "InheritanceSpecifier", - "src": "664:7:18" - }, - { - "baseName": { - "id": 25791, - "name": "IERC721Metadata", - "nameLocations": [ - "673:15:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26880, - "src": "673:15:18" - }, - "id": 25792, - "nodeType": "InheritanceSpecifier", - "src": "673:15:18" - } - ], - "canonicalName": "ERC721", - "contractDependencies": [], - "contractKind": "contract", - "documentation": { - "id": 25784, - "nodeType": "StructuredDocumentation", - "src": "381:246:18", - "text": " @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including\n the Metadata extension, but not including the Enumerable extension, which is available separately as\n {ERC721Enumerable}." - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 26719, - 26880, - 26835, - 27552, - 27564, - 27279 - ], - "name": "ERC721", - "nameLocation": "637:6:18", - "scope": 26720, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 18 -} \ No newline at end of file diff --git a/out/FleekAccessControl.sol/FleekAccessControl.json b/out/FleekAccessControl.sol/FleekAccessControl.json deleted file mode 100644 index 30e1fd4..0000000 --- a/out/FleekAccessControl.sol/FleekAccessControl.json +++ /dev/null @@ -1,2034 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "previousAdminRole", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "newAdminRole", - "type": "bytes32" - } - ], - "name": "RoleAdminChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "RoleGranted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "RoleRevoked", - "type": "event" - }, - { - "inputs": [], - "name": "COLLECTION_CONTROLLER_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "COLLECTION_OWNER_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "DEFAULT_ADMIN_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - } - ], - "name": "getRoleAdmin", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "grantRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "hasRole", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "renounceRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "revokeRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "COLLECTION_CONTROLLER_ROLE()": "e46f29c8", - "COLLECTION_OWNER_ROLE()": "98b70793", - "DEFAULT_ADMIN_ROLE()": "a217fddf", - "getRoleAdmin(bytes32)": "248a9ca3", - "grantRole(bytes32,address)": "2f2ff15d", - "hasRole(bytes32,address)": "91d14854", - "renounceRole(bytes32,address)": "36568abe", - "revokeRole(bytes32,address)": "d547741f", - "supportsInterface(bytes4)": "01ffc9a7" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"COLLECTION_CONTROLLER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"COLLECTION_OWNER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"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\":{\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`. May emit a {RoleRevoked} event.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/FleekAccessControl.sol\":\"FleekAccessControl\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"contracts/FleekAccessControl.sol\":{\"keccak256\":\"0x40cbb25741c2d6e285ab2ccee87f38fab424ce3746a17bca274a23c098f5e5c6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f9d495490984bf70d90d9f48d9fbee2480f62b8d796d2b5cd623ff3ee632e47a\",\"dweb:/ipfs/QmXuMpMizsvU1QiEDD3cqs1wen9pdSqSNBeSb112pQDpKd\"]},\"node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x67e3daf189111d6d5b0464ed09cf9f0605a22c4b965a7fcecd707101faff008a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbbb1a75e4064d564bf69e74970eef35064e51fcc09cbf3589aee7faa60d6afe\",\"dweb:/ipfs/QmYfAtQwFSGmxomnyAV3tpBDbfDwiFXV61osWW2zzQVg5Q\"]},\"node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634\",\"dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"node_modules/@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b\",\"dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "bytes32", - "name": "previousAdminRole", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "bytes32", - "name": "newAdminRole", - "type": "bytes32", - "indexed": true - } - ], - "type": "event", - "name": "RoleAdminChanged", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "address", - "name": "account", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "sender", - "type": "address", - "indexed": true - } - ], - "type": "event", - "name": "RoleGranted", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "address", - "name": "account", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "sender", - "type": "address", - "indexed": true - } - ], - "type": "event", - "name": "RoleRevoked", - "anonymous": false - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "COLLECTION_CONTROLLER_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "COLLECTION_OWNER_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "DEFAULT_ADMIN_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getRoleAdmin", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "grantRole" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "hasRole", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "renounceRole" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeRole" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "stateMutability": "view", - "type": "function", - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": { - "getRoleAdmin(bytes32)": { - "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." - }, - "grantRole(bytes32,address)": { - "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event." - }, - "hasRole(bytes32,address)": { - "details": "Returns `true` if `account` has been granted `role`." - }, - "renounceRole(bytes32,address)": { - "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`. May emit a {RoleRevoked} event." - }, - "revokeRole(bytes32,address)": { - "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event." - }, - "supportsInterface(bytes4)": { - "details": "See {IERC165-supportsInterface}." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "contracts/FleekAccessControl.sol": "FleekAccessControl" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "contracts/FleekAccessControl.sol": { - "keccak256": "0x40cbb25741c2d6e285ab2ccee87f38fab424ce3746a17bca274a23c098f5e5c6", - "urls": [ - "bzz-raw://f9d495490984bf70d90d9f48d9fbee2480f62b8d796d2b5cd623ff3ee632e47a", - "dweb:/ipfs/QmXuMpMizsvU1QiEDD3cqs1wen9pdSqSNBeSb112pQDpKd" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/access/AccessControl.sol": { - "keccak256": "0x67e3daf189111d6d5b0464ed09cf9f0605a22c4b965a7fcecd707101faff008a", - "urls": [ - "bzz-raw://cbbb1a75e4064d564bf69e74970eef35064e51fcc09cbf3589aee7faa60d6afe", - "dweb:/ipfs/QmYfAtQwFSGmxomnyAV3tpBDbfDwiFXV61osWW2zzQVg5Q" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/access/IAccessControl.sol": { - "keccak256": "0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57", - "urls": [ - "bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a", - "dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Context.sol": { - "keccak256": "0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7", - "urls": [ - "bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92", - "dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Strings.sol": { - "keccak256": "0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a", - "urls": [ - "bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634", - "dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": { - "keccak256": "0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b", - "urls": [ - "bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d", - "dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { - "keccak256": "0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1", - "urls": [ - "bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f", - "dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/math/Math.sol": { - "keccak256": "0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6", - "urls": [ - "bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b", - "dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "contracts/FleekAccessControl.sol", - "id": 100, - "exportedSymbols": { - "AccessControl": [ - 25701 - ], - "Context": [ - 27279 - ], - "ERC165": [ - 27552 - ], - "FleekAccessControl": [ - 99 - ], - "IAccessControl": [ - 25774 - ], - "IERC165": [ - 27564 - ], - "Math": [ - 28429 - ], - "Strings": [ - 27528 - ] - }, - "nodeType": "SourceUnit", - "src": "35:1450:0", - "nodes": [ - { - "id": 1, - "nodeType": "PragmaDirective", - "src": "35:23:0", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".7" - ] - }, - { - "id": 2, - "nodeType": "ImportDirective", - "src": "62:58:0", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/access/AccessControl.sol", - "file": "@openzeppelin/contracts/access/AccessControl.sol", - "nameLocation": "-1:-1:-1", - "scope": 100, - "sourceUnit": 25702, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 99, - "nodeType": "ContractDefinition", - "src": "124:1359:0", - "nodes": [ - { - "id": 9, - "nodeType": "VariableDeclaration", - "src": "185:91:0", - "nodes": [], - "constant": true, - "functionSelector": "98b70793", - "mutability": "constant", - "name": "COLLECTION_OWNER_ROLE", - "nameLocation": "209:21:0", - "scope": 99, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "185:7:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "arguments": [ - { - "hexValue": "434f4c4c454354494f4e5f4f574e45525f524f4c45", - "id": 7, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "252:23:0", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cac50f86c292f6863f130b9e1133a5f875e8e957fed41745b8fa2498550cbdfc", - "typeString": "literal_string \"COLLECTION_OWNER_ROLE\"" - }, - "value": "COLLECTION_OWNER_ROLE" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cac50f86c292f6863f130b9e1133a5f875e8e957fed41745b8fa2498550cbdfc", - "typeString": "literal_string \"COLLECTION_OWNER_ROLE\"" - } - ], - "id": 6, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "242:9:0", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 8, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "242:34:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "public" - }, - { - "id": 14, - "nodeType": "VariableDeclaration", - "src": "283:101:0", - "nodes": [], - "constant": true, - "functionSelector": "e46f29c8", - "mutability": "constant", - "name": "COLLECTION_CONTROLLER_ROLE", - "nameLocation": "307:26:0", - "scope": 99, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "283:7:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "arguments": [ - { - "hexValue": "434f4c4c454354494f4e5f434f4e54524f4c4c45525f524f4c45", - "id": 12, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "355:28:0", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_54812023c8fe13756580f3420840aeb566f69714bea27346e22e4c654756d77e", - "typeString": "literal_string \"COLLECTION_CONTROLLER_ROLE\"" - }, - "value": "COLLECTION_CONTROLLER_ROLE" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_54812023c8fe13756580f3420840aeb566f69714bea27346e22e4c654756d77e", - "typeString": "literal_string \"COLLECTION_CONTROLLER_ROLE\"" - } - ], - "id": 11, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "345:9:0", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 13, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "345:39:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "public" - }, - { - "id": 29, - "nodeType": "FunctionDefinition", - "src": "393:145:0", - "nodes": [], - "body": { - "id": 28, - "nodeType": "Block", - "src": "407:131:0", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 18, - "name": "COLLECTION_OWNER_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9, - "src": "432:21:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 19, - "name": "DEFAULT_ADMIN_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25413, - "src": "455:18:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17, - "name": "_setRoleAdmin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25637, - "src": "418:13:0", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 20, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "418:56:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21, - "nodeType": "ExpressionStatement", - "src": "418:56:0" - }, - { - "expression": { - "arguments": [ - { - "id": 23, - "name": "COLLECTION_OWNER_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9, - "src": "496:21:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "expression": { - "id": 24, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "519:3:0", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 25, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "523:6:0", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "519:10:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 22, - "name": "_grantRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25669, - "src": "485:10:0", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 26, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "485:45:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27, - "nodeType": "ExpressionStatement", - "src": "485:45:0" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 15, - "nodeType": "ParameterList", - "parameters": [], - "src": "404:2:0" - }, - "returnParameters": { - "id": 16, - "nodeType": "ParameterList", - "parameters": [], - "src": "407:0:0" - }, - "scope": 99, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 42, - "nodeType": "ModifierDefinition", - "src": "546:208:0", - "nodes": [], - "body": { - "id": 41, - "nodeType": "Block", - "src": "580:174:0", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 33, - "name": "COLLECTION_OWNER_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9, - "src": "621:21:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "expression": { - "id": 34, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "644:3:0", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 35, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "648:6:0", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "644:10:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 32, - "name": "hasRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25465, - "src": "613:7:0", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", - "typeString": "function (bytes32,address) view returns (bool)" - } - }, - "id": 36, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "613:42:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "466c65656b416363657373436f6e74726f6c3a206d757374206861766520636f6c6c656374696f6e206f776e657220726f6c65", - "id": 37, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "670:53:0", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e2f7bcd861b8b3babe383a057d0db9e517e2e430c25c479d92792ad042f2a71d", - "typeString": "literal_string \"FleekAccessControl: must have collection owner role\"" - }, - "value": "FleekAccessControl: must have collection owner role" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_e2f7bcd861b8b3babe383a057d0db9e517e2e430c25c479d92792ad042f2a71d", - "typeString": "literal_string \"FleekAccessControl: must have collection owner role\"" - } - ], - "id": 31, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "591:7:0", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 38, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "591:143:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39, - "nodeType": "ExpressionStatement", - "src": "591:143:0" - }, - { - "id": 40, - "nodeType": "PlaceholderStatement", - "src": "745:1:0" - } - ] - }, - "name": "requireCollectionOwner", - "nameLocation": "555:22:0", - "parameters": { - "id": 30, - "nodeType": "ParameterList", - "parameters": [], - "src": "577:2:0" - }, - "virtual": false, - "visibility": "internal" - }, - { - "id": 61, - "nodeType": "ModifierDefinition", - "src": "762:286:0", - "nodes": [], - "body": { - "id": 60, - "nodeType": "Block", - "src": "801:247:0", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 55, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 46, - "name": "COLLECTION_OWNER_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9, - "src": "842:21:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "expression": { - "id": 47, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "865:3:0", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 48, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "869:6:0", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "865:10:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 45, - "name": "hasRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25465, - "src": "834:7:0", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", - "typeString": "function (bytes32,address) view returns (bool)" - } - }, - "id": 49, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "834:42:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "arguments": [ - { - "id": 51, - "name": "COLLECTION_CONTROLLER_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14, - "src": "905:26:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "expression": { - "id": 52, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "933:3:0", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 53, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "937:6:0", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "933:10:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 50, - "name": "hasRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25465, - "src": "897:7:0", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", - "typeString": "function (bytes32,address) view returns (bool)" - } - }, - "id": 54, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "897:47:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "834:110:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "466c65656b416363657373436f6e74726f6c3a206d757374206861766520636f6c6c656374696f6e20636f6e74726f6c6c657220726f6c65", - "id": 56, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "959:58:0", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d6b0aded1501cd73a889058ce8d87aee71b2004894f8c7b6a24c4f7f9bd59c1e", - "typeString": "literal_string \"FleekAccessControl: must have collection controller role\"" - }, - "value": "FleekAccessControl: must have collection controller role" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_d6b0aded1501cd73a889058ce8d87aee71b2004894f8c7b6a24c4f7f9bd59c1e", - "typeString": "literal_string \"FleekAccessControl: must have collection controller role\"" - } - ], - "id": 44, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "812:7:0", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 57, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "812:216:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 58, - "nodeType": "ExpressionStatement", - "src": "812:216:0" - }, - { - "id": 59, - "nodeType": "PlaceholderStatement", - "src": "1039:1:0" - } - ] - }, - "name": "requireCollectionController", - "nameLocation": "771:27:0", - "parameters": { - "id": 43, - "nodeType": "ParameterList", - "parameters": [], - "src": "798:2:0" - }, - "virtual": false, - "visibility": "internal" - }, - { - "id": 79, - "nodeType": "ModifierDefinition", - "src": "1056:224:0", - "nodes": [], - "body": { - "id": 78, - "nodeType": "Block", - "src": "1105:175:0", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 68, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 63, - "src": "1157:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "434f4e54524f4c4c4552", - "id": 69, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1166:12:0", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70546d1c92f8c2132ae23a23f5177aa8526356051c7510df99f50e012d221529", - "typeString": "literal_string \"CONTROLLER\"" - }, - "value": "CONTROLLER" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_70546d1c92f8c2132ae23a23f5177aa8526356051c7510df99f50e012d221529", - "typeString": "literal_string \"CONTROLLER\"" - } - ], - "id": 67, - "name": "_tokenRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 98, - "src": "1146:10:0", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (uint256,string memory) pure returns (bytes32)" - } - }, - "id": 70, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1146:33:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "expression": { - "id": 71, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "1181:3:0", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 72, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1185:6:0", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "1181:10:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 66, - "name": "hasRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25465, - "src": "1138:7:0", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", - "typeString": "function (bytes32,address) view returns (bool)" - } - }, - "id": 73, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1138:54:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "466c65656b416363657373436f6e74726f6c3a206d757374206861766520746f6b656e20726f6c65", - "id": 74, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1207:42:0", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb1c0c9ae9b08acb80c4120d36170cdc2082e24234001d93bd98c02d4e707db0", - "typeString": "literal_string \"FleekAccessControl: must have token role\"" - }, - "value": "FleekAccessControl: must have token role" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_eb1c0c9ae9b08acb80c4120d36170cdc2082e24234001d93bd98c02d4e707db0", - "typeString": "literal_string \"FleekAccessControl: must have token role\"" - } - ], - "id": 65, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1116:7:0", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 75, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1116:144:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 76, - "nodeType": "ExpressionStatement", - "src": "1116:144:0" - }, - { - "id": 77, - "nodeType": "PlaceholderStatement", - "src": "1271:1:0" - } - ] - }, - "name": "requireTokenController", - "nameLocation": "1065:22:0", - "parameters": { - "id": 64, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 63, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "1096:7:0", - "nodeType": "VariableDeclaration", - "scope": 79, - "src": "1088:15:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 62, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1088:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1087:17:0" - }, - "virtual": false, - "visibility": "internal" - }, - { - "id": 98, - "nodeType": "FunctionDefinition", - "src": "1288:192:0", - "nodes": [], - "body": { - "id": 97, - "nodeType": "Block", - "src": "1402:78:0", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "544f4b454e5f", - "id": 91, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1447:8:0", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60fbc03782a83adba6f0b2ae8b4d00c4465601a7a067bfaf89aa8f782a4226a4", - "typeString": "literal_string \"TOKEN_\"" - }, - "value": "TOKEN_" - }, - { - "id": 92, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 83, - "src": "1457:4:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 93, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 81, - "src": "1463:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_60fbc03782a83adba6f0b2ae8b4d00c4465601a7a067bfaf89aa8f782a4226a4", - "typeString": "literal_string \"TOKEN_\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 89, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1430:3:0", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 90, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1434:12:0", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "1430:16:0", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 94, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1430:41:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 88, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1420:9:0", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 95, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1420:52:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 87, - "id": 96, - "nodeType": "Return", - "src": "1413:59:0" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_tokenRole", - "nameLocation": "1297:10:0", - "parameters": { - "id": 84, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 81, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "1326:7:0", - "nodeType": "VariableDeclaration", - "scope": 98, - "src": "1318:15:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 80, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1318:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 83, - "mutability": "mutable", - "name": "role", - "nameLocation": "1358:4:0", - "nodeType": "VariableDeclaration", - "scope": 98, - "src": "1344:18:0", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 82, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1344:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1307:62:0" - }, - "returnParameters": { - "id": 87, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 86, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 98, - "src": "1393:7:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 85, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1393:7:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "1392:9:0" - }, - "scope": 99, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 3, - "name": "AccessControl", - "nameLocations": [ - "164:13:0" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 25701, - "src": "164:13:0" - }, - "id": 4, - "nodeType": "InheritanceSpecifier", - "src": "164:13:0" - } - ], - "canonicalName": "FleekAccessControl", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 99, - 25701, - 27552, - 27564, - 25774, - 27279 - ], - "name": "FleekAccessControl", - "nameLocation": "142:18:0", - "scope": 100, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 0 -} \ No newline at end of file diff --git a/out/FleekERC721.sol/FleekERC721.json b/out/FleekERC721.sol/FleekERC721.json deleted file mode 100644 index 88fc04f..0000000 --- a/out/FleekERC721.sol/FleekERC721.json +++ /dev/null @@ -1,10449 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_symbol", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "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": "uint256", - "name": "token", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "string", - "name": "commit_hash", - "type": "string" - } - ], - "name": "NewBuild", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "token", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "string", - "name": "description", - "type": "string" - } - ], - "name": "NewTokenDescription", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "token", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "string", - "name": "ENS", - "type": "string" - } - ], - "name": "NewTokenENS", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "token", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "string", - "name": "external_url", - "type": "string" - } - ], - "name": "NewTokenExternalURL", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "token", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "string", - "name": "image", - "type": "string" - } - ], - "name": "NewTokenImage", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "token", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "string", - "name": "name", - "type": "string" - } - ], - "name": "NewTokenName", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "previousAdminRole", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "newAdminRole", - "type": "bytes32" - } - ], - "name": "RoleAdminChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "RoleGranted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "RoleRevoked", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [], - "name": "COLLECTION_CONTROLLER_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "COLLECTION_OWNER_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "DEFAULT_ADMIN_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "controller", - "type": "address" - } - ], - "name": "addTokenController", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "burn", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - } - ], - "name": "getRoleAdmin", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "grantRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "hasRole", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "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": "to", - "type": "address" - }, - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "string", - "name": "image", - "type": "string" - }, - { - "internalType": "string", - "name": "external_url", - "type": "string" - }, - { - "internalType": "string", - "name": "ENS", - "type": "string" - }, - { - "internalType": "string", - "name": "commit_hash", - "type": "string" - }, - { - "internalType": "string", - "name": "git_repository", - "type": "string" - } - ], - "name": "mint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "controller", - "type": "address" - } - ], - "name": "removeTokenController", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "renounceRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "revokeRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "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": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_commit_hash", - "type": "string" - }, - { - "internalType": "string", - "name": "_git_repository", - "type": "string" - } - ], - "name": "setTokenBuild", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_tokenDescription", - "type": "string" - } - ], - "name": "setTokenDescription", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_tokenENS", - "type": "string" - } - ], - "name": "setTokenENS", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_tokenExternalURL", - "type": "string" - } - ], - "name": "setTokenExternalURL", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_tokenImage", - "type": "string" - } - ], - "name": "setTokenImage", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_tokenName", - "type": "string" - } - ], - "name": "setTokenName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "string", - "name": "commit", - "type": "string" - }, - { - "internalType": "string", - "name": "repository", - "type": "string" - } - ], - "name": "upgradeTokenBuild", - "outputs": [], - "stateMutability": "payable", - "type": "function" - } - ], - "bytecode": { - "object": "0x60406080815234620003da5762003b9d90813803806200001f81620003df565b93843982018183820312620003da5782516001600160401b0390818111620003da57826200004f91860162000405565b9360209283820151838111620003da576200006b920162000405565b93805191808311620003c4576000928354906001938483811c93168015620003b9575b87841014620003a5578190601f9384811162000352575b508790848311600114620002ee578792620002e2575b5050600019600383901b1c191690841b1784555b8651918211620002ce5782548381811c91168015620002c3575b86821014620002af5781811162000267575b508490821160011462000204578394959682939492620001f8575b5050600019600383901b1c191690821b1781555b7fcac50f86c292f6863f130b9e1133a5f875e8e957fed41745b8fa2498550cbdfc92838352600681528282868220015481848882200155857fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff8380a4848320338452815260ff858420541615620001ab575b84516137259081620004788239f35b8383526006815284832090338452528382209060ff1982541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339280a4388080806200019c565b01519050388062000116565b82845284842090601f198316855b818110620002515750978385969798991062000237575b505050811b0181556200012a565b015160001960f88460031b161c1916905538808062000229565b8983015184559285019291870191870162000212565b8385528585208280850160051c820192888610620002a5575b0160051c019084905b82811062000299575050620000fb565b86815501849062000289565b9250819262000280565b634e487b7160e01b85526022600452602485fd5b90607f1690620000e9565b634e487b7160e01b84526041600452602484fd5b015190503880620000bb565b8780528888208794509190601f198416895b8b8282106200033b575050841162000321575b505050811b018455620000cf565b015160001960f88460031b161c1916905538808062000313565b8385015186558a9790950194938401930162000300565b9091508680528787208480850160051c8201928a86106200039b575b918891869594930160051c01915b8281106200038c575050620000a5565b8981558594508891016200037c565b925081926200036e565b634e487b7160e01b86526022600452602486fd5b92607f16926200008e565b634e487b7160e01b600052604160045260246000fd5b600080fd5b6040519190601f01601f191682016001600160401b03811183821017620003c457604052565b919080601f84011215620003da5782516001600160401b038111620003c4576020906200043b601f8201601f19168301620003df565b92818452828287010111620003da5760005b8181106200046357508260009394955001015290565b85810183015184820184015282016200044d56fe608080604052600436101561001357600080fd5b60003560e01c90816301ffc9a7146127455750806306fdde03146126a2578063081812fc14612684578063095ea7b31461250a57806323b872dd146124e1578063246a908b14612365578063248a9ca3146123365780632f2ff15d146122fc57806336568abe1461226a5780633806f15214611ff557806342842e0e14611fcd57806342966c6814611e825780636352211e14611e5257806364140ec014611cdf57806370a0823114611c4857806378278cca14611ad557806391d1485414611a8857806395d89b41146119a9578063987c26fd1461168f57806398b7079314611654578063a217fddf14611638578063a22cb46514611566578063b543be1214610b34578063b88d4fde14610ad5578063befaa6a314610ab3578063c87b56dd1461061f578063cdb0e89e1461048b578063d547741f1461044c578063dcd78186146103d5578063e46f29c81461039a578063e985e9c5146103445763f93151771461017f57600080fd5b3461033f5761018d3661293a565b9061019f610199612ace565b82612af4565b6000526020916006835260406000203360005283526101c560ff60406000205416612b3f565b6000828152600260205260409020546101e8906001600160a01b03161515612f02565b816000526008835260036040600020018151936001600160401b0385116103295761021382546129af565b601f81116102ee575b5080601f8611600114610284575093806102519495600091610279575b508160011b916000199060031b1c1916179055612b9c565b907f9f284fd257fb85bc33901e673c078261b0222fbcc4b52c74784c9566808e3cfc600080a3005b905083015138610239565b90601f1986168360005282600020926000905b8282106102d65750509186916102519697600194106102bd575b5050811b019055612b9c565b85015160001960f88460031b161c1916905538806102b1565b80600185968294968a01518155019501930190610297565b610319908360005282600020601f880160051c81019184891061031f575b601f0160051c01906129e9565b3861021c565b909150819061030c565b634e487b7160e01b600052604160045260246000fd5b600080fd5b3461033f57604036600319011261033f5761035d612812565b610365612828565b9060018060a01b03809116600052600560205260406000209116600052602052602060ff604060002054166040519015158152f35b3461033f57600036600319011261033f5760206040517f54812023c8fe13756580f3420840aeb566f69714bea27346e22e4c654756d77e8152f35b3461033f57604036600319011261033f5761044a6004356104456103f7612828565b916104146001600160a01b0361040c83612f4e565b163314612a00565b600081815260026020526040902054610437906001600160a01b03161515612f02565b61043f612ace565b90612af4565b612e12565b005b3461033f57604036600319011261033f5761044a60043561046b612828565b90806000526006602052610486600160406000200154612c08565b612e8c565b3461033f576104993661293a565b906104a5610199612ace565b6000526020916006835260406000203360005283526104cb60ff60406000205416612b3f565b6000828152600260205260409020546104ee906001600160a01b03161515612f02565b816000526008835260406000208151936001600160401b0385116103295761051682546129af565b601f81116105ef575b5080601f861160011461058657509380610553949560009161057b57508160011b916000199060031b1c1916179055612b9c565b907fabf44020991f188f6b302a14e4b7a3dc94de10ed2140a6c03e16f4213d11b1c9600080a3005b905083015186610239565b90601f1986168360005282600020926000905b8282106105d75750509186916105539697600194106105be575050811b019055612b9c565b85015160001960f88460031b161c1916905586806102b1565b80600185968294968a01518155019501930190610599565b610619908360005282600020601f880160051c81019184891061031f57601f0160051c01906129e9565b8561051f565b3461033f5760208060031936011261033f5760043560008181526002602052604090205490919061065a906001600160a01b03161515612f02565b61066382612f4e565b600092835260088252604090922091610684906001600160a01b03166135e1565b60058301546000818152600685018452604081206001958694938583019190807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008181811015610aa5575b5050886d04ee2d6d415b85acef810000000080841015610a97575b5050662386f26fc1000080831015610a88575b506305f5e10080831015610a79575b5061271080831015610a6a575b506064821015610a5a575b600a978880931015610a50575b6021610739828901613432565b97880101905b610a21575b5050604051607b60f81b8982015267113730b6b2911d1160c11b60218201529889969091506107766029880184612a4b565b61088b60f21b8082526e113232b9b1b934b83a34b7b7111d1160891b6002830152926107a791601101908501612a4b565b828152681137bbb732b9111d1160b91b60028201528151916107d1908390600b8401908d016127ca565b0181600b8201526f1132bc3a32b93730b62fbab936111d1160811b600d820152601d01600383019061080291612a4b565b818152681134b6b0b3b2911d1160b91b6002820152600b01600283019061082891612a4b565b9081526e2261747472696275746573223a205b60881b60028201527f7b2274726169745f74797065223a2022454e53222c202276616c7565223a2200601182015261087b91603090910190600401612a4b565b62089f4b60ea1b8082527f7b2274726169745f74797065223a2022436f6d6d69742048617368222c20227660038301526630b63ab2911d1160c91b6023830152926108c991602a0190612a4b565b828152600381017f7b2274726169745f74797065223a20225265706f7369746f7279222c20227661905265363ab2911d1160d11b602382015260290161090e91612a4b565b9081527f7b2274726169745f74797065223a202256657273696f6e222c202276616c7565600382015262111d1160e91b6023820152815191610958908390602684019088016127ca565b0161227d60f01b602682015260288101605d60f81b905260298101607d60f81b9052039081018352602a0161098d90836128a9565b8060405161099a81612873565b601d8152818101937f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000085526109ce90613464565b6040519485925190818585016109e3926127ca565b820181519182858084019201916109f9926127ca565b010380845201610a0990836128a9565b6040519181839283528201610a1d916127ed565b0390f35b600019019082906f181899199a1a9b1b9c1cb0b131b232b360811b8282061a835304908a8261073f5750610744565b909501948961072c565b949060646002910491019461071f565b6004919692049101948a610714565b6008919692049101948a610707565b6010919692049101948a6106f8565b96019590910490888b6106e5565b604097500491508a806106ca565b3461033f57604036600319011261033f5761044a6004356104866103f7612828565b3461033f57608036600319011261033f57610aee612812565b610af6612828565b606435916001600160401b03831161033f573660238401121561033f57610b2a61044a9336906024816004013591016128e5565b9160443591613011565b61010036600319011261033f57610b49612812565b6024356001600160401b03811161033f57610b6890369060040161291c565b906044356001600160401b03811161033f57610b8890369060040161291c565b906064356001600160401b03811161033f57610ba890369060040161291c565b926084356001600160401b03811161033f57610bc890369060040161291c565b60a4356001600160401b03811161033f57610be790369060040161291c565b9060c4356001600160401b03811161033f57610c0790369060040161291c565b9560e4356001600160401b03811161033f57610c2790369060040161291c565b3360009081527f6ba1fb09f226a75e067af9a8d207c51e8b8b2c4d25e3ce897223f4dfedce79fd602052604090205490969060ff161561150557600754956001600160a01b038116156114c157600087815260026020526040902054610d589190610c9e906001600160a01b031615155b1561310a565b600088815260026020526040902054610cc1906001600160a01b03161515610c98565b6001600160a01b0381166000818152600360209081526040808320805460010190558b83526002909152812080546001600160a01b031916831790558991907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600088815260026020526040902054610d47906001600160a01b03161515612f02565b610445610d52612ace565b89612af4565b6001600754016007558560005260086020526040600020948051906001600160401b038211610329578190610d8d88546129af565b601f811161148f575b50602090601f831160011461142357600092611418575b50508160011b916000199060031b1c19161785555b8051906001600160401b038211610329578190610de260018801546129af565b601f81116113e3575b50602090601f831160011461137157600092611366575b50508160011b916000199060031b1c19161760018501555b8051906001600160401b038211610329578190610e3a60028701546129af565b601f8111611331575b50602090601f83116001146112bf576000926112b4575b50508160011b916000199060031b1c19161760028401555b8051906001600160401b038211610329578190610e9260038601546129af565b601f811161127f575b50602090601f831160011461120d57600092611202575b50508160011b916000199060031b1c19161760038301555b8051906001600160401b03821161032957610ee860048401546129af565b601f81116111cd575b50602090601f831160011461115a5760069392916000918361114f575b50508160011b916000199060031b1c19161760048201555b6000600582015560405194610f3a86612873565b8552602085019384526000805201602052604060002092519283516001600160401b03811161032957610f6d82546129af565b601f811161111d575b506020601f82116001146110b357819060019495966000926110a8575b5050600019600383901b1c191690831b1781555b019151908151926001600160401b03841161032957602093610fc982546129af565b601f8111611078575b508493601f821160011461101557938192939460009261100a575b50508160011b916000199060031b1c19161790555b604051908152f35b015190508580610fed565b601f1982169483600052866000209160005b878110611061575083600195969710611048575b505050811b019055611002565b015160001960f88460031b161c1916905585808061103b565b919288600181928685015181550194019201611027565b6110a2908360005286600020601f840160051c81019188851061031f57601f0160051c01906129e9565b85610fd2565b015190508680610f93565b601f198216958360005260206000209660005b81811061110557509160019596979184879594106110ec575b505050811b018155610fa7565b015160001960f88460031b161c191690558680806110df565b838301518955600190980197602093840193016110c6565b61114990836000526020600020601f840160051c8101916020851061031f57601f0160051c01906129e9565b85610f76565b015190508780610f0e565b906004840160005260206000209160005b601f19851681106111b5575091839160019360069695601f1981161061119c575b505050811b016004820155610f26565b015160001960f88460031b161c1916905587808061118c565b9192602060018192868501518155019401920161116b565b6111fc90600485016000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b86610ef1565b015190508780610eb2565b9250600385016000526020600020906000935b601f1984168510611264576001945083601f1981161061124b575b505050811b016003830155610eca565b015160001960f88460031b161c1916905587808061123b565b81810151835560209485019460019093019290910190611220565b6112ae90600387016000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b88610e9b565b015190508880610e5a565b9250600286016000526020600020906000935b601f1984168510611316576001945083601f198116106112fd575b505050811b016002840155610e72565b015160001960f88460031b161c191690558880806112ed565b818101518355602094850194600190930192909101906112d2565b61136090600288016000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b89610e43565b015190508980610e02565b9250600187016000526020600020906000935b601f19841685106113c8576001945083601f198116106113af575b505050811b016001850155610e1a565b015160001960f88460031b161c1916905589808061139f565b81810151835560209485019460019093019290910190611384565b61141290600189016000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b8a610deb565b015190508a80610dad565b9250876000526020600020906000935b601f1984168510611474576001945083601f1981161061145b575b505050811b018555610dc2565b015160001960f88460031b161c191690558a808061144e565b81810151835560209485019460019093019290910190611433565b6114bb90896000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b8b610d96565b606460405162461bcd60e51b815260206004820152602060248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152fd5b60405162461bcd60e51b815260206004820152603360248201527f466c65656b416363657373436f6e74726f6c3a206d757374206861766520636f6044820152726c6c656374696f6e206f776e657220726f6c6560681b6064820152608490fd5b3461033f57604036600319011261033f5761157f612812565b6024359081151580920361033f576001600160a01b0316903382146115f357336000526005602052604060002082600052602052604060002060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b60405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606490fd5b3461033f57600036600319011261033f57602060405160008152f35b3461033f57600036600319011261033f5760206040517fcac50f86c292f6863f130b9e1133a5f875e8e957fed41745b8fa2498550cbdfc8152f35b61169836612969565b91906116ae6001600160a01b0361040c84612f4e565b6000828152600260205260409020546116d1906001600160a01b03161515612f02565b6116e26116dc612ace565b83612af4565b60005260209260068452604060002033600052845261170860ff60406000205416612b3f565b60008381526002602052604090205461172b906001600160a01b03161515612f02565b60405161173781612873565b828152848101918252836000526008855260066040600020016005604060002001908154906000199283831461199357600180930180915560005287526040600020925180516001600160401b039485821161032957839161179982546129af565b93601f948c868211611964575b50508b908583116001146118fe5760009190836118f3575b50508682851b9260031b1c19161781555b019451978851948511610329576117e686546129af565b8281116118bb575b50809185116001146118525750839291839161181f9899600095611847575b50501b9260031b1c1916179055612b9c565b907ff0cd0ce9d5882a10e2780d2d9c805c18e7536b9b2c6412f7bfb7f163656dd0f6600080a3005b01519350898061180d565b91939290601f198416988660005283600020936000905b8b82106118a45750508461181f999a1061188c575b50505050811b019055612b9c565b01519060f88460031b161c191690558680808061187e565b808885978294968601518155019601930190611869565b6118e49087600052826000208480890160051c820192858a106118ea575b0160051c01906129e9565b896117ee565b925081926118d9565b015190508c806117be565b60008481528d8120929190601f198516908f5b82821061194b5750509084879594939210611934575b505050811b0181556117cf565b01518860f88460031b161c191690558c8080611927565b8484015186558a98909501949384019390810190611911565b61198c918560005287826000209181870160051c83019387106118ea570160051c01906129e9565b8c8c6117a6565b634e487b7160e01b600052601160045260246000fd5b3461033f57600036600319011261033f57604051600060018054906119cd826129af565b80855291818116908115611a615750600114611a08575b610a1d846119f4818603826128a9565b6040519182916020835260208301906127ed565b600081815292507fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b828410611a495750505081016020016119f4826119e4565b80546020858701810191909152909301928101611a31565b60ff191660208087019190915292151560051b850190920192506119f491508390506119e4565b3461033f57604036600319011261033f57611aa1612828565b600435600052600660205260406000209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b3461033f57611ae33661293a565b90611aef610199612ace565b600052602091600683526040600020336000528352611b1560ff60406000205416612b3f565b600082815260026020526040902054611b38906001600160a01b03161515612f02565b816000526008835260046040600020018151936001600160401b03851161032957611b6382546129af565b601f8111611c18575b5080601f8611600114611bc857509380611ba0949560009161057b57508160011b916000199060031b1c1916179055612b9c565b907fc1b5a2141fc60537be795a8771f5e8c80188922acb5399a6e463ea95aa852f31600080a3005b90601f1986168360005282600020926000905b828210611c00575050918691611ba09697600194106105be575050811b019055612b9c565b80600185968294968a01518155019501930190611bdb565b611c42908360005282600020601f880160051c81019184891061031f57601f0160051c01906129e9565b85611b6c565b3461033f57602036600319011261033f576001600160a01b03611c69612812565b168015611c885760005260036020526020604060002054604051908152f35b60405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608490fd5b3461033f57611ced3661293a565b90611cf9610199612ace565b600052602091600683526040600020336000528352611d1f60ff60406000205416612b3f565b600082815260026020526040902054611d42906001600160a01b03161515612f02565b816000526008835260026040600020018151936001600160401b03851161032957611d6d82546129af565b601f8111611e22575b5080601f8611600114611dd257509380611daa949560009161057b57508160011b916000199060031b1c1916179055612b9c565b907fb041870856ebefdd6a3cb1ac665eb6739281b855c912ff622e814dbf91c96bb6600080a3005b90601f1986168360005282600020926000905b828210611e0a575050918691611daa9697600194106105be575050811b019055612b9c565b80600185968294968a01518155019501930190611de5565b611e4c908360005282600020601f880160051c81019184891061031f57601f0160051c01906129e9565b85611d76565b3461033f57602036600319011261033f576020611e70600435612f4e565b6040516001600160a01b039091168152f35b3461033f5760208060031936011261033f5760043590611ea36116dc612ace565b600052600681526040600020336000528152611ec660ff60406000205416612b3f565b8160006001600160a01b03611ee63382611edf86612f4e565b1614612a00565b611eef83612f4e565b50611ef983612f4e565b908383526004855260408320916bffffffffffffffffffffffff60a01b92838154169055169081835260038552604083208319815401905583835260028552604083209081541690557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8280a460088152611f7b6003604060002001546129af565b611f8157005b600891600052526000600560408220611f9981612bbc565b611fa560018201612bbc565b611fb160028201612bbc565b611fbd60038201612bbc565b611fc960048201612bbc565b0155005b3461033f5761044a611fde3661283e565b9060405192611fec8461288e565b60008452613011565b3461033f5761200336612969565b91906120106116dc612ace565b60005260209260068452604060002033600052845261203660ff60406000205416612b3f565b600083815260026020526040902054612059906001600160a01b03161515612f02565b60405161206581612873565b828152848101918252836000526008855260066040600020016005604060002001908154906000199283831461199357600180930180915560005287526040600020925180516001600160401b03948582116103295783916120c782546129af565b93601f948c86821161223b575b50508b908583116001146121d55760009190836121ca575b50508682851b9260031b1c19161781555b0194519788519485116103295761211486546129af565b82811161219c575b508091851160011461214c5750839291839161181f98996000956118475750501b9260031b1c1916179055612b9c565b91939290601f198416988660005283600020936000905b8b82106121855750508461181f999a1061188c5750505050811b019055612b9c565b808885978294968601518155019601930190612163565b6121c49087600052826000208480890160051c820192858a106118ea570160051c01906129e9565b8961211c565b015190508c806120ec565b60008481528d8120929190601f198516908f5b828210612222575050908487959493921061220b575b505050811b0181556120fd565b01518860f88460031b161c191690558c80806121fe565b8484015186558a989095019493840193908101906121e8565b612263918560005287826000209181870160051c83019387106118ea570160051c01906129e9565b8c8c6120d4565b3461033f57604036600319011261033f57612283612828565b336001600160a01b0382160361229f5761044a90600435612e8c565b60405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608490fd5b3461033f57604036600319011261033f5761044a60043561231b612828565b90806000526006602052610445600160406000200154612c08565b3461033f57602036600319011261033f5760043560005260066020526020600160406000200154604051908152f35b3461033f576123733661293a565b9061237f610199612ace565b6000526020916006835260406000203360005283526123a560ff60406000205416612b3f565b6000828152600260205260409020546123c8906001600160a01b03161515612f02565b8160005260088352600180604060002001908251906001600160401b038211610329576123f583546129af565b601f81116124b1575b5085601f831160011461246457508180916124319697600093612459575b501b916000199060031b1c1916179055612b9c565b907f9b3089e7af95b8d43fdceb16eb9cbf620a0cb486e1a291b15121a44e0f69127a600080a3005b86015192508861241c565b601f929192198216968460005281600020916000905b89821061249a575050826124319798106105be575050811b019055612b9c565b808684958294958b0151815501940192019061247a565b6124db908460005287600020601f850160051c81019189861061031f57601f0160051c01906129e9565b866123fe565b3461033f5761044a6124f23661283e565b91612505612500843361309c565b612faf565b6131b0565b3461033f57604036600319011261033f57612523612812565b602435906001600160a01b03808061253a85612f4e565b1692169180831461263557803314908115612610575b50156125a557600083815260046020526040902080546001600160a01b0319168317905561257d83612f4e565b167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4005b60405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608490fd5b9050600052600560205260406000203360005260205260ff6040600020541684612550565b60405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608490fd5b3461033f57602036600319011261033f576020611e70600435612f71565b3461033f57600036600319011261033f57604051600080546126c3816129af565b80845290600190818116908115611a6157506001146126ec57610a1d846119f4818603826128a9565b600080805292507f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b82841061272d5750505081016020016119f4826119e4565b80546020858701810191909152909301928101612715565b3461033f57602036600319011261033f576004359063ffffffff60e01b821680920361033f57602091637965db0b60e01b8114908115612787575b5015158152f35b6380ac58cd60e01b8114915081156127b9575b81156127a8575b5083612780565b6301ffc9a760e01b149050836127a1565b635b5e139f60e01b8114915061279a565b60005b8381106127dd5750506000910152565b81810151838201526020016127cd565b90602091612806815180928185528580860191016127ca565b601f01601f1916010190565b600435906001600160a01b038216820361033f57565b602435906001600160a01b038216820361033f57565b606090600319011261033f576001600160a01b0390600435828116810361033f5791602435908116810361033f579060443590565b604081019081106001600160401b0382111761032957604052565b602081019081106001600160401b0382111761032957604052565b90601f801991011681019081106001600160401b0382111761032957604052565b6001600160401b03811161032957601f01601f191660200190565b9291926128f1826128ca565b916128ff60405193846128a9565b82948184528183011161033f578281602093846000960137010152565b9080601f8301121561033f57816020612937933591016128e5565b90565b90604060031983011261033f5760043591602435906001600160401b03821161033f576129379160040161291c565b606060031982011261033f57600435916001600160401b0360243581811161033f57836129989160040161291c565b9260443591821161033f576129379160040161291c565b90600182811c921680156129df575b60208310146129c957565b634e487b7160e01b600052602260045260246000fd5b91607f16916129be565b8181106129f4575050565b600081556001016129e9565b15612a0757565b606460405162461bcd60e51b815260206004820152602060248201527f466c65656b4552433732313a206d75737420626520746f6b656e206f776e65726044820152fd5b600092918154612a5a816129af565b92600191808316908115612ab35750600114612a77575b50505050565b90919293945060005260209081600020906000915b858310612aa25750505050019038808080612a71565b805485840152918301918101612a8c565b60ff1916845250505081151590910201915038808080612a71565b60405190612adb82612873565b600a82526921a7a72a2927a62622a960b11b6020830152565b612b3960466040518093602082019565544f4b454e5f60d01b8752612b238151809260206026870191016127ca565b82019060268201520360268101845201826128a9565b51902090565b15612b4657565b60405162461bcd60e51b815260206004820152602860248201527f466c65656b416363657373436f6e74726f6c3a206d757374206861766520746f6044820152676b656e20726f6c6560c01b6064820152608490fd5b612bb4906020604051928284809451938492016127ca565b810103902090565b612bc681546129af565b9081612bd0575050565b81601f60009311600114612be2575055565b81835260208320612bfe91601f0160051c8101906001016129e9565b8160208120915555565b60009080825260209060068252604092838120338252835260ff848220541615612c325750505050565b612c3b336135e1565b91845190608082018281106001600160401b03821117612dfe57865260428252848201926060368537825115612dea5760308453825190600191821015612dea5790607860218501536041915b818311612d7c57505050612d3a576048612d36938693612d1a93612d0b98519889937f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008a860152612ce2815180928c6037890191016127ca565b8401917001034b99036b4b9b9b4b733903937b6329607d1b6037840152518093868401906127ca565b010360288101875201856128a9565b5192839262461bcd60e51b8452600484015260248301906127ed565b0390fd5b60648486519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b909192600f81166010811015612dd6576f181899199a1a9b1b9c1cb0b131b232b360811b901a612dac85876135ba565b5360041c928015612dc257600019019190612c88565b634e487b7160e01b82526011600452602482fd5b634e487b7160e01b83526032600452602483fd5b634e487b7160e01b81526032600452602490fd5b634e487b7160e01b84526041600452602484fd5b906000918083526006602052604083209160018060a01b03169182845260205260ff60408420541615612e4457505050565b80835260066020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4565b906000918083526006602052604083209160018060a01b03169182845260205260ff604084205416612ebd57505050565b8083526006602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4565b15612f0957565b60405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606490fd5b6000908152600260205260409020546001600160a01b0316612937811515612f02565b600081815260026020526040902054612f94906001600160a01b03161515612f02565b6000908152600460205260409020546001600160a01b031690565b15612fb657565b60405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b6064820152608490fd5b90613035939291613025612500843361309c565b6130308383836131b0565b6132c6565b1561303c57565b60405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608490fd5b906001600160a01b0380806130b084612f4e565b169316918383149384156130e3575b5083156130cd575b50505090565b6130d991929350612f71565b16143880806130c7565b909350600052600560205260406000208260005260205260ff6040600020541692386130bf565b1561311157565b60405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606490fd5b1561315d57565b60405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608490fd5b906131d8916131be84612f4e565b6001600160a01b0393918416928492909183168414613156565b1691821561327557816131f5916131ee86612f4e565b1614613156565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60008481526004602052604081206bffffffffffffffffffffffff60a01b9081815416905583825260036020526040822060001981540190558482526040822060018154019055858252600260205284604083209182541617905580a4565b60405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b9293600093909291803b15613427579484916133209660405180948193630a85bd0160e11b9788845233600485015260018060a01b0380921660248501526044840152608060648401528260209b8c9760848301906127ed565b0393165af18491816133e3575b506133d2575050503d6000146133ca573d613347816128ca565b9061335560405192836128a9565b81528091833d92013e5b805191826133c75760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608490fd5b01fd5b50606061335f565b6001600160e01b0319161492509050565b9091508581813d8311613420575b6133fb81836128a9565b8101031261341c57516001600160e01b03198116810361341c57903861332d565b8480fd5b503d6133f1565b505050915050600190565b9061343c826128ca565b61344960405191826128a9565b828152809261345a601f19916128ca565b0190602036910137565b8051156135a657604051606081018181106001600160401b0382111761032957604052604081527f4142434445464748494a4b4c4d4e4f505152535455565758595a61626364656660208201527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f60408201528151600292838201809211611993576003918290046001600160fe1b038116810361199357613509908594951b613432565b936020850193829183518401925b838110613555575050505051068060011461354257600214613537575090565b603d90600019015390565b50603d9081600019820153600119015390565b85600491979293949701918251600190603f9082828260121c16880101518453828282600c1c16880101518385015382828260061c1688010151888501531685010151878201530195929190613517565b506040516135b38161288e565b6000815290565b9081518110156135cb570160200190565b634e487b7160e01b600052603260045260246000fd5b60405190606082018281106001600160401b0382111761032957604052602a82526020820160403682378251156135cb576030905381516001908110156135cb57607860218401536029905b80821161368157505061363d5790565b606460405162461bcd60e51b815260206004820152602060248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b9091600f811660108110156136da576f181899199a1a9b1b9c1cb0b131b232b360811b901a6136b084866135ba565b5360041c9180156136c557600019019061362d565b60246000634e487b7160e01b81526011600452fd5b60246000634e487b7160e01b81526032600452fdfea2646970667358221220f990373a6ee4218bd529d7377a3ea71fd58a85d8659b6121af366d013cd8bb9264736f6c63430008110033", - "sourceMap": "256:7234:1:-:0;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;256:7234:1;;;;;;;;;;;;;;;;-1:-1:-1;256:7234:1;;;;;;;;;;;;;;;-1:-1:-1;256:7234:1;;;;;;;;;;;;;;;-1:-1:-1;;;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;256:7234:1;;;;;;;;;;;;;;242:34:0;256:7234:1;;;;4478:6:16;256:7234:1;;;;;;;4478:22:16;256:7234:1;;;;;;7185:22:16;256:7234:1;7234:52:16;;;;;256:7234:1;;;519:10:0;256:7234:1;;;;;;;;;;7543:23:16;7539:149;;256:7234:1;;;;;;;;;;7539:149:16;256:7234:1;;;4478:6:16;256:7234:1;;;;;519:10:0;;256:7234:1;;;;;;;;;;;;;;;519:10:0;;7637:40:16;519:10:0;7637:40:16;;;7539:149;;;;;;256:7234:1;;;;-1:-1:-1;256:7234:1;;;;;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;-1:-1:-1;256:7234:1;;;;;;;;;;;;;-1:-1:-1;256:7234:1;;-1:-1:-1;;256:7234:1;;;;;;;;;;;;;-1:-1:-1;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;256:7234:1;;;;;;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;;;;-1:-1:-1;256:7234:1;;;;;-1:-1:-1;256:7234:1;;-1:-1:-1;256:7234:1;;;;;;;;;-1:-1:-1;;256:7234:1;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;-1:-1:-1;;256:7234:1;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;256:7234:1;;;;;;;;-1:-1:-1;256:7234:1;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x608080604052600436101561001357600080fd5b60003560e01c90816301ffc9a7146127455750806306fdde03146126a2578063081812fc14612684578063095ea7b31461250a57806323b872dd146124e1578063246a908b14612365578063248a9ca3146123365780632f2ff15d146122fc57806336568abe1461226a5780633806f15214611ff557806342842e0e14611fcd57806342966c6814611e825780636352211e14611e5257806364140ec014611cdf57806370a0823114611c4857806378278cca14611ad557806391d1485414611a8857806395d89b41146119a9578063987c26fd1461168f57806398b7079314611654578063a217fddf14611638578063a22cb46514611566578063b543be1214610b34578063b88d4fde14610ad5578063befaa6a314610ab3578063c87b56dd1461061f578063cdb0e89e1461048b578063d547741f1461044c578063dcd78186146103d5578063e46f29c81461039a578063e985e9c5146103445763f93151771461017f57600080fd5b3461033f5761018d3661293a565b9061019f610199612ace565b82612af4565b6000526020916006835260406000203360005283526101c560ff60406000205416612b3f565b6000828152600260205260409020546101e8906001600160a01b03161515612f02565b816000526008835260036040600020018151936001600160401b0385116103295761021382546129af565b601f81116102ee575b5080601f8611600114610284575093806102519495600091610279575b508160011b916000199060031b1c1916179055612b9c565b907f9f284fd257fb85bc33901e673c078261b0222fbcc4b52c74784c9566808e3cfc600080a3005b905083015138610239565b90601f1986168360005282600020926000905b8282106102d65750509186916102519697600194106102bd575b5050811b019055612b9c565b85015160001960f88460031b161c1916905538806102b1565b80600185968294968a01518155019501930190610297565b610319908360005282600020601f880160051c81019184891061031f575b601f0160051c01906129e9565b3861021c565b909150819061030c565b634e487b7160e01b600052604160045260246000fd5b600080fd5b3461033f57604036600319011261033f5761035d612812565b610365612828565b9060018060a01b03809116600052600560205260406000209116600052602052602060ff604060002054166040519015158152f35b3461033f57600036600319011261033f5760206040517f54812023c8fe13756580f3420840aeb566f69714bea27346e22e4c654756d77e8152f35b3461033f57604036600319011261033f5761044a6004356104456103f7612828565b916104146001600160a01b0361040c83612f4e565b163314612a00565b600081815260026020526040902054610437906001600160a01b03161515612f02565b61043f612ace565b90612af4565b612e12565b005b3461033f57604036600319011261033f5761044a60043561046b612828565b90806000526006602052610486600160406000200154612c08565b612e8c565b3461033f576104993661293a565b906104a5610199612ace565b6000526020916006835260406000203360005283526104cb60ff60406000205416612b3f565b6000828152600260205260409020546104ee906001600160a01b03161515612f02565b816000526008835260406000208151936001600160401b0385116103295761051682546129af565b601f81116105ef575b5080601f861160011461058657509380610553949560009161057b57508160011b916000199060031b1c1916179055612b9c565b907fabf44020991f188f6b302a14e4b7a3dc94de10ed2140a6c03e16f4213d11b1c9600080a3005b905083015186610239565b90601f1986168360005282600020926000905b8282106105d75750509186916105539697600194106105be575050811b019055612b9c565b85015160001960f88460031b161c1916905586806102b1565b80600185968294968a01518155019501930190610599565b610619908360005282600020601f880160051c81019184891061031f57601f0160051c01906129e9565b8561051f565b3461033f5760208060031936011261033f5760043560008181526002602052604090205490919061065a906001600160a01b03161515612f02565b61066382612f4e565b600092835260088252604090922091610684906001600160a01b03166135e1565b60058301546000818152600685018452604081206001958694938583019190807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008181811015610aa5575b5050886d04ee2d6d415b85acef810000000080841015610a97575b5050662386f26fc1000080831015610a88575b506305f5e10080831015610a79575b5061271080831015610a6a575b506064821015610a5a575b600a978880931015610a50575b6021610739828901613432565b97880101905b610a21575b5050604051607b60f81b8982015267113730b6b2911d1160c11b60218201529889969091506107766029880184612a4b565b61088b60f21b8082526e113232b9b1b934b83a34b7b7111d1160891b6002830152926107a791601101908501612a4b565b828152681137bbb732b9111d1160b91b60028201528151916107d1908390600b8401908d016127ca565b0181600b8201526f1132bc3a32b93730b62fbab936111d1160811b600d820152601d01600383019061080291612a4b565b818152681134b6b0b3b2911d1160b91b6002820152600b01600283019061082891612a4b565b9081526e2261747472696275746573223a205b60881b60028201527f7b2274726169745f74797065223a2022454e53222c202276616c7565223a2200601182015261087b91603090910190600401612a4b565b62089f4b60ea1b8082527f7b2274726169745f74797065223a2022436f6d6d69742048617368222c20227660038301526630b63ab2911d1160c91b6023830152926108c991602a0190612a4b565b828152600381017f7b2274726169745f74797065223a20225265706f7369746f7279222c20227661905265363ab2911d1160d11b602382015260290161090e91612a4b565b9081527f7b2274726169745f74797065223a202256657273696f6e222c202276616c7565600382015262111d1160e91b6023820152815191610958908390602684019088016127ca565b0161227d60f01b602682015260288101605d60f81b905260298101607d60f81b9052039081018352602a0161098d90836128a9565b8060405161099a81612873565b601d8152818101937f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000085526109ce90613464565b6040519485925190818585016109e3926127ca565b820181519182858084019201916109f9926127ca565b010380845201610a0990836128a9565b6040519181839283528201610a1d916127ed565b0390f35b600019019082906f181899199a1a9b1b9c1cb0b131b232b360811b8282061a835304908a8261073f5750610744565b909501948961072c565b949060646002910491019461071f565b6004919692049101948a610714565b6008919692049101948a610707565b6010919692049101948a6106f8565b96019590910490888b6106e5565b604097500491508a806106ca565b3461033f57604036600319011261033f5761044a6004356104866103f7612828565b3461033f57608036600319011261033f57610aee612812565b610af6612828565b606435916001600160401b03831161033f573660238401121561033f57610b2a61044a9336906024816004013591016128e5565b9160443591613011565b61010036600319011261033f57610b49612812565b6024356001600160401b03811161033f57610b6890369060040161291c565b906044356001600160401b03811161033f57610b8890369060040161291c565b906064356001600160401b03811161033f57610ba890369060040161291c565b926084356001600160401b03811161033f57610bc890369060040161291c565b60a4356001600160401b03811161033f57610be790369060040161291c565b9060c4356001600160401b03811161033f57610c0790369060040161291c565b9560e4356001600160401b03811161033f57610c2790369060040161291c565b3360009081527f6ba1fb09f226a75e067af9a8d207c51e8b8b2c4d25e3ce897223f4dfedce79fd602052604090205490969060ff161561150557600754956001600160a01b038116156114c157600087815260026020526040902054610d589190610c9e906001600160a01b031615155b1561310a565b600088815260026020526040902054610cc1906001600160a01b03161515610c98565b6001600160a01b0381166000818152600360209081526040808320805460010190558b83526002909152812080546001600160a01b031916831790558991907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600088815260026020526040902054610d47906001600160a01b03161515612f02565b610445610d52612ace565b89612af4565b6001600754016007558560005260086020526040600020948051906001600160401b038211610329578190610d8d88546129af565b601f811161148f575b50602090601f831160011461142357600092611418575b50508160011b916000199060031b1c19161785555b8051906001600160401b038211610329578190610de260018801546129af565b601f81116113e3575b50602090601f831160011461137157600092611366575b50508160011b916000199060031b1c19161760018501555b8051906001600160401b038211610329578190610e3a60028701546129af565b601f8111611331575b50602090601f83116001146112bf576000926112b4575b50508160011b916000199060031b1c19161760028401555b8051906001600160401b038211610329578190610e9260038601546129af565b601f811161127f575b50602090601f831160011461120d57600092611202575b50508160011b916000199060031b1c19161760038301555b8051906001600160401b03821161032957610ee860048401546129af565b601f81116111cd575b50602090601f831160011461115a5760069392916000918361114f575b50508160011b916000199060031b1c19161760048201555b6000600582015560405194610f3a86612873565b8552602085019384526000805201602052604060002092519283516001600160401b03811161032957610f6d82546129af565b601f811161111d575b506020601f82116001146110b357819060019495966000926110a8575b5050600019600383901b1c191690831b1781555b019151908151926001600160401b03841161032957602093610fc982546129af565b601f8111611078575b508493601f821160011461101557938192939460009261100a575b50508160011b916000199060031b1c19161790555b604051908152f35b015190508580610fed565b601f1982169483600052866000209160005b878110611061575083600195969710611048575b505050811b019055611002565b015160001960f88460031b161c1916905585808061103b565b919288600181928685015181550194019201611027565b6110a2908360005286600020601f840160051c81019188851061031f57601f0160051c01906129e9565b85610fd2565b015190508680610f93565b601f198216958360005260206000209660005b81811061110557509160019596979184879594106110ec575b505050811b018155610fa7565b015160001960f88460031b161c191690558680806110df565b838301518955600190980197602093840193016110c6565b61114990836000526020600020601f840160051c8101916020851061031f57601f0160051c01906129e9565b85610f76565b015190508780610f0e565b906004840160005260206000209160005b601f19851681106111b5575091839160019360069695601f1981161061119c575b505050811b016004820155610f26565b015160001960f88460031b161c1916905587808061118c565b9192602060018192868501518155019401920161116b565b6111fc90600485016000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b86610ef1565b015190508780610eb2565b9250600385016000526020600020906000935b601f1984168510611264576001945083601f1981161061124b575b505050811b016003830155610eca565b015160001960f88460031b161c1916905587808061123b565b81810151835560209485019460019093019290910190611220565b6112ae90600387016000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b88610e9b565b015190508880610e5a565b9250600286016000526020600020906000935b601f1984168510611316576001945083601f198116106112fd575b505050811b016002840155610e72565b015160001960f88460031b161c191690558880806112ed565b818101518355602094850194600190930192909101906112d2565b61136090600288016000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b89610e43565b015190508980610e02565b9250600187016000526020600020906000935b601f19841685106113c8576001945083601f198116106113af575b505050811b016001850155610e1a565b015160001960f88460031b161c1916905589808061139f565b81810151835560209485019460019093019290910190611384565b61141290600189016000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b8a610deb565b015190508a80610dad565b9250876000526020600020906000935b601f1984168510611474576001945083601f1981161061145b575b505050811b018555610dc2565b015160001960f88460031b161c191690558a808061144e565b81810151835560209485019460019093019290910190611433565b6114bb90896000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b8b610d96565b606460405162461bcd60e51b815260206004820152602060248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152fd5b60405162461bcd60e51b815260206004820152603360248201527f466c65656b416363657373436f6e74726f6c3a206d757374206861766520636f6044820152726c6c656374696f6e206f776e657220726f6c6560681b6064820152608490fd5b3461033f57604036600319011261033f5761157f612812565b6024359081151580920361033f576001600160a01b0316903382146115f357336000526005602052604060002082600052602052604060002060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b60405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606490fd5b3461033f57600036600319011261033f57602060405160008152f35b3461033f57600036600319011261033f5760206040517fcac50f86c292f6863f130b9e1133a5f875e8e957fed41745b8fa2498550cbdfc8152f35b61169836612969565b91906116ae6001600160a01b0361040c84612f4e565b6000828152600260205260409020546116d1906001600160a01b03161515612f02565b6116e26116dc612ace565b83612af4565b60005260209260068452604060002033600052845261170860ff60406000205416612b3f565b60008381526002602052604090205461172b906001600160a01b03161515612f02565b60405161173781612873565b828152848101918252836000526008855260066040600020016005604060002001908154906000199283831461199357600180930180915560005287526040600020925180516001600160401b039485821161032957839161179982546129af565b93601f948c868211611964575b50508b908583116001146118fe5760009190836118f3575b50508682851b9260031b1c19161781555b019451978851948511610329576117e686546129af565b8281116118bb575b50809185116001146118525750839291839161181f9899600095611847575b50501b9260031b1c1916179055612b9c565b907ff0cd0ce9d5882a10e2780d2d9c805c18e7536b9b2c6412f7bfb7f163656dd0f6600080a3005b01519350898061180d565b91939290601f198416988660005283600020936000905b8b82106118a45750508461181f999a1061188c575b50505050811b019055612b9c565b01519060f88460031b161c191690558680808061187e565b808885978294968601518155019601930190611869565b6118e49087600052826000208480890160051c820192858a106118ea575b0160051c01906129e9565b896117ee565b925081926118d9565b015190508c806117be565b60008481528d8120929190601f198516908f5b82821061194b5750509084879594939210611934575b505050811b0181556117cf565b01518860f88460031b161c191690558c8080611927565b8484015186558a98909501949384019390810190611911565b61198c918560005287826000209181870160051c83019387106118ea570160051c01906129e9565b8c8c6117a6565b634e487b7160e01b600052601160045260246000fd5b3461033f57600036600319011261033f57604051600060018054906119cd826129af565b80855291818116908115611a615750600114611a08575b610a1d846119f4818603826128a9565b6040519182916020835260208301906127ed565b600081815292507fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b828410611a495750505081016020016119f4826119e4565b80546020858701810191909152909301928101611a31565b60ff191660208087019190915292151560051b850190920192506119f491508390506119e4565b3461033f57604036600319011261033f57611aa1612828565b600435600052600660205260406000209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b3461033f57611ae33661293a565b90611aef610199612ace565b600052602091600683526040600020336000528352611b1560ff60406000205416612b3f565b600082815260026020526040902054611b38906001600160a01b03161515612f02565b816000526008835260046040600020018151936001600160401b03851161032957611b6382546129af565b601f8111611c18575b5080601f8611600114611bc857509380611ba0949560009161057b57508160011b916000199060031b1c1916179055612b9c565b907fc1b5a2141fc60537be795a8771f5e8c80188922acb5399a6e463ea95aa852f31600080a3005b90601f1986168360005282600020926000905b828210611c00575050918691611ba09697600194106105be575050811b019055612b9c565b80600185968294968a01518155019501930190611bdb565b611c42908360005282600020601f880160051c81019184891061031f57601f0160051c01906129e9565b85611b6c565b3461033f57602036600319011261033f576001600160a01b03611c69612812565b168015611c885760005260036020526020604060002054604051908152f35b60405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608490fd5b3461033f57611ced3661293a565b90611cf9610199612ace565b600052602091600683526040600020336000528352611d1f60ff60406000205416612b3f565b600082815260026020526040902054611d42906001600160a01b03161515612f02565b816000526008835260026040600020018151936001600160401b03851161032957611d6d82546129af565b601f8111611e22575b5080601f8611600114611dd257509380611daa949560009161057b57508160011b916000199060031b1c1916179055612b9c565b907fb041870856ebefdd6a3cb1ac665eb6739281b855c912ff622e814dbf91c96bb6600080a3005b90601f1986168360005282600020926000905b828210611e0a575050918691611daa9697600194106105be575050811b019055612b9c565b80600185968294968a01518155019501930190611de5565b611e4c908360005282600020601f880160051c81019184891061031f57601f0160051c01906129e9565b85611d76565b3461033f57602036600319011261033f576020611e70600435612f4e565b6040516001600160a01b039091168152f35b3461033f5760208060031936011261033f5760043590611ea36116dc612ace565b600052600681526040600020336000528152611ec660ff60406000205416612b3f565b8160006001600160a01b03611ee63382611edf86612f4e565b1614612a00565b611eef83612f4e565b50611ef983612f4e565b908383526004855260408320916bffffffffffffffffffffffff60a01b92838154169055169081835260038552604083208319815401905583835260028552604083209081541690557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8280a460088152611f7b6003604060002001546129af565b611f8157005b600891600052526000600560408220611f9981612bbc565b611fa560018201612bbc565b611fb160028201612bbc565b611fbd60038201612bbc565b611fc960048201612bbc565b0155005b3461033f5761044a611fde3661283e565b9060405192611fec8461288e565b60008452613011565b3461033f5761200336612969565b91906120106116dc612ace565b60005260209260068452604060002033600052845261203660ff60406000205416612b3f565b600083815260026020526040902054612059906001600160a01b03161515612f02565b60405161206581612873565b828152848101918252836000526008855260066040600020016005604060002001908154906000199283831461199357600180930180915560005287526040600020925180516001600160401b03948582116103295783916120c782546129af565b93601f948c86821161223b575b50508b908583116001146121d55760009190836121ca575b50508682851b9260031b1c19161781555b0194519788519485116103295761211486546129af565b82811161219c575b508091851160011461214c5750839291839161181f98996000956118475750501b9260031b1c1916179055612b9c565b91939290601f198416988660005283600020936000905b8b82106121855750508461181f999a1061188c5750505050811b019055612b9c565b808885978294968601518155019601930190612163565b6121c49087600052826000208480890160051c820192858a106118ea570160051c01906129e9565b8961211c565b015190508c806120ec565b60008481528d8120929190601f198516908f5b828210612222575050908487959493921061220b575b505050811b0181556120fd565b01518860f88460031b161c191690558c80806121fe565b8484015186558a989095019493840193908101906121e8565b612263918560005287826000209181870160051c83019387106118ea570160051c01906129e9565b8c8c6120d4565b3461033f57604036600319011261033f57612283612828565b336001600160a01b0382160361229f5761044a90600435612e8c565b60405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608490fd5b3461033f57604036600319011261033f5761044a60043561231b612828565b90806000526006602052610445600160406000200154612c08565b3461033f57602036600319011261033f5760043560005260066020526020600160406000200154604051908152f35b3461033f576123733661293a565b9061237f610199612ace565b6000526020916006835260406000203360005283526123a560ff60406000205416612b3f565b6000828152600260205260409020546123c8906001600160a01b03161515612f02565b8160005260088352600180604060002001908251906001600160401b038211610329576123f583546129af565b601f81116124b1575b5085601f831160011461246457508180916124319697600093612459575b501b916000199060031b1c1916179055612b9c565b907f9b3089e7af95b8d43fdceb16eb9cbf620a0cb486e1a291b15121a44e0f69127a600080a3005b86015192508861241c565b601f929192198216968460005281600020916000905b89821061249a575050826124319798106105be575050811b019055612b9c565b808684958294958b0151815501940192019061247a565b6124db908460005287600020601f850160051c81019189861061031f57601f0160051c01906129e9565b866123fe565b3461033f5761044a6124f23661283e565b91612505612500843361309c565b612faf565b6131b0565b3461033f57604036600319011261033f57612523612812565b602435906001600160a01b03808061253a85612f4e565b1692169180831461263557803314908115612610575b50156125a557600083815260046020526040902080546001600160a01b0319168317905561257d83612f4e565b167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4005b60405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608490fd5b9050600052600560205260406000203360005260205260ff6040600020541684612550565b60405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608490fd5b3461033f57602036600319011261033f576020611e70600435612f71565b3461033f57600036600319011261033f57604051600080546126c3816129af565b80845290600190818116908115611a6157506001146126ec57610a1d846119f4818603826128a9565b600080805292507f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b82841061272d5750505081016020016119f4826119e4565b80546020858701810191909152909301928101612715565b3461033f57602036600319011261033f576004359063ffffffff60e01b821680920361033f57602091637965db0b60e01b8114908115612787575b5015158152f35b6380ac58cd60e01b8114915081156127b9575b81156127a8575b5083612780565b6301ffc9a760e01b149050836127a1565b635b5e139f60e01b8114915061279a565b60005b8381106127dd5750506000910152565b81810151838201526020016127cd565b90602091612806815180928185528580860191016127ca565b601f01601f1916010190565b600435906001600160a01b038216820361033f57565b602435906001600160a01b038216820361033f57565b606090600319011261033f576001600160a01b0390600435828116810361033f5791602435908116810361033f579060443590565b604081019081106001600160401b0382111761032957604052565b602081019081106001600160401b0382111761032957604052565b90601f801991011681019081106001600160401b0382111761032957604052565b6001600160401b03811161032957601f01601f191660200190565b9291926128f1826128ca565b916128ff60405193846128a9565b82948184528183011161033f578281602093846000960137010152565b9080601f8301121561033f57816020612937933591016128e5565b90565b90604060031983011261033f5760043591602435906001600160401b03821161033f576129379160040161291c565b606060031982011261033f57600435916001600160401b0360243581811161033f57836129989160040161291c565b9260443591821161033f576129379160040161291c565b90600182811c921680156129df575b60208310146129c957565b634e487b7160e01b600052602260045260246000fd5b91607f16916129be565b8181106129f4575050565b600081556001016129e9565b15612a0757565b606460405162461bcd60e51b815260206004820152602060248201527f466c65656b4552433732313a206d75737420626520746f6b656e206f776e65726044820152fd5b600092918154612a5a816129af565b92600191808316908115612ab35750600114612a77575b50505050565b90919293945060005260209081600020906000915b858310612aa25750505050019038808080612a71565b805485840152918301918101612a8c565b60ff1916845250505081151590910201915038808080612a71565b60405190612adb82612873565b600a82526921a7a72a2927a62622a960b11b6020830152565b612b3960466040518093602082019565544f4b454e5f60d01b8752612b238151809260206026870191016127ca565b82019060268201520360268101845201826128a9565b51902090565b15612b4657565b60405162461bcd60e51b815260206004820152602860248201527f466c65656b416363657373436f6e74726f6c3a206d757374206861766520746f6044820152676b656e20726f6c6560c01b6064820152608490fd5b612bb4906020604051928284809451938492016127ca565b810103902090565b612bc681546129af565b9081612bd0575050565b81601f60009311600114612be2575055565b81835260208320612bfe91601f0160051c8101906001016129e9565b8160208120915555565b60009080825260209060068252604092838120338252835260ff848220541615612c325750505050565b612c3b336135e1565b91845190608082018281106001600160401b03821117612dfe57865260428252848201926060368537825115612dea5760308453825190600191821015612dea5790607860218501536041915b818311612d7c57505050612d3a576048612d36938693612d1a93612d0b98519889937f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008a860152612ce2815180928c6037890191016127ca565b8401917001034b99036b4b9b9b4b733903937b6329607d1b6037840152518093868401906127ca565b010360288101875201856128a9565b5192839262461bcd60e51b8452600484015260248301906127ed565b0390fd5b60648486519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b909192600f81166010811015612dd6576f181899199a1a9b1b9c1cb0b131b232b360811b901a612dac85876135ba565b5360041c928015612dc257600019019190612c88565b634e487b7160e01b82526011600452602482fd5b634e487b7160e01b83526032600452602483fd5b634e487b7160e01b81526032600452602490fd5b634e487b7160e01b84526041600452602484fd5b906000918083526006602052604083209160018060a01b03169182845260205260ff60408420541615612e4457505050565b80835260066020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4565b906000918083526006602052604083209160018060a01b03169182845260205260ff604084205416612ebd57505050565b8083526006602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4565b15612f0957565b60405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606490fd5b6000908152600260205260409020546001600160a01b0316612937811515612f02565b600081815260026020526040902054612f94906001600160a01b03161515612f02565b6000908152600460205260409020546001600160a01b031690565b15612fb657565b60405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b6064820152608490fd5b90613035939291613025612500843361309c565b6130308383836131b0565b6132c6565b1561303c57565b60405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608490fd5b906001600160a01b0380806130b084612f4e565b169316918383149384156130e3575b5083156130cd575b50505090565b6130d991929350612f71565b16143880806130c7565b909350600052600560205260406000208260005260205260ff6040600020541692386130bf565b1561311157565b60405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606490fd5b1561315d57565b60405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608490fd5b906131d8916131be84612f4e565b6001600160a01b0393918416928492909183168414613156565b1691821561327557816131f5916131ee86612f4e565b1614613156565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60008481526004602052604081206bffffffffffffffffffffffff60a01b9081815416905583825260036020526040822060001981540190558482526040822060018154019055858252600260205284604083209182541617905580a4565b60405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b9293600093909291803b15613427579484916133209660405180948193630a85bd0160e11b9788845233600485015260018060a01b0380921660248501526044840152608060648401528260209b8c9760848301906127ed565b0393165af18491816133e3575b506133d2575050503d6000146133ca573d613347816128ca565b9061335560405192836128a9565b81528091833d92013e5b805191826133c75760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608490fd5b01fd5b50606061335f565b6001600160e01b0319161492509050565b9091508581813d8311613420575b6133fb81836128a9565b8101031261341c57516001600160e01b03198116810361341c57903861332d565b8480fd5b503d6133f1565b505050915050600190565b9061343c826128ca565b61344960405191826128a9565b828152809261345a601f19916128ca565b0190602036910137565b8051156135a657604051606081018181106001600160401b0382111761032957604052604081527f4142434445464748494a4b4c4d4e4f505152535455565758595a61626364656660208201527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f60408201528151600292838201809211611993576003918290046001600160fe1b038116810361199357613509908594951b613432565b936020850193829183518401925b838110613555575050505051068060011461354257600214613537575090565b603d90600019015390565b50603d9081600019820153600119015390565b85600491979293949701918251600190603f9082828260121c16880101518453828282600c1c16880101518385015382828260061c1688010151888501531685010151878201530195929190613517565b506040516135b38161288e565b6000815290565b9081518110156135cb570160200190565b634e487b7160e01b600052603260045260246000fd5b60405190606082018281106001600160401b0382111761032957604052602a82526020820160403682378251156135cb576030905381516001908110156135cb57607860218401536029905b80821161368157505061363d5790565b606460405162461bcd60e51b815260206004820152602060248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b9091600f811660108110156136da576f181899199a1a9b1b9c1cb0b131b232b360811b901a6136b084866135ba565b5360041c9180156136c557600019019061362d565b60246000634e487b7160e01b81526011600452fd5b60246000634e487b7160e01b81526032600452fdfea2646970667358221220f990373a6ee4218bd529d7377a3ea71fd58a85d8659b6121af366d013cd8bb9264736f6c63430008110033", - "sourceMap": "256:7234:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1146:33:0;256:7234:1;;:::i;:::-;1146:33:0;;:::i;:::-;256:7234:1;;;;3004:6:16;256:7234:1;;;;;1181:10:0;256:7234:1;;;;1116:144:0;256:7234:1;;;;;;1116:144:0;:::i;:::-;-1:-1:-1;256:7234:1;;;6930:7:18;256:7234:1;;;;;;13539:53:18;;-1:-1:-1;;;;;256:7234:1;7344:31:18;;13539:53;:::i;:::-;256:7234:1;;;5518:5;256:7234;;5518:27;256:7234;;;5518:27;256:7234;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5580:47;256:7234;;;;;;;;;;;;;;;5518:27;256:7234;;;;;;;5580:47;:::i;:::-;;;256:7234;5580:47;;256:7234;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5580:47;256:7234;;;;;;;;;;;;;;;5580:47;:::i;256:7234::-;;;;;;;;5518:27;256:7234;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;4508:18:18;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;;345:39:0;256:7234:1;;;;;;;;;-1:-1:-1;;256:7234:1;;;;4525:10;256:7234;;4490:33;256:7234;;:::i;:::-;;1813:109;-1:-1:-1;;;;;1848:16:1;256:7234;1848:16;:::i;:::-;256:7234;1834:10;:30;1813:109;:::i;:::-;-1:-1:-1;256:7234:1;;;6930:7:18;256:7234:1;;;;;;13539:53:18;;-1:-1:-1;;;;;256:7234:1;7344:31:18;;13539:53;:::i;:::-;256:7234:1;;:::i;:::-;4490:33;;:::i;:::-;4525:10;:::i;:::-;256:7234;;;;;;;-1:-1:-1;;256:7234:1;;;;5360:7:16;256:7234:1;;;;:::i;:::-;;;;;4478:6:16;256:7234:1;;2516:4:16;256:7234:1;;;;4478:22:16;256:7234:1;2516:4:16;:::i;:::-;5360:7;:::i;256:7234:1:-;;;;;;;:::i;:::-;;1146:33:0;256:7234:1;;:::i;1146:33:0:-;256:7234:1;;;;3004:6:16;256:7234:1;;;;;1181:10:0;256:7234:1;;;;1116:144:0;256:7234:1;;;;;;1116:144:0;:::i;:::-;-1:-1:-1;256:7234:1;;;6930:7:18;256:7234:1;;;;;;13539:53:18;;-1:-1:-1;;;;;256:7234:1;7344:31:18;;13539:53;:::i;:::-;256:7234:1;;;6081:5;256:7234;;;;;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6128:33;256:7234;;;;;;;;;;;;;;;;;;;;;;6128:33;:::i;:::-;;;256:7234;6128:33;;256:7234;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6128:33;256:7234;;;;;;;;;;;;;;6128:33;:::i;256:7234::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;256:7234:1;;;6930:7:18;256:7234:1;;;;;;;;13547:16:18;13539:53;;-1:-1:-1;;;;;256:7234:1;7344:31:18;;13539:53;:::i;:::-;3333:16:1;;;:::i;:::-;256:7234;;;;3377:5;256:7234;;;;;;;3591:39;;-1:-1:-1;;;;;256:7234:1;3591:39;:::i;:::-;3923:17;;;256:7234;;;;;3912:10;;;256:7234;;;;;;;;;3923:17;4023:44;;;;3923:17;256:7234;10026:6:29;256:7234:1;10017:15:29;;;;10013:99;;256:7234:1;10138:6:29;;;;10129:15;;;;10125:99;;256:7234:1;10250:6:29;;;10241:15;;;;10237:99;;256:7234:1;10362:5:29;;10353:14;;;;10349:96;;256:7234:1;10471:5:29;;10462:14;;;;10458:96;;256:7234:1;10571:14:29;10580:5;10571:14;;;10567:96;;256:7234:1;10689:5:29;10680:14;;;;;;10676:64;;256:7234:1;699:76:26;595:18;256:7234:1;;;595:18:26;:::i;:::-;627:11;699:76;;;788:280;256:7234:1;;;788:280:26;-1:-1:-1;;256:7234:1;;-1:-1:-1;;;3425:797:1;;;256:7234;-1:-1:-1;;;699:76:26;256:7234:1;;;;;;3425:797;;-1:-1:-1;256:7234:1;;;;;;:::i;:::-;-1:-1:-1;;;256:7234:1;;;-1:-1:-1;;;3727:9:1;256:7234;;;;;;;;;3539:15;;256:7234;:::i;:::-;;;;-1:-1:-1;;;3727:9:1;256:7234;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;3674:16;;256:7234;;;;:::i;:::-;;;;;;;3727:9;256:7234;;;;;3727:9;;;256:7234;;;;:::i;:::-;;;;-1:-1:-1;;;3727:9:1;256:7234;;;;;;;;;;;;;;;;3834:7;256:7234;:::i;:::-;-1:-1:-1;;;256:7234:1;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;-1:-1:-1;;;256:7234:1;;3425:797;;;;;;256:7234;3425:797;;;;;:::i;:::-;256:7234;;;;;;:::i;:::-;;;;;;;;;;;4276:24;;;:::i;:::-;256:7234;;;;;;4247:54;;;;;256:7234;;;:::i;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;4247:54;;;;;;;;;:::i;:::-;256:7234;;;;;;;;;;;;;:::i;:::-;;;;788:280:26;-1:-1:-1;;256:7234:1;;;;-1:-1:-1;;;893:93:26;;;;256:7234:1;893:93:26;345:66:23;1003:11:26;;;788:280;1032:21;1048:5;;;10676:64:29;256:7234:1;;;10676:64:29;;;;10567:96;345:66:23;;10580:5:29;3727:9:1;345:66:23;;256:7234:1;;10567:96:29;;;10458;256:7234:1;345:66:23;;;;256:7234:1;;10458:96:29;;;;10349;3377:5:1;345:66:23;;;;256:7234:1;;10349:96:29;;;;10237:99;10319:2;345:66:23;;;;256:7234:1;;10237:99:29;;;;10125;256:7234:1;;;345:66:23;;;;10125:99:29;;;;10013;256:7234:1;;-1:-1:-1;345:66:23;;-1:-1:-1;10013:99:29;;;;256:7234:1;;;;;;-1:-1:-1;;256:7234:1;;;;4973:10;256:7234;;4938:33;256:7234;;:::i;:::-;;;;;;-1:-1:-1;;256:7234:1;;;;;;:::i;:::-;;;:::i;:::-;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;-1:-1:-1;;256:7234:1;;;;;;:::i;:::-;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;:::i;:::-;644:10:0;256:7234:1;;;;;;;;;;;;;;;;;;;2298:9;256:7234;;-1:-1:-1;;;;;256:7234:1;;9170:16:18;256:7234:1;;-1:-1:-1;256:7234:1;;;6930:7:18;256:7234:1;;;;;;4525:10;;9242:16:18;9233:58;;-1:-1:-1;;;;;256:7234:1;7344:31:18;;9242:16;9241:17;9233:58;:::i;:::-;-1:-1:-1;256:7234:1;;;6930:7:18;256:7234:1;;;;;;9437:58:18;;-1:-1:-1;;;;;256:7234:1;7344:31:18;;9446:16;7256:126;9437:58;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;9876:7:18;256:7234:1;;;;;;;-1:-1:-1;;;;;;256:7234:1;;;;;;;;9913:33:18;256:7234:1;;9913:33:18;-1:-1:-1;256:7234:1;;;6930:7:18;256:7234:1;;;;;;13539:53:18;;-1:-1:-1;;;;;256:7234:1;7344:31:18;;13539:53;:::i;:::-;4490:33:1;256:7234;;:::i;:::-;4490:33;;:::i;4525:10::-;256:7234;2298:9;256:7234;;2298:9;256:7234;;;;2447:5;256:7234;;;;;;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;256:7234:1;;;;2496:15;;256:7234;;2496:15;;256:7234;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2496:15;;256:7234;;;;;-1:-1:-1;;;;;256:7234:1;;;;2535:9;;256:7234;9876:7:18;2535:9:1;;256:7234;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9876:7:18;2535:9:1;;256:7234;;;;;-1:-1:-1;;;;;256:7234:1;;;;2562:16;;256:7234;;2562:16;;256:7234;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2562:16;;256:7234;;;;;-1:-1:-1;;;;;256:7234:1;;;;;;2603:7;;256:7234;;:::i;:::-;;;;;;;;;;;;;;;;;3004:6:16;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;2603:7;;256:7234;;;2791:17;;;256:7234;;;;;;;:::i;:::-;;;;2838:34;;256:7234;;;;;;2822:10;256:7234;;;;;;;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;256:7234:1;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2791:17;256:7234;;;;;;;;;;;2791:17;256:7234;;;;:::i;:::-;;;;;;;;-1:-1:-1;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2791:17;256:7234;;;;;;;;;;;2791:17;256:7234;;;;:::i;:::-;;;;;;;;-1:-1:-1;256:7234:1;;;;;2603:7;256:7234;2603:7;;256:7234;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;;;;;;;3004:6:16;256:7234:1;;;;;;;;;;;;;;;;;2603:7;;256:7234;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2603:7;256:7234;2603:7;;256:7234;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;256:7234:1;;;;;2562:16;;256:7234;2562:16;;256:7234;;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;2562:16;;256:7234;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2562:16;256:7234;2562:16;;256:7234;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;256:7234:1;;;;;2535:9;;9876:7:18;2535:9:1;;256:7234;;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;9876:7:18;2535:9:1;;256:7234;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2535:9;9876:7:18;2535:9:1;;256:7234;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;256:7234:1;;;;;2496:15;;256:7234;2496:15;;256:7234;;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;2496:15;;256:7234;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2496:15;256:7234;2496:15;;256:7234;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;256:7234:1;;;;;;;;;;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;256:7234:1;;719:10:24;13216:17:18;;256:7234:1;;719:10:24;256:7234:1;;13273:18:18;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13334:41:18;256:7234:1;719:10:24;13334:41:18;;256:7234:1;;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;;;;;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;;242:34:0;256:7234:1;;;;;;;:::i;:::-;;;1813:109;-1:-1:-1;;;;;1848:16:1;256:7234;1848:16;:::i;1813:109::-;-1:-1:-1;256:7234:1;;;6930:7:18;256:7234:1;;;;;;13539:53:18;;-1:-1:-1;;;;;256:7234:1;7344:31:18;;13539:53;:::i;:::-;1146:33:0;256:7234:1;;:::i;:::-;1146:33:0;;:::i;:::-;256:7234:1;;;;3004:6:16;256:7234:1;;;;;1834:10;256:7234;;;;1116:144:0;256:7234:1;;;;;;1116:144:0;:::i;:::-;-1:-1:-1;256:7234:1;;;6930:7:18;256:7234:1;;;;;;13539:53:18;;-1:-1:-1;;;;;256:7234:1;7344:31:18;;13539:53;:::i;:::-;256:7234:1;;;;;:::i;:::-;;;;7037:36;;;256:7234;;;;;;6981:5;256:7234;;3004:6:16;256:7234:1;;;6981:21;7005:28;256:7234;;;7005:28;256:7234;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;7088:31;256:7234;;;;;;;;;;;;;;;;;;;7088:31;:::i;:::-;;;256:7234;7088:31;;256:7234;;;;;-1:-1:-1;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7088:31;256:7234;;;;;;;;;;;;;;;7088:31;:::i;256:7234::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7005:28;256:7234;;;;;;;;;;;7005:28;256:7234;;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;256:7234:1;;;;;;;;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7005:28;256:7234;;;;;;;;;7005:28;256:7234;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;;2721:7:18;256:7234:1;;;;;;:::i;:::-;;;;;;;;;2721:7:18;;;;256:7234:1;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;256:7234:1;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;;;;;;;;;;;;;;;-1:-1:-1;256:7234:1;;-1:-1:-1;256:7234:1;;-1:-1:-1;256:7234:1;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;:::i;:::-;;;;;3004:6:16;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1146:33:0;256:7234:1;;:::i;1146:33:0:-;256:7234:1;;;;3004:6:16;256:7234:1;;;;;1181:10:0;256:7234:1;;;;1116:144:0;256:7234:1;;;;;;1116:144:0;:::i;:::-;-1:-1:-1;256:7234:1;;;6930:7:18;256:7234:1;;;;;;13539:53:18;;-1:-1:-1;;;;;256:7234:1;7344:31:18;;13539:53;:::i;:::-;256:7234:1;;;5815:5;256:7234;;;;;;5815:18;256:7234;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5860:31;256:7234;;;;;;;;;;;;;;;;;;;;;;5860:31;:::i;:::-;;;256:7234;5860:31;;256:7234;;;;;;;;;;;;;;;;;;;;;;;;;;;5860:31;256:7234;;;;;;;;;;;;;;5860:31;:::i;256:7234::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;256:7234:1;;;;-1:-1:-1;;;;;256:7234:1;;:::i;:::-;;2028:19:18;;256:7234:1;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;:::i;:::-;;1146:33:0;256:7234:1;;:::i;1146:33:0:-;256:7234:1;;;;3004:6:16;256:7234:1;;;;;1181:10:0;256:7234:1;;;;1116:144:0;256:7234:1;;;;;;1116:144:0;:::i;:::-;-1:-1:-1;256:7234:1;;;6930:7:18;256:7234:1;;;;;;13539:53:18;;-1:-1:-1;;;;;256:7234:1;7344:31:18;;13539:53;:::i;:::-;256:7234:1;;;6665:5;256:7234;;6665:20;256:7234;;;6665:20;256:7234;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6714:35;256:7234;;;;;;;;;;;;;;;;;;;;;;6714:35;:::i;:::-;;;256:7234;6714:35;;256:7234;;;;;;;;;;;;;;;;;;;;;;;;;;;6714:35;256:7234;;;;;;;;;;;;;;6714:35;:::i;256:7234::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;1146:33:0;256:7234:1;;:::i;1146:33:0:-;256:7234:1;;3004:6:16;256:7234:1;;;;;1181:10:0;256:7234:1;;;;1116:144:0;256:7234:1;;;;;;1116:144:0;:::i;:::-;256:7234:1;;-1:-1:-1;;;;;7234:109:1;1181:10:0;256:7234:1;7255:16;256:7234;7255:16;:::i;:::-;256:7234;7255:30;7234:109;:::i;:::-;10412:23:18;;;:::i;:::-;;10607;;;:::i;:::-;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10963:7:18;256:7234:1;;;;;;;;;;;10995:36:18;;;;7394:5:1;256:7234;;;;;;;7394:27;256:7234;;:::i;:::-;7384:98;;256:7234;7384:98;7394:5;256:7234;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;10963:7:18;256:7234:1;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;5137:39:18;256:7234:1;;;:::i;:::-;;;;;;;;:::i;:::-;;;;5137:39:18;:::i;256:7234:1:-;;;;;;;:::i;:::-;;;1146:33:0;256:7234:1;;:::i;1146:33:0:-;256:7234:1;;;;3004:6:16;256:7234:1;;;;;1181:10:0;256:7234:1;;;;1116:144:0;256:7234:1;;;;;;1116:144:0;:::i;:::-;-1:-1:-1;256:7234:1;;;6930:7:18;256:7234:1;;;;;;13539:53:18;;-1:-1:-1;;;;;256:7234:1;7344:31:18;;13539:53;:::i;:::-;256:7234:1;;;;;:::i;:::-;;;;7037:36;;;256:7234;;;;;;6981:5;256:7234;;3004:6:16;256:7234:1;;;6981:21;7005:28;256:7234;;;7005:28;256:7234;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;7088:31;256:7234;;;;;;;;;;;;;;;;;;7088:31;:::i;256:7234::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;7088:31;256:7234;;;;;;;;;;;;;;7088:31;:::i;256:7234::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7005:28;256:7234;;;;;;;;;;7005:28;256:7234;;;;:::i;:::-;;;;;;;;-1:-1:-1;256:7234:1;;;;;;;;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7005:28;256:7234;;;;;;;;;7005:28;256:7234;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;:::i;:::-;719:10:24;-1:-1:-1;;;;;256:7234:1;;6007:23:16;256:7234:1;;6111:7:16;256:7234:1;;;6111:7:16;:::i;256:7234:1:-;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;-1:-1:-1;;256:7234:1;;;;4933:7:16;256:7234:1;;;;:::i;:::-;;;;;4478:6:16;256:7234:1;;2516:4:16;256:7234:1;;;;4478:22:16;256:7234:1;2516:4:16;:::i;256:7234:1:-;;;;;;-1:-1:-1;;256:7234:1;;;;;;;;4478:6:16;256:7234:1;;;;;;;4478:22:16;256:7234:1;;;;;;;;;;;;;;:::i;:::-;;1146:33:0;256:7234:1;;:::i;1146:33:0:-;256:7234:1;;;;3004:6:16;256:7234:1;;;;;1181:10:0;256:7234:1;;;;1116:144:0;256:7234:1;;;;;;1116:144:0;:::i;:::-;-1:-1:-1;256:7234:1;;;6930:7:18;256:7234:1;;;;;;13539:53:18;;-1:-1:-1;;;;;256:7234:1;7344:31:18;;13539:53;:::i;:::-;256:7234:1;;;6365:5;256:7234;;6365:26;256:7234;;;;6365:26;256:7234;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;6426:47;256:7234;;;;;;;;;;;;;;;;;;;;;6426:47;:::i;:::-;;;256:7234;6426:47;;256:7234;;;;;;-1:-1:-1;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6426:47;256:7234;;;;;;;;;;;;6426:47;:::i;256:7234::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;4923:7:18;256:7234:1;;;:::i;:::-;719:10:24;4793:99:18;4801:41;719:10:24;;4801:41:18;:::i;:::-;4793:99;:::i;:::-;4923:7;:::i;256:7234:1:-;;;;;;-1:-1:-1;;256:7234:1;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;256:7234:1;;3564:23:18;256:7234:1;3564:23:18;:::i;:::-;256:7234:1;;;3605:11:18;;;;256:7234:1;;719:10:24;;3686:21:18;:62;;;;;256:7234:1;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;256:7234:1;;;;;12895:23:18;256:7234:1;12895:23:18;:::i;:::-;256:7234:1;12886:46:18;256:7234:1;12886:46:18;;256:7234:1;;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;3686:62:18;256:7234:1;;;;4508:18:18;256:7234:1;;;;;719:10:24;256:7234:1;;;;;;;;;;3686:62:18;;;256:7234:1;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;256:7234:1;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;256:7234:1;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;256:7234:1;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2714:47:16;;;:87;;;;256:7234:1;;;;;;;2714:87:16;-1:-1:-1;;;1707:40:18;;;-1:-1:-1;1707:104:18;;;;2714:87:16;1707:156:18;;;;2714:87:16;;;;;1707:156:18;-1:-1:-1;;;937:40:27;;-1:-1:-1;1707:156:18;;;:104;-1:-1:-1;;;1763:48:18;;;-1:-1:-1;1707:104:18;;256:7234:1;;;;;;;;-1:-1:-1;;256:7234:1;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;256:7234:1;;;;:::o;:::-;;;;-1:-1:-1;;;;;256:7234:1;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;256:7234:1;;;;;;:::o;:::-;;;;;;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;:::o;:::-;-1:-1:-1;;;;;256:7234:1;;;;;;-1:-1:-1;;256:7234:1;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;256:7234:1;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;-1:-1:-1;;256:7234:1;;;;;;;;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;:::i;:::-;;-1:-1:-1;;256:7234:1;;;;;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;256:7234:1;;;;-1:-1:-1;256:7234:1;;-1:-1:-1;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;256:7234:1;;;-1:-1:-1;;;256:7234:1;;;;;;;;-1:-1:-1;256:7234:1;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;256:7234:1;;;;:::o;1288:192:0:-;1430:41;;256:7234:1;;1430:41:0;;;;;256:7234:1;-1:-1:-1;;;256:7234:1;;;;;;;1430:41:0;256:7234:1;;;;;;:::i;:::-;;;;;;;;1430:41:0;256:7234:1;1430:41:0;;;;;;;:::i;:::-;256:7234:1;1420:52:0;;1288:192;:::o;256:7234:1:-;;;;:::o;:::-;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::o;:::-;;;;;:::i;:::-;;;;;;;:::o;:::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::o;3334:103:16:-;-1:-1:-1;256:7234:1;;;;;;3004:6:16;256:7234:1;;;;;;;719:10:24;256:7234:1;;;;;;;;;;3805:23:16;3801:390;;3334:103;;;;:::o;3801:390::-;2192:52:26;719:10:24;2192:52:26;:::i;:::-;4088:38:16;256:7234:1;;;;;;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;;;345:66:23;256:7234:1;345:66:23;;;256:7234:1;;;;;1670:15:26;;;256:7234:1;;;;;;;;;;;1695:15:26;256:7234:1;;;1695:15:26;256:7234:1;1720:128:26;1753:5;;;;;;1865:10;;;246:18;;256:7234:1;;;;;3896:252:16;256:7234:1;;;;3896:252:16;;;256:7234:1;3896:252:16;;;256:7234:1;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;:::i;:::-;;3896:252:16;;;;;;;;;:::i;:::-;256:7234:1;;;;;;;3844:336:16;;1836:1:26;3844:336:16;;256:7234:1;;;;;;:::i;:::-;3844:336:16;;;246:18:26;;256:7234:1;;;;;;;246:18:26;;;1836:1;246:18;;;;;;256:7234:1;246:18:26;256:7234:1;;;246:18:26;;1760:3;1800:11;;;1808:3;1800:11;;1791:21;;;;;;-1:-1:-1;;;1791:21:26;;1779:33;;;;:::i;:::-;;1836:1;256:7234:1;1760:3:26;256:7234:1;;;;-1:-1:-1;;256:7234:1;;1725:26:26;;;256:7234:1;-1:-1:-1;;;256:7234:1;;;1836:1:26;256:7234:1;;;;1791:21:26;-1:-1:-1;;;256:7234:1;;;1836:1:26;256:7234:1;;;;;-1:-1:-1;;;256:7234:1;;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;;;7461:233:16;;-1:-1:-1;256:7234:1;;;;3004:6:16;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;7543:23:16;7539:149;;7461:233;;;:::o;7539:149::-;256:7234:1;;;3004:6:16;256:7234:1;;;;;;;;;;;;;;;;;;;;;;7637:40:16;719:10:24;7637:40:16;;;7461:233::o;7865:234::-;;-1:-1:-1;256:7234:1;;;;3004:6:16;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;7944:149:16;;7865:234;;;:::o;7944:149::-;256:7234:1;;;3004:6:16;256:7234:1;;;;;;;;;;;;;;;;;;;;8042:40:16;719:10:24;8042:40:16;;;7865:234::o;256:7234:1:-;;;;:::o;:::-;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;;;;;2190:219:18;-1:-1:-1;256:7234:1;;;6930:7:18;256:7234:1;;;;;;-1:-1:-1;;;;;256:7234:1;2324:56:18;2332:19;;;2324:56;:::i;3935:167::-;-1:-1:-1;256:7234:1;;;6930:7:18;256:7234:1;;;;;;13539:53:18;;-1:-1:-1;;;;;256:7234:1;7344:31:18;;13539:53;:::i;:::-;-1:-1:-1;256:7234:1;;;4071:15:18;256:7234:1;;;;;;-1:-1:-1;;;;;256:7234:1;;3935:167:18:o;256:7234:1:-;;;;:::o;:::-;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;;5249:314:18;;6620:47;5249:314;;;5409:99;5417:41;719:10:24;;5417:41:18;:::i;5409:99::-;6594:7;;;;;:::i;:::-;6620:47;:::i;:::-;256:7234:1;;;5249:314:18:o;256:7234:1:-;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;3844:336:16;7540:261:18;;-1:-1:-1;;;;;256:7234:1;;7665:23:18;7540:261;7665:23;:::i;:::-;256:7234:1;;;7706:16:18;;;;:52;;;;;7540:261;7706:87;;;;;7540:261;7698:96;;;7540:261;:::o;7706:87::-;7762:20;;;;;;:::i;:::-;256:7234:1;7762:31:18;7706:87;;;;;:52;256:7234:1;;;-1:-1:-1;256:7234:1;4508:18:18;256:7234:1;;;-1:-1:-1;256:7234:1;;-1:-1:-1;256:7234:1;;;;;-1:-1:-1;256:7234:1;;;7706:52:18;;;;256:7234:1;;;;:::o;:::-;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;;11423:1233:18;;11542:81;11423:1233;11550:23;;;:::i;:::-;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;11550:31:18;;11542:81;:::i;:::-;256:7234:1;11641:16:18;;;256:7234:1;;11851:23:18;11843:81;11851:23;;;;:::i;:::-;256:7234:1;11851:31:18;11843:81;:::i;:::-;12570:27;11655:1;256:7234:1;;;11993:15:18;256:7234:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12533:7:18;256:7234:1;;;;;;;;;;;;;12570:27:18;;11423:1233::o;256:7234:1:-;;;-1:-1:-1;;;256:7234:1;;;;;;;;;;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;;14151:831:18;;;256:7234:1;;14151:831:18;;;1465:19:22;;:23;:19;;256:7234:1;;;;;;;;;;;;;;14355:71:18;;;;719:10:24;14355:71:18;;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;14355:71:18;;256:7234:1;;;;;;;;:::i;:::-;14355:71:18;256:7234:1;;14355:71:18;;;;;;;14316:660;-1:-1:-1;14351:573:18;;14543:381;;;256:7234:1;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;14593:18:18;;;256:7234:1;;-1:-1:-1;;;14635:60:18;;256:7234:1;14355:71:18;14635:60;;256:7234:1;;;;;;;;;;;-1:-1:-1;;;256:7234:1;;;;;;3844:336:16;14589:321:18;14797:95;;256:7234:1;;;;;14351:573:18;-1:-1:-1;;;;;;256:7234:1;14476:51:18;;-1:-1:-1;256:7234:1;-1:-1:-1;14469:58:18:o;14355:71::-;;;;;;;;;;;;;;;;;:::i;:::-;;;256:7234:1;;;;;-1:-1:-1;;;;;;256:7234:1;;;;;;14355:71:18;;;;256:7234:1;;;;14355:71:18;;;;;14316:660;14954:11;;;;;;14961:4;14954:11;:::o;345:66:23:-;;256:7234:1;;;:::i;:::-;;;;;;;:::i;:::-;;;;345:66:23;256:7234:1;345:66:23;256:7234:1;;345:66:23;;:::i;:::-;;;;;;;;:::o;505:3026::-;256:7234:1;;795:16:23;791:31;;256:7234:1;;;;;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;;;;;;;;;;;;1357:1:23;256:7234:1;;;;;;;;;1362:1:23;;345:66;;;-1:-1:-1;;;;;256:7234:1;;;;;;1326:39:23;256:7234:1;;;;;1326:39:23;:::i;:::-;1419:2082;256:7234:1;1419:2082:23;;;;;;;;;;;;;;;;;;;;;;1362:1;1419:2082;1362:1;;;1419:2082;;;;3511:13;505:3026;:::o;1419:2082::-;;;-1:-1:-1;;1419:2082:23;;505:3026;:::o;1419:2082::-;-1:-1:-1;1419:2082:23;;;-1:-1:-1;;1419:2082:23;;;-1:-1:-1;;1419:2082:23;;505:3026;:::o;1419:2082::-;;1337:1;1419:2082;;;;;;;;;;256:7234:1;1419:2082:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;791:31;256:7234:1;;;;;;:::i;:::-;810:1:23;256:7234:1;;813:9:23;:::o;256:7234:1:-;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;1513:437:26;256:7234:1;;;;;;;;;-1:-1:-1;;;;;256:7234:1;;;;;;;;;;;;;;345:66:23;;;256:7234:1;;;;;1670:15:26;;;256:7234:1;;;;;;;;;1695:15:26;256:7234:1;;;1695:15:26;256:7234:1;1720:128:26;1753:5;;;;;;1865:10;;246:18;;1513:437;:::o;246:18::-;;256:7234:1;;;;;246:18:26;;256:7234:1;1836:1:26;246:18;;;256:7234:1;246:18:26;;;256:7234:1;246:18:26;256:7234:1;;;246:18:26;;1760:3;1800:11;;1808:3;1800:11;;1791:21;;;;;;-1:-1:-1;;;1791:21:26;;1779:33;;;;:::i;:::-;;1836:1;256:7234:1;1760:3:26;256:7234:1;;;;-1:-1:-1;;256:7234:1;;1725:26:26;;256:7234:1;;;;;;;;;1836:1:26;256:7234:1;;1791:21:26;256:7234:1;;;;;;;;1836:1:26;256:7234:1;", - "linkReferences": {} - }, - "methodIdentifiers": { - "COLLECTION_CONTROLLER_ROLE()": "e46f29c8", - "COLLECTION_OWNER_ROLE()": "98b70793", - "DEFAULT_ADMIN_ROLE()": "a217fddf", - "addTokenController(uint256,address)": "dcd78186", - "approve(address,uint256)": "095ea7b3", - "balanceOf(address)": "70a08231", - "burn(uint256)": "42966c68", - "getApproved(uint256)": "081812fc", - "getRoleAdmin(bytes32)": "248a9ca3", - "grantRole(bytes32,address)": "2f2ff15d", - "hasRole(bytes32,address)": "91d14854", - "isApprovedForAll(address,address)": "e985e9c5", - "mint(address,string,string,string,string,string,string,string)": "b543be12", - "name()": "06fdde03", - "ownerOf(uint256)": "6352211e", - "removeTokenController(uint256,address)": "befaa6a3", - "renounceRole(bytes32,address)": "36568abe", - "revokeRole(bytes32,address)": "d547741f", - "safeTransferFrom(address,address,uint256)": "42842e0e", - "safeTransferFrom(address,address,uint256,bytes)": "b88d4fde", - "setApprovalForAll(address,bool)": "a22cb465", - "setTokenBuild(uint256,string,string)": "3806f152", - "setTokenDescription(uint256,string)": "246a908b", - "setTokenENS(uint256,string)": "78278cca", - "setTokenExternalURL(uint256,string)": "f9315177", - "setTokenImage(uint256,string)": "64140ec0", - "setTokenName(uint256,string)": "cdb0e89e", - "supportsInterface(bytes4)": "01ffc9a7", - "symbol()": "95d89b41", - "tokenURI(uint256)": "c87b56dd", - "transferFrom(address,address,uint256)": "23b872dd", - "upgradeTokenBuild(uint256,string,string)": "987c26fd" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"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\":\"uint256\",\"name\":\"token\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"commit_hash\",\"type\":\"string\"}],\"name\":\"NewBuild\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"token\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"}],\"name\":\"NewTokenDescription\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"token\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"ENS\",\"type\":\"string\"}],\"name\":\"NewTokenENS\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"token\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"external_url\",\"type\":\"string\"}],\"name\":\"NewTokenExternalURL\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"token\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"image\",\"type\":\"string\"}],\"name\":\"NewTokenImage\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"token\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"NewTokenName\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"COLLECTION_CONTROLLER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"COLLECTION_OWNER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"addTokenController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"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\":\"to\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"image\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"external_url\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"ENS\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"commit_hash\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"git_repository\",\"type\":\"string\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"removeTokenController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"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\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_commit_hash\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_git_repository\",\"type\":\"string\"}],\"name\":\"setTokenBuild\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_tokenDescription\",\"type\":\"string\"}],\"name\":\"setTokenDescription\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_tokenENS\",\"type\":\"string\"}],\"name\":\"setTokenENS\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_tokenExternalURL\",\"type\":\"string\"}],\"name\":\"setTokenExternalURL\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_tokenImage\",\"type\":\"string\"}],\"name\":\"setTokenImage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_tokenName\",\"type\":\"string\"}],\"name\":\"setTokenName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"commit\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"repository\",\"type\":\"string\"}],\"name\":\"upgradeTokenBuild\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`. May emit a {RoleRevoked} event.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"symbol()\":{\"details\":\"See {IERC721Metadata-symbol}.\"},\"tokenURI(uint256)\":{\"details\":\"See {IERC721Metadata-tokenURI}.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-transferFrom}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/FleekERC721.sol\":\"FleekERC721\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"contracts/FleekAccessControl.sol\":{\"keccak256\":\"0x40cbb25741c2d6e285ab2ccee87f38fab424ce3746a17bca274a23c098f5e5c6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f9d495490984bf70d90d9f48d9fbee2480f62b8d796d2b5cd623ff3ee632e47a\",\"dweb:/ipfs/QmXuMpMizsvU1QiEDD3cqs1wen9pdSqSNBeSb112pQDpKd\"]},\"contracts/FleekERC721.sol\":{\"keccak256\":\"0x9e4fcee55fe6e907ced49d15fffd1fc62e48a0b4b25bd97b9ea5b5b127ce9623\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6fcc0c13cf0219a100d124ad7553fe3576975d0ac88e40b2de80659e26eedae2\",\"dweb:/ipfs/QmTn88WiAnyNBsWVayYDtJn2G4zooALvgXymvch8fksvka\"]},\"node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x67e3daf189111d6d5b0464ed09cf9f0605a22c4b965a7fcecd707101faff008a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbbb1a75e4064d564bf69e74970eef35064e51fcc09cbf3589aee7faa60d6afe\",\"dweb:/ipfs/QmYfAtQwFSGmxomnyAV3tpBDbfDwiFXV61osWW2zzQVg5Q\"]},\"node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0xd89f3585b211fc9e3408384a4c4efdc3a93b2f877a3821046fa01c219d35be1b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5ea15ef7c8980240ccd46df13809d163f749bc0a01d8bced1875660d4872da1c\",\"dweb:/ipfs/QmbDfAT9VeCSG4cnPd6tjDMp8ED85dLHbWyMyv7wbmL4CH\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xa82b58eca1ee256be466e536706850163d2ec7821945abd6b4778cfb3bee37da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e75cf83beb757b8855791088546b8337e9d4684e169400c20d44a515353b708\",\"dweb:/ipfs/QmYvPafLfoquiDMEj7CKHtvbgHu7TJNPSVPSCjrtjV8HjV\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146\",\"dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf\"]},\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ec772b45a624be516f1c81970caa8a2e144301e9d0921cbc1a2789fef39a1269\",\"dweb:/ipfs/QmNyjwxCrGhQMyzLD93oUobJXVe9ceJvRvfXwbEtuxPiEj\"]},\"node_modules/@openzeppelin/contracts/utils/Base64.sol\":{\"keccak256\":\"0x5f3461639fe20794cfb4db4a6d8477388a15b2e70a018043084b7c4bedfa8136\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://77e5309e2cc4cdc3395214edb0ff43ff5a5f7373f5a425383e540f6fab530f96\",\"dweb:/ipfs/QmTV8DZ9knJDa3b5NPBFQqjvTzodyZVjRUg5mx5A99JPLJ\"]},\"node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"node_modules/@openzeppelin/contracts/utils/Counters.sol\":{\"keccak256\":\"0xf0018c2440fbe238dd3a8732fa8e17a0f9dce84d31451dc8a32f6d62b349c9f1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://59e1c62884d55b70f3ae5432b44bb3166ad71ae3acd19c57ab6ddc3c87c325ee\",\"dweb:/ipfs/QmezuXg5GK5oeA4F91EZhozBFekhq5TD966bHPH18cCqhu\"]},\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634\",\"dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"node_modules/@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b\",\"dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_symbol", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "approved", - "type": "address", - "indexed": true - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256", - "indexed": true - } - ], - "type": "event", - "name": "Approval", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "operator", - "type": "address", - "indexed": true - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool", - "indexed": false - } - ], - "type": "event", - "name": "ApprovalForAll", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "token", - "type": "uint256", - "indexed": true - }, - { - "internalType": "string", - "name": "commit_hash", - "type": "string", - "indexed": true - } - ], - "type": "event", - "name": "NewBuild", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "token", - "type": "uint256", - "indexed": true - }, - { - "internalType": "string", - "name": "description", - "type": "string", - "indexed": true - } - ], - "type": "event", - "name": "NewTokenDescription", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "token", - "type": "uint256", - "indexed": true - }, - { - "internalType": "string", - "name": "ENS", - "type": "string", - "indexed": true - } - ], - "type": "event", - "name": "NewTokenENS", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "token", - "type": "uint256", - "indexed": true - }, - { - "internalType": "string", - "name": "external_url", - "type": "string", - "indexed": true - } - ], - "type": "event", - "name": "NewTokenExternalURL", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "token", - "type": "uint256", - "indexed": true - }, - { - "internalType": "string", - "name": "image", - "type": "string", - "indexed": true - } - ], - "type": "event", - "name": "NewTokenImage", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "token", - "type": "uint256", - "indexed": true - }, - { - "internalType": "string", - "name": "name", - "type": "string", - "indexed": true - } - ], - "type": "event", - "name": "NewTokenName", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "bytes32", - "name": "previousAdminRole", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "bytes32", - "name": "newAdminRole", - "type": "bytes32", - "indexed": true - } - ], - "type": "event", - "name": "RoleAdminChanged", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "address", - "name": "account", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "sender", - "type": "address", - "indexed": true - } - ], - "type": "event", - "name": "RoleGranted", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "address", - "name": "account", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "sender", - "type": "address", - "indexed": true - } - ], - "type": "event", - "name": "RoleRevoked", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "to", - "type": "address", - "indexed": true - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256", - "indexed": true - } - ], - "type": "event", - "name": "Transfer", - "anonymous": false - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "COLLECTION_CONTROLLER_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "COLLECTION_OWNER_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "DEFAULT_ADMIN_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "controller", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "addTokenController" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "approve" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "burn" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getRoleAdmin", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "grantRole" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "hasRole", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "string", - "name": "image", - "type": "string" - }, - { - "internalType": "string", - "name": "external_url", - "type": "string" - }, - { - "internalType": "string", - "name": "ENS", - "type": "string" - }, - { - "internalType": "string", - "name": "commit_hash", - "type": "string" - }, - { - "internalType": "string", - "name": "git_repository", - "type": "string" - } - ], - "stateMutability": "payable", - "type": "function", - "name": "mint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "controller", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "removeTokenController" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "renounceRole" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeRole" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "safeTransferFrom" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "safeTransferFrom" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setApprovalForAll" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_commit_hash", - "type": "string" - }, - { - "internalType": "string", - "name": "_git_repository", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setTokenBuild" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_tokenDescription", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setTokenDescription" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_tokenENS", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setTokenENS" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_tokenExternalURL", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setTokenExternalURL" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_tokenImage", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setTokenImage" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_tokenName", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setTokenName" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "stateMutability": "view", - "type": "function", - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "string", - "name": "commit", - "type": "string" - }, - { - "internalType": "string", - "name": "repository", - "type": "string" - } - ], - "stateMutability": "payable", - "type": "function", - "name": "upgradeTokenBuild" - } - ], - "devdoc": { - "kind": "dev", - "methods": { - "approve(address,uint256)": { - "details": "See {IERC721-approve}." - }, - "balanceOf(address)": { - "details": "See {IERC721-balanceOf}." - }, - "getApproved(uint256)": { - "details": "See {IERC721-getApproved}." - }, - "getRoleAdmin(bytes32)": { - "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." - }, - "grantRole(bytes32,address)": { - "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event." - }, - "hasRole(bytes32,address)": { - "details": "Returns `true` if `account` has been granted `role`." - }, - "isApprovedForAll(address,address)": { - "details": "See {IERC721-isApprovedForAll}." - }, - "name()": { - "details": "See {IERC721Metadata-name}." - }, - "ownerOf(uint256)": { - "details": "See {IERC721-ownerOf}." - }, - "renounceRole(bytes32,address)": { - "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`. May emit a {RoleRevoked} event." - }, - "revokeRole(bytes32,address)": { - "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event." - }, - "safeTransferFrom(address,address,uint256)": { - "details": "See {IERC721-safeTransferFrom}." - }, - "safeTransferFrom(address,address,uint256,bytes)": { - "details": "See {IERC721-safeTransferFrom}." - }, - "setApprovalForAll(address,bool)": { - "details": "See {IERC721-setApprovalForAll}." - }, - "symbol()": { - "details": "See {IERC721Metadata-symbol}." - }, - "tokenURI(uint256)": { - "details": "See {IERC721Metadata-tokenURI}." - }, - "transferFrom(address,address,uint256)": { - "details": "See {IERC721-transferFrom}." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "contracts/FleekERC721.sol": "FleekERC721" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "contracts/FleekAccessControl.sol": { - "keccak256": "0x40cbb25741c2d6e285ab2ccee87f38fab424ce3746a17bca274a23c098f5e5c6", - "urls": [ - "bzz-raw://f9d495490984bf70d90d9f48d9fbee2480f62b8d796d2b5cd623ff3ee632e47a", - "dweb:/ipfs/QmXuMpMizsvU1QiEDD3cqs1wen9pdSqSNBeSb112pQDpKd" - ], - "license": "MIT" - }, - "contracts/FleekERC721.sol": { - "keccak256": "0x9e4fcee55fe6e907ced49d15fffd1fc62e48a0b4b25bd97b9ea5b5b127ce9623", - "urls": [ - "bzz-raw://6fcc0c13cf0219a100d124ad7553fe3576975d0ac88e40b2de80659e26eedae2", - "dweb:/ipfs/QmTn88WiAnyNBsWVayYDtJn2G4zooALvgXymvch8fksvka" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/access/AccessControl.sol": { - "keccak256": "0x67e3daf189111d6d5b0464ed09cf9f0605a22c4b965a7fcecd707101faff008a", - "urls": [ - "bzz-raw://cbbb1a75e4064d564bf69e74970eef35064e51fcc09cbf3589aee7faa60d6afe", - "dweb:/ipfs/QmYfAtQwFSGmxomnyAV3tpBDbfDwiFXV61osWW2zzQVg5Q" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/access/IAccessControl.sol": { - "keccak256": "0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57", - "urls": [ - "bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a", - "dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol": { - "keccak256": "0xd89f3585b211fc9e3408384a4c4efdc3a93b2f877a3821046fa01c219d35be1b", - "urls": [ - "bzz-raw://5ea15ef7c8980240ccd46df13809d163f749bc0a01d8bced1875660d4872da1c", - "dweb:/ipfs/QmbDfAT9VeCSG4cnPd6tjDMp8ED85dLHbWyMyv7wbmL4CH" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": { - "keccak256": "0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68", - "urls": [ - "bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56", - "dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": { - "keccak256": "0xa82b58eca1ee256be466e536706850163d2ec7821945abd6b4778cfb3bee37da", - "urls": [ - "bzz-raw://6e75cf83beb757b8855791088546b8337e9d4684e169400c20d44a515353b708", - "dweb:/ipfs/QmYvPafLfoquiDMEj7CKHtvbgHu7TJNPSVPSCjrtjV8HjV" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol": { - "keccak256": "0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9", - "urls": [ - "bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146", - "dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Address.sol": { - "keccak256": "0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1", - "urls": [ - "bzz-raw://ec772b45a624be516f1c81970caa8a2e144301e9d0921cbc1a2789fef39a1269", - "dweb:/ipfs/QmNyjwxCrGhQMyzLD93oUobJXVe9ceJvRvfXwbEtuxPiEj" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Base64.sol": { - "keccak256": "0x5f3461639fe20794cfb4db4a6d8477388a15b2e70a018043084b7c4bedfa8136", - "urls": [ - "bzz-raw://77e5309e2cc4cdc3395214edb0ff43ff5a5f7373f5a425383e540f6fab530f96", - "dweb:/ipfs/QmTV8DZ9knJDa3b5NPBFQqjvTzodyZVjRUg5mx5A99JPLJ" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Context.sol": { - "keccak256": "0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7", - "urls": [ - "bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92", - "dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Counters.sol": { - "keccak256": "0xf0018c2440fbe238dd3a8732fa8e17a0f9dce84d31451dc8a32f6d62b349c9f1", - "urls": [ - "bzz-raw://59e1c62884d55b70f3ae5432b44bb3166ad71ae3acd19c57ab6ddc3c87c325ee", - "dweb:/ipfs/QmezuXg5GK5oeA4F91EZhozBFekhq5TD966bHPH18cCqhu" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Strings.sol": { - "keccak256": "0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a", - "urls": [ - "bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634", - "dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": { - "keccak256": "0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b", - "urls": [ - "bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d", - "dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { - "keccak256": "0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1", - "urls": [ - "bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f", - "dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/math/Math.sol": { - "keccak256": "0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6", - "urls": [ - "bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b", - "dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "contracts/FleekERC721.sol", - "id": 746, - "exportedSymbols": { - "AccessControl": [ - 25721 - ], - "Address": [ - 27230 - ], - "Base64": [ - 27277 - ], - "Context": [ - 27299 - ], - "Counters": [ - 27373 - ], - "ERC165": [ - 27572 - ], - "ERC721": [ - 26739 - ], - "FleekAccessControl": [ - 99 - ], - "FleekERC721": [ - 745 - ], - "IAccessControl": [ - 25794 - ], - "IERC165": [ - 27584 - ], - "IERC721": [ - 26855 - ], - "IERC721Metadata": [ - 26900 - ], - "IERC721Receiver": [ - 26873 - ], - "Math": [ - 28449 - ], - "Strings": [ - 27548 - ] - }, - "nodeType": "SourceUnit", - "src": "33:7458:1", - "nodes": [ - { - "id": 101, - "nodeType": "PragmaDirective", - "src": "33:23:1", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".7" - ] - }, - { - "id": 102, - "nodeType": "ImportDirective", - "src": "58:57:1", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol", - "file": "@openzeppelin/contracts/token/ERC721/ERC721.sol", - "nameLocation": "-1:-1:-1", - "scope": 746, - "sourceUnit": 26740, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 103, - "nodeType": "ImportDirective", - "src": "116:52:1", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Counters.sol", - "file": "@openzeppelin/contracts/utils/Counters.sol", - "nameLocation": "-1:-1:-1", - "scope": 746, - "sourceUnit": 27374, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 104, - "nodeType": "ImportDirective", - "src": "169:50:1", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Base64.sol", - "file": "@openzeppelin/contracts/utils/Base64.sol", - "nameLocation": "-1:-1:-1", - "scope": 746, - "sourceUnit": 27278, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 105, - "nodeType": "ImportDirective", - "src": "220:34:1", - "nodes": [], - "absolutePath": "contracts/FleekAccessControl.sol", - "file": "./FleekAccessControl.sol", - "nameLocation": "-1:-1:-1", - "scope": 746, - "sourceUnit": 100, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 745, - "nodeType": "ContractDefinition", - "src": "256:7234:1", - "nodes": [ - { - "id": 112, - "nodeType": "UsingForDirective", - "src": "313:26:1", - "nodes": [], - "global": false, - "libraryName": { - "id": 110, - "name": "Strings", - "nameLocations": [ - "319:7:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27548, - "src": "319:7:1" - }, - "typeName": { - "id": 111, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "331:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "id": 116, - "nodeType": "UsingForDirective", - "src": "344:36:1", - "nodes": [], - "global": false, - "libraryName": { - "id": 113, - "name": "Counters", - "nameLocations": [ - "350:8:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27373, - "src": "350:8:1" - }, - "typeName": { - "id": 115, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 114, - "name": "Counters.Counter", - "nameLocations": [ - "363:8:1", - "372:7:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27305, - "src": "363:16:1" - }, - "referencedDeclaration": 27305, - "src": "363:16:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$27305_storage_ptr", - "typeString": "struct Counters.Counter" - } - } - }, - { - "id": 122, - "nodeType": "EventDefinition", - "src": "386:66:1", - "nodes": [], - "anonymous": false, - "eventSelector": "f0cd0ce9d5882a10e2780d2d9c805c18e7536b9b2c6412f7bfb7f163656dd0f6", - "name": "NewBuild", - "nameLocation": "392:8:1", - "parameters": { - "id": 121, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 118, - "indexed": true, - "mutability": "mutable", - "name": "token", - "nameLocation": "417:5:1", - "nodeType": "VariableDeclaration", - "scope": 122, - "src": "401:21:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 117, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "401:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 120, - "indexed": true, - "mutability": "mutable", - "name": "commit_hash", - "nameLocation": "439:11:1", - "nodeType": "VariableDeclaration", - "scope": 122, - "src": "424:26:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 119, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "424:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "400:51:1" - } - }, - { - "id": 128, - "nodeType": "EventDefinition", - "src": "462:63:1", - "nodes": [], - "anonymous": false, - "eventSelector": "abf44020991f188f6b302a14e4b7a3dc94de10ed2140a6c03e16f4213d11b1c9", - "name": "NewTokenName", - "nameLocation": "468:12:1", - "parameters": { - "id": 127, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 124, - "indexed": true, - "mutability": "mutable", - "name": "token", - "nameLocation": "497:5:1", - "nodeType": "VariableDeclaration", - "scope": 128, - "src": "481:21:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 123, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "481:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 126, - "indexed": true, - "mutability": "mutable", - "name": "name", - "nameLocation": "519:4:1", - "nodeType": "VariableDeclaration", - "scope": 128, - "src": "504:19:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 125, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "504:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "480:44:1" - } - }, - { - "id": 134, - "nodeType": "EventDefinition", - "src": "530:77:1", - "nodes": [], - "anonymous": false, - "eventSelector": "9b3089e7af95b8d43fdceb16eb9cbf620a0cb486e1a291b15121a44e0f69127a", - "name": "NewTokenDescription", - "nameLocation": "536:19:1", - "parameters": { - "id": 133, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 130, - "indexed": true, - "mutability": "mutable", - "name": "token", - "nameLocation": "572:5:1", - "nodeType": "VariableDeclaration", - "scope": 134, - "src": "556:21:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 129, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "556:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 132, - "indexed": true, - "mutability": "mutable", - "name": "description", - "nameLocation": "594:11:1", - "nodeType": "VariableDeclaration", - "scope": 134, - "src": "579:26:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 131, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "579:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "555:51:1" - } - }, - { - "id": 140, - "nodeType": "EventDefinition", - "src": "612:65:1", - "nodes": [], - "anonymous": false, - "eventSelector": "b041870856ebefdd6a3cb1ac665eb6739281b855c912ff622e814dbf91c96bb6", - "name": "NewTokenImage", - "nameLocation": "618:13:1", - "parameters": { - "id": 139, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 136, - "indexed": true, - "mutability": "mutable", - "name": "token", - "nameLocation": "648:5:1", - "nodeType": "VariableDeclaration", - "scope": 140, - "src": "632:21:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 135, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "632:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 138, - "indexed": true, - "mutability": "mutable", - "name": "image", - "nameLocation": "670:5:1", - "nodeType": "VariableDeclaration", - "scope": 140, - "src": "655:20:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 137, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "655:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "631:45:1" - } - }, - { - "id": 146, - "nodeType": "EventDefinition", - "src": "682:78:1", - "nodes": [], - "anonymous": false, - "eventSelector": "9f284fd257fb85bc33901e673c078261b0222fbcc4b52c74784c9566808e3cfc", - "name": "NewTokenExternalURL", - "nameLocation": "688:19:1", - "parameters": { - "id": 145, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 142, - "indexed": true, - "mutability": "mutable", - "name": "token", - "nameLocation": "724:5:1", - "nodeType": "VariableDeclaration", - "scope": 146, - "src": "708:21:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 141, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "708:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 144, - "indexed": true, - "mutability": "mutable", - "name": "external_url", - "nameLocation": "746:12:1", - "nodeType": "VariableDeclaration", - "scope": 146, - "src": "731:27:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 143, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "731:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "707:52:1" - } - }, - { - "id": 152, - "nodeType": "EventDefinition", - "src": "765:61:1", - "nodes": [], - "anonymous": false, - "eventSelector": "c1b5a2141fc60537be795a8771f5e8c80188922acb5399a6e463ea95aa852f31", - "name": "NewTokenENS", - "nameLocation": "771:11:1", - "parameters": { - "id": 151, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 148, - "indexed": true, - "mutability": "mutable", - "name": "token", - "nameLocation": "799:5:1", - "nodeType": "VariableDeclaration", - "scope": 152, - "src": "783:21:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 147, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "783:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 150, - "indexed": true, - "mutability": "mutable", - "name": "ENS", - "nameLocation": "821:3:1", - "nodeType": "VariableDeclaration", - "scope": 152, - "src": "806:18:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 149, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "806:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "782:43:1" - } - }, - { - "id": 157, - "nodeType": "StructDefinition", - "src": "836:79:1", - "nodes": [], - "canonicalName": "FleekERC721.Build", - "members": [ - { - "constant": false, - "id": 154, - "mutability": "mutable", - "name": "commit_hash", - "nameLocation": "866:11:1", - "nodeType": "VariableDeclaration", - "scope": 157, - "src": "859:18:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 153, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "859:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 156, - "mutability": "mutable", - "name": "git_repository", - "nameLocation": "894:14:1", - "nodeType": "VariableDeclaration", - "scope": 157, - "src": "887:21:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 155, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "887:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "Build", - "nameLocation": "843:5:1", - "scope": 745, - "visibility": "public" - }, - { - "id": 175, - "nodeType": "StructDefinition", - "src": "1119:441:1", - "nodes": [], - "canonicalName": "FleekERC721.App", - "members": [ - { - "constant": false, - "id": 159, - "mutability": "mutable", - "name": "name", - "nameLocation": "1147:4:1", - "nodeType": "VariableDeclaration", - "scope": 175, - "src": "1140:11:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 158, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1140:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 161, - "mutability": "mutable", - "name": "description", - "nameLocation": "1188:11:1", - "nodeType": "VariableDeclaration", - "scope": 175, - "src": "1181:18:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 160, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1181:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 163, - "mutability": "mutable", - "name": "image", - "nameLocation": "1246:5:1", - "nodeType": "VariableDeclaration", - "scope": 175, - "src": "1239:12:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 162, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1239:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 165, - "mutability": "mutable", - "name": "external_url", - "nameLocation": "1295:12:1", - "nodeType": "VariableDeclaration", - "scope": 175, - "src": "1288:19:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 164, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1288:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 167, - "mutability": "mutable", - "name": "ENS", - "nameLocation": "1336:3:1", - "nodeType": "VariableDeclaration", - "scope": 175, - "src": "1329:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 166, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1329:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 169, - "mutability": "mutable", - "name": "current_build", - "nameLocation": "1367:13:1", - "nodeType": "VariableDeclaration", - "scope": 175, - "src": "1359:21:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 168, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1359:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 174, - "mutability": "mutable", - "name": "builds", - "nameLocation": "1497:6:1", - "nodeType": "VariableDeclaration", - "scope": 175, - "src": "1471:32:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Build_$157_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.Build)" - }, - "typeName": { - "id": 173, - "keyType": { - "id": 170, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1479:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "1471:25:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Build_$157_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.Build)" - }, - "valueType": { - "id": 172, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 171, - "name": "Build", - "nameLocations": [ - "1490:5:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 157, - "src": "1490:5:1" - }, - "referencedDeclaration": 157, - "src": "1490:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Build_$157_storage_ptr", - "typeString": "struct FleekERC721.Build" - } - } - }, - "visibility": "internal" - } - ], - "name": "App", - "nameLocation": "1126:3:1", - "scope": 745, - "visibility": "public" - }, - { - "id": 178, - "nodeType": "VariableDeclaration", - "src": "1566:34:1", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "_tokenIds", - "nameLocation": "1591:9:1", - "scope": 745, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$27305_storage", - "typeString": "struct Counters.Counter" - }, - "typeName": { - "id": 177, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 176, - "name": "Counters.Counter", - "nameLocations": [ - "1566:8:1", - "1575:7:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27305, - "src": "1566:16:1" - }, - "referencedDeclaration": 27305, - "src": "1566:16:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$27305_storage_ptr", - "typeString": "struct Counters.Counter" - } - }, - "visibility": "private" - }, - { - "id": 183, - "nodeType": "VariableDeclaration", - "src": "1606:37:1", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "_apps", - "nameLocation": "1638:5:1", - "scope": 745, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_App_$175_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.App)" - }, - "typeName": { - "id": 182, - "keyType": { - "id": 179, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1614:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "1606:23:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_App_$175_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.App)" - }, - "valueType": { - "id": 181, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 180, - "name": "App", - "nameLocations": [ - "1625:3:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 175, - "src": "1625:3:1" - }, - "referencedDeclaration": 175, - "src": "1625:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App" - } - } - }, - "visibility": "private" - }, - { - "id": 195, - "nodeType": "FunctionDefinition", - "src": "1650:103:1", - "nodes": [], - "body": { - "id": 194, - "nodeType": "Block", - "src": "1751:2:1", - "nodes": [], - "statements": [] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [ - { - "arguments": [ - { - "id": 190, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 185, - "src": "1735:5:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 191, - "name": "_symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 187, - "src": "1742:7:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "id": 192, - "kind": "baseConstructorSpecifier", - "modifierName": { - "id": 189, - "name": "ERC721", - "nameLocations": [ - "1728:6:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26739, - "src": "1728:6:1" - }, - "nodeType": "ModifierInvocation", - "src": "1728:22:1" - } - ], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 188, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 185, - "mutability": "mutable", - "name": "_name", - "nameLocation": "1685:5:1", - "nodeType": "VariableDeclaration", - "scope": 195, - "src": "1671:19:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 184, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1671:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 187, - "mutability": "mutable", - "name": "_symbol", - "nameLocation": "1714:7:1", - "nodeType": "VariableDeclaration", - "scope": 195, - "src": "1700:21:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 186, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1700:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1661:66:1" - }, - "returnParameters": { - "id": 193, - "nodeType": "ParameterList", - "parameters": [], - "src": "1751:0:1" - }, - "scope": 745, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 211, - "nodeType": "ModifierDefinition", - "src": "1759:181:1", - "nodes": [], - "body": { - "id": 210, - "nodeType": "Block", - "src": "1803:137:1", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 205, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 200, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "1834:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 201, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1838:6:1", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "1834:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "id": 203, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 197, - "src": "1856:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 202, - "name": "ownerOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25940, - "src": "1848:7:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 204, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1848:16:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "1834:30:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "466c65656b4552433732313a206d75737420626520746f6b656e206f776e6572", - "id": 206, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1878:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a648a3de5d26aef0474a63f309beeecd457a566959dd1cff4538789f49f0cc66", - "typeString": "literal_string \"FleekERC721: must be token owner\"" - }, - "value": "FleekERC721: must be token owner" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_a648a3de5d26aef0474a63f309beeecd457a566959dd1cff4538789f49f0cc66", - "typeString": "literal_string \"FleekERC721: must be token owner\"" - } - ], - "id": 199, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1813:7:1", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1813:109:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 208, - "nodeType": "ExpressionStatement", - "src": "1813:109:1" - }, - { - "id": 209, - "nodeType": "PlaceholderStatement", - "src": "1932:1:1" - } - ] - }, - "name": "requireTokenOwner", - "nameLocation": "1768:17:1", - "parameters": { - "id": 198, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 197, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "1794:7:1", - "nodeType": "VariableDeclaration", - "scope": 211, - "src": "1786:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 196, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1786:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1785:17:1" - }, - "virtual": false, - "visibility": "internal" - }, - { - "id": 312, - "nodeType": "FunctionDefinition", - "src": "1946:958:1", - "nodes": [], - "body": { - "id": 311, - "nodeType": "Block", - "src": "2270:634:1", - "nodes": [], - "statements": [ - { - "assignments": [ - 235 - ], - "declarations": [ - { - "constant": false, - "id": 235, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "2288:7:1", - "nodeType": "VariableDeclaration", - "scope": 311, - "src": "2280:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 234, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2280:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 239, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 236, - "name": "_tokenIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 178, - "src": "2298:9:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$27305_storage", - "typeString": "struct Counters.Counter storage ref" - } - }, - "id": 237, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2308:7:1", - "memberName": "current", - "nodeType": "MemberAccess", - "referencedDeclaration": 27317, - "src": "2298:17:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Counter_$27305_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_Counter_$27305_storage_ptr_$", - "typeString": "function (struct Counters.Counter storage pointer) view returns (uint256)" - } - }, - "id": 238, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2298:19:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2280:37:1" - }, - { - "expression": { - "arguments": [ - { - "id": 241, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 213, - "src": "2333:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 242, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 235, - "src": "2337:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 240, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26395, - "src": "2327:5:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2327:18:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 244, - "nodeType": "ExpressionStatement", - "src": "2327:18:1" - }, - { - "expression": { - "arguments": [ - { - "id": 246, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 235, - "src": "2375:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 247, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 213, - "src": "2384:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 245, - "name": "_addTokenController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 481, - "src": "2355:19:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_address_$returns$__$", - "typeString": "function (uint256,address)" - } - }, - "id": 248, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2355:32:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 249, - "nodeType": "ExpressionStatement", - "src": "2355:32:1" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 250, - "name": "_tokenIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 178, - "src": "2397:9:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$27305_storage", - "typeString": "struct Counters.Counter storage ref" - } - }, - "id": 252, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2407:9:1", - "memberName": "increment", - "nodeType": "MemberAccess", - "referencedDeclaration": 27331, - "src": "2397:19:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Counter_$27305_storage_ptr_$returns$__$bound_to$_t_struct$_Counter_$27305_storage_ptr_$", - "typeString": "function (struct Counters.Counter storage pointer)" - } - }, - "id": 253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2397:21:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 254, - "nodeType": "ExpressionStatement", - "src": "2397:21:1" - }, - { - "assignments": [ - 257 - ], - "declarations": [ - { - "constant": false, - "id": 257, - "mutability": "mutable", - "name": "app", - "nameLocation": "2441:3:1", - "nodeType": "VariableDeclaration", - "scope": 311, - "src": "2429:15:1", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App" - }, - "typeName": { - "id": 256, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 255, - "name": "App", - "nameLocations": [ - "2429:3:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 175, - "src": "2429:3:1" - }, - "referencedDeclaration": 175, - "src": "2429:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App" - } - }, - "visibility": "internal" - } - ], - "id": 261, - "initialValue": { - "baseExpression": { - "id": 258, - "name": "_apps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 183, - "src": "2447:5:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_App_$175_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.App storage ref)" - } - }, - "id": 260, - "indexExpression": { - "id": 259, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 235, - "src": "2453:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2447:14:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage", - "typeString": "struct FleekERC721.App storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2429:32:1" - }, - { - "expression": { - "id": 266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 262, - "name": "app", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 257, - "src": "2471:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App storage pointer" - } - }, - "id": 264, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "2475:4:1", - "memberName": "name", - "nodeType": "MemberAccess", - "referencedDeclaration": 159, - "src": "2471:8:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 265, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 215, - "src": "2482:4:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "2471:15:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 267, - "nodeType": "ExpressionStatement", - "src": "2471:15:1" - }, - { - "expression": { - "id": 272, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 268, - "name": "app", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 257, - "src": "2496:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App storage pointer" - } - }, - "id": 270, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "2500:11:1", - "memberName": "description", - "nodeType": "MemberAccess", - "referencedDeclaration": 161, - "src": "2496:15:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 271, - "name": "description", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "2514:11:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "2496:29:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 273, - "nodeType": "ExpressionStatement", - "src": "2496:29:1" - }, - { - "expression": { - "id": 278, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 274, - "name": "app", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 257, - "src": "2535:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App storage pointer" - } - }, - "id": 276, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "2539:5:1", - "memberName": "image", - "nodeType": "MemberAccess", - "referencedDeclaration": 163, - "src": "2535:9:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 277, - "name": "image", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 219, - "src": "2547:5:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "2535:17:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 279, - "nodeType": "ExpressionStatement", - "src": "2535:17:1" - }, - { - "expression": { - "id": 284, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 280, - "name": "app", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 257, - "src": "2562:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App storage pointer" - } - }, - "id": 282, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "2566:12:1", - "memberName": "external_url", - "nodeType": "MemberAccess", - "referencedDeclaration": 165, - "src": "2562:16:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 283, - "name": "external_url", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 221, - "src": "2581:12:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "2562:31:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 285, - "nodeType": "ExpressionStatement", - "src": "2562:31:1" - }, - { - "expression": { - "id": 290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 286, - "name": "app", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 257, - "src": "2603:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App storage pointer" - } - }, - "id": 288, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "2607:3:1", - "memberName": "ENS", - "nodeType": "MemberAccess", - "referencedDeclaration": 167, - "src": "2603:7:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 289, - "name": "ENS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 223, - "src": "2613:3:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "2603:13:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 291, - "nodeType": "ExpressionStatement", - "src": "2603:13:1" - }, - { - "expression": { - "id": 296, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 292, - "name": "app", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 257, - "src": "2791:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App storage pointer" - } - }, - "id": 294, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "2795:13:1", - "memberName": "current_build", - "nodeType": "MemberAccess", - "referencedDeclaration": 169, - "src": "2791:17:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "30", - "id": 295, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2811:1:1", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2791:21:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 297, - "nodeType": "ExpressionStatement", - "src": "2791:21:1" - }, - { - "expression": { - "id": 307, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "expression": { - "id": 298, - "name": "app", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 257, - "src": "2822:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App storage pointer" - } - }, - "id": 301, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2826:6:1", - "memberName": "builds", - "nodeType": "MemberAccess", - "referencedDeclaration": 174, - "src": "2822:10:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Build_$157_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.Build storage ref)" - } - }, - "id": 302, - "indexExpression": { - "hexValue": "30", - "id": 300, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2833:1:1", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2822:13:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Build_$157_storage", - "typeString": "struct FleekERC721.Build storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 304, - "name": "commit_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 225, - "src": "2844:11:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 305, - "name": "git_repository", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 227, - "src": "2857:14:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 303, - "name": "Build", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 157, - "src": "2838:5:1", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Build_$157_storage_ptr_$", - "typeString": "type(struct FleekERC721.Build storage pointer)" - } - }, - "id": 306, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2838:34:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Build_$157_memory_ptr", - "typeString": "struct FleekERC721.Build memory" - } - }, - "src": "2822:50:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Build_$157_storage", - "typeString": "struct FleekERC721.Build storage ref" - } - }, - "id": 308, - "nodeType": "ExpressionStatement", - "src": "2822:50:1" - }, - { - "expression": { - "id": 309, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 235, - "src": "2890:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 233, - "id": 310, - "nodeType": "Return", - "src": "2883:14:1" - } - ] - }, - "functionSelector": "b543be12", - "implemented": true, - "kind": "function", - "modifiers": [ - { - "id": 230, - "kind": "modifierInvocation", - "modifierName": { - "id": 229, - "name": "requireCollectionOwner", - "nameLocations": [ - "2229:22:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 42, - "src": "2229:22:1" - }, - "nodeType": "ModifierInvocation", - "src": "2229:22:1" - } - ], - "name": "mint", - "nameLocation": "1955:4:1", - "parameters": { - "id": 228, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 213, - "mutability": "mutable", - "name": "to", - "nameLocation": "1977:2:1", - "nodeType": "VariableDeclaration", - "scope": 312, - "src": "1969:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 212, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1969:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 215, - "mutability": "mutable", - "name": "name", - "nameLocation": "2003:4:1", - "nodeType": "VariableDeclaration", - "scope": 312, - "src": "1989:18:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 214, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1989:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 217, - "mutability": "mutable", - "name": "description", - "nameLocation": "2031:11:1", - "nodeType": "VariableDeclaration", - "scope": 312, - "src": "2017:25:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 216, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2017:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 219, - "mutability": "mutable", - "name": "image", - "nameLocation": "2066:5:1", - "nodeType": "VariableDeclaration", - "scope": 312, - "src": "2052:19:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 218, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2052:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 221, - "mutability": "mutable", - "name": "external_url", - "nameLocation": "2095:12:1", - "nodeType": "VariableDeclaration", - "scope": 312, - "src": "2081:26:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 220, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2081:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 223, - "mutability": "mutable", - "name": "ENS", - "nameLocation": "2131:3:1", - "nodeType": "VariableDeclaration", - "scope": 312, - "src": "2117:17:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 222, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2117:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 225, - "mutability": "mutable", - "name": "commit_hash", - "nameLocation": "2158:11:1", - "nodeType": "VariableDeclaration", - "scope": 312, - "src": "2144:25:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 224, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2144:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 227, - "mutability": "mutable", - "name": "git_repository", - "nameLocation": "2193:14:1", - "nodeType": "VariableDeclaration", - "scope": 312, - "src": "2179:28:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 226, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2179:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1959:254:1" - }, - "returnParameters": { - "id": 233, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 232, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 312, - "src": "2261:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 231, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2261:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2260:9:1" - }, - "scope": 745, - "stateMutability": "payable", - "virtual": false, - "visibility": "public" - }, - { - "id": 335, - "nodeType": "FunctionDefinition", - "src": "2910:256:1", - "nodes": [], - "body": { - "id": 334, - "nodeType": "Block", - "src": "3074:92:1", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 325, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 314, - "src": "3099:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 324, - "name": "_requireMinted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26617, - "src": "3084:14:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$__$", - "typeString": "function (uint256) view" - } - }, - "id": 326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3084:23:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 327, - "nodeType": "ExpressionStatement", - "src": "3084:23:1" - }, - { - "expression": { - "arguments": [ - { - "id": 329, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 314, - "src": "3131:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 330, - "name": "commit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 316, - "src": "3140:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 331, - "name": "repository", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 318, - "src": "3148:10:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 328, - "name": "setTokenBuild", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "3117:13:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory,string memory)" - } - }, - "id": 332, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3117:42:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 333, - "nodeType": "ExpressionStatement", - "src": "3117:42:1" - } - ] - }, - "functionSelector": "987c26fd", - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "id": 321, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 314, - "src": "3065:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 322, - "kind": "modifierInvocation", - "modifierName": { - "id": 320, - "name": "requireTokenOwner", - "nameLocations": [ - "3047:17:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 211, - "src": "3047:17:1" - }, - "nodeType": "ModifierInvocation", - "src": "3047:26:1" - } - ], - "name": "upgradeTokenBuild", - "nameLocation": "2919:17:1", - "parameters": { - "id": 319, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 314, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "2954:7:1", - "nodeType": "VariableDeclaration", - "scope": 335, - "src": "2946:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 313, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2946:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 316, - "mutability": "mutable", - "name": "commit", - "nameLocation": "2985:6:1", - "nodeType": "VariableDeclaration", - "scope": 335, - "src": "2971:20:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 315, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2971:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 318, - "mutability": "mutable", - "name": "repository", - "nameLocation": "3015:10:1", - "nodeType": "VariableDeclaration", - "scope": 335, - "src": "3001:24:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 317, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3001:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2936:95:1" - }, - "returnParameters": { - "id": 323, - "nodeType": "ParameterList", - "parameters": [], - "src": "3074:0:1" - }, - "scope": 745, - "stateMutability": "payable", - "virtual": false, - "visibility": "public" - }, - { - "id": 438, - "nodeType": "FunctionDefinition", - "src": "3172:1137:1", - "nodes": [], - "body": { - "id": 437, - "nodeType": "Block", - "src": "3274:1035:1", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 344, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 337, - "src": "3299:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 343, - "name": "_requireMinted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26617, - "src": "3284:14:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$__$", - "typeString": "function (uint256) view" - } - }, - "id": 345, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3284:23:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 346, - "nodeType": "ExpressionStatement", - "src": "3284:23:1" - }, - { - "assignments": [ - 348 - ], - "declarations": [ - { - "constant": false, - "id": 348, - "mutability": "mutable", - "name": "owner", - "nameLocation": "3325:5:1", - "nodeType": "VariableDeclaration", - "scope": 437, - "src": "3317:13:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 347, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3317:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 352, - "initialValue": { - "arguments": [ - { - "id": 350, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 337, - "src": "3341:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 349, - "name": "ownerOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25940, - "src": "3333:7:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 351, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3333:16:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3317:32:1" - }, - { - "assignments": [ - 355 - ], - "declarations": [ - { - "constant": false, - "id": 355, - "mutability": "mutable", - "name": "app", - "nameLocation": "3371:3:1", - "nodeType": "VariableDeclaration", - "scope": 437, - "src": "3359:15:1", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App" - }, - "typeName": { - "id": 354, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 353, - "name": "App", - "nameLocations": [ - "3359:3:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 175, - "src": "3359:3:1" - }, - "referencedDeclaration": 175, - "src": "3359:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App" - } - }, - "visibility": "internal" - } - ], - "id": 359, - "initialValue": { - "baseExpression": { - "id": 356, - "name": "_apps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 183, - "src": "3377:5:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_App_$175_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.App storage ref)" - } - }, - "id": 358, - "indexExpression": { - "id": 357, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 337, - "src": "3383:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3377:14:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage", - "typeString": "struct FleekERC721.App storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3359:32:1" - }, - { - "assignments": [ - 361 - ], - "declarations": [ - { - "constant": false, - "id": 361, - "mutability": "mutable", - "name": "dataURI", - "nameLocation": "3415:7:1", - "nodeType": "VariableDeclaration", - "scope": 437, - "src": "3402:20:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 360, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3402:5:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 422, - "initialValue": { - "arguments": [ - { - "hexValue": "7b", - "id": 364, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3455:3:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a91eddf639b0b768929589c1a9fd21dcb0107199bdd82e55c5348018a1572f52", - "typeString": "literal_string \"{\"" - }, - "value": "{" - }, - { - "hexValue": "226e616d65223a22", - "id": 365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3476:10:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51367d69f1c3baff467b722249990cf2b0f92b1e50edd5a778b81ffc7191408f", - "typeString": "literal_string \"\"name\":\"\"" - }, - "value": "\"name\":\"" - }, - { - "expression": { - "id": 366, - "name": "app", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 355, - "src": "3488:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App storage pointer" - } - }, - "id": 367, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3492:4:1", - "memberName": "name", - "nodeType": "MemberAccess", - "referencedDeclaration": 159, - "src": "3488:8:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "222c", - "id": 368, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3498:4:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_24823e6fed9f46f380d33960e511caeb002037c5a4e9735154809fa36b166ffb", - "typeString": "literal_string \"\",\"" - }, - "value": "\"," - }, - { - "hexValue": "226465736372697074696f6e223a22", - "id": 369, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3520:17:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1f63d9db42efe217d85281c4ef6267f200cbdd8e8d6fd9a3e9d557ed86a373c7", - "typeString": "literal_string \"\"description\":\"\"" - }, - "value": "\"description\":\"" - }, - { - "expression": { - "id": 370, - "name": "app", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 355, - "src": "3539:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App storage pointer" - } - }, - "id": 371, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3543:11:1", - "memberName": "description", - "nodeType": "MemberAccess", - "referencedDeclaration": 161, - "src": "3539:15:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "222c", - "id": 372, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3556:4:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_24823e6fed9f46f380d33960e511caeb002037c5a4e9735154809fa36b166ffb", - "typeString": "literal_string \"\",\"" - }, - "value": "\"," - }, - { - "hexValue": "226f776e6572223a22", - "id": 373, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3578:11:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_aa5040bb3495d70c48509afbb928e8d0398ff0e9a4d595e1bd35082607eb6804", - "typeString": "literal_string \"\"owner\":\"\"" - }, - "value": "\"owner\":\"" - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 378, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 348, - "src": "3619:5:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 377, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3611:7:1", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 376, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "3611:7:1", - "typeDescriptions": {} - } - }, - "id": 379, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3611:14:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - }, - { - "hexValue": "3230", - "id": 380, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3627:2:1", - "typeDescriptions": { - "typeIdentifier": "t_rational_20_by_1", - "typeString": "int_const 20" - }, - "value": "20" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - }, - { - "typeIdentifier": "t_rational_20_by_1", - "typeString": "int_const 20" - } - ], - "expression": { - "id": 374, - "name": "Strings", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27548, - "src": "3591:7:1", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Strings_$27548_$", - "typeString": "type(library Strings)" - } - }, - "id": 375, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3599:11:1", - "memberName": "toHexString", - "nodeType": "MemberAccess", - "referencedDeclaration": 27527, - "src": "3591:19:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256,uint256) pure returns (string memory)" - } - }, - "id": 381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3591:39:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "222c", - "id": 382, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3632:4:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_24823e6fed9f46f380d33960e511caeb002037c5a4e9735154809fa36b166ffb", - "typeString": "literal_string \"\",\"" - }, - "value": "\"," - }, - { - "hexValue": "2265787465726e616c5f75726c223a22", - "id": 383, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3654:18:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_153dd7a4db1a16c0bc09459a32699b07f8a0722d62a40df6d0b30c2d78048b07", - "typeString": "literal_string \"\"external_url\":\"\"" - }, - "value": "\"external_url\":\"" - }, - { - "expression": { - "id": 384, - "name": "app", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 355, - "src": "3674:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App storage pointer" - } - }, - "id": 385, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3678:12:1", - "memberName": "external_url", - "nodeType": "MemberAccess", - "referencedDeclaration": 165, - "src": "3674:16:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "222c", - "id": 386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3692:4:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_24823e6fed9f46f380d33960e511caeb002037c5a4e9735154809fa36b166ffb", - "typeString": "literal_string \"\",\"" - }, - "value": "\"," - }, - { - "hexValue": "22696d616765223a22", - "id": 387, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3714:11:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_813a444dcf0b75d812ca8afb53e513b340ca828208f41bc16bdcde529c0ea551", - "typeString": "literal_string \"\"image\":\"\"" - }, - "value": "\"image\":\"" - }, - { - "expression": { - "id": 388, - "name": "app", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 355, - "src": "3727:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App storage pointer" - } - }, - "id": 389, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3731:5:1", - "memberName": "image", - "nodeType": "MemberAccess", - "referencedDeclaration": 163, - "src": "3727:9:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "222c", - "id": 390, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3738:4:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_24823e6fed9f46f380d33960e511caeb002037c5a4e9735154809fa36b166ffb", - "typeString": "literal_string \"\",\"" - }, - "value": "\"," - }, - { - "hexValue": "2261747472696275746573223a205b", - "id": 391, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3760:17:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a9d6c84473de3f3a866c16d436066b8d4df325a647d2d3a768ffba45df210f3c", - "typeString": "literal_string \"\"attributes\": [\"" - }, - "value": "\"attributes\": [" - }, - { - "hexValue": "7b2274726169745f74797065223a2022454e53222c202276616c7565223a22", - "id": 392, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3799:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b1977dad00b1d45df31cde385892922fbf01ae8899a8104464fe62faa11870d0", - "typeString": "literal_string \"{\"trait_type\": \"ENS\", \"value\":\"\"" - }, - "value": "{\"trait_type\": \"ENS\", \"value\":\"" - }, - { - "expression": { - "id": 393, - "name": "app", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 355, - "src": "3834:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App storage pointer" - } - }, - "id": 394, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3838:3:1", - "memberName": "ENS", - "nodeType": "MemberAccess", - "referencedDeclaration": 167, - "src": "3834:7:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "227d2c", - "id": 395, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3842:5:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3e7f42fdd49259e0595590a474a25222fd39a13615f6ea5ab69ecfc85ad8702f", - "typeString": "literal_string \"\"},\"" - }, - "value": "\"}," - }, - { - "hexValue": "7b2274726169745f74797065223a2022436f6d6d69742048617368222c202276616c7565223a22", - "id": 396, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3869:41:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b73d9590f8416c8a9cef1b886e2fdf15148022d38f7665a30169401f08d28d84", - "typeString": "literal_string \"{\"trait_type\": \"Commit Hash\", \"value\":\"\"" - }, - "value": "{\"trait_type\": \"Commit Hash\", \"value\":\"" - }, - { - "expression": { - "baseExpression": { - "expression": { - "id": 397, - "name": "app", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 355, - "src": "3912:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App storage pointer" - } - }, - "id": 398, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3916:6:1", - "memberName": "builds", - "nodeType": "MemberAccess", - "referencedDeclaration": 174, - "src": "3912:10:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Build_$157_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.Build storage ref)" - } - }, - "id": 401, - "indexExpression": { - "expression": { - "id": 399, - "name": "app", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 355, - "src": "3923:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App storage pointer" - } - }, - "id": 400, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3927:13:1", - "memberName": "current_build", - "nodeType": "MemberAccess", - "referencedDeclaration": 169, - "src": "3923:17:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3912:29:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Build_$157_storage", - "typeString": "struct FleekERC721.Build storage ref" - } - }, - "id": 402, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3942:11:1", - "memberName": "commit_hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 154, - "src": "3912:41:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "227d2c", - "id": 403, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3954:5:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3e7f42fdd49259e0595590a474a25222fd39a13615f6ea5ab69ecfc85ad8702f", - "typeString": "literal_string \"\"},\"" - }, - "value": "\"}," - }, - { - "hexValue": "7b2274726169745f74797065223a20225265706f7369746f7279222c202276616c7565223a22", - "id": 404, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3981:40:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4b900011f9aa689cc6367c1d032b6aa02ddd903a01891d40bcc6ccf8deec8fe8", - "typeString": "literal_string \"{\"trait_type\": \"Repository\", \"value\":\"\"" - }, - "value": "{\"trait_type\": \"Repository\", \"value\":\"" - }, - { - "expression": { - "baseExpression": { - "expression": { - "id": 405, - "name": "app", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 355, - "src": "4023:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App storage pointer" - } - }, - "id": 406, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4027:6:1", - "memberName": "builds", - "nodeType": "MemberAccess", - "referencedDeclaration": 174, - "src": "4023:10:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Build_$157_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.Build storage ref)" - } - }, - "id": 409, - "indexExpression": { - "expression": { - "id": 407, - "name": "app", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 355, - "src": "4034:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App storage pointer" - } - }, - "id": 408, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4038:13:1", - "memberName": "current_build", - "nodeType": "MemberAccess", - "referencedDeclaration": 169, - "src": "4034:17:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4023:29:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Build_$157_storage", - "typeString": "struct FleekERC721.Build storage ref" - } - }, - "id": 410, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4053:14:1", - "memberName": "git_repository", - "nodeType": "MemberAccess", - "referencedDeclaration": 156, - "src": "4023:44:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "227d2c", - "id": 411, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4068:5:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3e7f42fdd49259e0595590a474a25222fd39a13615f6ea5ab69ecfc85ad8702f", - "typeString": "literal_string \"\"},\"" - }, - "value": "\"}," - }, - { - "hexValue": "7b2274726169745f74797065223a202256657273696f6e222c202276616c7565223a22", - "id": 412, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4095:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_28f5df53320854e06a7bf4620fddd54d632f51e992a075a608d3ffbf7301ce24", - "typeString": "literal_string \"{\"trait_type\": \"Version\", \"value\":\"\"" - }, - "value": "{\"trait_type\": \"Version\", \"value\":\"" - }, - { - "arguments": [ - { - "expression": { - "id": 415, - "name": "app", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 355, - "src": "4151:3:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage_ptr", - "typeString": "struct FleekERC721.App storage pointer" - } - }, - "id": 416, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4155:13:1", - "memberName": "current_build", - "nodeType": "MemberAccess", - "referencedDeclaration": 169, - "src": "4151:17:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 413, - "name": "Strings", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27548, - "src": "4134:7:1", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Strings_$27548_$", - "typeString": "type(library Strings)" - } - }, - "id": 414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4142:8:1", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 27431, - "src": "4134:16:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory)" - } - }, - "id": 417, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4134:35:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "227d", - "id": 418, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4170:4:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_835b459273672627bbafc3a2eded65187a632f4128bdc79e126c7ef579a27475", - "typeString": "literal_string \"\"}\"" - }, - "value": "\"}" - }, - { - "hexValue": "5d", - "id": 419, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4192:3:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b36bcf9cc1d9e7f60b1f757ebd8b4694b17fc592b16065d243c43b09fde00b29", - "typeString": "literal_string \"]\"" - }, - "value": "]" - }, - { - "hexValue": "7d", - "id": 420, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4209:3:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8e2ffa389f3a6ded42d759b3377ac0d928e6a268d143bcc9517093d10c843bff", - "typeString": "literal_string \"}\"" - }, - "value": "}" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a91eddf639b0b768929589c1a9fd21dcb0107199bdd82e55c5348018a1572f52", - "typeString": "literal_string \"{\"" - }, - { - "typeIdentifier": "t_stringliteral_51367d69f1c3baff467b722249990cf2b0f92b1e50edd5a778b81ffc7191408f", - "typeString": "literal_string \"\"name\":\"\"" - }, - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_24823e6fed9f46f380d33960e511caeb002037c5a4e9735154809fa36b166ffb", - "typeString": "literal_string \"\",\"" - }, - { - "typeIdentifier": "t_stringliteral_1f63d9db42efe217d85281c4ef6267f200cbdd8e8d6fd9a3e9d557ed86a373c7", - "typeString": "literal_string \"\"description\":\"\"" - }, - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_24823e6fed9f46f380d33960e511caeb002037c5a4e9735154809fa36b166ffb", - "typeString": "literal_string \"\",\"" - }, - { - "typeIdentifier": "t_stringliteral_aa5040bb3495d70c48509afbb928e8d0398ff0e9a4d595e1bd35082607eb6804", - "typeString": "literal_string \"\"owner\":\"\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_24823e6fed9f46f380d33960e511caeb002037c5a4e9735154809fa36b166ffb", - "typeString": "literal_string \"\",\"" - }, - { - "typeIdentifier": "t_stringliteral_153dd7a4db1a16c0bc09459a32699b07f8a0722d62a40df6d0b30c2d78048b07", - "typeString": "literal_string \"\"external_url\":\"\"" - }, - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_24823e6fed9f46f380d33960e511caeb002037c5a4e9735154809fa36b166ffb", - "typeString": "literal_string \"\",\"" - }, - { - "typeIdentifier": "t_stringliteral_813a444dcf0b75d812ca8afb53e513b340ca828208f41bc16bdcde529c0ea551", - "typeString": "literal_string \"\"image\":\"\"" - }, - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_24823e6fed9f46f380d33960e511caeb002037c5a4e9735154809fa36b166ffb", - "typeString": "literal_string \"\",\"" - }, - { - "typeIdentifier": "t_stringliteral_a9d6c84473de3f3a866c16d436066b8d4df325a647d2d3a768ffba45df210f3c", - "typeString": "literal_string \"\"attributes\": [\"" - }, - { - "typeIdentifier": "t_stringliteral_b1977dad00b1d45df31cde385892922fbf01ae8899a8104464fe62faa11870d0", - "typeString": "literal_string \"{\"trait_type\": \"ENS\", \"value\":\"\"" - }, - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_3e7f42fdd49259e0595590a474a25222fd39a13615f6ea5ab69ecfc85ad8702f", - "typeString": "literal_string \"\"},\"" - }, - { - "typeIdentifier": "t_stringliteral_b73d9590f8416c8a9cef1b886e2fdf15148022d38f7665a30169401f08d28d84", - "typeString": "literal_string \"{\"trait_type\": \"Commit Hash\", \"value\":\"\"" - }, - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_3e7f42fdd49259e0595590a474a25222fd39a13615f6ea5ab69ecfc85ad8702f", - "typeString": "literal_string \"\"},\"" - }, - { - "typeIdentifier": "t_stringliteral_4b900011f9aa689cc6367c1d032b6aa02ddd903a01891d40bcc6ccf8deec8fe8", - "typeString": "literal_string \"{\"trait_type\": \"Repository\", \"value\":\"\"" - }, - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_3e7f42fdd49259e0595590a474a25222fd39a13615f6ea5ab69ecfc85ad8702f", - "typeString": "literal_string \"\"},\"" - }, - { - "typeIdentifier": "t_stringliteral_28f5df53320854e06a7bf4620fddd54d632f51e992a075a608d3ffbf7301ce24", - "typeString": "literal_string \"{\"trait_type\": \"Version\", \"value\":\"\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_835b459273672627bbafc3a2eded65187a632f4128bdc79e126c7ef579a27475", - "typeString": "literal_string \"\"}\"" - }, - { - "typeIdentifier": "t_stringliteral_b36bcf9cc1d9e7f60b1f757ebd8b4694b17fc592b16065d243c43b09fde00b29", - "typeString": "literal_string \"]\"" - }, - { - "typeIdentifier": "t_stringliteral_8e2ffa389f3a6ded42d759b3377ac0d928e6a268d143bcc9517093d10c843bff", - "typeString": "literal_string \"}\"" - } - ], - "expression": { - "id": 362, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3425:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 363, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3429:12:1", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "3425:16:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 421, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3425:797:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3402:820:1" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 427, - "name": "_baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 529 - ], - "referencedDeclaration": 529, - "src": "4264:8:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", - "typeString": "function () view returns (string memory)" - } - }, - "id": 428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4264:10:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "arguments": [ - { - "components": [ - { - "id": 431, - "name": "dataURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 361, - "src": "4291:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 432, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4290:9:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 429, - "name": "Base64", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27277, - "src": "4276:6:1", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Base64_$27277_$", - "typeString": "type(library Base64)" - } - }, - "id": 430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4283:6:1", - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": 27276, - "src": "4276:13:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (bytes memory) pure returns (string memory)" - } - }, - "id": 433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4276:24:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 425, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4247:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 426, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4251:12:1", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "4247:16:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4247:54:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 424, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4240:6:1", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 423, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4240:6:1", - "typeDescriptions": {} - } - }, - "id": 435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4240:62:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 342, - "id": 436, - "nodeType": "Return", - "src": "4233:69:1" - } - ] - }, - "baseFunctions": [ - 25999 - ], - "functionSelector": "c87b56dd", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tokenURI", - "nameLocation": "3181:8:1", - "overrides": { - "id": 339, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3241:8:1" - }, - "parameters": { - "id": 338, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 337, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "3207:7:1", - "nodeType": "VariableDeclaration", - "scope": 438, - "src": "3199:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 336, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3199:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3189:31:1" - }, - "returnParameters": { - "id": 342, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 341, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 438, - "src": "3259:13:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 340, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3259:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3258:15:1" - }, - "scope": 745, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 461, - "nodeType": "FunctionDefinition", - "src": "4315:228:1", - "nodes": [], - "body": { - "id": 460, - "nodeType": "Block", - "src": "4436:107:1", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 449, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 440, - "src": "4461:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 448, - "name": "_requireMinted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26617, - "src": "4446:14:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$__$", - "typeString": "function (uint256) view" - } - }, - "id": 450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4446:23:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 451, - "nodeType": "ExpressionStatement", - "src": "4446:23:1" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 454, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 440, - "src": "4501:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "434f4e54524f4c4c4552", - "id": 455, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4510:12:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70546d1c92f8c2132ae23a23f5177aa8526356051c7510df99f50e012d221529", - "typeString": "literal_string \"CONTROLLER\"" - }, - "value": "CONTROLLER" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_70546d1c92f8c2132ae23a23f5177aa8526356051c7510df99f50e012d221529", - "typeString": "literal_string \"CONTROLLER\"" - } - ], - "id": 453, - "name": "_tokenRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 98, - "src": "4490:10:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (uint256,string memory) pure returns (bytes32)" - } - }, - "id": 456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4490:33:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 457, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 442, - "src": "4525:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 452, - "name": "_grantRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25689, - "src": "4479:10:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 458, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4479:57:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 459, - "nodeType": "ExpressionStatement", - "src": "4479:57:1" - } - ] - }, - "functionSelector": "dcd78186", - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "id": 445, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 440, - "src": "4427:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 446, - "kind": "modifierInvocation", - "modifierName": { - "id": 444, - "name": "requireTokenOwner", - "nameLocations": [ - "4409:17:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 211, - "src": "4409:17:1" - }, - "nodeType": "ModifierInvocation", - "src": "4409:26:1" - } - ], - "name": "addTokenController", - "nameLocation": "4324:18:1", - "parameters": { - "id": 443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 440, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "4360:7:1", - "nodeType": "VariableDeclaration", - "scope": 461, - "src": "4352:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 439, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4352:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 442, - "mutability": "mutable", - "name": "controller", - "nameLocation": "4385:10:1", - "nodeType": "VariableDeclaration", - "scope": 461, - "src": "4377:18:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 441, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4377:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4342:59:1" - }, - "returnParameters": { - "id": 447, - "nodeType": "ParameterList", - "parameters": [], - "src": "4436:0:1" - }, - "scope": 745, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 481, - "nodeType": "FunctionDefinition", - "src": "4549:204:1", - "nodes": [], - "body": { - "id": 480, - "nodeType": "Block", - "src": "4646:107:1", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 469, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 463, - "src": "4671:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 468, - "name": "_requireMinted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26617, - "src": "4656:14:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$__$", - "typeString": "function (uint256) view" - } - }, - "id": 470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4656:23:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 471, - "nodeType": "ExpressionStatement", - "src": "4656:23:1" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 474, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 463, - "src": "4711:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "434f4e54524f4c4c4552", - "id": 475, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4720:12:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70546d1c92f8c2132ae23a23f5177aa8526356051c7510df99f50e012d221529", - "typeString": "literal_string \"CONTROLLER\"" - }, - "value": "CONTROLLER" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_70546d1c92f8c2132ae23a23f5177aa8526356051c7510df99f50e012d221529", - "typeString": "literal_string \"CONTROLLER\"" - } - ], - "id": 473, - "name": "_tokenRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 98, - "src": "4700:10:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (uint256,string memory) pure returns (bytes32)" - } - }, - "id": 476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4700:33:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 477, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 465, - "src": "4735:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 472, - "name": "_grantRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25689, - "src": "4689:10:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 478, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4689:57:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 479, - "nodeType": "ExpressionStatement", - "src": "4689:57:1" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_addTokenController", - "nameLocation": "4558:19:1", - "parameters": { - "id": 466, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 463, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "4595:7:1", - "nodeType": "VariableDeclaration", - "scope": 481, - "src": "4587:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 462, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4587:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 465, - "mutability": "mutable", - "name": "controller", - "nameLocation": "4620:10:1", - "nodeType": "VariableDeclaration", - "scope": 481, - "src": "4612:18:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4612:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4577:59:1" - }, - "returnParameters": { - "id": 467, - "nodeType": "ParameterList", - "parameters": [], - "src": "4646:0:1" - }, - "scope": 745, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 504, - "nodeType": "FunctionDefinition", - "src": "4759:232:1", - "nodes": [], - "body": { - "id": 503, - "nodeType": "Block", - "src": "4883:108:1", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 492, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 483, - "src": "4908:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 491, - "name": "_requireMinted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26617, - "src": "4893:14:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$__$", - "typeString": "function (uint256) view" - } - }, - "id": 493, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4893:23:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 494, - "nodeType": "ExpressionStatement", - "src": "4893:23:1" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 497, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 483, - "src": "4949:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "434f4e54524f4c4c4552", - "id": 498, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4958:12:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70546d1c92f8c2132ae23a23f5177aa8526356051c7510df99f50e012d221529", - "typeString": "literal_string \"CONTROLLER\"" - }, - "value": "CONTROLLER" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_70546d1c92f8c2132ae23a23f5177aa8526356051c7510df99f50e012d221529", - "typeString": "literal_string \"CONTROLLER\"" - } - ], - "id": 496, - "name": "_tokenRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 98, - "src": "4938:10:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (uint256,string memory) pure returns (bytes32)" - } - }, - "id": 499, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4938:33:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 500, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 485, - "src": "4973:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 495, - "name": "_revokeRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25720, - "src": "4926:11:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4926:58:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 502, - "nodeType": "ExpressionStatement", - "src": "4926:58:1" - } - ] - }, - "functionSelector": "befaa6a3", - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "id": 488, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 483, - "src": "4874:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 489, - "kind": "modifierInvocation", - "modifierName": { - "id": 487, - "name": "requireTokenOwner", - "nameLocations": [ - "4856:17:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 211, - "src": "4856:17:1" - }, - "nodeType": "ModifierInvocation", - "src": "4856:26:1" - } - ], - "name": "removeTokenController", - "nameLocation": "4768:21:1", - "parameters": { - "id": 486, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 483, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "4807:7:1", - "nodeType": "VariableDeclaration", - "scope": 504, - "src": "4799:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 482, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4799:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 485, - "mutability": "mutable", - "name": "controller", - "nameLocation": "4832:10:1", - "nodeType": "VariableDeclaration", - "scope": 504, - "src": "4824:18:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 484, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4824:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4789:59:1" - }, - "returnParameters": { - "id": 490, - "nodeType": "ParameterList", - "parameters": [], - "src": "4883:0:1" - }, - "scope": 745, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 520, - "nodeType": "FunctionDefinition", - "src": "4997:188:1", - "nodes": [], - "body": { - "id": 519, - "nodeType": "Block", - "src": "5125:60:1", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 516, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 506, - "src": "5166:11:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "id": 514, - "name": "super", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -25, - "src": "5142:5:1", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_super$_FleekERC721_$745_$", - "typeString": "type(contract super FleekERC721)" - } - }, - "id": 515, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5148:17:1", - "memberName": "supportsInterface", - "nodeType": "MemberAccess", - "referencedDeclaration": 25466, - "src": "5142:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes4_$returns$_t_bool_$", - "typeString": "function (bytes4) view returns (bool)" - } - }, - "id": 517, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5142:36:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 513, - "id": 518, - "nodeType": "Return", - "src": "5135:43:1" - } - ] - }, - "baseFunctions": [ - 25466, - 25888 - ], - "functionSelector": "01ffc9a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "supportsInterface", - "nameLocation": "5006:17:1", - "overrides": { - "id": 510, - "nodeType": "OverrideSpecifier", - "overrides": [ - { - "id": 508, - "name": "ERC721", - "nameLocations": [ - "5087:6:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26739, - "src": "5087:6:1" - }, - { - "id": 509, - "name": "AccessControl", - "nameLocations": [ - "5095:13:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 25721, - "src": "5095:13:1" - } - ], - "src": "5078:31:1" - }, - "parameters": { - "id": 507, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 506, - "mutability": "mutable", - "name": "interfaceId", - "nameLocation": "5040:11:1", - "nodeType": "VariableDeclaration", - "scope": 520, - "src": "5033:18:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 505, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "5033:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "5023:34:1" - }, - "returnParameters": { - "id": 513, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 512, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 520, - "src": "5119:4:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 511, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5119:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "5118:6:1" - }, - "scope": 745, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 529, - "nodeType": "FunctionDefinition", - "src": "5191:130:1", - "nodes": [], - "body": { - "id": 528, - "nodeType": "Block", - "src": "5266:55:1", - "nodes": [], - "statements": [ - { - "expression": { - "hexValue": "646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c", - "id": 526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5283:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bccab2d885f86fda81bfd84dd4248d31f8073b473d187111d36536db073076fa", - "typeString": "literal_string \"data:application/json;base64,\"" - }, - "value": "data:application/json;base64," - }, - "functionReturnParameters": 525, - "id": 527, - "nodeType": "Return", - "src": "5276:38:1" - } - ] - }, - "baseFunctions": [ - 26008 - ], - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_baseURI", - "nameLocation": "5200:8:1", - "overrides": { - "id": 522, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5233:8:1" - }, - "parameters": { - "id": 521, - "nodeType": "ParameterList", - "parameters": [], - "src": "5208:2:1" - }, - "returnParameters": { - "id": 525, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 524, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 529, - "src": "5251:13:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 523, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5251:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5250:15:1" - }, - "scope": 745, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 556, - "nodeType": "FunctionDefinition", - "src": "5327:307:1", - "nodes": [], - "body": { - "id": 555, - "nodeType": "Block", - "src": "5475:159:1", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 540, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 531, - "src": "5500:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 539, - "name": "_requireMinted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26617, - "src": "5485:14:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$__$", - "typeString": "function (uint256) view" - } - }, - "id": 541, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5485:23:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 542, - "nodeType": "ExpressionStatement", - "src": "5485:23:1" - }, - { - "expression": { - "id": 548, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 543, - "name": "_apps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 183, - "src": "5518:5:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_App_$175_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.App storage ref)" - } - }, - "id": 545, - "indexExpression": { - "id": 544, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 531, - "src": "5524:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5518:14:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage", - "typeString": "struct FleekERC721.App storage ref" - } - }, - "id": 546, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "5533:12:1", - "memberName": "external_url", - "nodeType": "MemberAccess", - "referencedDeclaration": 165, - "src": "5518:27:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 547, - "name": "_tokenExternalURL", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 533, - "src": "5548:17:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "5518:47:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 549, - "nodeType": "ExpressionStatement", - "src": "5518:47:1" - }, - { - "eventCall": { - "arguments": [ - { - "id": 551, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 531, - "src": "5600:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 552, - "name": "_tokenExternalURL", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 533, - "src": "5609:17:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 550, - "name": "NewTokenExternalURL", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "5580:19:1", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory)" - } - }, - "id": 553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5580:47:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 554, - "nodeType": "EmitStatement", - "src": "5575:52:1" - } - ] - }, - "functionSelector": "f9315177", - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "id": 536, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 531, - "src": "5466:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 537, - "kind": "modifierInvocation", - "modifierName": { - "id": 535, - "name": "requireTokenController", - "nameLocations": [ - "5443:22:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 79, - "src": "5443:22:1" - }, - "nodeType": "ModifierInvocation", - "src": "5443:31:1" - } - ], - "name": "setTokenExternalURL", - "nameLocation": "5336:19:1", - "parameters": { - "id": 534, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 531, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "5373:7:1", - "nodeType": "VariableDeclaration", - "scope": 556, - "src": "5365:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 530, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5365:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 533, - "mutability": "mutable", - "name": "_tokenExternalURL", - "nameLocation": "5404:17:1", - "nodeType": "VariableDeclaration", - "scope": 556, - "src": "5390:31:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 532, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5390:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5355:72:1" - }, - "returnParameters": { - "id": 538, - "nodeType": "ParameterList", - "parameters": [], - "src": "5475:0:1" - }, - "scope": 745, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 583, - "nodeType": "FunctionDefinition", - "src": "5640:258:1", - "nodes": [], - "body": { - "id": 582, - "nodeType": "Block", - "src": "5772:126:1", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 567, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 558, - "src": "5797:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 566, - "name": "_requireMinted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26617, - "src": "5782:14:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$__$", - "typeString": "function (uint256) view" - } - }, - "id": 568, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5782:23:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 569, - "nodeType": "ExpressionStatement", - "src": "5782:23:1" - }, - { - "expression": { - "id": 575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 570, - "name": "_apps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 183, - "src": "5815:5:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_App_$175_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.App storage ref)" - } - }, - "id": 572, - "indexExpression": { - "id": 571, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 558, - "src": "5821:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5815:14:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage", - "typeString": "struct FleekERC721.App storage ref" - } - }, - "id": 573, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "5830:3:1", - "memberName": "ENS", - "nodeType": "MemberAccess", - "referencedDeclaration": 167, - "src": "5815:18:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 574, - "name": "_tokenENS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 560, - "src": "5836:9:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "5815:30:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 576, - "nodeType": "ExpressionStatement", - "src": "5815:30:1" - }, - { - "eventCall": { - "arguments": [ - { - "id": 578, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 558, - "src": "5872:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 579, - "name": "_tokenENS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 560, - "src": "5881:9:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 577, - "name": "NewTokenENS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 152, - "src": "5860:11:1", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory)" - } - }, - "id": 580, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5860:31:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 581, - "nodeType": "EmitStatement", - "src": "5855:36:1" - } - ] - }, - "functionSelector": "78278cca", - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "id": 563, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 558, - "src": "5763:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 564, - "kind": "modifierInvocation", - "modifierName": { - "id": 562, - "name": "requireTokenController", - "nameLocations": [ - "5740:22:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 79, - "src": "5740:22:1" - }, - "nodeType": "ModifierInvocation", - "src": "5740:31:1" - } - ], - "name": "setTokenENS", - "nameLocation": "5649:11:1", - "parameters": { - "id": 561, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 558, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "5678:7:1", - "nodeType": "VariableDeclaration", - "scope": 583, - "src": "5670:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 557, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5670:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 560, - "mutability": "mutable", - "name": "_tokenENS", - "nameLocation": "5709:9:1", - "nodeType": "VariableDeclaration", - "scope": 583, - "src": "5695:23:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 559, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5695:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5660:64:1" - }, - "returnParameters": { - "id": 565, - "nodeType": "ParameterList", - "parameters": [], - "src": "5772:0:1" - }, - "scope": 745, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 610, - "nodeType": "FunctionDefinition", - "src": "5904:264:1", - "nodes": [], - "body": { - "id": 609, - "nodeType": "Block", - "src": "6038:130:1", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 594, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 585, - "src": "6063:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 593, - "name": "_requireMinted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26617, - "src": "6048:14:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$__$", - "typeString": "function (uint256) view" - } - }, - "id": 595, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6048:23:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 596, - "nodeType": "ExpressionStatement", - "src": "6048:23:1" - }, - { - "expression": { - "id": 602, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 597, - "name": "_apps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 183, - "src": "6081:5:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_App_$175_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.App storage ref)" - } - }, - "id": 599, - "indexExpression": { - "id": 598, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 585, - "src": "6087:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6081:14:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage", - "typeString": "struct FleekERC721.App storage ref" - } - }, - "id": 600, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "6096:4:1", - "memberName": "name", - "nodeType": "MemberAccess", - "referencedDeclaration": 159, - "src": "6081:19:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 601, - "name": "_tokenName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 587, - "src": "6103:10:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "6081:32:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 603, - "nodeType": "ExpressionStatement", - "src": "6081:32:1" - }, - { - "eventCall": { - "arguments": [ - { - "id": 605, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 585, - "src": "6141:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 606, - "name": "_tokenName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 587, - "src": "6150:10:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 604, - "name": "NewTokenName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 128, - "src": "6128:12:1", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory)" - } - }, - "id": 607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6128:33:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 608, - "nodeType": "EmitStatement", - "src": "6123:38:1" - } - ] - }, - "functionSelector": "cdb0e89e", - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "id": 590, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 585, - "src": "6029:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 591, - "kind": "modifierInvocation", - "modifierName": { - "id": 589, - "name": "requireTokenController", - "nameLocations": [ - "6006:22:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 79, - "src": "6006:22:1" - }, - "nodeType": "ModifierInvocation", - "src": "6006:31:1" - } - ], - "name": "setTokenName", - "nameLocation": "5913:12:1", - "parameters": { - "id": 588, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 585, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "5943:7:1", - "nodeType": "VariableDeclaration", - "scope": 610, - "src": "5935:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 584, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5935:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 587, - "mutability": "mutable", - "name": "_tokenName", - "nameLocation": "5974:10:1", - "nodeType": "VariableDeclaration", - "scope": 610, - "src": "5960:24:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 586, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5960:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5925:65:1" - }, - "returnParameters": { - "id": 592, - "nodeType": "ParameterList", - "parameters": [], - "src": "6038:0:1" - }, - "scope": 745, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 637, - "nodeType": "FunctionDefinition", - "src": "6174:306:1", - "nodes": [], - "body": { - "id": 636, - "nodeType": "Block", - "src": "6322:158:1", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 621, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 612, - "src": "6347:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 620, - "name": "_requireMinted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26617, - "src": "6332:14:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$__$", - "typeString": "function (uint256) view" - } - }, - "id": 622, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6332:23:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 623, - "nodeType": "ExpressionStatement", - "src": "6332:23:1" - }, - { - "expression": { - "id": 629, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 624, - "name": "_apps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 183, - "src": "6365:5:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_App_$175_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.App storage ref)" - } - }, - "id": 626, - "indexExpression": { - "id": 625, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 612, - "src": "6371:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6365:14:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage", - "typeString": "struct FleekERC721.App storage ref" - } - }, - "id": 627, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "6380:11:1", - "memberName": "description", - "nodeType": "MemberAccess", - "referencedDeclaration": 161, - "src": "6365:26:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 628, - "name": "_tokenDescription", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 614, - "src": "6394:17:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "6365:46:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 630, - "nodeType": "ExpressionStatement", - "src": "6365:46:1" - }, - { - "eventCall": { - "arguments": [ - { - "id": 632, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 612, - "src": "6446:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 633, - "name": "_tokenDescription", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 614, - "src": "6455:17:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 631, - "name": "NewTokenDescription", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 134, - "src": "6426:19:1", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory)" - } - }, - "id": 634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6426:47:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 635, - "nodeType": "EmitStatement", - "src": "6421:52:1" - } - ] - }, - "functionSelector": "246a908b", - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "id": 617, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 612, - "src": "6313:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 618, - "kind": "modifierInvocation", - "modifierName": { - "id": 616, - "name": "requireTokenController", - "nameLocations": [ - "6290:22:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 79, - "src": "6290:22:1" - }, - "nodeType": "ModifierInvocation", - "src": "6290:31:1" - } - ], - "name": "setTokenDescription", - "nameLocation": "6183:19:1", - "parameters": { - "id": 615, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 612, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "6220:7:1", - "nodeType": "VariableDeclaration", - "scope": 637, - "src": "6212:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 611, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6212:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 614, - "mutability": "mutable", - "name": "_tokenDescription", - "nameLocation": "6251:17:1", - "nodeType": "VariableDeclaration", - "scope": 637, - "src": "6237:31:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 613, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6237:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6202:72:1" - }, - "returnParameters": { - "id": 619, - "nodeType": "ParameterList", - "parameters": [], - "src": "6322:0:1" - }, - "scope": 745, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 664, - "nodeType": "FunctionDefinition", - "src": "6486:270:1", - "nodes": [], - "body": { - "id": 663, - "nodeType": "Block", - "src": "6622:134:1", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 648, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 639, - "src": "6647:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 647, - "name": "_requireMinted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26617, - "src": "6632:14:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$__$", - "typeString": "function (uint256) view" - } - }, - "id": 649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6632:23:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 650, - "nodeType": "ExpressionStatement", - "src": "6632:23:1" - }, - { - "expression": { - "id": 656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 651, - "name": "_apps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 183, - "src": "6665:5:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_App_$175_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.App storage ref)" - } - }, - "id": 653, - "indexExpression": { - "id": 652, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 639, - "src": "6671:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6665:14:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage", - "typeString": "struct FleekERC721.App storage ref" - } - }, - "id": 654, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "6680:5:1", - "memberName": "image", - "nodeType": "MemberAccess", - "referencedDeclaration": 163, - "src": "6665:20:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 655, - "name": "_tokenImage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 641, - "src": "6688:11:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "6665:34:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 657, - "nodeType": "ExpressionStatement", - "src": "6665:34:1" - }, - { - "eventCall": { - "arguments": [ - { - "id": 659, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 639, - "src": "6728:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 660, - "name": "_tokenImage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 641, - "src": "6737:11:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 658, - "name": "NewTokenImage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 140, - "src": "6714:13:1", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory)" - } - }, - "id": 661, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6714:35:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 662, - "nodeType": "EmitStatement", - "src": "6709:40:1" - } - ] - }, - "functionSelector": "64140ec0", - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "id": 644, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 639, - "src": "6613:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 645, - "kind": "modifierInvocation", - "modifierName": { - "id": 643, - "name": "requireTokenController", - "nameLocations": [ - "6590:22:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 79, - "src": "6590:22:1" - }, - "nodeType": "ModifierInvocation", - "src": "6590:31:1" - } - ], - "name": "setTokenImage", - "nameLocation": "6495:13:1", - "parameters": { - "id": 642, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 639, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "6526:7:1", - "nodeType": "VariableDeclaration", - "scope": 664, - "src": "6518:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 638, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6518:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 641, - "mutability": "mutable", - "name": "_tokenImage", - "nameLocation": "6557:11:1", - "nodeType": "VariableDeclaration", - "scope": 664, - "src": "6543:25:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 640, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6543:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6508:66:1" - }, - "returnParameters": { - "id": 646, - "nodeType": "ParameterList", - "parameters": [], - "src": "6622:0:1" - }, - "scope": 745, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 702, - "nodeType": "FunctionDefinition", - "src": "6762:364:1", - "nodes": [], - "body": { - "id": 701, - "nodeType": "Block", - "src": "6938:188:1", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 677, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 666, - "src": "6963:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 676, - "name": "_requireMinted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26617, - "src": "6948:14:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$__$", - "typeString": "function (uint256) view" - } - }, - "id": 678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6948:23:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 679, - "nodeType": "ExpressionStatement", - "src": "6948:23:1" - }, - { - "expression": { - "id": 694, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "expression": { - "baseExpression": { - "id": 680, - "name": "_apps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 183, - "src": "6981:5:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_App_$175_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.App storage ref)" - } - }, - "id": 682, - "indexExpression": { - "id": 681, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 666, - "src": "6987:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6981:14:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage", - "typeString": "struct FleekERC721.App storage ref" - } - }, - "id": 683, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6996:6:1", - "memberName": "builds", - "nodeType": "MemberAccess", - "referencedDeclaration": 174, - "src": "6981:21:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Build_$157_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.Build storage ref)" - } - }, - "id": 689, - "indexExpression": { - "id": 688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "7003:30:1", - "subExpression": { - "expression": { - "baseExpression": { - "id": 684, - "name": "_apps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 183, - "src": "7005:5:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_App_$175_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.App storage ref)" - } - }, - "id": 686, - "indexExpression": { - "id": 685, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 666, - "src": "7011:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7005:14:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage", - "typeString": "struct FleekERC721.App storage ref" - } - }, - "id": 687, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "7020:13:1", - "memberName": "current_build", - "nodeType": "MemberAccess", - "referencedDeclaration": 169, - "src": "7005:28:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6981:53:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Build_$157_storage", - "typeString": "struct FleekERC721.Build storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 691, - "name": "_commit_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 668, - "src": "7043:12:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 692, - "name": "_git_repository", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 670, - "src": "7057:15:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 690, - "name": "Build", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 157, - "src": "7037:5:1", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Build_$157_storage_ptr_$", - "typeString": "type(struct FleekERC721.Build storage pointer)" - } - }, - "id": 693, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7037:36:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Build_$157_memory_ptr", - "typeString": "struct FleekERC721.Build memory" - } - }, - "src": "6981:92:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Build_$157_storage", - "typeString": "struct FleekERC721.Build storage ref" - } - }, - "id": 695, - "nodeType": "ExpressionStatement", - "src": "6981:92:1" - }, - { - "eventCall": { - "arguments": [ - { - "id": 697, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 666, - "src": "7097:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 698, - "name": "_commit_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 668, - "src": "7106:12:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 696, - "name": "NewBuild", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 122, - "src": "7088:8:1", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory)" - } - }, - "id": 699, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7088:31:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 700, - "nodeType": "EmitStatement", - "src": "7083:36:1" - } - ] - }, - "functionSelector": "3806f152", - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "id": 673, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 666, - "src": "6929:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 674, - "kind": "modifierInvocation", - "modifierName": { - "id": 672, - "name": "requireTokenController", - "nameLocations": [ - "6906:22:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 79, - "src": "6906:22:1" - }, - "nodeType": "ModifierInvocation", - "src": "6906:31:1" - } - ], - "name": "setTokenBuild", - "nameLocation": "6771:13:1", - "parameters": { - "id": 671, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 666, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "6802:7:1", - "nodeType": "VariableDeclaration", - "scope": 702, - "src": "6794:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 665, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6794:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 668, - "mutability": "mutable", - "name": "_commit_hash", - "nameLocation": "6833:12:1", - "nodeType": "VariableDeclaration", - "scope": 702, - "src": "6819:26:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 667, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6819:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 670, - "mutability": "mutable", - "name": "_git_repository", - "nameLocation": "6869:15:1", - "nodeType": "VariableDeclaration", - "scope": 702, - "src": "6855:29:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 669, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6855:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6784:106:1" - }, - "returnParameters": { - "id": 675, - "nodeType": "ParameterList", - "parameters": [], - "src": "6938:0:1" - }, - "scope": 745, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 744, - "nodeType": "FunctionDefinition", - "src": "7132:356:1", - "nodes": [], - "body": { - "id": 743, - "nodeType": "Block", - "src": "7224:264:1", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 716, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 712, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 704, - "src": "7263:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 711, - "name": "ownerOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25940, - "src": "7255:7:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7255:16:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "id": 714, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "7275:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7279:6:1", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "7275:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "7255:30:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "466c65656b4552433732313a206d75737420626520746f6b656e206f776e6572", - "id": 717, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7299:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a648a3de5d26aef0474a63f309beeecd457a566959dd1cff4538789f49f0cc66", - "typeString": "literal_string \"FleekERC721: must be token owner\"" - }, - "value": "FleekERC721: must be token owner" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_a648a3de5d26aef0474a63f309beeecd457a566959dd1cff4538789f49f0cc66", - "typeString": "literal_string \"FleekERC721: must be token owner\"" - } - ], - "id": 710, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7234:7:1", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 718, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7234:109:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 719, - "nodeType": "ExpressionStatement", - "src": "7234:109:1" - }, - { - "expression": { - "arguments": [ - { - "id": 723, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 704, - "src": "7365:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 720, - "name": "super", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -25, - "src": "7353:5:1", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_super$_FleekERC721_$745_$", - "typeString": "type(contract super FleekERC721)" - } - }, - "id": 722, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7359:5:1", - "memberName": "_burn", - "nodeType": "MemberAccess", - "referencedDeclaration": 26462, - "src": "7353:11:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256)" - } - }, - "id": 724, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7353:20:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 725, - "nodeType": "ExpressionStatement", - "src": "7353:20:1" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 735, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 728, - "name": "_apps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 183, - "src": "7394:5:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_App_$175_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.App storage ref)" - } - }, - "id": 730, - "indexExpression": { - "id": 729, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 704, - "src": "7400:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7394:14:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage", - "typeString": "struct FleekERC721.App storage ref" - } - }, - "id": 731, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7409:12:1", - "memberName": "external_url", - "nodeType": "MemberAccess", - "referencedDeclaration": 165, - "src": "7394:27:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - ], - "id": 727, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7388:5:1", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 726, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7388:5:1", - "typeDescriptions": {} - } - }, - "id": 732, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7388:34:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" - } - }, - "id": 733, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7423:6:1", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7388:41:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "hexValue": "30", - "id": 734, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7433:1:1", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "7388:46:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 742, - "nodeType": "IfStatement", - "src": "7384:98:1", - "trueBody": { - "id": 741, - "nodeType": "Block", - "src": "7436:46:1", - "statements": [ - { - "expression": { - "id": 739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "7450:21:1", - "subExpression": { - "baseExpression": { - "id": 736, - "name": "_apps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 183, - "src": "7457:5:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_App_$175_storage_$", - "typeString": "mapping(uint256 => struct FleekERC721.App storage ref)" - } - }, - "id": 738, - "indexExpression": { - "id": 737, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 704, - "src": "7463:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7457:14:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_App_$175_storage", - "typeString": "struct FleekERC721.App storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 740, - "nodeType": "ExpressionStatement", - "src": "7450:21:1" - } - ] - } - } - ] - }, - "functionSelector": "42966c68", - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "id": 707, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 704, - "src": "7215:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 708, - "kind": "modifierInvocation", - "modifierName": { - "id": 706, - "name": "requireTokenController", - "nameLocations": [ - "7192:22:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 79, - "src": "7192:22:1" - }, - "nodeType": "ModifierInvocation", - "src": "7192:31:1" - } - ], - "name": "burn", - "nameLocation": "7141:4:1", - "parameters": { - "id": 705, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 704, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "7163:7:1", - "nodeType": "VariableDeclaration", - "scope": 744, - "src": "7155:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 703, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7155:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7145:31:1" - }, - "returnParameters": { - "id": 709, - "nodeType": "ParameterList", - "parameters": [], - "src": "7224:0:1" - }, - "scope": 745, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 106, - "name": "ERC721", - "nameLocations": [ - "280:6:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26739, - "src": "280:6:1" - }, - "id": 107, - "nodeType": "InheritanceSpecifier", - "src": "280:6:1" - }, - { - "baseName": { - "id": 108, - "name": "FleekAccessControl", - "nameLocations": [ - "288:18:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 99, - "src": "288:18:1" - }, - "id": 109, - "nodeType": "InheritanceSpecifier", - "src": "288:18:1" - } - ], - "canonicalName": "FleekERC721", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 745, - 99, - 25721, - 26739, - 26900, - 26855, - 27572, - 27584, - 25794, - 27299 - ], - "name": "FleekERC721", - "nameLocation": "265:11:1", - "scope": 746, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 1 -} \ No newline at end of file diff --git a/out/IAccessControl.sol/IAccessControl.json b/out/IAccessControl.sol/IAccessControl.json deleted file mode 100644 index c0d37d4..0000000 --- a/out/IAccessControl.sol/IAccessControl.json +++ /dev/null @@ -1,1289 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "previousAdminRole", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "newAdminRole", - "type": "bytes32" - } - ], - "name": "RoleAdminChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "RoleGranted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "RoleRevoked", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - } - ], - "name": "getRoleAdmin", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "grantRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "hasRole", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "renounceRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "revokeRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "getRoleAdmin(bytes32)": "248a9ca3", - "grantRole(bytes32,address)": "2f2ff15d", - "hasRole(bytes32,address)": "91d14854", - "renounceRole(bytes32,address)": "36568abe", - "revokeRole(bytes32,address)": "d547741f" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"External interface of AccessControl declared to support ERC165 detection.\",\"events\":{\"RoleAdminChanged(bytes32,bytes32,bytes32)\":{\"details\":\"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}.\"},\"RoleRevoked(bytes32,address,address)\":{\"details\":\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)\"}},\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {AccessControl-_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":\"IAccessControl\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "bytes32", - "name": "previousAdminRole", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "bytes32", - "name": "newAdminRole", - "type": "bytes32", - "indexed": true - } - ], - "type": "event", - "name": "RoleAdminChanged", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "address", - "name": "account", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "sender", - "type": "address", - "indexed": true - } - ], - "type": "event", - "name": "RoleGranted", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "address", - "name": "account", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "sender", - "type": "address", - "indexed": true - } - ], - "type": "event", - "name": "RoleRevoked", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getRoleAdmin", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "grantRole" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "hasRole", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "renounceRole" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeRole" - } - ], - "devdoc": { - "kind": "dev", - "methods": { - "getRoleAdmin(bytes32)": { - "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {AccessControl-_setRoleAdmin}." - }, - "grantRole(bytes32,address)": { - "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." - }, - "hasRole(bytes32,address)": { - "details": "Returns `true` if `account` has been granted `role`." - }, - "renounceRole(bytes32,address)": { - "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." - }, - "revokeRole(bytes32,address)": { - "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/access/IAccessControl.sol": "IAccessControl" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "node_modules/@openzeppelin/contracts/access/IAccessControl.sol": { - "keccak256": "0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57", - "urls": [ - "bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a", - "dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/access/IAccessControl.sol", - "id": 25775, - "exportedSymbols": { - "IAccessControl": [ - 25774 - ] - }, - "nodeType": "SourceUnit", - "src": "94:2826:17", - "nodes": [ - { - "id": 25703, - "nodeType": "PragmaDirective", - "src": "94:23:17", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 25774, - "nodeType": "ContractDefinition", - "src": "209:2710:17", - "nodes": [ - { - "id": 25713, - "nodeType": "EventDefinition", - "src": "537:110:17", - "nodes": [], - "anonymous": false, - "documentation": { - "id": 25705, - "nodeType": "StructuredDocumentation", - "src": "240:292:17", - "text": " @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\n `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\n {RoleAdminChanged} not being emitted signaling this.\n _Available since v3.1._" - }, - "eventSelector": "bd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff", - "name": "RoleAdminChanged", - "nameLocation": "543:16:17", - "parameters": { - "id": 25712, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25707, - "indexed": true, - "mutability": "mutable", - "name": "role", - "nameLocation": "576:4:17", - "nodeType": "VariableDeclaration", - "scope": 25713, - "src": "560:20:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25706, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "560:7:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25709, - "indexed": true, - "mutability": "mutable", - "name": "previousAdminRole", - "nameLocation": "598:17:17", - "nodeType": "VariableDeclaration", - "scope": 25713, - "src": "582:33:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25708, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "582:7:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25711, - "indexed": true, - "mutability": "mutable", - "name": "newAdminRole", - "nameLocation": "633:12:17", - "nodeType": "VariableDeclaration", - "scope": 25713, - "src": "617:28:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25710, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "617:7:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "559:87:17" - } - }, - { - "id": 25722, - "nodeType": "EventDefinition", - "src": "870:89:17", - "nodes": [], - "anonymous": false, - "documentation": { - "id": 25714, - "nodeType": "StructuredDocumentation", - "src": "653:212:17", - "text": " @dev Emitted when `account` is granted `role`.\n `sender` is the account that originated the contract call, an admin role\n bearer except when using {AccessControl-_setupRole}." - }, - "eventSelector": "2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d", - "name": "RoleGranted", - "nameLocation": "876:11:17", - "parameters": { - "id": 25721, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25716, - "indexed": true, - "mutability": "mutable", - "name": "role", - "nameLocation": "904:4:17", - "nodeType": "VariableDeclaration", - "scope": 25722, - "src": "888:20:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25715, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "888:7:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25718, - "indexed": true, - "mutability": "mutable", - "name": "account", - "nameLocation": "926:7:17", - "nodeType": "VariableDeclaration", - "scope": 25722, - "src": "910:23:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25717, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "910:7:17", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25720, - "indexed": true, - "mutability": "mutable", - "name": "sender", - "nameLocation": "951:6:17", - "nodeType": "VariableDeclaration", - "scope": 25722, - "src": "935:22:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25719, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "935:7:17", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "887:71:17" - } - }, - { - "id": 25731, - "nodeType": "EventDefinition", - "src": "1245:89:17", - "nodes": [], - "anonymous": false, - "documentation": { - "id": 25723, - "nodeType": "StructuredDocumentation", - "src": "965:275:17", - "text": " @dev Emitted when `account` is revoked `role`.\n `sender` is the account that originated the contract call:\n - if using `revokeRole`, it is the admin role bearer\n - if using `renounceRole`, it is the role bearer (i.e. `account`)" - }, - "eventSelector": "f6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b", - "name": "RoleRevoked", - "nameLocation": "1251:11:17", - "parameters": { - "id": 25730, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25725, - "indexed": true, - "mutability": "mutable", - "name": "role", - "nameLocation": "1279:4:17", - "nodeType": "VariableDeclaration", - "scope": 25731, - "src": "1263:20:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25724, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1263:7:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25727, - "indexed": true, - "mutability": "mutable", - "name": "account", - "nameLocation": "1301:7:17", - "nodeType": "VariableDeclaration", - "scope": 25731, - "src": "1285:23:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25726, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1285:7:17", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25729, - "indexed": true, - "mutability": "mutable", - "name": "sender", - "nameLocation": "1326:6:17", - "nodeType": "VariableDeclaration", - "scope": 25731, - "src": "1310:22:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25728, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1310:7:17", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1262:71:17" - } - }, - { - "id": 25741, - "nodeType": "FunctionDefinition", - "src": "1421:77:17", - "nodes": [], - "documentation": { - "id": 25732, - "nodeType": "StructuredDocumentation", - "src": "1340:76:17", - "text": " @dev Returns `true` if `account` has been granted `role`." - }, - "functionSelector": "91d14854", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "hasRole", - "nameLocation": "1430:7:17", - "parameters": { - "id": 25737, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25734, - "mutability": "mutable", - "name": "role", - "nameLocation": "1446:4:17", - "nodeType": "VariableDeclaration", - "scope": 25741, - "src": "1438:12:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25733, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1438:7:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25736, - "mutability": "mutable", - "name": "account", - "nameLocation": "1460:7:17", - "nodeType": "VariableDeclaration", - "scope": 25741, - "src": "1452:15:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25735, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1452:7:17", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1437:31:17" - }, - "returnParameters": { - "id": 25740, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25739, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25741, - "src": "1492:4:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 25738, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1492:4:17", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "1491:6:17" - }, - "scope": 25774, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 25749, - "nodeType": "FunctionDefinition", - "src": "1693:68:17", - "nodes": [], - "documentation": { - "id": 25742, - "nodeType": "StructuredDocumentation", - "src": "1504:184:17", - "text": " @dev Returns the admin role that controls `role`. See {grantRole} and\n {revokeRole}.\n To change a role's admin, use {AccessControl-_setRoleAdmin}." - }, - "functionSelector": "248a9ca3", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getRoleAdmin", - "nameLocation": "1702:12:17", - "parameters": { - "id": 25745, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25744, - "mutability": "mutable", - "name": "role", - "nameLocation": "1723:4:17", - "nodeType": "VariableDeclaration", - "scope": 25749, - "src": "1715:12:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25743, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1715:7:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "1714:14:17" - }, - "returnParameters": { - "id": 25748, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25747, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25749, - "src": "1752:7:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25746, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1752:7:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "1751:9:17" - }, - "scope": 25774, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 25757, - "nodeType": "FunctionDefinition", - "src": "2011:59:17", - "nodes": [], - "documentation": { - "id": 25750, - "nodeType": "StructuredDocumentation", - "src": "1767:239:17", - "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event.\n Requirements:\n - the caller must have ``role``'s admin role." - }, - "functionSelector": "2f2ff15d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "grantRole", - "nameLocation": "2020:9:17", - "parameters": { - "id": 25755, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25752, - "mutability": "mutable", - "name": "role", - "nameLocation": "2038:4:17", - "nodeType": "VariableDeclaration", - "scope": 25757, - "src": "2030:12:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25751, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2030:7:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25754, - "mutability": "mutable", - "name": "account", - "nameLocation": "2052:7:17", - "nodeType": "VariableDeclaration", - "scope": 25757, - "src": "2044:15:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25753, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2044:7:17", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2029:31:17" - }, - "returnParameters": { - "id": 25756, - "nodeType": "ParameterList", - "parameters": [], - "src": "2069:0:17" - }, - "scope": 25774, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 25765, - "nodeType": "FunctionDefinition", - "src": "2304:60:17", - "nodes": [], - "documentation": { - "id": 25758, - "nodeType": "StructuredDocumentation", - "src": "2076:223:17", - "text": " @dev Revokes `role` from `account`.\n If `account` had been granted `role`, emits a {RoleRevoked} event.\n Requirements:\n - the caller must have ``role``'s admin role." - }, - "functionSelector": "d547741f", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "revokeRole", - "nameLocation": "2313:10:17", - "parameters": { - "id": 25763, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25760, - "mutability": "mutable", - "name": "role", - "nameLocation": "2332:4:17", - "nodeType": "VariableDeclaration", - "scope": 25765, - "src": "2324:12:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25759, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2324:7:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25762, - "mutability": "mutable", - "name": "account", - "nameLocation": "2346:7:17", - "nodeType": "VariableDeclaration", - "scope": 25765, - "src": "2338:15:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25761, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2338:7:17", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2323:31:17" - }, - "returnParameters": { - "id": 25764, - "nodeType": "ParameterList", - "parameters": [], - "src": "2363:0:17" - }, - "scope": 25774, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 25773, - "nodeType": "FunctionDefinition", - "src": "2855:62:17", - "nodes": [], - "documentation": { - "id": 25766, - "nodeType": "StructuredDocumentation", - "src": "2370:480:17", - "text": " @dev Revokes `role` from the calling account.\n Roles are often managed via {grantRole} and {revokeRole}: this function's\n purpose is to provide a mechanism for accounts to lose their privileges\n if they are compromised (such as when a trusted device is misplaced).\n If the calling account had been granted `role`, emits a {RoleRevoked}\n event.\n Requirements:\n - the caller must be `account`." - }, - "functionSelector": "36568abe", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "renounceRole", - "nameLocation": "2864:12:17", - "parameters": { - "id": 25771, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25768, - "mutability": "mutable", - "name": "role", - "nameLocation": "2885:4:17", - "nodeType": "VariableDeclaration", - "scope": 25773, - "src": "2877:12:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25767, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2877:7:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25770, - "mutability": "mutable", - "name": "account", - "nameLocation": "2899:7:17", - "nodeType": "VariableDeclaration", - "scope": 25773, - "src": "2891:15:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25769, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2891:7:17", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2876:31:17" - }, - "returnParameters": { - "id": 25772, - "nodeType": "ParameterList", - "parameters": [], - "src": "2916:0:17" - }, - "scope": 25774, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "IAccessControl", - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 25704, - "nodeType": "StructuredDocumentation", - "src": "119:89:17", - "text": " @dev External interface of AccessControl declared to support ERC165 detection." - }, - "fullyImplemented": false, - "linearizedBaseContracts": [ - 25774 - ], - "name": "IAccessControl", - "nameLocation": "219:14:17", - "scope": 25775, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 17 -} \ No newline at end of file diff --git a/out/IERC165.sol/IERC165.json b/out/IERC165.sol/IERC165.json deleted file mode 100644 index f3ff05b..0000000 --- a/out/IERC165.sol/IERC165.json +++ /dev/null @@ -1,257 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "supportsInterface(bytes4)": "01ffc9a7" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"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\":{\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":\"IERC165\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "stateMutability": "view", - "type": "function", - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - } - ], - "devdoc": { - "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": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": "IERC165" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { - "keccak256": "0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1", - "urls": [ - "bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f", - "dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", - "id": 27565, - "exportedSymbols": { - "IERC165": [ - 27564 - ] - }, - "nodeType": "SourceUnit", - "src": "100:753:28", - "nodes": [ - { - "id": 27554, - "nodeType": "PragmaDirective", - "src": "100:23:28", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 27564, - "nodeType": "ContractDefinition", - "src": "405:447:28", - "nodes": [ - { - "id": 27563, - "nodeType": "FunctionDefinition", - "src": "774:76:28", - "nodes": [], - "documentation": { - "id": 27556, - "nodeType": "StructuredDocumentation", - "src": "429:340:28", - "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", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "supportsInterface", - "nameLocation": "783:17:28", - "parameters": { - "id": 27559, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27558, - "mutability": "mutable", - "name": "interfaceId", - "nameLocation": "808:11:28", - "nodeType": "VariableDeclaration", - "scope": 27563, - "src": "801:18:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 27557, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "801:6:28", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "800:20:28" - }, - "returnParameters": { - "id": 27562, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27561, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27563, - "src": "844:4:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 27560, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "844:4:28", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "843:6:28" - }, - "scope": 27564, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "IERC165", - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 27555, - "nodeType": "StructuredDocumentation", - "src": "125:279:28", - "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, - "linearizedBaseContracts": [ - 27564 - ], - "name": "IERC165", - "nameLocation": "415:7:28", - "scope": 27565, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 28 -} \ No newline at end of file diff --git a/out/IERC721.sol/IERC721.json b/out/IERC721.sol/IERC721.json deleted file mode 100644 index b71793d..0000000 --- a/out/IERC721.sol/IERC721.json +++ /dev/null @@ -1,2051 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "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": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "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": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "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" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "approve(address,uint256)": "095ea7b3", - "balanceOf(address)": "70a08231", - "getApproved(uint256)": "081812fc", - "isApprovedForAll(address,address)": "e985e9c5", - "ownerOf(uint256)": "6352211e", - "safeTransferFrom(address,address,uint256)": "42842e0e", - "safeTransferFrom(address,address,uint256,bytes)": "b88d4fde", - "setApprovalForAll(address,bool)": "a22cb465", - "supportsInterface(bytes4)": "01ffc9a7", - "transferFrom(address,address,uint256)": "23b872dd" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"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\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"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\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Required interface of an ERC721 compliant contract.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when `owner` enables `approved` to manage the `tokenId` token.\"},\"ApprovalForAll(address,address,bool)\":{\"details\":\"Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `tokenId` token is transferred from `from` to `to`.\"}},\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event.\"},\"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.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":\"IERC721\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "approved", - "type": "address", - "indexed": true - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256", - "indexed": true - } - ], - "type": "event", - "name": "Approval", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "operator", - "type": "address", - "indexed": true - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool", - "indexed": false - } - ], - "type": "event", - "name": "ApprovalForAll", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "to", - "type": "address", - "indexed": true - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256", - "indexed": true - } - ], - "type": "event", - "name": "Transfer", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "approve" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "safeTransferFrom" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "safeTransferFrom" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "_approved", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setApprovalForAll" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "stateMutability": "view", - "type": "function", - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom" - } - ], - "devdoc": { - "kind": "dev", - "methods": { - "approve(address,uint256)": { - "details": "Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event." - }, - "balanceOf(address)": { - "details": "Returns the number of tokens in ``owner``'s account." - }, - "getApproved(uint256)": { - "details": "Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist." - }, - "isApprovedForAll(address,address)": { - "details": "Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}" - }, - "ownerOf(uint256)": { - "details": "Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist." - }, - "safeTransferFrom(address,address,uint256)": { - "details": "Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event." - }, - "safeTransferFrom(address,address,uint256,bytes)": { - "details": "Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event." - }, - "setApprovalForAll(address,bool)": { - "details": "Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event." - }, - "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." - }, - "transferFrom(address,address,uint256)": { - "details": "Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": "IERC721" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": { - "keccak256": "0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68", - "urls": [ - "bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56", - "dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { - "keccak256": "0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1", - "urls": [ - "bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f", - "dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol", - "id": 26836, - "exportedSymbols": { - "IERC165": [ - 27564 - ], - "IERC721": [ - 26835 - ] - }, - "nodeType": "SourceUnit", - "src": "108:4868:19", - "nodes": [ - { - "id": 26721, - "nodeType": "PragmaDirective", - "src": "108:23:19", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 26722, - "nodeType": "ImportDirective", - "src": "133:47:19", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", - "file": "../../utils/introspection/IERC165.sol", - "nameLocation": "-1:-1:-1", - "scope": 26836, - "sourceUnit": 27565, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 26835, - "nodeType": "ContractDefinition", - "src": "250:4725:19", - "nodes": [ - { - "id": 26734, - "nodeType": "EventDefinition", - "src": "378:82:19", - "nodes": [], - "anonymous": false, - "documentation": { - "id": 26726, - "nodeType": "StructuredDocumentation", - "src": "285:88:19", - "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." - }, - "eventSelector": "ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", - "name": "Transfer", - "nameLocation": "384:8:19", - "parameters": { - "id": 26733, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26728, - "indexed": true, - "mutability": "mutable", - "name": "from", - "nameLocation": "409:4:19", - "nodeType": "VariableDeclaration", - "scope": 26734, - "src": "393:20:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26727, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "393:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26730, - "indexed": true, - "mutability": "mutable", - "name": "to", - "nameLocation": "431:2:19", - "nodeType": "VariableDeclaration", - "scope": 26734, - "src": "415:18:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26729, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "415:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26732, - "indexed": true, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "451:7:19", - "nodeType": "VariableDeclaration", - "scope": 26734, - "src": "435:23:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26731, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "435:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "392:67:19" - } - }, - { - "id": 26743, - "nodeType": "EventDefinition", - "src": "565:89:19", - "nodes": [], - "anonymous": false, - "documentation": { - "id": 26735, - "nodeType": "StructuredDocumentation", - "src": "466:94:19", - "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." - }, - "eventSelector": "8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925", - "name": "Approval", - "nameLocation": "571:8:19", - "parameters": { - "id": 26742, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26737, - "indexed": true, - "mutability": "mutable", - "name": "owner", - "nameLocation": "596:5:19", - "nodeType": "VariableDeclaration", - "scope": 26743, - "src": "580:21:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26736, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "580:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26739, - "indexed": true, - "mutability": "mutable", - "name": "approved", - "nameLocation": "619:8:19", - "nodeType": "VariableDeclaration", - "scope": 26743, - "src": "603:24:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26738, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "603:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26741, - "indexed": true, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "645:7:19", - "nodeType": "VariableDeclaration", - "scope": 26743, - "src": "629:23:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26740, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "629:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "579:74:19" - } - }, - { - "id": 26752, - "nodeType": "EventDefinition", - "src": "782:85:19", - "nodes": [], - "anonymous": false, - "documentation": { - "id": 26744, - "nodeType": "StructuredDocumentation", - "src": "660:117:19", - "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." - }, - "eventSelector": "17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31", - "name": "ApprovalForAll", - "nameLocation": "788:14:19", - "parameters": { - "id": 26751, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26746, - "indexed": true, - "mutability": "mutable", - "name": "owner", - "nameLocation": "819:5:19", - "nodeType": "VariableDeclaration", - "scope": 26752, - "src": "803:21:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26745, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "803:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26748, - "indexed": true, - "mutability": "mutable", - "name": "operator", - "nameLocation": "842:8:19", - "nodeType": "VariableDeclaration", - "scope": 26752, - "src": "826:24:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26747, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "826:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26750, - "indexed": false, - "mutability": "mutable", - "name": "approved", - "nameLocation": "857:8:19", - "nodeType": "VariableDeclaration", - "scope": 26752, - "src": "852:13:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26749, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "852:4:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "802:64:19" - } - }, - { - "id": 26760, - "nodeType": "FunctionDefinition", - "src": "954:74:19", - "nodes": [], - "documentation": { - "id": 26753, - "nodeType": "StructuredDocumentation", - "src": "873:76:19", - "text": " @dev Returns the number of tokens in ``owner``'s account." - }, - "functionSelector": "70a08231", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nameLocation": "963:9:19", - "parameters": { - "id": 26756, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26755, - "mutability": "mutable", - "name": "owner", - "nameLocation": "981:5:19", - "nodeType": "VariableDeclaration", - "scope": 26760, - "src": "973:13:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26754, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "973:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "972:15:19" - }, - "returnParameters": { - "id": 26759, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26758, - "mutability": "mutable", - "name": "balance", - "nameLocation": "1019:7:19", - "nodeType": "VariableDeclaration", - "scope": 26760, - "src": "1011:15:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26757, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1011:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1010:17:19" - }, - "scope": 26835, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 26768, - "nodeType": "FunctionDefinition", - "src": "1170:72:19", - "nodes": [], - "documentation": { - "id": 26761, - "nodeType": "StructuredDocumentation", - "src": "1034:131:19", - "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." - }, - "functionSelector": "6352211e", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "ownerOf", - "nameLocation": "1179:7:19", - "parameters": { - "id": 26764, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26763, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "1195:7:19", - "nodeType": "VariableDeclaration", - "scope": 26768, - "src": "1187:15:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26762, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1187:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1186:17:19" - }, - "returnParameters": { - "id": 26767, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26766, - "mutability": "mutable", - "name": "owner", - "nameLocation": "1235:5:19", - "nodeType": "VariableDeclaration", - "scope": 26768, - "src": "1227:13:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26765, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1227:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1226:15:19" - }, - "scope": 26835, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 26780, - "nodeType": "FunctionDefinition", - "src": "1809:137:19", - "nodes": [], - "documentation": { - "id": 26769, - "nodeType": "StructuredDocumentation", - "src": "1248:556:19", - "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." - }, - "functionSelector": "b88d4fde", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "safeTransferFrom", - "nameLocation": "1818:16:19", - "parameters": { - "id": 26778, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26771, - "mutability": "mutable", - "name": "from", - "nameLocation": "1852:4:19", - "nodeType": "VariableDeclaration", - "scope": 26780, - "src": "1844:12:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26770, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1844:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26773, - "mutability": "mutable", - "name": "to", - "nameLocation": "1874:2:19", - "nodeType": "VariableDeclaration", - "scope": 26780, - "src": "1866:10:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26772, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1866:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26775, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "1894:7:19", - "nodeType": "VariableDeclaration", - "scope": 26780, - "src": "1886:15:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26774, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1886:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26777, - "mutability": "mutable", - "name": "data", - "nameLocation": "1926:4:19", - "nodeType": "VariableDeclaration", - "scope": 26780, - "src": "1911:19:19", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26776, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1911:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1834:102:19" - }, - "returnParameters": { - "id": 26779, - "nodeType": "ParameterList", - "parameters": [], - "src": "1945:0:19" - }, - "scope": 26835, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 26790, - "nodeType": "FunctionDefinition", - "src": "2644:108:19", - "nodes": [], - "documentation": { - "id": 26781, - "nodeType": "StructuredDocumentation", - "src": "1952:687:19", - "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." - }, - "functionSelector": "42842e0e", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "safeTransferFrom", - "nameLocation": "2653:16:19", - "parameters": { - "id": 26788, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26783, - "mutability": "mutable", - "name": "from", - "nameLocation": "2687:4:19", - "nodeType": "VariableDeclaration", - "scope": 26790, - "src": "2679:12:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26782, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2679:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26785, - "mutability": "mutable", - "name": "to", - "nameLocation": "2709:2:19", - "nodeType": "VariableDeclaration", - "scope": 26790, - "src": "2701:10:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26784, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2701:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26787, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "2729:7:19", - "nodeType": "VariableDeclaration", - "scope": 26790, - "src": "2721:15:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26786, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2721:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2669:73:19" - }, - "returnParameters": { - "id": 26789, - "nodeType": "ParameterList", - "parameters": [], - "src": "2751:0:19" - }, - "scope": 26835, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 26800, - "nodeType": "FunctionDefinition", - "src": "3495:104:19", - "nodes": [], - "documentation": { - "id": 26791, - "nodeType": "StructuredDocumentation", - "src": "2758:732:19", - "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721\n or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\n understand this adds an external call which potentially creates a reentrancy vulnerability.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." - }, - "functionSelector": "23b872dd", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transferFrom", - "nameLocation": "3504:12:19", - "parameters": { - "id": 26798, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26793, - "mutability": "mutable", - "name": "from", - "nameLocation": "3534:4:19", - "nodeType": "VariableDeclaration", - "scope": 26800, - "src": "3526:12:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26792, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3526:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26795, - "mutability": "mutable", - "name": "to", - "nameLocation": "3556:2:19", - "nodeType": "VariableDeclaration", - "scope": 26800, - "src": "3548:10:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26794, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3548:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26797, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "3576:7:19", - "nodeType": "VariableDeclaration", - "scope": 26800, - "src": "3568:15:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26796, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3568:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3516:73:19" - }, - "returnParameters": { - "id": 26799, - "nodeType": "ParameterList", - "parameters": [], - "src": "3598:0:19" - }, - "scope": 26835, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 26808, - "nodeType": "FunctionDefinition", - "src": "4062:55:19", - "nodes": [], - "documentation": { - "id": 26801, - "nodeType": "StructuredDocumentation", - "src": "3605:452:19", - "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." - }, - "functionSelector": "095ea7b3", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "approve", - "nameLocation": "4071:7:19", - "parameters": { - "id": 26806, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26803, - "mutability": "mutable", - "name": "to", - "nameLocation": "4087:2:19", - "nodeType": "VariableDeclaration", - "scope": 26808, - "src": "4079:10:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26802, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4079:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26805, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "4099:7:19", - "nodeType": "VariableDeclaration", - "scope": 26808, - "src": "4091:15:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26804, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4091:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4078:29:19" - }, - "returnParameters": { - "id": 26807, - "nodeType": "ParameterList", - "parameters": [], - "src": "4116:0:19" - }, - "scope": 26835, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 26816, - "nodeType": "FunctionDefinition", - "src": "4437:70:19", - "nodes": [], - "documentation": { - "id": 26809, - "nodeType": "StructuredDocumentation", - "src": "4123:309:19", - "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." - }, - "functionSelector": "a22cb465", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setApprovalForAll", - "nameLocation": "4446:17:19", - "parameters": { - "id": 26814, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26811, - "mutability": "mutable", - "name": "operator", - "nameLocation": "4472:8:19", - "nodeType": "VariableDeclaration", - "scope": 26816, - "src": "4464:16:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26810, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4464:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26813, - "mutability": "mutable", - "name": "_approved", - "nameLocation": "4487:9:19", - "nodeType": "VariableDeclaration", - "scope": 26816, - "src": "4482:14:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26812, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4482:4:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "4463:34:19" - }, - "returnParameters": { - "id": 26815, - "nodeType": "ParameterList", - "parameters": [], - "src": "4506:0:19" - }, - "scope": 26835, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 26824, - "nodeType": "FunctionDefinition", - "src": "4657:79:19", - "nodes": [], - "documentation": { - "id": 26817, - "nodeType": "StructuredDocumentation", - "src": "4513:139:19", - "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." - }, - "functionSelector": "081812fc", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getApproved", - "nameLocation": "4666:11:19", - "parameters": { - "id": 26820, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26819, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "4686:7:19", - "nodeType": "VariableDeclaration", - "scope": 26824, - "src": "4678:15:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26818, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4678:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4677:17:19" - }, - "returnParameters": { - "id": 26823, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26822, - "mutability": "mutable", - "name": "operator", - "nameLocation": "4726:8:19", - "nodeType": "VariableDeclaration", - "scope": 26824, - "src": "4718:16:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26821, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4718:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4717:18:19" - }, - "scope": 26835, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 26834, - "nodeType": "FunctionDefinition", - "src": "4885:88:19", - "nodes": [], - "documentation": { - "id": 26825, - "nodeType": "StructuredDocumentation", - "src": "4742:138:19", - "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" - }, - "functionSelector": "e985e9c5", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isApprovedForAll", - "nameLocation": "4894:16:19", - "parameters": { - "id": 26830, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26827, - "mutability": "mutable", - "name": "owner", - "nameLocation": "4919:5:19", - "nodeType": "VariableDeclaration", - "scope": 26834, - "src": "4911:13:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26826, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4911:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26829, - "mutability": "mutable", - "name": "operator", - "nameLocation": "4934:8:19", - "nodeType": "VariableDeclaration", - "scope": 26834, - "src": "4926:16:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26828, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4926:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4910:33:19" - }, - "returnParameters": { - "id": 26833, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26832, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26834, - "src": "4967:4:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26831, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4967:4:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "4966:6:19" - }, - "scope": 26835, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 26724, - "name": "IERC165", - "nameLocations": [ - "271:7:19" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27564, - "src": "271:7:19" - }, - "id": 26725, - "nodeType": "InheritanceSpecifier", - "src": "271:7:19" - } - ], - "canonicalName": "IERC721", - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 26723, - "nodeType": "StructuredDocumentation", - "src": "182:67:19", - "text": " @dev Required interface of an ERC721 compliant contract." - }, - "fullyImplemented": false, - "linearizedBaseContracts": [ - 26835, - 27564 - ], - "name": "IERC721", - "nameLocation": "260:7:19", - "scope": 26836, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 19 -} \ No newline at end of file diff --git a/out/IERC721Metadata.sol/IERC721Metadata.json b/out/IERC721Metadata.sol/IERC721Metadata.json deleted file mode 100644 index 9a7da67..0000000 --- a/out/IERC721Metadata.sol/IERC721Metadata.json +++ /dev/null @@ -1,1099 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "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": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "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": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "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" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "approve(address,uint256)": "095ea7b3", - "balanceOf(address)": "70a08231", - "getApproved(uint256)": "081812fc", - "isApprovedForAll(address,address)": "e985e9c5", - "name()": "06fdde03", - "ownerOf(uint256)": "6352211e", - "safeTransferFrom(address,address,uint256)": "42842e0e", - "safeTransferFrom(address,address,uint256,bytes)": "b88d4fde", - "setApprovalForAll(address,bool)": "a22cb465", - "supportsInterface(bytes4)": "01ffc9a7", - "symbol()": "95d89b41", - "tokenURI(uint256)": "c87b56dd", - "transferFrom(address,address,uint256)": "23b872dd" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"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\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"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\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"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\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"See https://eips.ethereum.org/EIPS/eip-721\",\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"name()\":{\"details\":\"Returns the token collection name.\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event.\"},\"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.\"},\"symbol()\":{\"details\":\"Returns the token collection symbol.\"},\"tokenURI(uint256)\":{\"details\":\"Returns the Uniform Resource Identifier (URI) for `tokenId` token.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"title\":\"ERC-721 Non-Fungible Token Standard, optional metadata extension\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":\"IERC721Metadata\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146\",\"dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "approved", - "type": "address", - "indexed": true - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256", - "indexed": true - } - ], - "type": "event", - "name": "Approval", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "operator", - "type": "address", - "indexed": true - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool", - "indexed": false - } - ], - "type": "event", - "name": "ApprovalForAll", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "to", - "type": "address", - "indexed": true - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256", - "indexed": true - } - ], - "type": "event", - "name": "Transfer", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "approve" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "safeTransferFrom" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "safeTransferFrom" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "_approved", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setApprovalForAll" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "stateMutability": "view", - "type": "function", - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom" - } - ], - "devdoc": { - "kind": "dev", - "methods": { - "approve(address,uint256)": { - "details": "Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event." - }, - "balanceOf(address)": { - "details": "Returns the number of tokens in ``owner``'s account." - }, - "getApproved(uint256)": { - "details": "Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist." - }, - "isApprovedForAll(address,address)": { - "details": "Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}" - }, - "name()": { - "details": "Returns the token collection name." - }, - "ownerOf(uint256)": { - "details": "Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist." - }, - "safeTransferFrom(address,address,uint256)": { - "details": "Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event." - }, - "safeTransferFrom(address,address,uint256,bytes)": { - "details": "Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event." - }, - "setApprovalForAll(address,bool)": { - "details": "Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event." - }, - "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." - }, - "symbol()": { - "details": "Returns the token collection symbol." - }, - "tokenURI(uint256)": { - "details": "Returns the Uniform Resource Identifier (URI) for `tokenId` token." - }, - "transferFrom(address,address,uint256)": { - "details": "Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol": "IERC721Metadata" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": { - "keccak256": "0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68", - "urls": [ - "bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56", - "dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol": { - "keccak256": "0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9", - "urls": [ - "bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146", - "dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { - "keccak256": "0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1", - "urls": [ - "bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f", - "dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol", - "id": 26881, - "exportedSymbols": { - "IERC165": [ - 27564 - ], - "IERC721": [ - 26835 - ], - "IERC721Metadata": [ - 26880 - ] - }, - "nodeType": "SourceUnit", - "src": "112:649:21", - "nodes": [ - { - "id": 26855, - "nodeType": "PragmaDirective", - "src": "112:23:21", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 26856, - "nodeType": "ImportDirective", - "src": "137:24:21", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol", - "file": "../IERC721.sol", - "nameLocation": "-1:-1:-1", - "scope": 26881, - "sourceUnit": 26836, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 26880, - "nodeType": "ContractDefinition", - "src": "297:463:21", - "nodes": [ - { - "id": 26865, - "nodeType": "FunctionDefinition", - "src": "403:54:21", - "nodes": [], - "documentation": { - "id": 26860, - "nodeType": "StructuredDocumentation", - "src": "340:58:21", - "text": " @dev Returns the token collection name." - }, - "functionSelector": "06fdde03", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "name", - "nameLocation": "412:4:21", - "parameters": { - "id": 26861, - "nodeType": "ParameterList", - "parameters": [], - "src": "416:2:21" - }, - "returnParameters": { - "id": 26864, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26863, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26865, - "src": "442:13:21", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 26862, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "442:6:21", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "441:15:21" - }, - "scope": 26880, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 26871, - "nodeType": "FunctionDefinition", - "src": "528:56:21", - "nodes": [], - "documentation": { - "id": 26866, - "nodeType": "StructuredDocumentation", - "src": "463:60:21", - "text": " @dev Returns the token collection symbol." - }, - "functionSelector": "95d89b41", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "symbol", - "nameLocation": "537:6:21", - "parameters": { - "id": 26867, - "nodeType": "ParameterList", - "parameters": [], - "src": "543:2:21" - }, - "returnParameters": { - "id": 26870, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26869, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26871, - "src": "569:13:21", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 26868, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "569:6:21", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "568:15:21" - }, - "scope": 26880, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 26879, - "nodeType": "FunctionDefinition", - "src": "685:73:21", - "nodes": [], - "documentation": { - "id": 26872, - "nodeType": "StructuredDocumentation", - "src": "590:90:21", - "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." - }, - "functionSelector": "c87b56dd", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "tokenURI", - "nameLocation": "694:8:21", - "parameters": { - "id": 26875, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26874, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "711:7:21", - "nodeType": "VariableDeclaration", - "scope": 26879, - "src": "703:15:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26873, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "703:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "702:17:21" - }, - "returnParameters": { - "id": 26878, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26877, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26879, - "src": "743:13:21", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 26876, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "743:6:21", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "742:15:21" - }, - "scope": 26880, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 26858, - "name": "IERC721", - "nameLocations": [ - "326:7:21" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26835, - "src": "326:7:21" - }, - "id": 26859, - "nodeType": "InheritanceSpecifier", - "src": "326:7:21" - } - ], - "canonicalName": "IERC721Metadata", - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 26857, - "nodeType": "StructuredDocumentation", - "src": "163:133:21", - "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" - }, - "fullyImplemented": false, - "linearizedBaseContracts": [ - 26880, - 26835, - 27564 - ], - "name": "IERC721Metadata", - "nameLocation": "307:15:21", - "scope": 26881, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 21 -} \ No newline at end of file diff --git a/out/IERC721Receiver.sol/IERC721Receiver.json b/out/IERC721Receiver.sol/IERC721Receiver.json deleted file mode 100644 index 68c2388..0000000 --- a/out/IERC721Receiver.sol/IERC721Receiver.json +++ /dev/null @@ -1,370 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "onERC721Received", - "outputs": [ - { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "onERC721Received(address,address,uint256,bytes)": "150b7a02" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface for any contract that wants to support safeTransfers from ERC721 asset contracts.\",\"kind\":\"dev\",\"methods\":{\"onERC721Received(address,address,uint256,bytes)\":{\"details\":\"Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} by `operator` from `from`, this function is called. It must return its Solidity selector to confirm the token transfer. If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.\"}},\"title\":\"ERC721 token receiver interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":\"IERC721Receiver\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xa82b58eca1ee256be466e536706850163d2ec7821945abd6b4778cfb3bee37da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e75cf83beb757b8855791088546b8337e9d4684e169400c20d44a515353b708\",\"dweb:/ipfs/QmYvPafLfoquiDMEj7CKHtvbgHu7TJNPSVPSCjrtjV8HjV\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "onERC721Received", - "outputs": [ - { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": { - "onERC721Received(address,address,uint256,bytes)": { - "details": "Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} by `operator` from `from`, this function is called. It must return its Solidity selector to confirm the token transfer. If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": "IERC721Receiver" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": { - "keccak256": "0xa82b58eca1ee256be466e536706850163d2ec7821945abd6b4778cfb3bee37da", - "urls": [ - "bzz-raw://6e75cf83beb757b8855791088546b8337e9d4684e169400c20d44a515353b708", - "dweb:/ipfs/QmYvPafLfoquiDMEj7CKHtvbgHu7TJNPSVPSCjrtjV8HjV" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol", - "id": 26854, - "exportedSymbols": { - "IERC721Receiver": [ - 26853 - ] - }, - "nodeType": "SourceUnit", - "src": "116:871:20", - "nodes": [ - { - "id": 26837, - "nodeType": "PragmaDirective", - "src": "116:23:20", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 26853, - "nodeType": "ContractDefinition", - "src": "294:692:20", - "nodes": [ - { - "id": 26852, - "nodeType": "FunctionDefinition", - "src": "824:160:20", - "nodes": [], - "documentation": { - "id": 26839, - "nodeType": "StructuredDocumentation", - "src": "326:493:20", - "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`." - }, - "functionSelector": "150b7a02", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "onERC721Received", - "nameLocation": "833:16:20", - "parameters": { - "id": 26848, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26841, - "mutability": "mutable", - "name": "operator", - "nameLocation": "867:8:20", - "nodeType": "VariableDeclaration", - "scope": 26852, - "src": "859:16:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26840, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "859:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26843, - "mutability": "mutable", - "name": "from", - "nameLocation": "893:4:20", - "nodeType": "VariableDeclaration", - "scope": 26852, - "src": "885:12:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26842, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "885:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26845, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "915:7:20", - "nodeType": "VariableDeclaration", - "scope": 26852, - "src": "907:15:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26844, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "907:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26847, - "mutability": "mutable", - "name": "data", - "nameLocation": "947:4:20", - "nodeType": "VariableDeclaration", - "scope": 26852, - "src": "932:19:20", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26846, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "932:5:20", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "849:108:20" - }, - "returnParameters": { - "id": 26851, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26850, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26852, - "src": "976:6:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 26849, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "976:6:20", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "975:8:20" - }, - "scope": 26853, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "IERC721Receiver", - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 26838, - "nodeType": "StructuredDocumentation", - "src": "141:152:20", - "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." - }, - "fullyImplemented": false, - "linearizedBaseContracts": [ - 26853 - ], - "name": "IERC721Receiver", - "nameLocation": "304:15:20", - "scope": 26854, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 20 -} \ No newline at end of file diff --git a/out/Math.sol/Math.json b/out/Math.sol/Math.json deleted file mode 100644 index b98bfb8..0000000 --- a/out/Math.sol/Math.json +++ /dev/null @@ -1,11755 +0,0 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea26469706673582212209e3b89f489d2e119a45270f90b6d612c2490f2c0e787f8084b097f3497acd36364736f6c63430008110033", - "sourceMap": "202:12302:29:-:0;;;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x600080fdfea26469706673582212209e3b89f489d2e119a45270f90b6d612c2490f2c0e787f8084b097f3497acd36364736f6c63430008110033", - "sourceMap": "202:12302:29:-:0;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Standard math utilities missing in the Solidity language.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/utils/math/Math.sol\":\"Math\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b\",\"dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/math/Math.sol": "Math" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "node_modules/@openzeppelin/contracts/utils/math/Math.sol": { - "keccak256": "0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6", - "urls": [ - "bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b", - "dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/utils/math/Math.sol", - "id": 28430, - "exportedSymbols": { - "Math": [ - 28429 - ] - }, - "nodeType": "SourceUnit", - "src": "103:12402:29", - "nodes": [ - { - "id": 27566, - "nodeType": "PragmaDirective", - "src": "103:23:29", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 28429, - "nodeType": "ContractDefinition", - "src": "202:12302:29", - "nodes": [ - { - "id": 27571, - "nodeType": "EnumDefinition", - "src": "221:122:29", - "nodes": [], - "canonicalName": "Math.Rounding", - "members": [ - { - "id": 27568, - "name": "Down", - "nameLocation": "245:4:29", - "nodeType": "EnumValue", - "src": "245:4:29" - }, - { - "id": 27569, - "name": "Up", - "nameLocation": "287:2:29", - "nodeType": "EnumValue", - "src": "287:2:29" - }, - { - "id": 27570, - "name": "Zero", - "nameLocation": "318:4:29", - "nodeType": "EnumValue", - "src": "318:4:29" - } - ], - "name": "Rounding", - "nameLocation": "226:8:29" - }, - { - "id": 27589, - "nodeType": "FunctionDefinition", - "src": "413:104:29", - "nodes": [], - "body": { - "id": 27588, - "nodeType": "Block", - "src": "480:37:29", - "nodes": [], - "statements": [ - { - "expression": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27581, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27574, - "src": "497:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 27582, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27576, - "src": "501:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "497:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "id": 27585, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27576, - "src": "509:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "497:13:29", - "trueExpression": { - "id": 27584, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27574, - "src": "505:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 27580, - "id": 27587, - "nodeType": "Return", - "src": "490:20:29" - } - ] - }, - "documentation": { - "id": 27572, - "nodeType": "StructuredDocumentation", - "src": "349:59:29", - "text": " @dev Returns the largest of two numbers." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "max", - "nameLocation": "422:3:29", - "parameters": { - "id": 27577, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27574, - "mutability": "mutable", - "name": "a", - "nameLocation": "434:1:29", - "nodeType": "VariableDeclaration", - "scope": 27589, - "src": "426:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27573, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "426:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27576, - "mutability": "mutable", - "name": "b", - "nameLocation": "445:1:29", - "nodeType": "VariableDeclaration", - "scope": 27589, - "src": "437:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27575, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "437:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "425:22:29" - }, - "returnParameters": { - "id": 27580, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27579, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27589, - "src": "471:7:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27578, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "471:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "470:9:29" - }, - "scope": 28429, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27607, - "nodeType": "FunctionDefinition", - "src": "588:104:29", - "nodes": [], - "body": { - "id": 27606, - "nodeType": "Block", - "src": "655:37:29", - "nodes": [], - "statements": [ - { - "expression": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27599, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27592, - "src": "672:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 27600, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27594, - "src": "676:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "672:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "id": 27603, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27594, - "src": "684:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27604, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "672:13:29", - "trueExpression": { - "id": 27602, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27592, - "src": "680:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 27598, - "id": 27605, - "nodeType": "Return", - "src": "665:20:29" - } - ] - }, - "documentation": { - "id": 27590, - "nodeType": "StructuredDocumentation", - "src": "523:60:29", - "text": " @dev Returns the smallest of two numbers." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "min", - "nameLocation": "597:3:29", - "parameters": { - "id": 27595, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27592, - "mutability": "mutable", - "name": "a", - "nameLocation": "609:1:29", - "nodeType": "VariableDeclaration", - "scope": 27607, - "src": "601:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27591, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "601:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27594, - "mutability": "mutable", - "name": "b", - "nameLocation": "620:1:29", - "nodeType": "VariableDeclaration", - "scope": 27607, - "src": "612:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27593, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "612:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "600:22:29" - }, - "returnParameters": { - "id": 27598, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27597, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27607, - "src": "646:7:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27596, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "646:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "645:9:29" - }, - "scope": 28429, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27630, - "nodeType": "FunctionDefinition", - "src": "805:153:29", - "nodes": [], - "body": { - "id": 27629, - "nodeType": "Block", - "src": "876:82:29", - "nodes": [], - "statements": [ - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27627, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27619, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27617, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27610, - "src": "931:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "id": 27618, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27612, - "src": "935:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "931:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 27620, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "930:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27626, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27623, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27621, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27610, - "src": "941:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "^", - "rightExpression": { - "id": 27622, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27612, - "src": "945:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "941:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 27624, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "940:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "hexValue": "32", - "id": 27625, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "950:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "940:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "930:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 27616, - "id": 27628, - "nodeType": "Return", - "src": "923:28:29" - } - ] - }, - "documentation": { - "id": 27608, - "nodeType": "StructuredDocumentation", - "src": "698:102:29", - "text": " @dev Returns the average of two numbers. The result is rounded towards\n zero." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "average", - "nameLocation": "814:7:29", - "parameters": { - "id": 27613, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27610, - "mutability": "mutable", - "name": "a", - "nameLocation": "830:1:29", - "nodeType": "VariableDeclaration", - "scope": 27630, - "src": "822:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27609, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "822:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27612, - "mutability": "mutable", - "name": "b", - "nameLocation": "841:1:29", - "nodeType": "VariableDeclaration", - "scope": 27630, - "src": "833:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27611, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "833:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "821:22:29" - }, - "returnParameters": { - "id": 27616, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27615, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27630, - "src": "867:7:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27614, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "867:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "866:9:29" - }, - "scope": 28429, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27655, - "nodeType": "FunctionDefinition", - "src": "1157:194:29", - "nodes": [], - "body": { - "id": 27654, - "nodeType": "Block", - "src": "1228:123:29", - "nodes": [], - "statements": [ - { - "expression": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27642, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27640, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27633, - "src": "1316:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 27641, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1321:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1316:6:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27651, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27644, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27633, - "src": "1330:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 27645, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1334:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1330:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 27647, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1329:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 27648, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27635, - "src": "1339:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1329:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 27650, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1343:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1329:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "1316:28:29", - "trueExpression": { - "hexValue": "30", - "id": 27643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1325:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 27639, - "id": 27653, - "nodeType": "Return", - "src": "1309:35:29" - } - ] - }, - "documentation": { - "id": 27631, - "nodeType": "StructuredDocumentation", - "src": "964:188:29", - "text": " @dev Returns the ceiling of the division of two numbers.\n This differs from standard division with `/` in that it rounds up instead\n of rounding down." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "ceilDiv", - "nameLocation": "1166:7:29", - "parameters": { - "id": 27636, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27633, - "mutability": "mutable", - "name": "a", - "nameLocation": "1182:1:29", - "nodeType": "VariableDeclaration", - "scope": 27655, - "src": "1174:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27632, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1174:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27635, - "mutability": "mutable", - "name": "b", - "nameLocation": "1193:1:29", - "nodeType": "VariableDeclaration", - "scope": 27655, - "src": "1185:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27634, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1185:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1173:22:29" - }, - "returnParameters": { - "id": 27639, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27638, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27655, - "src": "1219:7:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27637, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1219:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1218:9:29" - }, - "scope": 28429, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27777, - "nodeType": "FunctionDefinition", - "src": "1667:3925:29", - "nodes": [], - "body": { - "id": 27776, - "nodeType": "Block", - "src": "1795:3797:29", - "nodes": [], - "statements": [ - { - "id": 27775, - "nodeType": "UncheckedBlock", - "src": "1805:3781:29", - "statements": [ - { - "assignments": [ - 27668 - ], - "declarations": [ - { - "constant": false, - "id": 27668, - "mutability": "mutable", - "name": "prod0", - "nameLocation": "2134:5:29", - "nodeType": "VariableDeclaration", - "scope": 27775, - "src": "2126:13:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27667, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2126:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 27669, - "nodeType": "VariableDeclarationStatement", - "src": "2126:13:29" - }, - { - "assignments": [ - 27671 - ], - "declarations": [ - { - "constant": false, - "id": 27671, - "mutability": "mutable", - "name": "prod1", - "nameLocation": "2206:5:29", - "nodeType": "VariableDeclaration", - "scope": 27775, - "src": "2198:13:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27670, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2198:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 27672, - "nodeType": "VariableDeclarationStatement", - "src": "2198:13:29" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "2278:157:29", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "2296:30:29", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2313:1:29" - }, - { - "name": "y", - "nodeType": "YulIdentifier", - "src": "2316:1:29" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2323:1:29", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "not", - "nodeType": "YulIdentifier", - "src": "2319:3:29" - }, - "nodeType": "YulFunctionCall", - "src": "2319:6:29" - } - ], - "functionName": { - "name": "mulmod", - "nodeType": "YulIdentifier", - "src": "2306:6:29" - }, - "nodeType": "YulFunctionCall", - "src": "2306:20:29" - }, - "variables": [ - { - "name": "mm", - "nodeType": "YulTypedName", - "src": "2300:2:29", - "type": "" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2343:18:29", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2356:1:29" - }, - { - "name": "y", - "nodeType": "YulIdentifier", - "src": "2359:1:29" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "2352:3:29" - }, - "nodeType": "YulFunctionCall", - "src": "2352:9:29" - }, - "variableNames": [ - { - "name": "prod0", - "nodeType": "YulIdentifier", - "src": "2343:5:29" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2378:43:29", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "mm", - "nodeType": "YulIdentifier", - "src": "2395:2:29" - }, - { - "name": "prod0", - "nodeType": "YulIdentifier", - "src": "2399:5:29" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "2391:3:29" - }, - "nodeType": "YulFunctionCall", - "src": "2391:14:29" - }, - { - "arguments": [ - { - "name": "mm", - "nodeType": "YulIdentifier", - "src": "2410:2:29" - }, - { - "name": "prod0", - "nodeType": "YulIdentifier", - "src": "2414:5:29" - } - ], - "functionName": { - "name": "lt", - "nodeType": "YulIdentifier", - "src": "2407:2:29" - }, - "nodeType": "YulFunctionCall", - "src": "2407:13:29" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "2387:3:29" - }, - "nodeType": "YulFunctionCall", - "src": "2387:34:29" - }, - "variableNames": [ - { - "name": "prod1", - "nodeType": "YulIdentifier", - "src": "2378:5:29" - } - ] - } - ] - }, - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 27668, - "isOffset": false, - "isSlot": false, - "src": "2343:5:29", - "valueSize": 1 - }, - { - "declaration": 27668, - "isOffset": false, - "isSlot": false, - "src": "2399:5:29", - "valueSize": 1 - }, - { - "declaration": 27668, - "isOffset": false, - "isSlot": false, - "src": "2414:5:29", - "valueSize": 1 - }, - { - "declaration": 27671, - "isOffset": false, - "isSlot": false, - "src": "2378:5:29", - "valueSize": 1 - }, - { - "declaration": 27658, - "isOffset": false, - "isSlot": false, - "src": "2313:1:29", - "valueSize": 1 - }, - { - "declaration": 27658, - "isOffset": false, - "isSlot": false, - "src": "2356:1:29", - "valueSize": 1 - }, - { - "declaration": 27660, - "isOffset": false, - "isSlot": false, - "src": "2316:1:29", - "valueSize": 1 - }, - { - "declaration": 27660, - "isOffset": false, - "isSlot": false, - "src": "2359:1:29", - "valueSize": 1 - } - ], - "id": 27673, - "nodeType": "InlineAssembly", - "src": "2269:166:29" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27674, - "name": "prod1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27671, - "src": "2516:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 27675, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2525:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2516:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 27682, - "nodeType": "IfStatement", - "src": "2512:75:29", - "trueBody": { - "id": 27681, - "nodeType": "Block", - "src": "2528:59:29", - "statements": [ - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27679, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27677, - "name": "prod0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27668, - "src": "2553:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 27678, - "name": "denominator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27662, - "src": "2561:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2553:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 27666, - "id": 27680, - "nodeType": "Return", - "src": "2546:26:29" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27684, - "name": "denominator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27662, - "src": "2697:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 27685, - "name": "prod1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27671, - "src": "2711:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2697:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 27683, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2689:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 27687, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2689:28:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27688, - "nodeType": "ExpressionStatement", - "src": "2689:28:29" - }, - { - "assignments": [ - 27690 - ], - "declarations": [ - { - "constant": false, - "id": 27690, - "mutability": "mutable", - "name": "remainder", - "nameLocation": "2981:9:29", - "nodeType": "VariableDeclaration", - "scope": 27775, - "src": "2973:17:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27689, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2973:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 27691, - "nodeType": "VariableDeclarationStatement", - "src": "2973:17:29" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "3013:291:29", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "3082:38:29", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "3102:1:29" - }, - { - "name": "y", - "nodeType": "YulIdentifier", - "src": "3105:1:29" - }, - { - "name": "denominator", - "nodeType": "YulIdentifier", - "src": "3108:11:29" - } - ], - "functionName": { - "name": "mulmod", - "nodeType": "YulIdentifier", - "src": "3095:6:29" - }, - "nodeType": "YulFunctionCall", - "src": "3095:25:29" - }, - "variableNames": [ - { - "name": "remainder", - "nodeType": "YulIdentifier", - "src": "3082:9:29" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "3202:41:29", - "value": { - "arguments": [ - { - "name": "prod1", - "nodeType": "YulIdentifier", - "src": "3215:5:29" - }, - { - "arguments": [ - { - "name": "remainder", - "nodeType": "YulIdentifier", - "src": "3225:9:29" - }, - { - "name": "prod0", - "nodeType": "YulIdentifier", - "src": "3236:5:29" - } - ], - "functionName": { - "name": "gt", - "nodeType": "YulIdentifier", - "src": "3222:2:29" - }, - "nodeType": "YulFunctionCall", - "src": "3222:20:29" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "3211:3:29" - }, - "nodeType": "YulFunctionCall", - "src": "3211:32:29" - }, - "variableNames": [ - { - "name": "prod1", - "nodeType": "YulIdentifier", - "src": "3202:5:29" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "3260:30:29", - "value": { - "arguments": [ - { - "name": "prod0", - "nodeType": "YulIdentifier", - "src": "3273:5:29" - }, - { - "name": "remainder", - "nodeType": "YulIdentifier", - "src": "3280:9:29" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "3269:3:29" - }, - "nodeType": "YulFunctionCall", - "src": "3269:21:29" - }, - "variableNames": [ - { - "name": "prod0", - "nodeType": "YulIdentifier", - "src": "3260:5:29" - } - ] - } - ] - }, - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 27662, - "isOffset": false, - "isSlot": false, - "src": "3108:11:29", - "valueSize": 1 - }, - { - "declaration": 27668, - "isOffset": false, - "isSlot": false, - "src": "3236:5:29", - "valueSize": 1 - }, - { - "declaration": 27668, - "isOffset": false, - "isSlot": false, - "src": "3260:5:29", - "valueSize": 1 - }, - { - "declaration": 27668, - "isOffset": false, - "isSlot": false, - "src": "3273:5:29", - "valueSize": 1 - }, - { - "declaration": 27671, - "isOffset": false, - "isSlot": false, - "src": "3202:5:29", - "valueSize": 1 - }, - { - "declaration": 27671, - "isOffset": false, - "isSlot": false, - "src": "3215:5:29", - "valueSize": 1 - }, - { - "declaration": 27690, - "isOffset": false, - "isSlot": false, - "src": "3082:9:29", - "valueSize": 1 - }, - { - "declaration": 27690, - "isOffset": false, - "isSlot": false, - "src": "3225:9:29", - "valueSize": 1 - }, - { - "declaration": 27690, - "isOffset": false, - "isSlot": false, - "src": "3280:9:29", - "valueSize": 1 - }, - { - "declaration": 27658, - "isOffset": false, - "isSlot": false, - "src": "3102:1:29", - "valueSize": 1 - }, - { - "declaration": 27660, - "isOffset": false, - "isSlot": false, - "src": "3105:1:29", - "valueSize": 1 - } - ], - "id": 27692, - "nodeType": "InlineAssembly", - "src": "3004:300:29" - }, - { - "assignments": [ - 27694 - ], - "declarations": [ - { - "constant": false, - "id": 27694, - "mutability": "mutable", - "name": "twos", - "nameLocation": "3619:4:29", - "nodeType": "VariableDeclaration", - "scope": 27775, - "src": "3611:12:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27693, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3611:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 27702, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27701, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27695, - "name": "denominator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27662, - "src": "3626:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27699, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "~", - "prefix": true, - "src": "3641:12:29", - "subExpression": { - "id": 27696, - "name": "denominator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27662, - "src": "3642:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 27698, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3656:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "3641:16:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 27700, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3640:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3626:32:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3611:47:29" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "3681:362:29", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "3746:37:29", - "value": { - "arguments": [ - { - "name": "denominator", - "nodeType": "YulIdentifier", - "src": "3765:11:29" - }, - { - "name": "twos", - "nodeType": "YulIdentifier", - "src": "3778:4:29" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "3761:3:29" - }, - "nodeType": "YulFunctionCall", - "src": "3761:22:29" - }, - "variableNames": [ - { - "name": "denominator", - "nodeType": "YulIdentifier", - "src": "3746:11:29" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "3850:25:29", - "value": { - "arguments": [ - { - "name": "prod0", - "nodeType": "YulIdentifier", - "src": "3863:5:29" - }, - { - "name": "twos", - "nodeType": "YulIdentifier", - "src": "3870:4:29" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "3859:3:29" - }, - "nodeType": "YulFunctionCall", - "src": "3859:16:29" - }, - "variableNames": [ - { - "name": "prod0", - "nodeType": "YulIdentifier", - "src": "3850:5:29" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "3990:39:29", - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4010:1:29", - "type": "", - "value": "0" - }, - { - "name": "twos", - "nodeType": "YulIdentifier", - "src": "4013:4:29" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "4006:3:29" - }, - "nodeType": "YulFunctionCall", - "src": "4006:12:29" - }, - { - "name": "twos", - "nodeType": "YulIdentifier", - "src": "4020:4:29" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "4002:3:29" - }, - "nodeType": "YulFunctionCall", - "src": "4002:23:29" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4027:1:29", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3998:3:29" - }, - "nodeType": "YulFunctionCall", - "src": "3998:31:29" - }, - "variableNames": [ - { - "name": "twos", - "nodeType": "YulIdentifier", - "src": "3990:4:29" - } - ] - } - ] - }, - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 27662, - "isOffset": false, - "isSlot": false, - "src": "3746:11:29", - "valueSize": 1 - }, - { - "declaration": 27662, - "isOffset": false, - "isSlot": false, - "src": "3765:11:29", - "valueSize": 1 - }, - { - "declaration": 27668, - "isOffset": false, - "isSlot": false, - "src": "3850:5:29", - "valueSize": 1 - }, - { - "declaration": 27668, - "isOffset": false, - "isSlot": false, - "src": "3863:5:29", - "valueSize": 1 - }, - { - "declaration": 27694, - "isOffset": false, - "isSlot": false, - "src": "3778:4:29", - "valueSize": 1 - }, - { - "declaration": 27694, - "isOffset": false, - "isSlot": false, - "src": "3870:4:29", - "valueSize": 1 - }, - { - "declaration": 27694, - "isOffset": false, - "isSlot": false, - "src": "3990:4:29", - "valueSize": 1 - }, - { - "declaration": 27694, - "isOffset": false, - "isSlot": false, - "src": "4013:4:29", - "valueSize": 1 - }, - { - "declaration": 27694, - "isOffset": false, - "isSlot": false, - "src": "4020:4:29", - "valueSize": 1 - } - ], - "id": 27703, - "nodeType": "InlineAssembly", - "src": "3672:371:29" - }, - { - "expression": { - "id": 27708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27704, - "name": "prod0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27668, - "src": "4109:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "|=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27705, - "name": "prod1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27671, - "src": "4118:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 27706, - "name": "twos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27694, - "src": "4126:4:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4118:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4109:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27709, - "nodeType": "ExpressionStatement", - "src": "4109:21:29" - }, - { - "assignments": [ - 27711 - ], - "declarations": [ - { - "constant": false, - "id": 27711, - "mutability": "mutable", - "name": "inverse", - "nameLocation": "4456:7:29", - "nodeType": "VariableDeclaration", - "scope": 27775, - "src": "4448:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27710, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4448:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 27718, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27717, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27714, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "33", - "id": 27712, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4467:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 27713, - "name": "denominator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27662, - "src": "4471:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4467:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 27715, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4466:17:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "^", - "rightExpression": { - "hexValue": "32", - "id": 27716, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4486:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "4466:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4448:39:29" - }, - { - "expression": { - "id": 27725, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27719, - "name": "inverse", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27711, - "src": "4704:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "*=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27724, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 27720, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4715:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27723, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27721, - "name": "denominator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27662, - "src": "4719:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 27722, - "name": "inverse", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27711, - "src": "4733:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4719:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4715:25:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4704:36:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27726, - "nodeType": "ExpressionStatement", - "src": "4704:36:29" - }, - { - "expression": { - "id": 27733, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27727, - "name": "inverse", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27711, - "src": "4773:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "*=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27732, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 27728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4784:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27729, - "name": "denominator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27662, - "src": "4788:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 27730, - "name": "inverse", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27711, - "src": "4802:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4788:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4784:25:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4773:36:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27734, - "nodeType": "ExpressionStatement", - "src": "4773:36:29" - }, - { - "expression": { - "id": 27741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27735, - "name": "inverse", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27711, - "src": "4843:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "*=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27740, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 27736, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4854:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27737, - "name": "denominator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27662, - "src": "4858:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 27738, - "name": "inverse", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27711, - "src": "4872:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4858:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4854:25:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4843:36:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27742, - "nodeType": "ExpressionStatement", - "src": "4843:36:29" - }, - { - "expression": { - "id": 27749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27743, - "name": "inverse", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27711, - "src": "4913:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "*=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 27744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4924:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27745, - "name": "denominator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27662, - "src": "4928:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 27746, - "name": "inverse", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27711, - "src": "4942:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4928:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4924:25:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4913:36:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27750, - "nodeType": "ExpressionStatement", - "src": "4913:36:29" - }, - { - "expression": { - "id": 27757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27751, - "name": "inverse", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27711, - "src": "4983:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "*=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27756, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 27752, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4994:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27755, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27753, - "name": "denominator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27662, - "src": "4998:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 27754, - "name": "inverse", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27711, - "src": "5012:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4998:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4994:25:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4983:36:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27758, - "nodeType": "ExpressionStatement", - "src": "4983:36:29" - }, - { - "expression": { - "id": 27765, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27759, - "name": "inverse", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27711, - "src": "5054:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "*=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27764, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 27760, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5065:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27761, - "name": "denominator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27662, - "src": "5069:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 27762, - "name": "inverse", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27711, - "src": "5083:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5069:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5065:25:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5054:36:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27766, - "nodeType": "ExpressionStatement", - "src": "5054:36:29" - }, - { - "expression": { - "id": 27771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27767, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27665, - "src": "5524:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27768, - "name": "prod0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27668, - "src": "5533:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 27769, - "name": "inverse", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27711, - "src": "5541:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5533:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5524:24:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27772, - "nodeType": "ExpressionStatement", - "src": "5524:24:29" - }, - { - "expression": { - "id": 27773, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27665, - "src": "5569:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 27666, - "id": 27774, - "nodeType": "Return", - "src": "5562:13:29" - } - ] - } - ] - }, - "documentation": { - "id": 27656, - "nodeType": "StructuredDocumentation", - "src": "1357:305:29", - "text": " @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)\n with further edits by Uniswap Labs also under MIT license." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "mulDiv", - "nameLocation": "1676:6:29", - "parameters": { - "id": 27663, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27658, - "mutability": "mutable", - "name": "x", - "nameLocation": "1700:1:29", - "nodeType": "VariableDeclaration", - "scope": 27777, - "src": "1692:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27657, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1692:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27660, - "mutability": "mutable", - "name": "y", - "nameLocation": "1719:1:29", - "nodeType": "VariableDeclaration", - "scope": 27777, - "src": "1711:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27659, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1711:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27662, - "mutability": "mutable", - "name": "denominator", - "nameLocation": "1738:11:29", - "nodeType": "VariableDeclaration", - "scope": 27777, - "src": "1730:19:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27661, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1730:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1682:73:29" - }, - "returnParameters": { - "id": 27666, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27665, - "mutability": "mutable", - "name": "result", - "nameLocation": "1787:6:29", - "nodeType": "VariableDeclaration", - "scope": 27777, - "src": "1779:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27664, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1779:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1778:16:29" - }, - "scope": 28429, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27821, - "nodeType": "FunctionDefinition", - "src": "5724:337:29", - "nodes": [], - "body": { - "id": 27820, - "nodeType": "Block", - "src": "5872:189:29", - "nodes": [], - "statements": [ - { - "assignments": [ - 27793 - ], - "declarations": [ - { - "constant": false, - "id": 27793, - "mutability": "mutable", - "name": "result", - "nameLocation": "5890:6:29", - "nodeType": "VariableDeclaration", - "scope": 27820, - "src": "5882:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27792, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5882:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 27799, - "initialValue": { - "arguments": [ - { - "id": 27795, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27780, - "src": "5906:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 27796, - "name": "y", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27782, - "src": "5909:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 27797, - "name": "denominator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27784, - "src": "5912:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27794, - "name": "mulDiv", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 27777, - 27821 - ], - "referencedDeclaration": 27777, - "src": "5899:6:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256,uint256) pure returns (uint256)" - } - }, - "id": 27798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5899:25:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5882:42:29" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 27811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - }, - "id": 27803, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27800, - "name": "rounding", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27787, - "src": "5938:8:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "id": 27801, - "name": "Rounding", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27571, - "src": "5950:8:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Rounding_$27571_$", - "typeString": "type(enum Math.Rounding)" - } - }, - "id": 27802, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5959:2:29", - "memberName": "Up", - "nodeType": "MemberAccess", - "referencedDeclaration": 27569, - "src": "5950:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - } - }, - "src": "5938:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27810, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 27805, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27780, - "src": "5972:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 27806, - "name": "y", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27782, - "src": "5975:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 27807, - "name": "denominator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27784, - "src": "5978:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27804, - "name": "mulmod", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -16, - "src": "5965:6:29", - "typeDescriptions": { - "typeIdentifier": "t_function_mulmod_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256,uint256) pure returns (uint256)" - } - }, - "id": 27808, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5965:25:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 27809, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5993:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5965:29:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5938:56:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 27817, - "nodeType": "IfStatement", - "src": "5934:98:29", - "trueBody": { - "id": 27816, - "nodeType": "Block", - "src": "5996:36:29", - "statements": [ - { - "expression": { - "id": 27814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27812, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27793, - "src": "6010:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "31", - "id": 27813, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6020:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "6010:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27815, - "nodeType": "ExpressionStatement", - "src": "6010:11:29" - } - ] - } - }, - { - "expression": { - "id": 27818, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27793, - "src": "6048:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 27791, - "id": 27819, - "nodeType": "Return", - "src": "6041:13:29" - } - ] - }, - "documentation": { - "id": 27778, - "nodeType": "StructuredDocumentation", - "src": "5598:121:29", - "text": " @notice Calculates x * y / denominator with full precision, following the selected rounding direction." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "mulDiv", - "nameLocation": "5733:6:29", - "parameters": { - "id": 27788, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27780, - "mutability": "mutable", - "name": "x", - "nameLocation": "5757:1:29", - "nodeType": "VariableDeclaration", - "scope": 27821, - "src": "5749:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27779, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5749:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27782, - "mutability": "mutable", - "name": "y", - "nameLocation": "5776:1:29", - "nodeType": "VariableDeclaration", - "scope": 27821, - "src": "5768:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27781, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5768:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27784, - "mutability": "mutable", - "name": "denominator", - "nameLocation": "5795:11:29", - "nodeType": "VariableDeclaration", - "scope": 27821, - "src": "5787:19:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27783, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5787:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27787, - "mutability": "mutable", - "name": "rounding", - "nameLocation": "5825:8:29", - "nodeType": "VariableDeclaration", - "scope": 27821, - "src": "5816:17:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - }, - "typeName": { - "id": 27786, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 27785, - "name": "Rounding", - "nameLocations": [ - "5816:8:29" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27571, - "src": "5816:8:29" - }, - "referencedDeclaration": 27571, - "src": "5816:8:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - } - }, - "visibility": "internal" - } - ], - "src": "5739:100:29" - }, - "returnParameters": { - "id": 27791, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27790, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27821, - "src": "5863:7:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27789, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5863:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5862:9:29" - }, - "scope": 28429, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27933, - "nodeType": "FunctionDefinition", - "src": "6280:1642:29", - "nodes": [], - "body": { - "id": 27932, - "nodeType": "Block", - "src": "6337:1585:29", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27829, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27824, - "src": "6351:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 27830, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6356:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "6351:6:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 27835, - "nodeType": "IfStatement", - "src": "6347:45:29", - "trueBody": { - "id": 27834, - "nodeType": "Block", - "src": "6359:33:29", - "statements": [ - { - "expression": { - "hexValue": "30", - "id": 27832, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6380:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "functionReturnParameters": 27828, - "id": 27833, - "nodeType": "Return", - "src": "6373:8:29" - } - ] - } - }, - { - "assignments": [ - 27837 - ], - "declarations": [ - { - "constant": false, - "id": 27837, - "mutability": "mutable", - "name": "result", - "nameLocation": "7079:6:29", - "nodeType": "VariableDeclaration", - "scope": 27932, - "src": "7071:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27836, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7071:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 27846, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27845, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 27838, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7088:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 27840, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27824, - "src": "7099:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27839, - "name": "log2", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 28101, - 28137 - ], - "referencedDeclaration": 28101, - "src": "7094:4:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256) pure returns (uint256)" - } - }, - "id": 27841, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7094:7:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "31", - "id": 27842, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7105:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7094:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 27844, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7093:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7088:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7071:36:29" - }, - { - "id": 27931, - "nodeType": "UncheckedBlock", - "src": "7508:408:29", - "statements": [ - { - "expression": { - "id": 27856, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27847, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7532:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27855, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27848, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7542:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27851, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27849, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27824, - "src": "7551:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 27850, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7555:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7551:10:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7542:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 27853, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7541:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "31", - "id": 27854, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7566:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7541:26:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7532:35:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27857, - "nodeType": "ExpressionStatement", - "src": "7532:35:29" - }, - { - "expression": { - "id": 27867, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27858, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7581:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27859, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7591:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27862, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27860, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27824, - "src": "7600:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 27861, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7604:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7600:10:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7591:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 27864, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7590:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "31", - "id": 27865, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7615:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7590:26:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7581:35:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27868, - "nodeType": "ExpressionStatement", - "src": "7581:35:29" - }, - { - "expression": { - "id": 27878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27869, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7630:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27877, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27874, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27870, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7640:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27871, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27824, - "src": "7649:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 27872, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7653:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7649:10:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7640:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 27875, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7639:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "31", - "id": 27876, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7664:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7639:26:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7630:35:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27879, - "nodeType": "ExpressionStatement", - "src": "7630:35:29" - }, - { - "expression": { - "id": 27889, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27880, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7679:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27888, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27881, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7689:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27884, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27882, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27824, - "src": "7698:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 27883, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7702:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7698:10:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7689:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 27886, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7688:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "31", - "id": 27887, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7713:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7688:26:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7679:35:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27890, - "nodeType": "ExpressionStatement", - "src": "7679:35:29" - }, - { - "expression": { - "id": 27900, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27891, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7728:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27896, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27892, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7738:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27893, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27824, - "src": "7747:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 27894, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7751:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7747:10:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7738:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 27897, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7737:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "31", - "id": 27898, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7762:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7737:26:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7728:35:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27901, - "nodeType": "ExpressionStatement", - "src": "7728:35:29" - }, - { - "expression": { - "id": 27911, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27902, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7777:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27903, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7787:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27906, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27904, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27824, - "src": "7796:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 27905, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7800:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7796:10:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7787:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 27908, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7786:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "31", - "id": 27909, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7811:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7786:26:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7777:35:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27912, - "nodeType": "ExpressionStatement", - "src": "7777:35:29" - }, - { - "expression": { - "id": 27922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27913, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7826:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27918, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27914, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7836:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27917, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27915, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27824, - "src": "7845:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 27916, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7849:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7845:10:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7836:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 27919, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7835:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "31", - "id": 27920, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7860:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7835:26:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7826:35:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27923, - "nodeType": "ExpressionStatement", - "src": "7826:35:29" - }, - { - "expression": { - "arguments": [ - { - "id": 27925, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7886:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27928, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27926, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27824, - "src": "7894:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 27927, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27837, - "src": "7898:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7894:10:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27924, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27607, - "src": "7882:3:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 27929, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7882:23:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 27828, - "id": 27930, - "nodeType": "Return", - "src": "7875:30:29" - } - ] - } - ] - }, - "documentation": { - "id": 27822, - "nodeType": "StructuredDocumentation", - "src": "6067:208:29", - "text": " @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.\n Inspired by Henry S. Warren, Jr.'s \"Hacker's Delight\" (Chapter 11)." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sqrt", - "nameLocation": "6289:4:29", - "parameters": { - "id": 27825, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27824, - "mutability": "mutable", - "name": "a", - "nameLocation": "6302:1:29", - "nodeType": "VariableDeclaration", - "scope": 27933, - "src": "6294:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27823, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6294:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6293:11:29" - }, - "returnParameters": { - "id": 27828, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27827, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27933, - "src": "6328:7:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27826, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6328:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6327:9:29" - }, - "scope": 28429, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27969, - "nodeType": "FunctionDefinition", - "src": "8022:237:29", - "nodes": [], - "body": { - "id": 27968, - "nodeType": "Block", - "src": "8098:161:29", - "nodes": [], - "statements": [ - { - "id": 27967, - "nodeType": "UncheckedBlock", - "src": "8108:145:29", - "statements": [ - { - "assignments": [ - 27945 - ], - "declarations": [ - { - "constant": false, - "id": 27945, - "mutability": "mutable", - "name": "result", - "nameLocation": "8140:6:29", - "nodeType": "VariableDeclaration", - "scope": 27967, - "src": "8132:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27944, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8132:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 27949, - "initialValue": { - "arguments": [ - { - "id": 27947, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27936, - "src": "8154:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27946, - "name": "sqrt", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 27933, - 27969 - ], - "referencedDeclaration": 27933, - "src": "8149:4:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256) pure returns (uint256)" - } - }, - "id": 27948, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8149:7:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8132:24:29" - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27965, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27950, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27945, - "src": "8177:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "components": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 27960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - }, - "id": 27954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27951, - "name": "rounding", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27939, - "src": "8187:8:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "id": 27952, - "name": "Rounding", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27571, - "src": "8199:8:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Rounding_$27571_$", - "typeString": "type(enum Math.Rounding)" - } - }, - "id": 27953, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8208:2:29", - "memberName": "Up", - "nodeType": "MemberAccess", - "referencedDeclaration": 27569, - "src": "8199:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - } - }, - "src": "8187:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27959, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27955, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27945, - "src": "8214:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 27956, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27945, - "src": "8223:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8214:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 27958, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27936, - "src": "8232:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8214:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8187:46:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "hexValue": "30", - "id": 27962, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8240:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "id": 27963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "8187:54:29", - "trueExpression": { - "hexValue": "31", - "id": 27961, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8236:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - } - ], - "id": 27964, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "8186:56:29", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "src": "8177:65:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 27943, - "id": 27966, - "nodeType": "Return", - "src": "8170:72:29" - } - ] - } - ] - }, - "documentation": { - "id": 27934, - "nodeType": "StructuredDocumentation", - "src": "7928:89:29", - "text": " @notice Calculates sqrt(a), following the selected rounding direction." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sqrt", - "nameLocation": "8031:4:29", - "parameters": { - "id": 27940, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27936, - "mutability": "mutable", - "name": "a", - "nameLocation": "8044:1:29", - "nodeType": "VariableDeclaration", - "scope": 27969, - "src": "8036:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27935, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8036:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27939, - "mutability": "mutable", - "name": "rounding", - "nameLocation": "8056:8:29", - "nodeType": "VariableDeclaration", - "scope": 27969, - "src": "8047:17:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - }, - "typeName": { - "id": 27938, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 27937, - "name": "Rounding", - "nameLocations": [ - "8047:8:29" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27571, - "src": "8047:8:29" - }, - "referencedDeclaration": 27571, - "src": "8047:8:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - } - }, - "visibility": "internal" - } - ], - "src": "8035:30:29" - }, - "returnParameters": { - "id": 27943, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27942, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27969, - "src": "8089:7:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27941, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8089:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8088:9:29" - }, - "scope": 28429, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 28101, - "nodeType": "FunctionDefinition", - "src": "8383:983:29", - "nodes": [], - "body": { - "id": 28100, - "nodeType": "Block", - "src": "8444:922:29", - "nodes": [], - "statements": [ - { - "assignments": [ - 27978 - ], - "declarations": [ - { - "constant": false, - "id": 27978, - "mutability": "mutable", - "name": "result", - "nameLocation": "8462:6:29", - "nodeType": "VariableDeclaration", - "scope": 28100, - "src": "8454:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27977, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8454:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 27980, - "initialValue": { - "hexValue": "30", - "id": 27979, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8471:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "8454:18:29" - }, - { - "id": 28097, - "nodeType": "UncheckedBlock", - "src": "8482:855:29", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27981, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27972, - "src": "8510:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "313238", - "id": 27982, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8519:3:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "8510:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 27984, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8525:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8510:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 27995, - "nodeType": "IfStatement", - "src": "8506:99:29", - "trueBody": { - "id": 27994, - "nodeType": "Block", - "src": "8528:77:29", - "statements": [ - { - "expression": { - "id": 27988, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27986, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27972, - "src": "8546:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": ">>=", - "rightHandSide": { - "hexValue": "313238", - "id": 27987, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8556:3:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "8546:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27989, - "nodeType": "ExpressionStatement", - "src": "8546:13:29" - }, - { - "expression": { - "id": 27992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27990, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27978, - "src": "8577:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "313238", - "id": 27991, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8587:3:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "8577:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27993, - "nodeType": "ExpressionStatement", - "src": "8577:13:29" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27996, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27972, - "src": "8622:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "3634", - "id": 27997, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8631:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_64_by_1", - "typeString": "int_const 64" - }, - "value": "64" - }, - "src": "8622:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 27999, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8636:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8622:15:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28010, - "nodeType": "IfStatement", - "src": "8618:96:29", - "trueBody": { - "id": 28009, - "nodeType": "Block", - "src": "8639:75:29", - "statements": [ - { - "expression": { - "id": 28003, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28001, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27972, - "src": "8657:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": ">>=", - "rightHandSide": { - "hexValue": "3634", - "id": 28002, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8667:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_64_by_1", - "typeString": "int_const 64" - }, - "value": "64" - }, - "src": "8657:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28004, - "nodeType": "ExpressionStatement", - "src": "8657:12:29" - }, - { - "expression": { - "id": 28007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28005, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27978, - "src": "8687:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "3634", - "id": 28006, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8697:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_64_by_1", - "typeString": "int_const 64" - }, - "value": "64" - }, - "src": "8687:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28008, - "nodeType": "ExpressionStatement", - "src": "8687:12:29" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28015, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28011, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27972, - "src": "8731:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "3332", - "id": 28012, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8740:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "8731:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 28014, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8745:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8731:15:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28025, - "nodeType": "IfStatement", - "src": "8727:96:29", - "trueBody": { - "id": 28024, - "nodeType": "Block", - "src": "8748:75:29", - "statements": [ - { - "expression": { - "id": 28018, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28016, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27972, - "src": "8766:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": ">>=", - "rightHandSide": { - "hexValue": "3332", - "id": 28017, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8776:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "8766:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28019, - "nodeType": "ExpressionStatement", - "src": "8766:12:29" - }, - { - "expression": { - "id": 28022, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28020, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27978, - "src": "8796:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "3332", - "id": 28021, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8806:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "8796:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28023, - "nodeType": "ExpressionStatement", - "src": "8796:12:29" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28030, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28026, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27972, - "src": "8840:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "3136", - "id": 28027, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8849:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_16_by_1", - "typeString": "int_const 16" - }, - "value": "16" - }, - "src": "8840:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 28029, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8854:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8840:15:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28040, - "nodeType": "IfStatement", - "src": "8836:96:29", - "trueBody": { - "id": 28039, - "nodeType": "Block", - "src": "8857:75:29", - "statements": [ - { - "expression": { - "id": 28033, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28031, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27972, - "src": "8875:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": ">>=", - "rightHandSide": { - "hexValue": "3136", - "id": 28032, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8885:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_16_by_1", - "typeString": "int_const 16" - }, - "value": "16" - }, - "src": "8875:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28034, - "nodeType": "ExpressionStatement", - "src": "8875:12:29" - }, - { - "expression": { - "id": 28037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28035, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27978, - "src": "8905:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "3136", - "id": 28036, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8915:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_16_by_1", - "typeString": "int_const 16" - }, - "value": "16" - }, - "src": "8905:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28038, - "nodeType": "ExpressionStatement", - "src": "8905:12:29" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28041, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27972, - "src": "8949:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "38", - "id": 28042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8958:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "8949:10:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 28044, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8962:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8949:14:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28055, - "nodeType": "IfStatement", - "src": "8945:93:29", - "trueBody": { - "id": 28054, - "nodeType": "Block", - "src": "8965:73:29", - "statements": [ - { - "expression": { - "id": 28048, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28046, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27972, - "src": "8983:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": ">>=", - "rightHandSide": { - "hexValue": "38", - "id": 28047, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8993:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "8983:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28049, - "nodeType": "ExpressionStatement", - "src": "8983:11:29" - }, - { - "expression": { - "id": 28052, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28050, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27978, - "src": "9012:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "38", - "id": 28051, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9022:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "9012:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28053, - "nodeType": "ExpressionStatement", - "src": "9012:11:29" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28058, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28056, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27972, - "src": "9055:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "34", - "id": 28057, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9064:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - }, - "src": "9055:10:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 28059, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9068:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "9055:14:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28070, - "nodeType": "IfStatement", - "src": "9051:93:29", - "trueBody": { - "id": 28069, - "nodeType": "Block", - "src": "9071:73:29", - "statements": [ - { - "expression": { - "id": 28063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28061, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27972, - "src": "9089:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": ">>=", - "rightHandSide": { - "hexValue": "34", - "id": 28062, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9099:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - }, - "src": "9089:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28064, - "nodeType": "ExpressionStatement", - "src": "9089:11:29" - }, - { - "expression": { - "id": 28067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28065, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27978, - "src": "9118:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "34", - "id": 28066, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9128:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - }, - "src": "9118:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28068, - "nodeType": "ExpressionStatement", - "src": "9118:11:29" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28075, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28073, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28071, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27972, - "src": "9161:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "32", - "id": 28072, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9170:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "9161:10:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 28074, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9174:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "9161:14:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28085, - "nodeType": "IfStatement", - "src": "9157:93:29", - "trueBody": { - "id": 28084, - "nodeType": "Block", - "src": "9177:73:29", - "statements": [ - { - "expression": { - "id": 28078, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28076, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27972, - "src": "9195:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": ">>=", - "rightHandSide": { - "hexValue": "32", - "id": 28077, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9205:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "9195:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28079, - "nodeType": "ExpressionStatement", - "src": "9195:11:29" - }, - { - "expression": { - "id": 28082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28080, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27978, - "src": "9224:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "32", - "id": 28081, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9234:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "9224:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28083, - "nodeType": "ExpressionStatement", - "src": "9224:11:29" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28090, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28088, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28086, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27972, - "src": "9267:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "31", - "id": 28087, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9276:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "9267:10:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 28089, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9280:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "9267:14:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28096, - "nodeType": "IfStatement", - "src": "9263:64:29", - "trueBody": { - "id": 28095, - "nodeType": "Block", - "src": "9283:44:29", - "statements": [ - { - "expression": { - "id": 28093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28091, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27978, - "src": "9301:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "31", - "id": 28092, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9311:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "9301:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28094, - "nodeType": "ExpressionStatement", - "src": "9301:11:29" - } - ] - } - } - ] - }, - { - "expression": { - "id": 28098, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27978, - "src": "9353:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 27976, - "id": 28099, - "nodeType": "Return", - "src": "9346:13:29" - } - ] - }, - "documentation": { - "id": 27970, - "nodeType": "StructuredDocumentation", - "src": "8265:113:29", - "text": " @dev Return the log in base 2, rounded down, of a positive value.\n Returns 0 if given 0." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log2", - "nameLocation": "8392:4:29", - "parameters": { - "id": 27973, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27972, - "mutability": "mutable", - "name": "value", - "nameLocation": "8405:5:29", - "nodeType": "VariableDeclaration", - "scope": 28101, - "src": "8397:13:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27971, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8397:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8396:15:29" - }, - "returnParameters": { - "id": 27976, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27975, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 28101, - "src": "8435:7:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27974, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8435:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8434:9:29" - }, - "scope": 28429, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 28137, - "nodeType": "FunctionDefinition", - "src": "9519:245:29", - "nodes": [], - "body": { - "id": 28136, - "nodeType": "Block", - "src": "9599:165:29", - "nodes": [], - "statements": [ - { - "id": 28135, - "nodeType": "UncheckedBlock", - "src": "9609:149:29", - "statements": [ - { - "assignments": [ - 28113 - ], - "declarations": [ - { - "constant": false, - "id": 28113, - "mutability": "mutable", - "name": "result", - "nameLocation": "9641:6:29", - "nodeType": "VariableDeclaration", - "scope": 28135, - "src": "9633:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28112, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9633:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28117, - "initialValue": { - "arguments": [ - { - "id": 28115, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28104, - "src": "9655:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 28114, - "name": "log2", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 28101, - 28137 - ], - "referencedDeclaration": 28101, - "src": "9650:4:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256) pure returns (uint256)" - } - }, - "id": 28116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9650:11:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9633:28:29" - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28118, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28113, - "src": "9682:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "components": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 28128, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - }, - "id": 28122, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28119, - "name": "rounding", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28107, - "src": "9692:8:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "id": 28120, - "name": "Rounding", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27571, - "src": "9704:8:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Rounding_$27571_$", - "typeString": "type(enum Math.Rounding)" - } - }, - "id": 28121, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9713:2:29", - "memberName": "Up", - "nodeType": "MemberAccess", - "referencedDeclaration": 27569, - "src": "9704:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - } - }, - "src": "9692:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28125, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 28123, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9719:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "id": 28124, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28113, - "src": "9724:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9719:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 28126, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28104, - "src": "9733:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9719:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9692:46:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "hexValue": "30", - "id": 28130, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9745:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "id": 28131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "9692:54:29", - "trueExpression": { - "hexValue": "31", - "id": 28129, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9741:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - } - ], - "id": 28132, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "9691:56:29", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "src": "9682:65:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 28111, - "id": 28134, - "nodeType": "Return", - "src": "9675:72:29" - } - ] - } - ] - }, - "documentation": { - "id": 28102, - "nodeType": "StructuredDocumentation", - "src": "9372:142:29", - "text": " @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n Returns 0 if given 0." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log2", - "nameLocation": "9528:4:29", - "parameters": { - "id": 28108, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28104, - "mutability": "mutable", - "name": "value", - "nameLocation": "9541:5:29", - "nodeType": "VariableDeclaration", - "scope": 28137, - "src": "9533:13:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28103, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9533:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 28107, - "mutability": "mutable", - "name": "rounding", - "nameLocation": "9557:8:29", - "nodeType": "VariableDeclaration", - "scope": 28137, - "src": "9548:17:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - }, - "typeName": { - "id": 28106, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 28105, - "name": "Rounding", - "nameLocations": [ - "9548:8:29" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27571, - "src": "9548:8:29" - }, - "referencedDeclaration": 27571, - "src": "9548:8:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - } - }, - "visibility": "internal" - } - ], - "src": "9532:34:29" - }, - "returnParameters": { - "id": 28111, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28110, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 28137, - "src": "9590:7:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28109, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9590:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "9589:9:29" - }, - "scope": 28429, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 28266, - "nodeType": "FunctionDefinition", - "src": "9889:890:29", - "nodes": [], - "body": { - "id": 28265, - "nodeType": "Block", - "src": "9951:828:29", - "nodes": [], - "statements": [ - { - "assignments": [ - 28146 - ], - "declarations": [ - { - "constant": false, - "id": 28146, - "mutability": "mutable", - "name": "result", - "nameLocation": "9969:6:29", - "nodeType": "VariableDeclaration", - "scope": 28265, - "src": "9961:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28145, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9961:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28148, - "initialValue": { - "hexValue": "30", - "id": 28147, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9978:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "9961:18:29" - }, - { - "id": 28262, - "nodeType": "UncheckedBlock", - "src": "9989:761:29", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28153, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28149, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28140, - "src": "10017:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_rational_10000000000000000000000000000000000000000000000000000000000000000_by_1", - "typeString": "int_const 1000...(57 digits omitted)...0000" - }, - "id": 28152, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3130", - "id": 28150, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10026:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "3634", - "id": 28151, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10030:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_64_by_1", - "typeString": "int_const 64" - }, - "value": "64" - }, - "src": "10026:6:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10000000000000000000000000000000000000000000000000000000000000000_by_1", - "typeString": "int_const 1000...(57 digits omitted)...0000" - } - }, - "src": "10017:15:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28165, - "nodeType": "IfStatement", - "src": "10013:99:29", - "trueBody": { - "id": 28164, - "nodeType": "Block", - "src": "10034:78:29", - "statements": [ - { - "expression": { - "id": 28158, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28154, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28140, - "src": "10052:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "/=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_rational_10000000000000000000000000000000000000000000000000000000000000000_by_1", - "typeString": "int_const 1000...(57 digits omitted)...0000" - }, - "id": 28157, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3130", - "id": 28155, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10061:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "3634", - "id": 28156, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10065:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_64_by_1", - "typeString": "int_const 64" - }, - "value": "64" - }, - "src": "10061:6:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10000000000000000000000000000000000000000000000000000000000000000_by_1", - "typeString": "int_const 1000...(57 digits omitted)...0000" - } - }, - "src": "10052:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28159, - "nodeType": "ExpressionStatement", - "src": "10052:15:29" - }, - { - "expression": { - "id": 28162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28160, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28146, - "src": "10085:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "3634", - "id": 28161, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10095:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_64_by_1", - "typeString": "int_const 64" - }, - "value": "64" - }, - "src": "10085:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28163, - "nodeType": "ExpressionStatement", - "src": "10085:12:29" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28170, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28166, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28140, - "src": "10129:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_rational_100000000000000000000000000000000_by_1", - "typeString": "int_const 1000...(25 digits omitted)...0000" - }, - "id": 28169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3130", - "id": 28167, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10138:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "3332", - "id": 28168, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10142:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "10138:6:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_100000000000000000000000000000000_by_1", - "typeString": "int_const 1000...(25 digits omitted)...0000" - } - }, - "src": "10129:15:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28182, - "nodeType": "IfStatement", - "src": "10125:99:29", - "trueBody": { - "id": 28181, - "nodeType": "Block", - "src": "10146:78:29", - "statements": [ - { - "expression": { - "id": 28175, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28171, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28140, - "src": "10164:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "/=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_rational_100000000000000000000000000000000_by_1", - "typeString": "int_const 1000...(25 digits omitted)...0000" - }, - "id": 28174, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3130", - "id": 28172, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10173:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "3332", - "id": 28173, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10177:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "10173:6:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_100000000000000000000000000000000_by_1", - "typeString": "int_const 1000...(25 digits omitted)...0000" - } - }, - "src": "10164:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28176, - "nodeType": "ExpressionStatement", - "src": "10164:15:29" - }, - { - "expression": { - "id": 28179, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28177, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28146, - "src": "10197:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "3332", - "id": 28178, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10207:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "10197:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28180, - "nodeType": "ExpressionStatement", - "src": "10197:12:29" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28187, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28183, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28140, - "src": "10241:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_rational_10000000000000000_by_1", - "typeString": "int_const 10000000000000000" - }, - "id": 28186, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3130", - "id": 28184, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10250:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "3136", - "id": 28185, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10254:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_16_by_1", - "typeString": "int_const 16" - }, - "value": "16" - }, - "src": "10250:6:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10000000000000000_by_1", - "typeString": "int_const 10000000000000000" - } - }, - "src": "10241:15:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28199, - "nodeType": "IfStatement", - "src": "10237:99:29", - "trueBody": { - "id": 28198, - "nodeType": "Block", - "src": "10258:78:29", - "statements": [ - { - "expression": { - "id": 28192, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28188, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28140, - "src": "10276:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "/=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_rational_10000000000000000_by_1", - "typeString": "int_const 10000000000000000" - }, - "id": 28191, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3130", - "id": 28189, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10285:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "3136", - "id": 28190, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10289:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_16_by_1", - "typeString": "int_const 16" - }, - "value": "16" - }, - "src": "10285:6:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10000000000000000_by_1", - "typeString": "int_const 10000000000000000" - } - }, - "src": "10276:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28193, - "nodeType": "ExpressionStatement", - "src": "10276:15:29" - }, - { - "expression": { - "id": 28196, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28194, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28146, - "src": "10309:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "3136", - "id": 28195, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10319:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_16_by_1", - "typeString": "int_const 16" - }, - "value": "16" - }, - "src": "10309:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28197, - "nodeType": "ExpressionStatement", - "src": "10309:12:29" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28204, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28200, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28140, - "src": "10353:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_rational_100000000_by_1", - "typeString": "int_const 100000000" - }, - "id": 28203, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3130", - "id": 28201, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10362:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "38", - "id": 28202, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10366:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "10362:5:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_100000000_by_1", - "typeString": "int_const 100000000" - } - }, - "src": "10353:14:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28216, - "nodeType": "IfStatement", - "src": "10349:96:29", - "trueBody": { - "id": 28215, - "nodeType": "Block", - "src": "10369:76:29", - "statements": [ - { - "expression": { - "id": 28209, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28205, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28140, - "src": "10387:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "/=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_rational_100000000_by_1", - "typeString": "int_const 100000000" - }, - "id": 28208, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3130", - "id": 28206, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10396:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "38", - "id": 28207, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10400:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "10396:5:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_100000000_by_1", - "typeString": "int_const 100000000" - } - }, - "src": "10387:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28210, - "nodeType": "ExpressionStatement", - "src": "10387:14:29" - }, - { - "expression": { - "id": 28213, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28211, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28146, - "src": "10419:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "38", - "id": 28212, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10429:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "10419:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28214, - "nodeType": "ExpressionStatement", - "src": "10419:11:29" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28221, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28217, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28140, - "src": "10462:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_rational_10000_by_1", - "typeString": "int_const 10000" - }, - "id": 28220, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3130", - "id": 28218, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10471:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "34", - "id": 28219, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10475:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - }, - "src": "10471:5:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10000_by_1", - "typeString": "int_const 10000" - } - }, - "src": "10462:14:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28233, - "nodeType": "IfStatement", - "src": "10458:96:29", - "trueBody": { - "id": 28232, - "nodeType": "Block", - "src": "10478:76:29", - "statements": [ - { - "expression": { - "id": 28226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28222, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28140, - "src": "10496:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "/=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_rational_10000_by_1", - "typeString": "int_const 10000" - }, - "id": 28225, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3130", - "id": 28223, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10505:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "34", - "id": 28224, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10509:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - }, - "src": "10505:5:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10000_by_1", - "typeString": "int_const 10000" - } - }, - "src": "10496:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28227, - "nodeType": "ExpressionStatement", - "src": "10496:14:29" - }, - { - "expression": { - "id": 28230, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28228, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28146, - "src": "10528:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "34", - "id": 28229, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10538:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - }, - "src": "10528:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28231, - "nodeType": "ExpressionStatement", - "src": "10528:11:29" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28238, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28234, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28140, - "src": "10571:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - }, - "id": 28237, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3130", - "id": 28235, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10580:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "32", - "id": 28236, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10584:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "10580:5:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - } - }, - "src": "10571:14:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28250, - "nodeType": "IfStatement", - "src": "10567:96:29", - "trueBody": { - "id": 28249, - "nodeType": "Block", - "src": "10587:76:29", - "statements": [ - { - "expression": { - "id": 28243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28239, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28140, - "src": "10605:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "/=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - }, - "id": 28242, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3130", - "id": 28240, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10614:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "32", - "id": 28241, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10618:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "10614:5:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - } - }, - "src": "10605:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28244, - "nodeType": "ExpressionStatement", - "src": "10605:14:29" - }, - { - "expression": { - "id": 28247, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28245, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28146, - "src": "10637:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "32", - "id": 28246, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10647:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "10637:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28248, - "nodeType": "ExpressionStatement", - "src": "10637:11:29" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28251, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28140, - "src": "10680:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "id": 28254, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3130", - "id": 28252, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10689:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "31", - "id": 28253, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10693:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "10689:5:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - } - }, - "src": "10680:14:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28261, - "nodeType": "IfStatement", - "src": "10676:64:29", - "trueBody": { - "id": 28260, - "nodeType": "Block", - "src": "10696:44:29", - "statements": [ - { - "expression": { - "id": 28258, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28256, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28146, - "src": "10714:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "31", - "id": 28257, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10724:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "10714:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28259, - "nodeType": "ExpressionStatement", - "src": "10714:11:29" - } - ] - } - } - ] - }, - { - "expression": { - "id": 28263, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28146, - "src": "10766:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 28144, - "id": 28264, - "nodeType": "Return", - "src": "10759:13:29" - } - ] - }, - "documentation": { - "id": 28138, - "nodeType": "StructuredDocumentation", - "src": "9770:114:29", - "text": " @dev Return the log in base 10, rounded down, of a positive value.\n Returns 0 if given 0." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log10", - "nameLocation": "9898:5:29", - "parameters": { - "id": 28141, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28140, - "mutability": "mutable", - "name": "value", - "nameLocation": "9912:5:29", - "nodeType": "VariableDeclaration", - "scope": 28266, - "src": "9904:13:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28139, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9904:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "9903:15:29" - }, - "returnParameters": { - "id": 28144, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28143, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 28266, - "src": "9942:7:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28142, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9942:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "9941:9:29" - }, - "scope": 28429, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 28302, - "nodeType": "FunctionDefinition", - "src": "10933:246:29", - "nodes": [], - "body": { - "id": 28301, - "nodeType": "Block", - "src": "11014:165:29", - "nodes": [], - "statements": [ - { - "id": 28300, - "nodeType": "UncheckedBlock", - "src": "11024:149:29", - "statements": [ - { - "assignments": [ - 28278 - ], - "declarations": [ - { - "constant": false, - "id": 28278, - "mutability": "mutable", - "name": "result", - "nameLocation": "11056:6:29", - "nodeType": "VariableDeclaration", - "scope": 28300, - "src": "11048:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28277, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11048:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28282, - "initialValue": { - "arguments": [ - { - "id": 28280, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28269, - "src": "11071:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 28279, - "name": "log10", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 28266, - 28302 - ], - "referencedDeclaration": 28266, - "src": "11065:5:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256) pure returns (uint256)" - } - }, - "id": 28281, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11065:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11048:29:29" - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28283, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28278, - "src": "11098:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "components": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 28293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - }, - "id": 28287, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28284, - "name": "rounding", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28272, - "src": "11108:8:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "id": 28285, - "name": "Rounding", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27571, - "src": "11120:8:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Rounding_$27571_$", - "typeString": "type(enum Math.Rounding)" - } - }, - "id": 28286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11129:2:29", - "memberName": "Up", - "nodeType": "MemberAccess", - "referencedDeclaration": 27569, - "src": "11120:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - } - }, - "src": "11108:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28292, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3130", - "id": 28288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11135:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "id": 28289, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28278, - "src": "11139:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11135:10:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 28291, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28269, - "src": "11148:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11135:18:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "11108:45:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "hexValue": "30", - "id": 28295, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11160:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "id": 28296, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "11108:53:29", - "trueExpression": { - "hexValue": "31", - "id": 28294, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11156:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - } - ], - "id": 28297, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "11107:55:29", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "src": "11098:64:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 28276, - "id": 28299, - "nodeType": "Return", - "src": "11091:71:29" - } - ] - } - ] - }, - "documentation": { - "id": 28267, - "nodeType": "StructuredDocumentation", - "src": "10785:143:29", - "text": " @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n Returns 0 if given 0." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log10", - "nameLocation": "10942:5:29", - "parameters": { - "id": 28273, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28269, - "mutability": "mutable", - "name": "value", - "nameLocation": "10956:5:29", - "nodeType": "VariableDeclaration", - "scope": 28302, - "src": "10948:13:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28268, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10948:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 28272, - "mutability": "mutable", - "name": "rounding", - "nameLocation": "10972:8:29", - "nodeType": "VariableDeclaration", - "scope": 28302, - "src": "10963:17:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - }, - "typeName": { - "id": 28271, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 28270, - "name": "Rounding", - "nameLocations": [ - "10963:8:29" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27571, - "src": "10963:8:29" - }, - "referencedDeclaration": 27571, - "src": "10963:8:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - } - }, - "visibility": "internal" - } - ], - "src": "10947:34:29" - }, - "returnParameters": { - "id": 28276, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28275, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 28302, - "src": "11005:7:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28274, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11005:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11004:9:29" - }, - "scope": 28429, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 28389, - "nodeType": "FunctionDefinition", - "src": "11430:663:29", - "nodes": [], - "body": { - "id": 28388, - "nodeType": "Block", - "src": "11493:600:29", - "nodes": [], - "statements": [ - { - "assignments": [ - 28311 - ], - "declarations": [ - { - "constant": false, - "id": 28311, - "mutability": "mutable", - "name": "result", - "nameLocation": "11511:6:29", - "nodeType": "VariableDeclaration", - "scope": 28388, - "src": "11503:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28310, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11503:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28313, - "initialValue": { - "hexValue": "30", - "id": 28312, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11520:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "11503:18:29" - }, - { - "id": 28385, - "nodeType": "UncheckedBlock", - "src": "11531:533:29", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28318, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28316, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28314, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28305, - "src": "11559:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "313238", - "id": 28315, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11568:3:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "11559:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 28317, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11574:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "11559:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28328, - "nodeType": "IfStatement", - "src": "11555:98:29", - "trueBody": { - "id": 28327, - "nodeType": "Block", - "src": "11577:76:29", - "statements": [ - { - "expression": { - "id": 28321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28319, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28305, - "src": "11595:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": ">>=", - "rightHandSide": { - "hexValue": "313238", - "id": 28320, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11605:3:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "11595:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28322, - "nodeType": "ExpressionStatement", - "src": "11595:13:29" - }, - { - "expression": { - "id": 28325, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28323, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28311, - "src": "11626:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "3136", - "id": 28324, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11636:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_16_by_1", - "typeString": "int_const 16" - }, - "value": "16" - }, - "src": "11626:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28326, - "nodeType": "ExpressionStatement", - "src": "11626:12:29" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28331, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28329, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28305, - "src": "11670:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "3634", - "id": 28330, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11679:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_64_by_1", - "typeString": "int_const 64" - }, - "value": "64" - }, - "src": "11670:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 28332, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11684:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "11670:15:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28343, - "nodeType": "IfStatement", - "src": "11666:95:29", - "trueBody": { - "id": 28342, - "nodeType": "Block", - "src": "11687:74:29", - "statements": [ - { - "expression": { - "id": 28336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28334, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28305, - "src": "11705:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": ">>=", - "rightHandSide": { - "hexValue": "3634", - "id": 28335, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11715:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_64_by_1", - "typeString": "int_const 64" - }, - "value": "64" - }, - "src": "11705:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28337, - "nodeType": "ExpressionStatement", - "src": "11705:12:29" - }, - { - "expression": { - "id": 28340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28338, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28311, - "src": "11735:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "38", - "id": 28339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11745:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "11735:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28341, - "nodeType": "ExpressionStatement", - "src": "11735:11:29" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28344, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28305, - "src": "11778:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "3332", - "id": 28345, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11787:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "11778:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 28347, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11792:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "11778:15:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28358, - "nodeType": "IfStatement", - "src": "11774:95:29", - "trueBody": { - "id": 28357, - "nodeType": "Block", - "src": "11795:74:29", - "statements": [ - { - "expression": { - "id": 28351, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28349, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28305, - "src": "11813:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": ">>=", - "rightHandSide": { - "hexValue": "3332", - "id": 28350, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11823:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "11813:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28352, - "nodeType": "ExpressionStatement", - "src": "11813:12:29" - }, - { - "expression": { - "id": 28355, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28353, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28311, - "src": "11843:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "34", - "id": 28354, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11853:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - }, - "src": "11843:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28356, - "nodeType": "ExpressionStatement", - "src": "11843:11:29" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28363, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28361, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28359, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28305, - "src": "11886:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "3136", - "id": 28360, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11895:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_16_by_1", - "typeString": "int_const 16" - }, - "value": "16" - }, - "src": "11886:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 28362, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11900:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "11886:15:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28373, - "nodeType": "IfStatement", - "src": "11882:95:29", - "trueBody": { - "id": 28372, - "nodeType": "Block", - "src": "11903:74:29", - "statements": [ - { - "expression": { - "id": 28366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28364, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28305, - "src": "11921:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": ">>=", - "rightHandSide": { - "hexValue": "3136", - "id": 28365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11931:2:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_16_by_1", - "typeString": "int_const 16" - }, - "value": "16" - }, - "src": "11921:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28367, - "nodeType": "ExpressionStatement", - "src": "11921:12:29" - }, - { - "expression": { - "id": 28370, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28368, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28311, - "src": "11951:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "32", - "id": 28369, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11961:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "11951:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28371, - "nodeType": "ExpressionStatement", - "src": "11951:11:29" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28378, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28376, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28374, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28305, - "src": "11994:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "38", - "id": 28375, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12003:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "11994:10:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 28377, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12007:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "11994:14:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 28384, - "nodeType": "IfStatement", - "src": "11990:64:29", - "trueBody": { - "id": 28383, - "nodeType": "Block", - "src": "12010:44:29", - "statements": [ - { - "expression": { - "id": 28381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28379, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28311, - "src": "12028:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "31", - "id": 28380, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12038:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "12028:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28382, - "nodeType": "ExpressionStatement", - "src": "12028:11:29" - } - ] - } - } - ] - }, - { - "expression": { - "id": 28386, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28311, - "src": "12080:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 28309, - "id": 28387, - "nodeType": "Return", - "src": "12073:13:29" - } - ] - }, - "documentation": { - "id": 28303, - "nodeType": "StructuredDocumentation", - "src": "11185:240:29", - "text": " @dev Return the log in base 256, rounded down, of a positive value.\n Returns 0 if given 0.\n Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log256", - "nameLocation": "11439:6:29", - "parameters": { - "id": 28306, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28305, - "mutability": "mutable", - "name": "value", - "nameLocation": "11454:5:29", - "nodeType": "VariableDeclaration", - "scope": 28389, - "src": "11446:13:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28304, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11446:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11445:15:29" - }, - "returnParameters": { - "id": 28309, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28308, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 28389, - "src": "11484:7:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28307, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11484:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11483:9:29" - }, - "scope": 28429, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 28428, - "nodeType": "FunctionDefinition", - "src": "12247:255:29", - "nodes": [], - "body": { - "id": 28427, - "nodeType": "Block", - "src": "12329:173:29", - "nodes": [], - "statements": [ - { - "id": 28426, - "nodeType": "UncheckedBlock", - "src": "12339:157:29", - "statements": [ - { - "assignments": [ - 28401 - ], - "declarations": [ - { - "constant": false, - "id": 28401, - "mutability": "mutable", - "name": "result", - "nameLocation": "12371:6:29", - "nodeType": "VariableDeclaration", - "scope": 28426, - "src": "12363:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28400, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12363:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28405, - "initialValue": { - "arguments": [ - { - "id": 28403, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28392, - "src": "12387:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 28402, - "name": "log256", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 28389, - 28428 - ], - "referencedDeclaration": 28389, - "src": "12380:6:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256) pure returns (uint256)" - } - }, - "id": 28404, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12380:13:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12363:30:29" - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28406, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28401, - "src": "12414:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "components": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 28419, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - }, - "id": 28410, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28407, - "name": "rounding", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28395, - "src": "12424:8:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "id": 28408, - "name": "Rounding", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27571, - "src": "12436:8:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Rounding_$27571_$", - "typeString": "type(enum Math.Rounding)" - } - }, - "id": 28409, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12445:2:29", - "memberName": "Up", - "nodeType": "MemberAccess", - "referencedDeclaration": 27569, - "src": "12436:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - } - }, - "src": "12424:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28418, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28416, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 28411, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12451:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28412, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28401, - "src": "12457:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "38", - "id": 28413, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12466:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "12457:10:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 28415, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "12456:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12451:17:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 28417, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28392, - "src": "12471:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12451:25:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "12424:52:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "hexValue": "30", - "id": 28421, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12483:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "id": 28422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "12424:60:29", - "trueExpression": { - "hexValue": "31", - "id": 28420, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12479:1:29", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - } - ], - "id": 28423, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "12423:62:29", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "src": "12414:71:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 28399, - "id": 28425, - "nodeType": "Return", - "src": "12407:78:29" - } - ] - } - ] - }, - "documentation": { - "id": 28390, - "nodeType": "StructuredDocumentation", - "src": "12099:143:29", - "text": " @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n Returns 0 if given 0." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log256", - "nameLocation": "12256:6:29", - "parameters": { - "id": 28396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28392, - "mutability": "mutable", - "name": "value", - "nameLocation": "12271:5:29", - "nodeType": "VariableDeclaration", - "scope": 28428, - "src": "12263:13:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28391, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12263:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 28395, - "mutability": "mutable", - "name": "rounding", - "nameLocation": "12287:8:29", - "nodeType": "VariableDeclaration", - "scope": 28428, - "src": "12278:17:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - }, - "typeName": { - "id": 28394, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 28393, - "name": "Rounding", - "nameLocations": [ - "12278:8:29" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27571, - "src": "12278:8:29" - }, - "referencedDeclaration": 27571, - "src": "12278:8:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_Rounding_$27571", - "typeString": "enum Math.Rounding" - } - }, - "visibility": "internal" - } - ], - "src": "12262:34:29" - }, - "returnParameters": { - "id": 28399, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28398, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 28428, - "src": "12320:7:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28397, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12320:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12319:9:29" - }, - "scope": 28429, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "Math", - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 27567, - "nodeType": "StructuredDocumentation", - "src": "128:73:29", - "text": " @dev Standard math utilities missing in the Solidity language." - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 28429 - ], - "name": "Math", - "nameLocation": "210:4:29", - "scope": 28430, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 29 -} \ No newline at end of file diff --git a/out/StdAssertions.sol/StdAssertions.json b/out/StdAssertions.sol/StdAssertions.json deleted file mode 100644 index 3c7f8a8..0000000 --- a/out/StdAssertions.sol/StdAssertions.json +++ /dev/null @@ -1,12037 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "log", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "log_address", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256[]", - "name": "val", - "type": "uint256[]" - } - ], - "name": "log_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "int256[]", - "name": "val", - "type": "int256[]" - } - ], - "name": "log_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address[]", - "name": "val", - "type": "address[]" - } - ], - "name": "log_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "log_bytes", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "log_bytes32", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "name": "log_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "address", - "name": "val", - "type": "address" - } - ], - "name": "log_named_address", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256[]", - "name": "val", - "type": "uint256[]" - } - ], - "name": "log_named_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256[]", - "name": "val", - "type": "int256[]" - } - ], - "name": "log_named_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "address[]", - "name": "val", - "type": "address[]" - } - ], - "name": "log_named_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "val", - "type": "bytes" - } - ], - "name": "log_named_bytes", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "val", - "type": "bytes32" - } - ], - "name": "log_named_bytes32", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256", - "name": "val", - "type": "int256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "decimals", - "type": "uint256" - } - ], - "name": "log_named_decimal_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "val", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "decimals", - "type": "uint256" - } - ], - "name": "log_named_decimal_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256", - "name": "val", - "type": "int256" - } - ], - "name": "log_named_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "val", - "type": "string" - } - ], - "name": "log_named_string", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "val", - "type": "uint256" - } - ], - "name": "log_named_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "log_string", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "log_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "logs", - "type": "event" - }, - { - "inputs": [], - "name": "IS_TEST", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "failed", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "IS_TEST()": "fa7626d4", - "failed()": "ba414fa6" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"log\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"log_address\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"val\",\"type\":\"uint256[]\"}],\"name\":\"log_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int256[]\",\"name\":\"val\",\"type\":\"int256[]\"}],\"name\":\"log_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"val\",\"type\":\"address[]\"}],\"name\":\"log_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"log_bytes\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"log_bytes32\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"name\":\"log_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"val\",\"type\":\"address\"}],\"name\":\"log_named_address\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"val\",\"type\":\"uint256[]\"}],\"name\":\"log_named_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256[]\",\"name\":\"val\",\"type\":\"int256[]\"}],\"name\":\"log_named_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"val\",\"type\":\"address[]\"}],\"name\":\"log_named_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"val\",\"type\":\"bytes\"}],\"name\":\"log_named_bytes\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"val\",\"type\":\"bytes32\"}],\"name\":\"log_named_bytes32\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"val\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"}],\"name\":\"log_named_decimal_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"}],\"name\":\"log_named_decimal_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"val\",\"type\":\"int256\"}],\"name\":\"log_named_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"val\",\"type\":\"string\"}],\"name\":\"log_named_string\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"log_named_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"log_string\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"log_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"logs\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"IS_TEST\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"failed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/StdAssertions.sol\":\"StdAssertions\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"lib/forge-std/lib/ds-test/src/test.sol\":{\"keccak256\":\"0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5\",\"dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr\"]},\"lib/forge-std/src/StdAssertions.sol\":{\"keccak256\":\"0xde2bdee8e0e530de3269da50ebba83f4f90dde817971488980b720281e3cde4d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cb3f05bb06b654db43f4ce38e22aa7e2296ee00615df5329623c08c9ac030f8d\",\"dweb:/ipfs/QmdKwTpFsTiDFmc8zGwbPRu8mDs4oiKdZvzSj3WpiiGaez\"]},\"lib/forge-std/src/StdMath.sol\":{\"keccak256\":\"0xd90ad4fd8aeaeb8929964e686e769fdedd5eded3fc3815df194a0ab9f91a3fb2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7919b70f636c7b805223992f28ad1ad0145d6c1385b5931a3589aface5fe6c92\",\"dweb:/ipfs/QmY7FRaULwoGgFteF8GawjQJRfasNgpWnU2aiMsFrYpuTC\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string", - "indexed": false - } - ], - "type": "event", - "name": "log", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "log_address", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "val", - "type": "uint256[]", - "indexed": false - } - ], - "type": "event", - "name": "log_array", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "int256[]", - "name": "val", - "type": "int256[]", - "indexed": false - } - ], - "type": "event", - "name": "log_array", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "val", - "type": "address[]", - "indexed": false - } - ], - "type": "event", - "name": "log_array", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "log_bytes", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32", - "indexed": false - } - ], - "type": "event", - "name": "log_bytes32", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256", - "indexed": false - } - ], - "type": "event", - "name": "log_int", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "address", - "name": "val", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "log_named_address", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "uint256[]", - "name": "val", - "type": "uint256[]", - "indexed": false - } - ], - "type": "event", - "name": "log_named_array", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "int256[]", - "name": "val", - "type": "int256[]", - "indexed": false - } - ], - "type": "event", - "name": "log_named_array", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "address[]", - "name": "val", - "type": "address[]", - "indexed": false - } - ], - "type": "event", - "name": "log_named_array", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "bytes", - "name": "val", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "log_named_bytes", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "bytes32", - "name": "val", - "type": "bytes32", - "indexed": false - } - ], - "type": "event", - "name": "log_named_bytes32", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "int256", - "name": "val", - "type": "int256", - "indexed": false - }, - { - "internalType": "uint256", - "name": "decimals", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "log_named_decimal_int", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "uint256", - "name": "val", - "type": "uint256", - "indexed": false - }, - { - "internalType": "uint256", - "name": "decimals", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "log_named_decimal_uint", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "int256", - "name": "val", - "type": "int256", - "indexed": false - } - ], - "type": "event", - "name": "log_named_int", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "string", - "name": "val", - "type": "string", - "indexed": false - } - ], - "type": "event", - "name": "log_named_string", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "uint256", - "name": "val", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "log_named_uint", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string", - "indexed": false - } - ], - "type": "event", - "name": "log_string", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "log_uint", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "logs", - "anonymous": false - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "IS_TEST", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "failed", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/StdAssertions.sol": "StdAssertions" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "lib/forge-std/lib/ds-test/src/test.sol": { - "keccak256": "0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54", - "urls": [ - "bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5", - "dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr" - ], - "license": "GPL-3.0-or-later" - }, - "lib/forge-std/src/StdAssertions.sol": { - "keccak256": "0xde2bdee8e0e530de3269da50ebba83f4f90dde817971488980b720281e3cde4d", - "urls": [ - "bzz-raw://cb3f05bb06b654db43f4ce38e22aa7e2296ee00615df5329623c08c9ac030f8d", - "dweb:/ipfs/QmdKwTpFsTiDFmc8zGwbPRu8mDs4oiKdZvzSj3WpiiGaez" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdMath.sol": { - "keccak256": "0xd90ad4fd8aeaeb8929964e686e769fdedd5eded3fc3815df194a0ab9f91a3fb2", - "urls": [ - "bzz-raw://7919b70f636c7b805223992f28ad1ad0145d6c1385b5931a3589aface5fe6c92", - "dweb:/ipfs/QmY7FRaULwoGgFteF8GawjQJRfasNgpWnU2aiMsFrYpuTC" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/StdAssertions.sol", - "id": 3371, - "exportedSymbols": { - "DSTest": [ - 2512 - ], - "StdAssertions": [ - 3370 - ], - "stdMath": [ - 6357 - ] - }, - "nodeType": "SourceUnit", - "src": "32:7322:5", - "nodes": [ - { - "id": 2558, - "nodeType": "PragmaDirective", - "src": "32:31:5", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.6", - ".2", - "<", - "0.9", - ".0" - ] - }, - { - "id": 2559, - "nodeType": "ImportDirective", - "src": "65:26:5", - "nodes": [], - "absolutePath": "lib/forge-std/lib/ds-test/src/test.sol", - "file": "ds-test/test.sol", - "nameLocation": "-1:-1:-1", - "scope": 3371, - "sourceUnit": 2513, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 2560, - "nodeType": "ImportDirective", - "src": "92:23:5", - "nodes": [], - "absolutePath": "lib/forge-std/src/StdMath.sol", - "file": "./StdMath.sol", - "nameLocation": "-1:-1:-1", - "scope": 3371, - "sourceUnit": 6358, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 3370, - "nodeType": "ContractDefinition", - "src": "117:7236:5", - "nodes": [ - { - "id": 2567, - "nodeType": "EventDefinition", - "src": "165:31:5", - "nodes": [], - "anonymous": false, - "eventSelector": "fb102865d50addddf69da9b5aa1bced66c80cf869a5c8d0471a467e18ce9cab1", - "name": "log_array", - "nameLocation": "171:9:5", - "parameters": { - "id": 2566, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2565, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "191:3:5", - "nodeType": "VariableDeclaration", - "scope": 2567, - "src": "181:13:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 2563, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "181:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2564, - "nodeType": "ArrayTypeName", - "src": "181:9:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "180:15:5" - } - }, - { - "id": 2572, - "nodeType": "EventDefinition", - "src": "201:30:5", - "nodes": [], - "anonymous": false, - "eventSelector": "890a82679b470f2bd82816ed9b161f97d8b967f37fa3647c21d5bf39749e2dd5", - "name": "log_array", - "nameLocation": "207:9:5", - "parameters": { - "id": 2571, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2570, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "226:3:5", - "nodeType": "VariableDeclaration", - "scope": 2572, - "src": "217:12:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 2568, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "217:6:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 2569, - "nodeType": "ArrayTypeName", - "src": "217:8:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "216:14:5" - } - }, - { - "id": 2577, - "nodeType": "EventDefinition", - "src": "236:31:5", - "nodes": [], - "anonymous": false, - "eventSelector": "40e1840f5769073d61bd01372d9b75baa9842d5629a0c99ff103be1178a8e9e2", - "name": "log_array", - "nameLocation": "242:9:5", - "parameters": { - "id": 2576, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2575, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "262:3:5", - "nodeType": "VariableDeclaration", - "scope": 2577, - "src": "252:13:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 2573, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "252:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2574, - "nodeType": "ArrayTypeName", - "src": "252:9:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "251:15:5" - } - }, - { - "id": 2584, - "nodeType": "EventDefinition", - "src": "272:49:5", - "nodes": [], - "anonymous": false, - "eventSelector": "00aaa39c9ffb5f567a4534380c737075702e1f7f14107fc95328e3b56c0325fb", - "name": "log_named_array", - "nameLocation": "278:15:5", - "parameters": { - "id": 2583, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2579, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "301:3:5", - "nodeType": "VariableDeclaration", - "scope": 2584, - "src": "294:10:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2578, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "294:6:5", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2582, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "316:3:5", - "nodeType": "VariableDeclaration", - "scope": 2584, - "src": "306:13:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 2580, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "306:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2581, - "nodeType": "ArrayTypeName", - "src": "306:9:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "293:27:5" - } - }, - { - "id": 2591, - "nodeType": "EventDefinition", - "src": "326:48:5", - "nodes": [], - "anonymous": false, - "eventSelector": "a73eda09662f46dde729be4611385ff34fe6c44fbbc6f7e17b042b59a3445b57", - "name": "log_named_array", - "nameLocation": "332:15:5", - "parameters": { - "id": 2590, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2586, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "355:3:5", - "nodeType": "VariableDeclaration", - "scope": 2591, - "src": "348:10:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2585, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "348:6:5", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2589, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "369:3:5", - "nodeType": "VariableDeclaration", - "scope": 2591, - "src": "360:12:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 2587, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "360:6:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 2588, - "nodeType": "ArrayTypeName", - "src": "360:8:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "347:26:5" - } - }, - { - "id": 2598, - "nodeType": "EventDefinition", - "src": "379:49:5", - "nodes": [], - "anonymous": false, - "eventSelector": "3bcfb2ae2e8d132dd1fce7cf278a9a19756a9fceabe470df3bdabb4bc577d1bd", - "name": "log_named_array", - "nameLocation": "385:15:5", - "parameters": { - "id": 2597, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2593, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "408:3:5", - "nodeType": "VariableDeclaration", - "scope": 2598, - "src": "401:10:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2592, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "401:6:5", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2596, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "423:3:5", - "nodeType": "VariableDeclaration", - "scope": 2598, - "src": "413:13:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 2594, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "413:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2595, - "nodeType": "ArrayTypeName", - "src": "413:9:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "400:27:5" - } - }, - { - "id": 2612, - "nodeType": "FunctionDefinition", - "src": "434:118:5", - "nodes": [], - "body": { - "id": 2611, - "nodeType": "Block", - "src": "484:68:5", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 2604, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "516:7:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 2605, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "525:3:5", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2603, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "499:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2606, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "499:30:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2607, - "nodeType": "EmitStatement", - "src": "494:35:5" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 2608, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2612, - 942 - ], - "referencedDeclaration": 942, - "src": "539:4:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 2609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "539:6:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2610, - "nodeType": "ExpressionStatement", - "src": "539:6:5" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fail", - "nameLocation": "443:4:5", - "parameters": { - "id": 2601, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2600, - "mutability": "mutable", - "name": "err", - "nameLocation": "462:3:5", - "nodeType": "VariableDeclaration", - "scope": 2612, - "src": "448:17:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2599, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "448:6:5", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "447:19:5" - }, - "returnParameters": { - "id": 2602, - "nodeType": "ParameterList", - "parameters": [], - "src": "484:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 2623, - "nodeType": "FunctionDefinition", - "src": "558:83:5", - "nodes": [], - "body": { - "id": 2622, - "nodeType": "Block", - "src": "607:34:5", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 2619, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "628:5:5", - "subExpression": { - "id": 2618, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "629:4:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 2617, - "name": "assertTrue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 995, - 1016 - ], - "referencedDeclaration": 995, - "src": "617:10:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bool_$returns$__$", - "typeString": "function (bool)" - } - }, - "id": 2620, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "617:17:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2621, - "nodeType": "ExpressionStatement", - "src": "617:17:5" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertFalse", - "nameLocation": "567:11:5", - "parameters": { - "id": 2615, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2614, - "mutability": "mutable", - "name": "data", - "nameLocation": "584:4:5", - "nodeType": "VariableDeclaration", - "scope": 2623, - "src": "579:9:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2613, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "579:4:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "578:11:5" - }, - "returnParameters": { - "id": 2616, - "nodeType": "ParameterList", - "parameters": [], - "src": "607:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 2637, - "nodeType": "FunctionDefinition", - "src": "647:107:5", - "nodes": [], - "body": { - "id": 2636, - "nodeType": "Block", - "src": "715:39:5", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 2632, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "736:5:5", - "subExpression": { - "id": 2631, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2625, - "src": "737:4:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 2633, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2627, - "src": "743:3:5", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2630, - "name": "assertTrue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 995, - 1016 - ], - "referencedDeclaration": 1016, - "src": "725:10:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory)" - } - }, - "id": 2634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "725:22:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2635, - "nodeType": "ExpressionStatement", - "src": "725:22:5" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertFalse", - "nameLocation": "656:11:5", - "parameters": { - "id": 2628, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2625, - "mutability": "mutable", - "name": "data", - "nameLocation": "673:4:5", - "nodeType": "VariableDeclaration", - "scope": 2637, - "src": "668:9:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2624, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "668:4:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2627, - "mutability": "mutable", - "name": "err", - "nameLocation": "693:3:5", - "nodeType": "VariableDeclaration", - "scope": 2637, - "src": "679:17:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2626, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "679:6:5", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "667:30:5" - }, - "returnParameters": { - "id": 2629, - "nodeType": "ParameterList", - "parameters": [], - "src": "715:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 2673, - "nodeType": "FunctionDefinition", - "src": "760:312:5", - "nodes": [], - "body": { - "id": 2672, - "nodeType": "Block", - "src": "811:261:5", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 2646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2644, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2639, - "src": "825:1:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 2645, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2641, - "src": "830:1:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "825:6:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2671, - "nodeType": "IfStatement", - "src": "821:245:5", - "trueBody": { - "id": 2670, - "nodeType": "Block", - "src": "833:233:5", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b626f6f6c5d", - "id": 2648, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "856:36:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8b48ec9ac4dc7123ad32509232067c63ebae61bff18d5e06bf4dea2a25240ed2", - "typeString": "literal_string \"Error: a == b not satisfied [bool]\"" - }, - "value": "Error: a == b not satisfied [bool]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8b48ec9ac4dc7123ad32509232067c63ebae61bff18d5e06bf4dea2a25240ed2", - "typeString": "literal_string \"Error: a == b not satisfied [bool]\"" - } - ], - "id": 2647, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "852:3:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 2649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "852:41:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2650, - "nodeType": "EmitStatement", - "src": "847:46:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 2652, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "929:12:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "condition": { - "id": 2653, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2641, - "src": "943:1:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "hexValue": "66616c7365", - "id": 2655, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "956:7:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ba9154e0baa69c78e0ca563b867df81bae9d177c4ea1452c35c84386a70f0f7a", - "typeString": "literal_string \"false\"" - }, - "value": "false" - }, - "id": 2656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "943:20:5", - "trueExpression": { - "hexValue": "74727565", - "id": 2654, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "947:6:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6273151f959616268004b58dbb21e5c851b7b8d04498b4aabee12291d22fc034", - "typeString": "literal_string \"true\"" - }, - "value": "true" - }, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2651, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "912:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2657, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "912:52:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2658, - "nodeType": "EmitStatement", - "src": "907:57:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 2660, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1000:12:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "condition": { - "id": 2661, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2639, - "src": "1014:1:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "hexValue": "66616c7365", - "id": 2663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1027:7:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ba9154e0baa69c78e0ca563b867df81bae9d177c4ea1452c35c84386a70f0f7a", - "typeString": "literal_string \"false\"" - }, - "value": "false" - }, - "id": 2664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "1014:20:5", - "trueExpression": { - "hexValue": "74727565", - "id": 2662, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1018:6:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6273151f959616268004b58dbb21e5c851b7b8d04498b4aabee12291d22fc034", - "typeString": "literal_string \"true\"" - }, - "value": "true" - }, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2659, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "983:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2665, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "983:52:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2666, - "nodeType": "EmitStatement", - "src": "978:57:5" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 2667, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2612, - 942 - ], - "referencedDeclaration": 942, - "src": "1049:4:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 2668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1049:6:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2669, - "nodeType": "ExpressionStatement", - "src": "1049:6:5" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "769:8:5", - "parameters": { - "id": 2642, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2639, - "mutability": "mutable", - "name": "a", - "nameLocation": "783:1:5", - "nodeType": "VariableDeclaration", - "scope": 2673, - "src": "778:6:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2638, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "778:4:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2641, - "mutability": "mutable", - "name": "b", - "nameLocation": "791:1:5", - "nodeType": "VariableDeclaration", - "scope": 2673, - "src": "786:6:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2640, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "786:4:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "777:16:5" - }, - "returnParameters": { - "id": 2643, - "nodeType": "ParameterList", - "parameters": [], - "src": "811:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 2698, - "nodeType": "FunctionDefinition", - "src": "1078:186:5", - "nodes": [], - "body": { - "id": 2697, - "nodeType": "Block", - "src": "1148:116:5", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 2684, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2682, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2675, - "src": "1162:1:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 2683, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2677, - "src": "1167:1:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "1162:6:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2696, - "nodeType": "IfStatement", - "src": "1158:100:5", - "trueBody": { - "id": 2695, - "nodeType": "Block", - "src": "1170:88:5", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 2686, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1206:7:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 2687, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2679, - "src": "1215:3:5", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2685, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "1189:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1189:30:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2689, - "nodeType": "EmitStatement", - "src": "1184:35:5" - }, - { - "expression": { - "arguments": [ - { - "id": 2691, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2675, - "src": "1242:1:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 2692, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2677, - "src": "1245:1:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 2690, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2673, - 2698, - 2711, - 2727, - 2769, - 2811, - 2853, - 2890, - 2927, - 2964, - 1046, - 1071, - 1101, - 1126, - 1185, - 1210, - 1240, - 1265, - 2365, - 2400 - ], - "referencedDeclaration": 2673, - "src": "1233:8:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bool_$_t_bool_$returns$__$", - "typeString": "function (bool,bool)" - } - }, - "id": 2693, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1233:14:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2694, - "nodeType": "ExpressionStatement", - "src": "1233:14:5" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "1087:8:5", - "parameters": { - "id": 2680, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2675, - "mutability": "mutable", - "name": "a", - "nameLocation": "1101:1:5", - "nodeType": "VariableDeclaration", - "scope": 2698, - "src": "1096:6:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2674, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1096:4:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2677, - "mutability": "mutable", - "name": "b", - "nameLocation": "1109:1:5", - "nodeType": "VariableDeclaration", - "scope": 2698, - "src": "1104:6:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2676, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1104:4:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2679, - "mutability": "mutable", - "name": "err", - "nameLocation": "1126:3:5", - "nodeType": "VariableDeclaration", - "scope": 2698, - "src": "1112:17:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2678, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1112:6:5", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1095:35:5" - }, - "returnParameters": { - "id": 2681, - "nodeType": "ParameterList", - "parameters": [], - "src": "1148:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 2711, - "nodeType": "FunctionDefinition", - "src": "1270:99:5", - "nodes": [], - "body": { - "id": 2710, - "nodeType": "Block", - "src": "1337:32:5", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 2706, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2700, - "src": "1357:1:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 2707, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2702, - "src": "1360:1:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2705, - "name": "assertEq0", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2484, - 2511 - ], - "referencedDeclaration": 2484, - "src": "1347:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory,bytes memory)" - } - }, - "id": 2708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1347:15:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2709, - "nodeType": "ExpressionStatement", - "src": "1347:15:5" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "1279:8:5", - "parameters": { - "id": 2703, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2700, - "mutability": "mutable", - "name": "a", - "nameLocation": "1301:1:5", - "nodeType": "VariableDeclaration", - "scope": 2711, - "src": "1288:14:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2699, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1288:5:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2702, - "mutability": "mutable", - "name": "b", - "nameLocation": "1317:1:5", - "nodeType": "VariableDeclaration", - "scope": 2711, - "src": "1304:14:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2701, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1304:5:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1287:32:5" - }, - "returnParameters": { - "id": 2704, - "nodeType": "ParameterList", - "parameters": [], - "src": "1337:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 2727, - "nodeType": "FunctionDefinition", - "src": "1375:123:5", - "nodes": [], - "body": { - "id": 2726, - "nodeType": "Block", - "src": "1461:37:5", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 2721, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2713, - "src": "1481:1:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 2722, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2715, - "src": "1484:1:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 2723, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2717, - "src": "1487:3:5", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2720, - "name": "assertEq0", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2484, - 2511 - ], - "referencedDeclaration": 2511, - "src": "1471:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bytes memory,bytes memory,string memory)" - } - }, - "id": 2724, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1471:20:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2725, - "nodeType": "ExpressionStatement", - "src": "1471:20:5" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "1384:8:5", - "parameters": { - "id": 2718, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2713, - "mutability": "mutable", - "name": "a", - "nameLocation": "1406:1:5", - "nodeType": "VariableDeclaration", - "scope": 2727, - "src": "1393:14:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2712, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1393:5:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2715, - "mutability": "mutable", - "name": "b", - "nameLocation": "1422:1:5", - "nodeType": "VariableDeclaration", - "scope": 2727, - "src": "1409:14:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2714, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1409:5:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2717, - "mutability": "mutable", - "name": "err", - "nameLocation": "1439:3:5", - "nodeType": "VariableDeclaration", - "scope": 2727, - "src": "1425:17:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2716, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1425:6:5", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1392:51:5" - }, - "returnParameters": { - "id": 2719, - "nodeType": "ParameterList", - "parameters": [], - "src": "1461:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 2769, - "nodeType": "FunctionDefinition", - "src": "1504:344:5", - "nodes": [], - "body": { - "id": 2768, - "nodeType": "Block", - "src": "1579:269:5", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 2748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2739, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2730, - "src": "1614:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - ], - "expression": { - "id": 2737, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1603:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2738, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1607:6:5", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1603:10:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2740, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1603:13:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2736, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1593:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1593:24:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2745, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2733, - "src": "1642:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - ], - "expression": { - "id": 2743, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1631:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1635:6:5", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1631:10:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2746, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1631:13:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2742, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1621:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1621:24:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "1593:52:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2767, - "nodeType": "IfStatement", - "src": "1589:253:5", - "trueBody": { - "id": 2766, - "nodeType": "Block", - "src": "1647:195:5", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e745b5d5d", - "id": 2750, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1670:38:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_521d63632bd73b6c06245b96e4e8f1b767ee309607c65899b409e5c9e6c384eb", - "typeString": "literal_string \"Error: a == b not satisfied [uint[]]\"" - }, - "value": "Error: a == b not satisfied [uint[]]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_521d63632bd73b6c06245b96e4e8f1b767ee309607c65899b409e5c9e6c384eb", - "typeString": "literal_string \"Error: a == b not satisfied [uint[]]\"" - } - ], - "id": 2749, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "1666:3:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 2751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1666:43:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2752, - "nodeType": "EmitStatement", - "src": "1661:48:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 2754, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1744:12:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 2755, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2733, - "src": "1758:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - ], - "id": 2753, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2584, - 2591, - 2598 - ], - "referencedDeclaration": 2584, - "src": "1728:15:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_array$_t_uint256_$dyn_memory_ptr_$returns$__$", - "typeString": "function (string memory,uint256[] memory)" - } - }, - "id": 2756, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1728:32:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2757, - "nodeType": "EmitStatement", - "src": "1723:37:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 2759, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1795:12:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 2760, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2730, - "src": "1809:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - ], - "id": 2758, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2584, - 2591, - 2598 - ], - "referencedDeclaration": 2584, - "src": "1779:15:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_array$_t_uint256_$dyn_memory_ptr_$returns$__$", - "typeString": "function (string memory,uint256[] memory)" - } - }, - "id": 2761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1779:32:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2762, - "nodeType": "EmitStatement", - "src": "1774:37:5" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 2763, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2612, - 942 - ], - "referencedDeclaration": 942, - "src": "1825:4:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 2764, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1825:6:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2765, - "nodeType": "ExpressionStatement", - "src": "1825:6:5" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "1513:8:5", - "parameters": { - "id": 2734, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2730, - "mutability": "mutable", - "name": "a", - "nameLocation": "1539:1:5", - "nodeType": "VariableDeclaration", - "scope": 2769, - "src": "1522:18:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 2728, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1522:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2729, - "nodeType": "ArrayTypeName", - "src": "1522:9:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2733, - "mutability": "mutable", - "name": "b", - "nameLocation": "1559:1:5", - "nodeType": "VariableDeclaration", - "scope": 2769, - "src": "1542:18:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 2731, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1542:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2732, - "nodeType": "ArrayTypeName", - "src": "1542:9:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "1521:40:5" - }, - "returnParameters": { - "id": 2735, - "nodeType": "ParameterList", - "parameters": [], - "src": "1579:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 2811, - "nodeType": "FunctionDefinition", - "src": "1854:341:5", - "nodes": [], - "body": { - "id": 2810, - "nodeType": "Block", - "src": "1927:268:5", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 2790, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2781, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2772, - "src": "1962:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - ], - "expression": { - "id": 2779, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1951:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2780, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1955:6:5", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1951:10:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2782, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1951:13:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2778, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1941:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1941:24:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2787, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2775, - "src": "1990:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - ], - "expression": { - "id": 2785, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1979:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2786, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1983:6:5", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1979:10:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1979:13:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2784, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1969:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2789, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1969:24:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "1941:52:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2809, - "nodeType": "IfStatement", - "src": "1937:252:5", - "trueBody": { - "id": 2808, - "nodeType": "Block", - "src": "1995:194:5", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b696e745b5d5d", - "id": 2792, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2018:37:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6c8a6638f7c95c9ee18ffcfc37ffe04d6270c2db7493e9b7a14add834054a5f5", - "typeString": "literal_string \"Error: a == b not satisfied [int[]]\"" - }, - "value": "Error: a == b not satisfied [int[]]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6c8a6638f7c95c9ee18ffcfc37ffe04d6270c2db7493e9b7a14add834054a5f5", - "typeString": "literal_string \"Error: a == b not satisfied [int[]]\"" - } - ], - "id": 2791, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "2014:3:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 2793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2014:42:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2794, - "nodeType": "EmitStatement", - "src": "2009:47:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 2796, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2091:12:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 2797, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2775, - "src": "2105:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - ], - "id": 2795, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2584, - 2591, - 2598 - ], - "referencedDeclaration": 2591, - "src": "2075:15:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_array$_t_int256_$dyn_memory_ptr_$returns$__$", - "typeString": "function (string memory,int256[] memory)" - } - }, - "id": 2798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2075:32:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2799, - "nodeType": "EmitStatement", - "src": "2070:37:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 2801, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2142:12:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 2802, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2772, - "src": "2156:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - ], - "id": 2800, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2584, - 2591, - 2598 - ], - "referencedDeclaration": 2591, - "src": "2126:15:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_array$_t_int256_$dyn_memory_ptr_$returns$__$", - "typeString": "function (string memory,int256[] memory)" - } - }, - "id": 2803, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2126:32:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2804, - "nodeType": "EmitStatement", - "src": "2121:37:5" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 2805, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2612, - 942 - ], - "referencedDeclaration": 942, - "src": "2172:4:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 2806, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2172:6:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2807, - "nodeType": "ExpressionStatement", - "src": "2172:6:5" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "1863:8:5", - "parameters": { - "id": 2776, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2772, - "mutability": "mutable", - "name": "a", - "nameLocation": "1888:1:5", - "nodeType": "VariableDeclaration", - "scope": 2811, - "src": "1872:17:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 2770, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "1872:6:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 2771, - "nodeType": "ArrayTypeName", - "src": "1872:8:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2775, - "mutability": "mutable", - "name": "b", - "nameLocation": "1907:1:5", - "nodeType": "VariableDeclaration", - "scope": 2811, - "src": "1891:17:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 2773, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "1891:6:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 2774, - "nodeType": "ArrayTypeName", - "src": "1891:8:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "1871:38:5" - }, - "returnParameters": { - "id": 2777, - "nodeType": "ParameterList", - "parameters": [], - "src": "1927:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 2853, - "nodeType": "FunctionDefinition", - "src": "2201:347:5", - "nodes": [], - "body": { - "id": 2852, - "nodeType": "Block", - "src": "2276:272:5", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 2832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2823, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2814, - "src": "2311:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "expression": { - "id": 2821, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2300:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2822, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2304:6:5", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2300:10:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2300:13:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2820, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2290:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2825, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2290:24:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2829, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2817, - "src": "2339:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "expression": { - "id": 2827, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2328:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2828, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2332:6:5", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2328:10:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2328:13:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2826, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2318:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2318:24:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2290:52:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2851, - "nodeType": "IfStatement", - "src": "2286:256:5", - "trueBody": { - "id": 2850, - "nodeType": "Block", - "src": "2344:198:5", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b616464726573735b5d5d", - "id": 2834, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2367:41:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_18b6dc04296758144a4e9b271bd3d79214335bb195df00f93d1706586d5041f8", - "typeString": "literal_string \"Error: a == b not satisfied [address[]]\"" - }, - "value": "Error: a == b not satisfied [address[]]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_18b6dc04296758144a4e9b271bd3d79214335bb195df00f93d1706586d5041f8", - "typeString": "literal_string \"Error: a == b not satisfied [address[]]\"" - } - ], - "id": 2833, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "2363:3:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 2835, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2363:46:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2836, - "nodeType": "EmitStatement", - "src": "2358:51:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 2838, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2444:12:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 2839, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2817, - "src": "2458:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 2837, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2584, - 2591, - 2598 - ], - "referencedDeclaration": 2598, - "src": "2428:15:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (string memory,address[] memory)" - } - }, - "id": 2840, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2428:32:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2841, - "nodeType": "EmitStatement", - "src": "2423:37:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 2843, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2495:12:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 2844, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2814, - "src": "2509:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 2842, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2584, - 2591, - 2598 - ], - "referencedDeclaration": 2598, - "src": "2479:15:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (string memory,address[] memory)" - } - }, - "id": 2845, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2479:32:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2846, - "nodeType": "EmitStatement", - "src": "2474:37:5" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 2847, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2612, - 942 - ], - "referencedDeclaration": 942, - "src": "2525:4:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 2848, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2525:6:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2849, - "nodeType": "ExpressionStatement", - "src": "2525:6:5" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "2210:8:5", - "parameters": { - "id": 2818, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2814, - "mutability": "mutable", - "name": "a", - "nameLocation": "2236:1:5", - "nodeType": "VariableDeclaration", - "scope": 2853, - "src": "2219:18:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 2812, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2219:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2813, - "nodeType": "ArrayTypeName", - "src": "2219:9:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2817, - "mutability": "mutable", - "name": "b", - "nameLocation": "2256:1:5", - "nodeType": "VariableDeclaration", - "scope": 2853, - "src": "2239:18:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 2815, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2239:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2816, - "nodeType": "ArrayTypeName", - "src": "2239:9:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "2218:40:5" - }, - "returnParameters": { - "id": 2819, - "nodeType": "ParameterList", - "parameters": [], - "src": "2276:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 2890, - "nodeType": "FunctionDefinition", - "src": "2554:256:5", - "nodes": [], - "body": { - "id": 2889, - "nodeType": "Block", - "src": "2648:162:5", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 2876, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2867, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2856, - "src": "2683:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - ], - "expression": { - "id": 2865, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2672:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2866, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2676:6:5", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2672:10:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2868, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2672:13:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2864, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2662:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2869, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2662:24:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2873, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "2711:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - ], - "expression": { - "id": 2871, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2700:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2872, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2704:6:5", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2700:10:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2874, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2700:13:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2870, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2690:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2875, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2690:24:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2662:52:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2888, - "nodeType": "IfStatement", - "src": "2658:146:5", - "trueBody": { - "id": 2887, - "nodeType": "Block", - "src": "2716:88:5", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 2878, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2752:7:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 2879, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2861, - "src": "2761:3:5", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2877, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "2735:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2735:30:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2881, - "nodeType": "EmitStatement", - "src": "2730:35:5" - }, - { - "expression": { - "arguments": [ - { - "id": 2883, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2856, - "src": "2788:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - { - "id": 2884, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "2791:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - }, - { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - ], - "id": 2882, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2673, - 2698, - 2711, - 2727, - 2769, - 2811, - 2853, - 2890, - 2927, - 2964, - 1046, - 1071, - 1101, - 1126, - 1185, - 1210, - 1240, - 1265, - 2365, - 2400 - ], - "referencedDeclaration": 2769, - "src": "2779:8:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_uint256_$dyn_memory_ptr_$_t_array$_t_uint256_$dyn_memory_ptr_$returns$__$", - "typeString": "function (uint256[] memory,uint256[] memory)" - } - }, - "id": 2885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2779:14:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2886, - "nodeType": "ExpressionStatement", - "src": "2779:14:5" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "2563:8:5", - "parameters": { - "id": 2862, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2856, - "mutability": "mutable", - "name": "a", - "nameLocation": "2589:1:5", - "nodeType": "VariableDeclaration", - "scope": 2890, - "src": "2572:18:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 2854, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2572:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2855, - "nodeType": "ArrayTypeName", - "src": "2572:9:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2859, - "mutability": "mutable", - "name": "b", - "nameLocation": "2609:1:5", - "nodeType": "VariableDeclaration", - "scope": 2890, - "src": "2592:18:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 2857, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2592:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2858, - "nodeType": "ArrayTypeName", - "src": "2592:9:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2861, - "mutability": "mutable", - "name": "err", - "nameLocation": "2626:3:5", - "nodeType": "VariableDeclaration", - "scope": 2890, - "src": "2612:17:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2860, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2612:6:5", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2571:59:5" - }, - "returnParameters": { - "id": 2863, - "nodeType": "ParameterList", - "parameters": [], - "src": "2648:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 2927, - "nodeType": "FunctionDefinition", - "src": "2816:254:5", - "nodes": [], - "body": { - "id": 2926, - "nodeType": "Block", - "src": "2908:162:5", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 2913, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2904, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2893, - "src": "2943:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - ], - "expression": { - "id": 2902, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2932:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2903, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2936:6:5", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2932:10:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2905, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2932:13:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2901, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2922:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2906, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2922:24:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2910, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "2971:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - ], - "expression": { - "id": 2908, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2960:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2909, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2964:6:5", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2960:10:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2911, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2960:13:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2907, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2950:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2912, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2950:24:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2922:52:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2925, - "nodeType": "IfStatement", - "src": "2918:146:5", - "trueBody": { - "id": 2924, - "nodeType": "Block", - "src": "2976:88:5", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 2915, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3012:7:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 2916, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2898, - "src": "3021:3:5", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2914, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "2995:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2917, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2995:30:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2918, - "nodeType": "EmitStatement", - "src": "2990:35:5" - }, - { - "expression": { - "arguments": [ - { - "id": 2920, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2893, - "src": "3048:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - }, - { - "id": 2921, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "3051:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - }, - { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - ], - "id": 2919, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2673, - 2698, - 2711, - 2727, - 2769, - 2811, - 2853, - 2890, - 2927, - 2964, - 1046, - 1071, - 1101, - 1126, - 1185, - 1210, - 1240, - 1265, - 2365, - 2400 - ], - "referencedDeclaration": 2811, - "src": "3039:8:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_int256_$dyn_memory_ptr_$_t_array$_t_int256_$dyn_memory_ptr_$returns$__$", - "typeString": "function (int256[] memory,int256[] memory)" - } - }, - "id": 2922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3039:14:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2923, - "nodeType": "ExpressionStatement", - "src": "3039:14:5" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "2825:8:5", - "parameters": { - "id": 2899, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2893, - "mutability": "mutable", - "name": "a", - "nameLocation": "2850:1:5", - "nodeType": "VariableDeclaration", - "scope": 2927, - "src": "2834:17:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 2891, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "2834:6:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 2892, - "nodeType": "ArrayTypeName", - "src": "2834:8:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2896, - "mutability": "mutable", - "name": "b", - "nameLocation": "2869:1:5", - "nodeType": "VariableDeclaration", - "scope": 2927, - "src": "2853:17:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 2894, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "2853:6:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 2895, - "nodeType": "ArrayTypeName", - "src": "2853:8:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2898, - "mutability": "mutable", - "name": "err", - "nameLocation": "2886:3:5", - "nodeType": "VariableDeclaration", - "scope": 2927, - "src": "2872:17:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2897, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2872:6:5", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2833:57:5" - }, - "returnParameters": { - "id": 2900, - "nodeType": "ParameterList", - "parameters": [], - "src": "2908:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 2964, - "nodeType": "FunctionDefinition", - "src": "3076:256:5", - "nodes": [], - "body": { - "id": 2963, - "nodeType": "Block", - "src": "3170:162:5", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 2950, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2941, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2930, - "src": "3205:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "expression": { - "id": 2939, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3194:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2940, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3198:6:5", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3194:10:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2942, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3194:13:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2938, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "3184:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3184:24:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2947, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2933, - "src": "3233:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "expression": { - "id": 2945, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3222:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2946, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3226:6:5", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3222:10:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2948, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3222:13:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2944, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "3212:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2949, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3212:24:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "3184:52:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2962, - "nodeType": "IfStatement", - "src": "3180:146:5", - "trueBody": { - "id": 2961, - "nodeType": "Block", - "src": "3238:88:5", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 2952, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3274:7:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 2953, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2935, - "src": "3283:3:5", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2951, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "3257:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3257:30:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2955, - "nodeType": "EmitStatement", - "src": "3252:35:5" - }, - { - "expression": { - "arguments": [ - { - "id": 2957, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2930, - "src": "3310:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 2958, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2933, - "src": "3313:1:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 2956, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2673, - 2698, - 2711, - 2727, - 2769, - 2811, - 2853, - 2890, - 2927, - 2964, - 1046, - 1071, - 1101, - 1126, - 1185, - 1210, - 1240, - 1265, - 2365, - 2400 - ], - "referencedDeclaration": 2853, - "src": "3301:8:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (address[] memory,address[] memory)" - } - }, - "id": 2959, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3301:14:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2960, - "nodeType": "ExpressionStatement", - "src": "3301:14:5" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "3085:8:5", - "parameters": { - "id": 2936, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2930, - "mutability": "mutable", - "name": "a", - "nameLocation": "3111:1:5", - "nodeType": "VariableDeclaration", - "scope": 2964, - "src": "3094:18:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 2928, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3094:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2929, - "nodeType": "ArrayTypeName", - "src": "3094:9:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2933, - "mutability": "mutable", - "name": "b", - "nameLocation": "3131:1:5", - "nodeType": "VariableDeclaration", - "scope": 2964, - "src": "3114:18:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 2931, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3114:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2932, - "nodeType": "ArrayTypeName", - "src": "3114:9:5", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2935, - "mutability": "mutable", - "name": "err", - "nameLocation": "3148:3:5", - "nodeType": "VariableDeclaration", - "scope": 2964, - "src": "3134:17:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2934, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3134:6:5", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3093:59:5" - }, - "returnParameters": { - "id": 2937, - "nodeType": "ParameterList", - "parameters": [], - "src": "3170:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 2983, - "nodeType": "FunctionDefinition", - "src": "3359:110:5", - "nodes": [], - "body": { - "id": 2982, - "nodeType": "Block", - "src": "3420:49:5", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 2974, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2966, - "src": "3447:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2973, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3439:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 2972, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3439:7:5", - "typeDescriptions": {} - } - }, - "id": 2975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3439:10:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "arguments": [ - { - "id": 2978, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2968, - "src": "3459:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2977, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3451:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 2976, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3451:7:5", - "typeDescriptions": {} - } - }, - "id": 2979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3451:10:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2971, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2673, - 2698, - 2711, - 2727, - 2769, - 2811, - 2853, - 2890, - 2927, - 2964, - 1046, - 1071, - 1101, - 1126, - 1185, - 1210, - 1240, - 1265, - 2365, - 2400 - ], - "referencedDeclaration": 1240, - "src": "3430:8:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 2980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3430:32:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2981, - "nodeType": "ExpressionStatement", - "src": "3430:32:5" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEqUint", - "nameLocation": "3368:12:5", - "parameters": { - "id": 2969, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2966, - "mutability": "mutable", - "name": "a", - "nameLocation": "3389:1:5", - "nodeType": "VariableDeclaration", - "scope": 2983, - "src": "3381:9:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2965, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3381:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2968, - "mutability": "mutable", - "name": "b", - "nameLocation": "3400:1:5", - "nodeType": "VariableDeclaration", - "scope": 2983, - "src": "3392:9:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2967, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3392:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3380:22:5" - }, - "returnParameters": { - "id": 2970, - "nodeType": "ParameterList", - "parameters": [], - "src": "3420:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3033, - "nodeType": "FunctionDefinition", - "src": "3475:470:5", - "nodes": [], - "body": { - "id": 3032, - "nodeType": "Block", - "src": "3559:386:5", - "nodes": [], - "statements": [ - { - "assignments": [ - 2993 - ], - "declarations": [ - { - "constant": false, - "id": 2993, - "mutability": "mutable", - "name": "delta", - "nameLocation": "3577:5:5", - "nodeType": "VariableDeclaration", - "scope": 3032, - "src": "3569:13:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2992, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3569:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 2999, - "initialValue": { - "arguments": [ - { - "id": 2996, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2985, - "src": "3599:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2997, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2987, - "src": "3602:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2994, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6357, - "src": "3585:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6357_$", - "typeString": "type(library stdMath)" - } - }, - "id": 2995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3593:5:5", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6268, - "src": "3585:13:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3585:19:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3569:35:5" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3000, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2993, - "src": "3619:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 3001, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2989, - "src": "3627:8:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3619:16:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3031, - "nodeType": "IfStatement", - "src": "3615:324:5", - "trueBody": { - "id": 3030, - "nodeType": "Block", - "src": "3637:302:5", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b75696e745d", - "id": 3004, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3660:36:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b3cfa1421f120a399b6064fcc8d5188a4e28bcc717972b37d8e8a5e5cc07c7fe", - "typeString": "literal_string \"Error: a ~= b not satisfied [uint]\"" - }, - "value": "Error: a ~= b not satisfied [uint]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b3cfa1421f120a399b6064fcc8d5188a4e28bcc717972b37d8e8a5e5cc07c7fe", - "typeString": "literal_string \"Error: a ~= b not satisfied [uint]\"" - } - ], - "id": 3003, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "3656:3:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3656:41:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3006, - "nodeType": "EmitStatement", - "src": "3651:46:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3731:12:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3009, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2987, - "src": "3745:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3007, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "3716:14:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3716:31:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3011, - "nodeType": "EmitStatement", - "src": "3711:36:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3013, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3781:12:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3014, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2985, - "src": "3795:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3012, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "3766:14:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3015, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3766:31:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3016, - "nodeType": "EmitStatement", - "src": "3761:36:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d61782044656c7461", - "id": 3018, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3831:12:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - "value": " Max Delta" - }, - { - "id": 3019, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2989, - "src": "3845:8:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3017, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "3816:14:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3020, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3816:38:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3021, - "nodeType": "EmitStatement", - "src": "3811:43:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020202044656c7461", - "id": 3023, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3888:12:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - "value": " Delta" - }, - { - "id": 3024, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2993, - "src": "3902:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3022, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "3873:14:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3873:35:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3026, - "nodeType": "EmitStatement", - "src": "3868:40:5" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3027, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2612, - 942 - ], - "referencedDeclaration": 942, - "src": "3922:4:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3922:6:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3029, - "nodeType": "ExpressionStatement", - "src": "3922:6:5" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "3484:17:5", - "parameters": { - "id": 2990, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2985, - "mutability": "mutable", - "name": "a", - "nameLocation": "3510:1:5", - "nodeType": "VariableDeclaration", - "scope": 3033, - "src": "3502:9:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2984, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3502:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2987, - "mutability": "mutable", - "name": "b", - "nameLocation": "3521:1:5", - "nodeType": "VariableDeclaration", - "scope": 3033, - "src": "3513:9:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2986, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3513:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2989, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "3532:8:5", - "nodeType": "VariableDeclaration", - "scope": 3033, - "src": "3524:16:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2988, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3524:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3501:40:5" - }, - "returnParameters": { - "id": 2991, - "nodeType": "ParameterList", - "parameters": [], - "src": "3559:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3069, - "nodeType": "FunctionDefinition", - "src": "3951:294:5", - "nodes": [], - "body": { - "id": 3068, - "nodeType": "Block", - "src": "4054:191:5", - "nodes": [], - "statements": [ - { - "assignments": [ - 3045 - ], - "declarations": [ - { - "constant": false, - "id": 3045, - "mutability": "mutable", - "name": "delta", - "nameLocation": "4072:5:5", - "nodeType": "VariableDeclaration", - "scope": 3068, - "src": "4064:13:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3044, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4064:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3051, - "initialValue": { - "arguments": [ - { - "id": 3048, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3035, - "src": "4094:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3049, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3037, - "src": "4097:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3046, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6357, - "src": "4080:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6357_$", - "typeString": "type(library stdMath)" - } - }, - "id": 3047, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4088:5:5", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6268, - "src": "4080:13:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3050, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4080:19:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4064:35:5" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3052, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "4114:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 3053, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3039, - "src": "4122:8:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4114:16:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3067, - "nodeType": "IfStatement", - "src": "4110:129:5", - "trueBody": { - "id": 3066, - "nodeType": "Block", - "src": "4132:107:5", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3056, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4168:7:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3057, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3041, - "src": "4177:3:5", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 3055, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "4151:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3058, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4151:30:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3059, - "nodeType": "EmitStatement", - "src": "4146:35:5" - }, - { - "expression": { - "arguments": [ - { - "id": 3061, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3035, - "src": "4213:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3062, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3037, - "src": "4216:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3063, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3039, - "src": "4219:8:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3060, - "name": "assertApproxEqAbs", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3033, - 3069, - 3119, - 3155 - ], - "referencedDeclaration": 3033, - "src": "4195:17:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 3064, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4195:33:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3065, - "nodeType": "ExpressionStatement", - "src": "4195:33:5" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "3960:17:5", - "parameters": { - "id": 3042, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3035, - "mutability": "mutable", - "name": "a", - "nameLocation": "3986:1:5", - "nodeType": "VariableDeclaration", - "scope": 3069, - "src": "3978:9:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3034, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3978:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3037, - "mutability": "mutable", - "name": "b", - "nameLocation": "3997:1:5", - "nodeType": "VariableDeclaration", - "scope": 3069, - "src": "3989:9:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3036, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3989:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3039, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "4008:8:5", - "nodeType": "VariableDeclaration", - "scope": 3069, - "src": "4000:16:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3038, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4000:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3041, - "mutability": "mutable", - "name": "err", - "nameLocation": "4032:3:5", - "nodeType": "VariableDeclaration", - "scope": 3069, - "src": "4018:17:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3040, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4018:6:5", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3977:59:5" - }, - "returnParameters": { - "id": 3043, - "nodeType": "ParameterList", - "parameters": [], - "src": "4054:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3119, - "nodeType": "FunctionDefinition", - "src": "4251:465:5", - "nodes": [], - "body": { - "id": 3118, - "nodeType": "Block", - "src": "4333:383:5", - "nodes": [], - "statements": [ - { - "assignments": [ - 3079 - ], - "declarations": [ - { - "constant": false, - "id": 3079, - "mutability": "mutable", - "name": "delta", - "nameLocation": "4351:5:5", - "nodeType": "VariableDeclaration", - "scope": 3118, - "src": "4343:13:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3078, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4343:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3085, - "initialValue": { - "arguments": [ - { - "id": 3082, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3071, - "src": "4373:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 3083, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3073, - "src": "4376:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 3080, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6357, - "src": "4359:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6357_$", - "typeString": "type(library stdMath)" - } - }, - "id": 3081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4367:5:5", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6304, - "src": "4359:13:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 3084, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4359:19:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4343:35:5" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3088, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3086, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3079, - "src": "4393:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 3087, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3075, - "src": "4401:8:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4393:16:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3117, - "nodeType": "IfStatement", - "src": "4389:321:5", - "trueBody": { - "id": 3116, - "nodeType": "Block", - "src": "4411:299:5", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b696e745d", - "id": 3090, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4434:35:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_11d61c8cdd58caffa5994831eb66eb6db7a7b4d13b2c9d187ffbe992d75f810d", - "typeString": "literal_string \"Error: a ~= b not satisfied [int]\"" - }, - "value": "Error: a ~= b not satisfied [int]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_11d61c8cdd58caffa5994831eb66eb6db7a7b4d13b2c9d187ffbe992d75f810d", - "typeString": "literal_string \"Error: a ~= b not satisfied [int]\"" - } - ], - "id": 3089, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "4430:3:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3091, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4430:40:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3092, - "nodeType": "EmitStatement", - "src": "4425:45:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3094, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4503:12:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3095, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3073, - "src": "4517:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 3093, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 793, - "src": "4489:13:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 3096, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4489:30:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3097, - "nodeType": "EmitStatement", - "src": "4484:35:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3099, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4552:12:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3100, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3071, - "src": "4566:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 3098, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 793, - "src": "4538:13:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 3101, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4538:30:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3102, - "nodeType": "EmitStatement", - "src": "4533:35:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d61782044656c7461", - "id": 3104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4602:12:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - "value": " Max Delta" - }, - { - "id": 3105, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3075, - "src": "4616:8:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3103, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "4587:14:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3106, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4587:38:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3107, - "nodeType": "EmitStatement", - "src": "4582:43:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020202044656c7461", - "id": 3109, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4659:12:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - "value": " Delta" - }, - { - "id": 3110, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3079, - "src": "4673:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3108, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "4644:14:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3111, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4644:35:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3112, - "nodeType": "EmitStatement", - "src": "4639:40:5" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3113, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2612, - 942 - ], - "referencedDeclaration": 942, - "src": "4693:4:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4693:6:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3115, - "nodeType": "ExpressionStatement", - "src": "4693:6:5" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "4260:17:5", - "parameters": { - "id": 3076, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3071, - "mutability": "mutable", - "name": "a", - "nameLocation": "4285:1:5", - "nodeType": "VariableDeclaration", - "scope": 3119, - "src": "4278:8:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 3070, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "4278:6:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3073, - "mutability": "mutable", - "name": "b", - "nameLocation": "4295:1:5", - "nodeType": "VariableDeclaration", - "scope": 3119, - "src": "4288:8:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 3072, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "4288:6:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3075, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "4306:8:5", - "nodeType": "VariableDeclaration", - "scope": 3119, - "src": "4298:16:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3074, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4298:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4277:38:5" - }, - "returnParameters": { - "id": 3077, - "nodeType": "ParameterList", - "parameters": [], - "src": "4333:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3155, - "nodeType": "FunctionDefinition", - "src": "4722:292:5", - "nodes": [], - "body": { - "id": 3154, - "nodeType": "Block", - "src": "4823:191:5", - "nodes": [], - "statements": [ - { - "assignments": [ - 3131 - ], - "declarations": [ - { - "constant": false, - "id": 3131, - "mutability": "mutable", - "name": "delta", - "nameLocation": "4841:5:5", - "nodeType": "VariableDeclaration", - "scope": 3154, - "src": "4833:13:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3130, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4833:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3137, - "initialValue": { - "arguments": [ - { - "id": 3134, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3121, - "src": "4863:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 3135, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3123, - "src": "4866:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 3132, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6357, - "src": "4849:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6357_$", - "typeString": "type(library stdMath)" - } - }, - "id": 3133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4857:5:5", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6304, - "src": "4849:13:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 3136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4849:19:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4833:35:5" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3140, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3138, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3131, - "src": "4883:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 3139, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3125, - "src": "4891:8:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4883:16:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3153, - "nodeType": "IfStatement", - "src": "4879:129:5", - "trueBody": { - "id": 3152, - "nodeType": "Block", - "src": "4901:107:5", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3142, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4937:7:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3143, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "4946:3:5", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 3141, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "4920:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4920:30:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3145, - "nodeType": "EmitStatement", - "src": "4915:35:5" - }, - { - "expression": { - "arguments": [ - { - "id": 3147, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3121, - "src": "4982:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 3148, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3123, - "src": "4985:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 3149, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3125, - "src": "4988:8:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3146, - "name": "assertApproxEqAbs", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3033, - 3069, - 3119, - 3155 - ], - "referencedDeclaration": 3119, - "src": "4964:17:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 3150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4964:33:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3151, - "nodeType": "ExpressionStatement", - "src": "4964:33:5" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "4731:17:5", - "parameters": { - "id": 3128, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3121, - "mutability": "mutable", - "name": "a", - "nameLocation": "4756:1:5", - "nodeType": "VariableDeclaration", - "scope": 3155, - "src": "4749:8:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 3120, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "4749:6:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3123, - "mutability": "mutable", - "name": "b", - "nameLocation": "4766:1:5", - "nodeType": "VariableDeclaration", - "scope": 3155, - "src": "4759:8:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 3122, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "4759:6:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3125, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "4777:8:5", - "nodeType": "VariableDeclaration", - "scope": 3155, - "src": "4769:16:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3124, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4769:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3127, - "mutability": "mutable", - "name": "err", - "nameLocation": "4801:3:5", - "nodeType": "VariableDeclaration", - "scope": 3155, - "src": "4787:17:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3126, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4787:6:5", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4748:57:5" - }, - "returnParameters": { - "id": 3129, - "nodeType": "ParameterList", - "parameters": [], - "src": "4823:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3216, - "nodeType": "FunctionDefinition", - "src": "5020:726:5", - "nodes": [], - "body": { - "id": 3215, - "nodeType": "Block", - "src": "5197:549:5", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3164, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3159, - "src": "5211:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 3165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5216:1:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5211:6:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3172, - "nodeType": "IfStatement", - "src": "5207:33:5", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 3168, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3157, - "src": "5235:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3169, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3159, - "src": "5238:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3167, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2673, - 2698, - 2711, - 2727, - 2769, - 2811, - 2853, - 2890, - 2927, - 2964, - 1046, - 1071, - 1101, - 1126, - 1185, - 1210, - 1240, - 1265, - 2365, - 2400 - ], - "referencedDeclaration": 1240, - "src": "5226:8:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 3170, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5226:14:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 3163, - "id": 3171, - "nodeType": "Return", - "src": "5219:21:5" - } - }, - { - "assignments": [ - 3174 - ], - "declarations": [ - { - "constant": false, - "id": 3174, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "5304:12:5", - "nodeType": "VariableDeclaration", - "scope": 3215, - "src": "5296:20:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3173, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5296:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3180, - "initialValue": { - "arguments": [ - { - "id": 3177, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3157, - "src": "5340:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3178, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3159, - "src": "5343:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3175, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6357, - "src": "5319:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6357_$", - "typeString": "type(library stdMath)" - } - }, - "id": 3176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5327:12:5", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6327, - "src": "5319:20:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3179, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5319:26:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5296:49:5" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3181, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "5360:12:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 3182, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3161, - "src": "5375:15:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5360:30:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3214, - "nodeType": "IfStatement", - "src": "5356:384:5", - "trueBody": { - "id": 3213, - "nodeType": "Block", - "src": "5392:348:5", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b75696e745d", - "id": 3185, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5415:36:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b3cfa1421f120a399b6064fcc8d5188a4e28bcc717972b37d8e8a5e5cc07c7fe", - "typeString": "literal_string \"Error: a ~= b not satisfied [uint]\"" - }, - "value": "Error: a ~= b not satisfied [uint]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b3cfa1421f120a399b6064fcc8d5188a4e28bcc717972b37d8e8a5e5cc07c7fe", - "typeString": "literal_string \"Error: a ~= b not satisfied [uint]\"" - } - ], - "id": 3184, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "5411:3:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3186, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5411:41:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3187, - "nodeType": "EmitStatement", - "src": "5406:46:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020204578706563746564", - "id": 3189, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5486:14:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3190, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3159, - "src": "5502:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3188, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "5471:14:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5471:33:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3192, - "nodeType": "EmitStatement", - "src": "5466:38:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20202020202041637475616c", - "id": 3194, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5538:14:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3195, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3157, - "src": "5554:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3193, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "5523:14:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3196, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5523:33:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3197, - "nodeType": "EmitStatement", - "src": "5518:38:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d617820252044656c7461", - "id": 3199, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5598:14:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_476fe8c6eb42275e4a879ea3f97d4c8aa2f38a65ce8511d323ad7a22579f732d", - "typeString": "literal_string \" Max % Delta\"" - }, - "value": " Max % Delta" - }, - { - "id": 3200, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3161, - "src": "5614:15:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 3201, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5631:2:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_18_by_1", - "typeString": "int_const 18" - }, - "value": "18" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_476fe8c6eb42275e4a879ea3f97d4c8aa2f38a65ce8511d323ad7a22579f732d", - "typeString": "literal_string \" Max % Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_18_by_1", - "typeString": "int_const 18" - } - ], - "id": 3198, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 787, - "src": "5575:22:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 3202, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5575:59:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3203, - "nodeType": "EmitStatement", - "src": "5570:64:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202020252044656c7461", - "id": 3205, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5676:14:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3a4ade1e1607945ca481fbcd7c0ca5baa7e21e413316ae3997404f04177b03d7", - "typeString": "literal_string \" % Delta\"" - }, - "value": " % Delta" - }, - { - "id": 3206, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "5692:12:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 3207, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5706:2:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_18_by_1", - "typeString": "int_const 18" - }, - "value": "18" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3a4ade1e1607945ca481fbcd7c0ca5baa7e21e413316ae3997404f04177b03d7", - "typeString": "literal_string \" % Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_18_by_1", - "typeString": "int_const 18" - } - ], - "id": 3204, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 787, - "src": "5653:22:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 3208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5653:56:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3209, - "nodeType": "EmitStatement", - "src": "5648:61:5" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3210, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2612, - 942 - ], - "referencedDeclaration": 942, - "src": "5723:4:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3211, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5723:6:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3212, - "nodeType": "ExpressionStatement", - "src": "5723:6:5" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "5029:17:5", - "parameters": { - "id": 3162, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3157, - "mutability": "mutable", - "name": "a", - "nameLocation": "5064:1:5", - "nodeType": "VariableDeclaration", - "scope": 3216, - "src": "5056:9:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3156, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5056:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3159, - "mutability": "mutable", - "name": "b", - "nameLocation": "5083:1:5", - "nodeType": "VariableDeclaration", - "scope": 3216, - "src": "5075:9:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3158, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5075:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3161, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "5102:15:5", - "nodeType": "VariableDeclaration", - "scope": 3216, - "src": "5094:23:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3160, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5094:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5046:133:5" - }, - "returnParameters": { - "id": 3163, - "nodeType": "ParameterList", - "parameters": [], - "src": "5197:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3262, - "nodeType": "FunctionDefinition", - "src": "5752:524:5", - "nodes": [], - "body": { - "id": 3261, - "nodeType": "Block", - "src": "5956:320:5", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3229, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3227, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3220, - "src": "5970:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 3228, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5975:1:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5970:6:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3236, - "nodeType": "IfStatement", - "src": "5966:38:5", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 3231, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3218, - "src": "5994:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3232, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3220, - "src": "5997:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3233, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3224, - "src": "6000:3:5", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 3230, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2673, - 2698, - 2711, - 2727, - 2769, - 2811, - 2853, - 2890, - 2927, - 2964, - 1046, - 1071, - 1101, - 1126, - 1185, - 1210, - 1240, - 1265, - 2365, - 2400 - ], - "referencedDeclaration": 1265, - "src": "5985:8:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (uint256,uint256,string memory)" - } - }, - "id": 3234, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5985:19:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 3226, - "id": 3235, - "nodeType": "Return", - "src": "5978:26:5" - } - }, - { - "assignments": [ - 3238 - ], - "declarations": [ - { - "constant": false, - "id": 3238, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "6068:12:5", - "nodeType": "VariableDeclaration", - "scope": 3261, - "src": "6060:20:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3237, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6060:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3244, - "initialValue": { - "arguments": [ - { - "id": 3241, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3218, - "src": "6104:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3242, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3220, - "src": "6107:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3239, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6357, - "src": "6083:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6357_$", - "typeString": "type(library stdMath)" - } - }, - "id": 3240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6091:12:5", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6327, - "src": "6083:20:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6083:26:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6060:49:5" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3247, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3245, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3238, - "src": "6124:12:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 3246, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3222, - "src": "6139:15:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6124:30:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3260, - "nodeType": "IfStatement", - "src": "6120:150:5", - "trueBody": { - "id": 3259, - "nodeType": "Block", - "src": "6156:114:5", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3249, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6192:7:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3250, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3224, - "src": "6201:3:5", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 3248, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "6175:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3251, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6175:30:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3252, - "nodeType": "EmitStatement", - "src": "6170:35:5" - }, - { - "expression": { - "arguments": [ - { - "id": 3254, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3218, - "src": "6237:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3255, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3220, - "src": "6240:1:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3256, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3222, - "src": "6243:15:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3253, - "name": "assertApproxEqRel", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3216, - 3262, - 3323, - 3369 - ], - "referencedDeclaration": 3216, - "src": "6219:17:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 3257, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6219:40:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3258, - "nodeType": "ExpressionStatement", - "src": "6219:40:5" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "5761:17:5", - "parameters": { - "id": 3225, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3218, - "mutability": "mutable", - "name": "a", - "nameLocation": "5796:1:5", - "nodeType": "VariableDeclaration", - "scope": 3262, - "src": "5788:9:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3217, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5788:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3220, - "mutability": "mutable", - "name": "b", - "nameLocation": "5815:1:5", - "nodeType": "VariableDeclaration", - "scope": 3262, - "src": "5807:9:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3219, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5807:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3222, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "5834:15:5", - "nodeType": "VariableDeclaration", - "scope": 3262, - "src": "5826:23:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3221, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5826:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3224, - "mutability": "mutable", - "name": "err", - "nameLocation": "5929:3:5", - "nodeType": "VariableDeclaration", - "scope": 3262, - "src": "5915:17:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3223, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5915:6:5", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5778:160:5" - }, - "returnParameters": { - "id": 3226, - "nodeType": "ParameterList", - "parameters": [], - "src": "5956:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3323, - "nodeType": "FunctionDefinition", - "src": "6282:635:5", - "nodes": [], - "body": { - "id": 3322, - "nodeType": "Block", - "src": "6371:546:5", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 3273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3271, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3266, - "src": "6385:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 3272, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6390:1:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "6385:6:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3279, - "nodeType": "IfStatement", - "src": "6381:33:5", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 3275, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3264, - "src": "6409:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 3276, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3266, - "src": "6412:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 3274, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2673, - 2698, - 2711, - 2727, - 2769, - 2811, - 2853, - 2890, - 2927, - 2964, - 1046, - 1071, - 1101, - 1126, - 1185, - 1210, - 1240, - 1265, - 2365, - 2400 - ], - "referencedDeclaration": 1185, - "src": "6400:8:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 3277, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6400:14:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 3270, - "id": 3278, - "nodeType": "Return", - "src": "6393:21:5" - } - }, - { - "assignments": [ - 3281 - ], - "declarations": [ - { - "constant": false, - "id": 3281, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "6478:12:5", - "nodeType": "VariableDeclaration", - "scope": 3322, - "src": "6470:20:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3280, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6470:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3287, - "initialValue": { - "arguments": [ - { - "id": 3284, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3264, - "src": "6514:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 3285, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3266, - "src": "6517:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 3282, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6357, - "src": "6493:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6357_$", - "typeString": "type(library stdMath)" - } - }, - "id": 3283, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6501:12:5", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6356, - "src": "6493:20:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 3286, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6493:26:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6470:49:5" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3288, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3281, - "src": "6534:12:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 3289, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3268, - "src": "6549:15:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6534:30:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3321, - "nodeType": "IfStatement", - "src": "6530:381:5", - "trueBody": { - "id": 3320, - "nodeType": "Block", - "src": "6566:345:5", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b696e745d", - "id": 3292, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6589:35:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_11d61c8cdd58caffa5994831eb66eb6db7a7b4d13b2c9d187ffbe992d75f810d", - "typeString": "literal_string \"Error: a ~= b not satisfied [int]\"" - }, - "value": "Error: a ~= b not satisfied [int]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_11d61c8cdd58caffa5994831eb66eb6db7a7b4d13b2c9d187ffbe992d75f810d", - "typeString": "literal_string \"Error: a ~= b not satisfied [int]\"" - } - ], - "id": 3291, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "6585:3:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6585:40:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3294, - "nodeType": "EmitStatement", - "src": "6580:45:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020204578706563746564", - "id": 3296, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6658:14:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3297, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3266, - "src": "6674:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 3295, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 793, - "src": "6644:13:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 3298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6644:32:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3299, - "nodeType": "EmitStatement", - "src": "6639:37:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20202020202041637475616c", - "id": 3301, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6709:14:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3302, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3264, - "src": "6725:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 3300, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 793, - "src": "6695:13:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 3303, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6695:32:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3304, - "nodeType": "EmitStatement", - "src": "6690:37:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d617820252044656c7461", - "id": 3306, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6769:14:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_476fe8c6eb42275e4a879ea3f97d4c8aa2f38a65ce8511d323ad7a22579f732d", - "typeString": "literal_string \" Max % Delta\"" - }, - "value": " Max % Delta" - }, - { - "id": 3307, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3268, - "src": "6785:15:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 3308, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6802:2:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_18_by_1", - "typeString": "int_const 18" - }, - "value": "18" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_476fe8c6eb42275e4a879ea3f97d4c8aa2f38a65ce8511d323ad7a22579f732d", - "typeString": "literal_string \" Max % Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_18_by_1", - "typeString": "int_const 18" - } - ], - "id": 3305, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 787, - "src": "6746:22:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 3309, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6746:59:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3310, - "nodeType": "EmitStatement", - "src": "6741:64:5" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202020252044656c7461", - "id": 3312, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6847:14:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3a4ade1e1607945ca481fbcd7c0ca5baa7e21e413316ae3997404f04177b03d7", - "typeString": "literal_string \" % Delta\"" - }, - "value": " % Delta" - }, - { - "id": 3313, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3281, - "src": "6863:12:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 3314, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6877:2:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_18_by_1", - "typeString": "int_const 18" - }, - "value": "18" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3a4ade1e1607945ca481fbcd7c0ca5baa7e21e413316ae3997404f04177b03d7", - "typeString": "literal_string \" % Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_18_by_1", - "typeString": "int_const 18" - } - ], - "id": 3311, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 787, - "src": "6824:22:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 3315, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6824:56:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3316, - "nodeType": "EmitStatement", - "src": "6819:61:5" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3317, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2612, - 942 - ], - "referencedDeclaration": 942, - "src": "6894:4:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3318, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6894:6:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3319, - "nodeType": "ExpressionStatement", - "src": "6894:6:5" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "6291:17:5", - "parameters": { - "id": 3269, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3264, - "mutability": "mutable", - "name": "a", - "nameLocation": "6316:1:5", - "nodeType": "VariableDeclaration", - "scope": 3323, - "src": "6309:8:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 3263, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "6309:6:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3266, - "mutability": "mutable", - "name": "b", - "nameLocation": "6326:1:5", - "nodeType": "VariableDeclaration", - "scope": 3323, - "src": "6319:8:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 3265, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "6319:6:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3268, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "6337:15:5", - "nodeType": "VariableDeclaration", - "scope": 3323, - "src": "6329:23:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3267, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6329:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6308:45:5" - }, - "returnParameters": { - "id": 3270, - "nodeType": "ParameterList", - "parameters": [], - "src": "6371:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3369, - "nodeType": "FunctionDefinition", - "src": "6923:428:5", - "nodes": [], - "body": { - "id": 3368, - "nodeType": "Block", - "src": "7031:320:5", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 3336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3334, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3327, - "src": "7045:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 3335, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7050:1:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "7045:6:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3343, - "nodeType": "IfStatement", - "src": "7041:38:5", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 3338, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3325, - "src": "7069:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 3339, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3327, - "src": "7072:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 3340, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3331, - "src": "7075:3:5", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 3337, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2673, - 2698, - 2711, - 2727, - 2769, - 2811, - 2853, - 2890, - 2927, - 2964, - 1046, - 1071, - 1101, - 1126, - 1185, - 1210, - 1240, - 1265, - 2365, - 2400 - ], - "referencedDeclaration": 1210, - "src": "7060:8:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (int256,int256,string memory)" - } - }, - "id": 3341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7060:19:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 3333, - "id": 3342, - "nodeType": "Return", - "src": "7053:26:5" - } - }, - { - "assignments": [ - 3345 - ], - "declarations": [ - { - "constant": false, - "id": 3345, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "7143:12:5", - "nodeType": "VariableDeclaration", - "scope": 3368, - "src": "7135:20:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3344, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7135:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3351, - "initialValue": { - "arguments": [ - { - "id": 3348, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3325, - "src": "7179:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 3349, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3327, - "src": "7182:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 3346, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6357, - "src": "7158:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6357_$", - "typeString": "type(library stdMath)" - } - }, - "id": 3347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7166:12:5", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6356, - "src": "7158:20:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 3350, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7158:26:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7135:49:5" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3354, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3352, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3345, - "src": "7199:12:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 3353, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3329, - "src": "7214:15:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7199:30:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3367, - "nodeType": "IfStatement", - "src": "7195:150:5", - "trueBody": { - "id": 3366, - "nodeType": "Block", - "src": "7231:114:5", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3356, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7267:7:5", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3357, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3331, - "src": "7276:3:5", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 3355, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "7250:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7250:30:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3359, - "nodeType": "EmitStatement", - "src": "7245:35:5" - }, - { - "expression": { - "arguments": [ - { - "id": 3361, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3325, - "src": "7312:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 3362, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3327, - "src": "7315:1:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 3363, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3329, - "src": "7318:15:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3360, - "name": "assertApproxEqRel", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3216, - 3262, - 3323, - 3369 - ], - "referencedDeclaration": 3323, - "src": "7294:17:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 3364, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7294:40:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3365, - "nodeType": "ExpressionStatement", - "src": "7294:40:5" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "6932:17:5", - "parameters": { - "id": 3332, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3325, - "mutability": "mutable", - "name": "a", - "nameLocation": "6957:1:5", - "nodeType": "VariableDeclaration", - "scope": 3369, - "src": "6950:8:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 3324, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "6950:6:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3327, - "mutability": "mutable", - "name": "b", - "nameLocation": "6967:1:5", - "nodeType": "VariableDeclaration", - "scope": 3369, - "src": "6960:8:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 3326, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "6960:6:5", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3329, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "6978:15:5", - "nodeType": "VariableDeclaration", - "scope": 3369, - "src": "6970:23:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3328, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6970:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3331, - "mutability": "mutable", - "name": "err", - "nameLocation": "7009:3:5", - "nodeType": "VariableDeclaration", - "scope": 3369, - "src": "6995:17:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3330, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6995:6:5", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6949:64:5" - }, - "returnParameters": { - "id": 3333, - "nodeType": "ParameterList", - "parameters": [], - "src": "7031:0:5" - }, - "scope": 3370, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 2561, - "name": "DSTest", - "nameLocations": [ - "152:6:5" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 2512, - "src": "152:6:5" - }, - "id": 2562, - "nodeType": "InheritanceSpecifier", - "src": "152:6:5" - } - ], - "canonicalName": "StdAssertions", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 3370, - 2512 - ], - "name": "StdAssertions", - "nameLocation": "135:13:5", - "scope": 3371, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 5 -} \ No newline at end of file diff --git a/out/StdCheats.sol/StdCheats.json b/out/StdCheats.sol/StdCheats.json deleted file mode 100644 index 0dd262a..0000000 --- a/out/StdCheats.sol/StdCheats.json +++ /dev/null @@ -1,28049 +0,0 @@ -{ - "abi": [], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/StdCheats.sol\":\"StdCheats\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"lib/forge-std/src/StdCheats.sol\":{\"keccak256\":\"0xf0c5c17c4cdfd0de659cf5e58e0e1611b6ee53900d3ab8b07b871d71d0b37bc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://21ffda3891e7480d5fdbf7f5e9d539f0ed76204bca69738f8ee006395ef1e23e\",\"dweb:/ipfs/Qmbhbn8zVXrCyvhvoQ5AUSj3usVGqMbMSEHYkNPdbQKBxt\"]},\"lib/forge-std/src/StdStorage.sol\":{\"keccak256\":\"0xb0da85ce6999940eba6190a26c15b9bc7aede57123891287e1b30f80333a9cf5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d287fd41de40ef992588f7a9531e66d1e9f8e4f3f194b9e721ac576d4613964a\",\"dweb:/ipfs/QmbFYYjoc8WGLKVfDe4rscYPwdGq48incbwRQNoLtcMMjn\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69\",\"dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/StdCheats.sol": "StdCheats" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "lib/forge-std/src/StdCheats.sol": { - "keccak256": "0xf0c5c17c4cdfd0de659cf5e58e0e1611b6ee53900d3ab8b07b871d71d0b37bc6", - "urls": [ - "bzz-raw://21ffda3891e7480d5fdbf7f5e9d539f0ed76204bca69738f8ee006395ef1e23e", - "dweb:/ipfs/Qmbhbn8zVXrCyvhvoQ5AUSj3usVGqMbMSEHYkNPdbQKBxt" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdStorage.sol": { - "keccak256": "0xb0da85ce6999940eba6190a26c15b9bc7aede57123891287e1b30f80333a9cf5", - "urls": [ - "bzz-raw://d287fd41de40ef992588f7a9531e66d1e9f8e4f3f194b9e721ac576d4613964a", - "dweb:/ipfs/QmbFYYjoc8WGLKVfDe4rscYPwdGq48incbwRQNoLtcMMjn" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7", - "urls": [ - "bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69", - "dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/StdCheats.sol", - "id": 5484, - "exportedSymbols": { - "StdCheats": [ - 5483 - ], - "StdCheatsSafe": [ - 5094 - ], - "StdStorage": [ - 6388 - ], - "Vm": [ - 9256 - ], - "VmSafe": [ - 8931 - ], - "stdStorage": [ - 7822 - ], - "stdStorageSafe": [ - 7281 - ] - }, - "nodeType": "SourceUnit", - "src": "32:22483:6", - "nodes": [ - { - "id": 3372, - "nodeType": "PragmaDirective", - "src": "32:31:6", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.6", - ".2", - "<", - "0.9", - ".0" - ] - }, - { - "id": 3373, - "nodeType": "PragmaDirective", - "src": "65:33:6", - "nodes": [], - "literals": [ - "experimental", - "ABIEncoderV2" - ] - }, - { - "id": 3374, - "nodeType": "ImportDirective", - "src": "100:26:6", - "nodes": [], - "absolutePath": "lib/forge-std/src/StdStorage.sol", - "file": "./StdStorage.sol", - "nameLocation": "-1:-1:-1", - "scope": 5484, - "sourceUnit": 7823, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 3375, - "nodeType": "ImportDirective", - "src": "127:18:6", - "nodes": [], - "absolutePath": "lib/forge-std/src/Vm.sol", - "file": "./Vm.sol", - "nameLocation": "-1:-1:-1", - "scope": 5484, - "sourceUnit": 9257, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 5094, - "nodeType": "ContractDefinition", - "src": "147:19161:6", - "nodes": [ - { - "id": 3392, - "nodeType": "VariableDeclaration", - "src": "185:92:6", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "vm", - "nameLocation": "209:2:6", - "scope": 5094, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - }, - "typeName": { - "id": 3377, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3376, - "name": "VmSafe", - "nameLocations": [ - "185:6:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 8931, - "src": "185:6:6" - }, - "referencedDeclaration": 8931, - "src": "185:6:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6865766d20636865617420636f6465", - "id": 3386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "255:17:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - }, - "value": "hevm cheat code" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - } - ], - "id": 3385, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "245:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3387, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "245:28:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 3384, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "237:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3383, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "237:7:6", - "typeDescriptions": {} - } - }, - "id": 3388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "237:37:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3382, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "229:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 3381, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "229:7:6", - "typeDescriptions": {} - } - }, - "id": 3389, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "229:46:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 3380, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "221:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3379, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "221:7:6", - "typeDescriptions": {} - } - }, - "id": 3390, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "221:55:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 3378, - "name": "VmSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8931, - "src": "214:6:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_VmSafe_$8931_$", - "typeString": "type(contract VmSafe)" - } - }, - "id": 3391, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "214:63:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "visibility": "private" - }, - { - "id": 3397, - "nodeType": "VariableDeclaration", - "src": "620:44:6", - "nodes": [], - "constant": false, - "documentation": { - "id": 3393, - "nodeType": "StructuredDocumentation", - "src": "284:331:6", - "text": "@dev To hide constructor warnings across solc versions due to different constructor visibility requirements and\n syntaxes, we put the constructor in a private method and assign an unused return value to a variable. This\n forces the method to run during construction, but without declaring an explicit constructor." - }, - "mutability": "mutable", - "name": "CONSTRUCTOR", - "nameLocation": "636:11:6", - "scope": 5094, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3394, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "620:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3395, - "name": "_constructor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3902, - "src": "650:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$_t_uint256_$", - "typeString": "function () returns (uint256)" - } - }, - "id": 3396, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "650:14:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "private" - }, - { - "id": 3404, - "nodeType": "StructDefinition", - "src": "671:567:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.Chain", - "members": [ - { - "constant": false, - "id": 3399, - "mutability": "mutable", - "name": "name", - "nameLocation": "800:4:6", - "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "793:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3398, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "793:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3401, - "mutability": "mutable", - "name": "chainId", - "nameLocation": "855:7:6", - "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "847:15:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3400, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "847:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3403, - "mutability": "mutable", - "name": "rpcUrl", - "nameLocation": "1225:6:6", - "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "1218:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3402, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1218:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "Chain", - "nameLocation": "678:5:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3409, - "nodeType": "VariableDeclaration", - "src": "1336:43:6", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "stdChains", - "nameLocation": "1370:9:6", - "scope": 5094, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string => struct StdCheatsSafe.Chain)" - }, - "typeName": { - "id": 3408, - "keyType": { - "id": 3405, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1344:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "nodeType": "Mapping", - "src": "1336:24:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string => struct StdCheatsSafe.Chain)" - }, - "valueType": { - "id": 3407, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3406, - "name": "Chain", - "nameLocations": [ - "1354:5:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3404, - "src": "1354:5:6" - }, - "referencedDeclaration": 3404, - "src": "1354:5:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage_ptr", - "typeString": "struct StdCheatsSafe.Chain" - } - } - }, - "visibility": "internal" - }, - { - "id": 3426, - "nodeType": "StructDefinition", - "src": "1624:325:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.RawTx1559", - "members": [ - { - "constant": false, - "id": 3412, - "mutability": "mutable", - "name": "arguments", - "nameLocation": "1660:9:6", - "nodeType": "VariableDeclaration", - "scope": 3426, - "src": "1651:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 3410, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1651:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 3411, - "nodeType": "ArrayTypeName", - "src": "1651:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3414, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "1687:15:6", - "nodeType": "VariableDeclaration", - "scope": 3426, - "src": "1679:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3413, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1679:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3416, - "mutability": "mutable", - "name": "contractName", - "nameLocation": "1719:12:6", - "nodeType": "VariableDeclaration", - "scope": 3426, - "src": "1712:19:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3415, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1712:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3418, - "mutability": "mutable", - "name": "functionSig", - "nameLocation": "1786:11:6", - "nodeType": "VariableDeclaration", - "scope": 3426, - "src": "1779:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3417, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1779:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3420, - "mutability": "mutable", - "name": "hash", - "nameLocation": "1815:4:6", - "nodeType": "VariableDeclaration", - "scope": 3426, - "src": "1807:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3419, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1807:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3423, - "mutability": "mutable", - "name": "txDetail", - "nameLocation": "1877:8:6", - "nodeType": "VariableDeclaration", - "scope": 3426, - "src": "1861:24:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail" - }, - "typeName": { - "id": 3422, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3421, - "name": "RawTx1559Detail", - "nameLocations": [ - "1861:15:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3445, - "src": "1861:15:6" - }, - "referencedDeclaration": 3445, - "src": "1861:15:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3425, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "1936:6:6", - "nodeType": "VariableDeclaration", - "scope": 3426, - "src": "1929:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3424, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1929:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "RawTx1559", - "nameLocation": "1631:9:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3445, - "nodeType": "StructDefinition", - "src": "1955:208:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.RawTx1559Detail", - "members": [ - { - "constant": false, - "id": 3430, - "mutability": "mutable", - "name": "accessList", - "nameLocation": "2001:10:6", - "nodeType": "VariableDeclaration", - "scope": 3445, - "src": "1988:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.AccessList[]" - }, - "typeName": { - "baseType": { - "id": 3428, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3427, - "name": "AccessList", - "nameLocations": [ - "1988:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3537, - "src": "1988:10:6" - }, - "referencedDeclaration": 3537, - "src": "1988:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AccessList_$3537_storage_ptr", - "typeString": "struct StdCheatsSafe.AccessList" - } - }, - "id": 3429, - "nodeType": "ArrayTypeName", - "src": "1988:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.AccessList[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3432, - "mutability": "mutable", - "name": "data", - "nameLocation": "2027:4:6", - "nodeType": "VariableDeclaration", - "scope": 3445, - "src": "2021:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3431, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2021:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3434, - "mutability": "mutable", - "name": "from", - "nameLocation": "2049:4:6", - "nodeType": "VariableDeclaration", - "scope": 3445, - "src": "2041:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3433, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2041:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3436, - "mutability": "mutable", - "name": "gas", - "nameLocation": "2069:3:6", - "nodeType": "VariableDeclaration", - "scope": 3445, - "src": "2063:9:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3435, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2063:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3438, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "2088:5:6", - "nodeType": "VariableDeclaration", - "scope": 3445, - "src": "2082:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3437, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2082:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3440, - "mutability": "mutable", - "name": "to", - "nameLocation": "2111:2:6", - "nodeType": "VariableDeclaration", - "scope": 3445, - "src": "2103:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3439, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2103:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3442, - "mutability": "mutable", - "name": "txType", - "nameLocation": "2129:6:6", - "nodeType": "VariableDeclaration", - "scope": 3445, - "src": "2123:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3441, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2123:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3444, - "mutability": "mutable", - "name": "value", - "nameLocation": "2151:5:6", - "nodeType": "VariableDeclaration", - "scope": 3445, - "src": "2145:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3443, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2145:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "RawTx1559Detail", - "nameLocation": "1962:15:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3462, - "nodeType": "StructDefinition", - "src": "2169:215:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.Tx1559", - "members": [ - { - "constant": false, - "id": 3448, - "mutability": "mutable", - "name": "arguments", - "nameLocation": "2202:9:6", - "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "2193:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 3446, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2193:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 3447, - "nodeType": "ArrayTypeName", - "src": "2193:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3450, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "2229:15:6", - "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "2221:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3449, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2221:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3452, - "mutability": "mutable", - "name": "contractName", - "nameLocation": "2261:12:6", - "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "2254:19:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3451, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2254:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3454, - "mutability": "mutable", - "name": "functionSig", - "nameLocation": "2290:11:6", - "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "2283:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3453, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2283:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3456, - "mutability": "mutable", - "name": "hash", - "nameLocation": "2319:4:6", - "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "2311:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3455, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2311:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3459, - "mutability": "mutable", - "name": "txDetail", - "nameLocation": "2346:8:6", - "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "2333:21:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail" - }, - "typeName": { - "id": 3458, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3457, - "name": "Tx1559Detail", - "nameLocations": [ - "2333:12:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3481, - "src": "2333:12:6" - }, - "referencedDeclaration": 3481, - "src": "2333:12:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3461, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "2371:6:6", - "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "2364:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3460, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2364:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "Tx1559", - "nameLocation": "2176:6:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3481, - "nodeType": "StructDefinition", - "src": "2390:213:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.Tx1559Detail", - "members": [ - { - "constant": false, - "id": 3466, - "mutability": "mutable", - "name": "accessList", - "nameLocation": "2433:10:6", - "nodeType": "VariableDeclaration", - "scope": 3481, - "src": "2420:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.AccessList[]" - }, - "typeName": { - "baseType": { - "id": 3464, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3463, - "name": "AccessList", - "nameLocations": [ - "2420:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3537, - "src": "2420:10:6" - }, - "referencedDeclaration": 3537, - "src": "2420:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AccessList_$3537_storage_ptr", - "typeString": "struct StdCheatsSafe.AccessList" - } - }, - "id": 3465, - "nodeType": "ArrayTypeName", - "src": "2420:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.AccessList[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3468, - "mutability": "mutable", - "name": "data", - "nameLocation": "2459:4:6", - "nodeType": "VariableDeclaration", - "scope": 3481, - "src": "2453:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3467, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2453:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3470, - "mutability": "mutable", - "name": "from", - "nameLocation": "2481:4:6", - "nodeType": "VariableDeclaration", - "scope": 3481, - "src": "2473:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3469, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2473:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3472, - "mutability": "mutable", - "name": "gas", - "nameLocation": "2503:3:6", - "nodeType": "VariableDeclaration", - "scope": 3481, - "src": "2495:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3471, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2495:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3474, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "2524:5:6", - "nodeType": "VariableDeclaration", - "scope": 3481, - "src": "2516:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3473, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2516:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3476, - "mutability": "mutable", - "name": "to", - "nameLocation": "2547:2:6", - "nodeType": "VariableDeclaration", - "scope": 3481, - "src": "2539:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3475, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2539:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3478, - "mutability": "mutable", - "name": "txType", - "nameLocation": "2567:6:6", - "nodeType": "VariableDeclaration", - "scope": 3481, - "src": "2559:14:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3477, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2559:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3480, - "mutability": "mutable", - "name": "value", - "nameLocation": "2591:5:6", - "nodeType": "VariableDeclaration", - "scope": 3481, - "src": "2583:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3479, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2583:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "Tx1559Detail", - "nameLocation": "2397:12:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3498, - "nodeType": "StructDefinition", - "src": "2854:221:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.TxLegacy", - "members": [ - { - "constant": false, - "id": 3484, - "mutability": "mutable", - "name": "arguments", - "nameLocation": "2889:9:6", - "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "2880:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 3482, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2880:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 3483, - "nodeType": "ArrayTypeName", - "src": "2880:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3486, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "2916:15:6", - "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "2908:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3485, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2908:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3488, - "mutability": "mutable", - "name": "contractName", - "nameLocation": "2948:12:6", - "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "2941:19:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3487, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2941:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3490, - "mutability": "mutable", - "name": "functionSig", - "nameLocation": "2977:11:6", - "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "2970:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3489, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2970:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3492, - "mutability": "mutable", - "name": "hash", - "nameLocation": "3005:4:6", - "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "2998:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3491, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2998:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3494, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "3026:6:6", - "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "3019:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3493, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3019:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3497, - "mutability": "mutable", - "name": "transaction", - "nameLocation": "3057:11:6", - "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "3042:26:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxDetailLegacy_$3531_storage_ptr", - "typeString": "struct StdCheatsSafe.TxDetailLegacy" - }, - "typeName": { - "id": 3496, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3495, - "name": "TxDetailLegacy", - "nameLocations": [ - "3042:14:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3531, - "src": "3042:14:6" - }, - "referencedDeclaration": 3531, - "src": "3042:14:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxDetailLegacy_$3531_storage_ptr", - "typeString": "struct StdCheatsSafe.TxDetailLegacy" - } - }, - "visibility": "internal" - } - ], - "name": "TxLegacy", - "nameLocation": "2861:8:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3531, - "nodeType": "StructDefinition", - "src": "3081:366:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.TxDetailLegacy", - "members": [ - { - "constant": false, - "id": 3502, - "mutability": "mutable", - "name": "accessList", - "nameLocation": "3126:10:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3113:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.AccessList[]" - }, - "typeName": { - "baseType": { - "id": 3500, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3499, - "name": "AccessList", - "nameLocations": [ - "3113:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3537, - "src": "3113:10:6" - }, - "referencedDeclaration": 3537, - "src": "3113:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AccessList_$3537_storage_ptr", - "typeString": "struct StdCheatsSafe.AccessList" - } - }, - "id": 3501, - "nodeType": "ArrayTypeName", - "src": "3113:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.AccessList[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3504, - "mutability": "mutable", - "name": "chainId", - "nameLocation": "3154:7:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3146:15:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3503, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3146:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3506, - "mutability": "mutable", - "name": "data", - "nameLocation": "3177:4:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3171:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3505, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3171:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3508, - "mutability": "mutable", - "name": "from", - "nameLocation": "3199:4:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3191:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3507, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3191:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3510, - "mutability": "mutable", - "name": "gas", - "nameLocation": "3221:3:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3213:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3509, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3213:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3512, - "mutability": "mutable", - "name": "gasPrice", - "nameLocation": "3242:8:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3234:16:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3511, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3234:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3514, - "mutability": "mutable", - "name": "hash", - "nameLocation": "3268:4:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3260:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3513, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3260:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3516, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "3290:5:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3282:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3515, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3282:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3518, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "3312:6:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3305:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "typeName": { - "id": 3517, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "3305:6:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3520, - "mutability": "mutable", - "name": "r", - "nameLocation": "3336:1:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3328:9:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3519, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3328:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3522, - "mutability": "mutable", - "name": "s", - "nameLocation": "3355:1:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3347:9:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3521, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3347:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3524, - "mutability": "mutable", - "name": "txType", - "nameLocation": "3374:6:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3366:14:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3523, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3366:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3526, - "mutability": "mutable", - "name": "to", - "nameLocation": "3398:2:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3390:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3525, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3390:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3528, - "mutability": "mutable", - "name": "v", - "nameLocation": "3416:1:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3410:7:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 3527, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "3410:5:6", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3530, - "mutability": "mutable", - "name": "value", - "nameLocation": "3435:5:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3427:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3529, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3427:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "TxDetailLegacy", - "nameLocation": "3088:14:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3537, - "nodeType": "StructDefinition", - "src": "3453:87:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.AccessList", - "members": [ - { - "constant": false, - "id": 3533, - "mutability": "mutable", - "name": "accessAddress", - "nameLocation": "3489:13:6", - "nodeType": "VariableDeclaration", - "scope": 3537, - "src": "3481:21:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3532, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3481:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3536, - "mutability": "mutable", - "name": "storageKeys", - "nameLocation": "3522:11:6", - "nodeType": "VariableDeclaration", - "scope": 3537, - "src": "3512:21:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 3534, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3512:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 3535, - "nodeType": "ArrayTypeName", - "src": "3512:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "name": "AccessList", - "nameLocation": "3460:10:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3566, - "nodeType": "StructDefinition", - "src": "3756:385:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.RawReceipt", - "members": [ - { - "constant": false, - "id": 3539, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "3792:9:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "3784:17:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3538, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3784:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3541, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "3817:11:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "3811:17:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3540, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3811:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3543, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "3846:15:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "3838:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3542, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3838:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3545, - "mutability": "mutable", - "name": "cumulativeGasUsed", - "nameLocation": "3877:17:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "3871:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3544, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3871:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3547, - "mutability": "mutable", - "name": "effectiveGasPrice", - "nameLocation": "3910:17:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "3904:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3546, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3904:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3549, - "mutability": "mutable", - "name": "from", - "nameLocation": "3945:4:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "3937:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3548, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3937:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3551, - "mutability": "mutable", - "name": "gasUsed", - "nameLocation": "3965:7:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "3959:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3550, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3959:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3555, - "mutability": "mutable", - "name": "logs", - "nameLocation": "3998:4:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "3982:20:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 3553, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3552, - "name": "RawReceiptLog", - "nameLocations": [ - "3982:13:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3663, - "src": "3982:13:6" - }, - "referencedDeclaration": 3663, - "src": "3982:13:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog" - } - }, - "id": 3554, - "nodeType": "ArrayTypeName", - "src": "3982:15:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3557, - "mutability": "mutable", - "name": "logsBloom", - "nameLocation": "4018:9:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "4012:15:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3556, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4012:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3559, - "mutability": "mutable", - "name": "status", - "nameLocation": "4043:6:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "4037:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3558, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4037:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3561, - "mutability": "mutable", - "name": "to", - "nameLocation": "4067:2:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "4059:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3560, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4059:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3563, - "mutability": "mutable", - "name": "transactionHash", - "nameLocation": "4087:15:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "4079:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3562, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4079:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3565, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "4118:16:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "4112:22:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3564, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4112:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "RawReceipt", - "nameLocation": "3763:10:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3595, - "nodeType": "StructDefinition", - "src": "4147:391:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.Receipt", - "members": [ - { - "constant": false, - "id": 3568, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "4180:9:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4172:17:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3567, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4172:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3570, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "4207:11:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4199:19:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3569, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4199:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3572, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "4236:15:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4228:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3571, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4228:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3574, - "mutability": "mutable", - "name": "cumulativeGasUsed", - "nameLocation": "4269:17:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4261:25:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3573, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4261:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3576, - "mutability": "mutable", - "name": "effectiveGasPrice", - "nameLocation": "4304:17:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4296:25:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3575, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4296:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3578, - "mutability": "mutable", - "name": "from", - "nameLocation": "4339:4:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4331:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3577, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4331:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3580, - "mutability": "mutable", - "name": "gasUsed", - "nameLocation": "4361:7:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4353:15:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3579, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4353:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3584, - "mutability": "mutable", - "name": "logs", - "nameLocation": "4391:4:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4378:17:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 3582, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3581, - "name": "ReceiptLog", - "nameLocations": [ - "4378:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3683, - "src": "4378:10:6" - }, - "referencedDeclaration": 3683, - "src": "4378:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_storage_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog" - } - }, - "id": 3583, - "nodeType": "ArrayTypeName", - "src": "4378:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3586, - "mutability": "mutable", - "name": "logsBloom", - "nameLocation": "4411:9:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4405:15:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3585, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4405:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3588, - "mutability": "mutable", - "name": "status", - "nameLocation": "4438:6:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4430:14:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3587, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4430:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3590, - "mutability": "mutable", - "name": "to", - "nameLocation": "4462:2:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4454:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3589, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4454:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3592, - "mutability": "mutable", - "name": "transactionHash", - "nameLocation": "4482:15:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4474:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3591, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4474:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3594, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "4515:16:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4507:24:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3593, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4507:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "Receipt", - "nameLocation": "4154:7:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3618, - "nodeType": "StructDefinition", - "src": "4661:227:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.EIP1559ScriptArtifact", - "members": [ - { - "constant": false, - "id": 3598, - "mutability": "mutable", - "name": "libraries", - "nameLocation": "4709:9:6", - "nodeType": "VariableDeclaration", - "scope": 3618, - "src": "4700:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 3596, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4700:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 3597, - "nodeType": "ArrayTypeName", - "src": "4700:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3600, - "mutability": "mutable", - "name": "path", - "nameLocation": "4735:4:6", - "nodeType": "VariableDeclaration", - "scope": 3618, - "src": "4728:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3599, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4728:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3603, - "mutability": "mutable", - "name": "pending", - "nameLocation": "4758:7:6", - "nodeType": "VariableDeclaration", - "scope": 3618, - "src": "4749:16:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 3601, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4749:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 3602, - "nodeType": "ArrayTypeName", - "src": "4749:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3607, - "mutability": "mutable", - "name": "receipts", - "nameLocation": "4785:8:6", - "nodeType": "VariableDeclaration", - "scope": 3618, - "src": "4775:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 3605, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3604, - "name": "Receipt", - "nameLocations": [ - "4775:7:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3595, - "src": "4775:7:6" - }, - "referencedDeclaration": 3595, - "src": "4775:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - } - }, - "id": 3606, - "nodeType": "ArrayTypeName", - "src": "4775:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3609, - "mutability": "mutable", - "name": "timestamp", - "nameLocation": "4811:9:6", - "nodeType": "VariableDeclaration", - "scope": 3618, - "src": "4803:17:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3608, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4803:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3613, - "mutability": "mutable", - "name": "transactions", - "nameLocation": "4839:12:6", - "nodeType": "VariableDeclaration", - "scope": 3618, - "src": "4830:21:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 3611, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3610, - "name": "Tx1559", - "nameLocations": [ - "4830:6:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3462, - "src": "4830:6:6" - }, - "referencedDeclaration": 3462, - "src": "4830:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - } - }, - "id": 3612, - "nodeType": "ArrayTypeName", - "src": "4830:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3617, - "mutability": "mutable", - "name": "txReturns", - "nameLocation": "4872:9:6", - "nodeType": "VariableDeclaration", - "scope": 3618, - "src": "4861:20:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.TxReturn[]" - }, - "typeName": { - "baseType": { - "id": 3615, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3614, - "name": "TxReturn", - "nameLocations": [ - "4861:8:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3688, - "src": "4861:8:6" - }, - "referencedDeclaration": 3688, - "src": "4861:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxReturn_$3688_storage_ptr", - "typeString": "struct StdCheatsSafe.TxReturn" - } - }, - "id": 3616, - "nodeType": "ArrayTypeName", - "src": "4861:10:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.TxReturn[]" - } - }, - "visibility": "internal" - } - ], - "name": "EIP1559ScriptArtifact", - "nameLocation": "4668:21:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3641, - "nodeType": "StructDefinition", - "src": "4894:236:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.RawEIP1559ScriptArtifact", - "members": [ - { - "constant": false, - "id": 3621, - "mutability": "mutable", - "name": "libraries", - "nameLocation": "4945:9:6", - "nodeType": "VariableDeclaration", - "scope": 3641, - "src": "4936:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 3619, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4936:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 3620, - "nodeType": "ArrayTypeName", - "src": "4936:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3623, - "mutability": "mutable", - "name": "path", - "nameLocation": "4971:4:6", - "nodeType": "VariableDeclaration", - "scope": 3641, - "src": "4964:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3622, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4964:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3626, - "mutability": "mutable", - "name": "pending", - "nameLocation": "4994:7:6", - "nodeType": "VariableDeclaration", - "scope": 3641, - "src": "4985:16:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 3624, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4985:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 3625, - "nodeType": "ArrayTypeName", - "src": "4985:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3630, - "mutability": "mutable", - "name": "receipts", - "nameLocation": "5024:8:6", - "nodeType": "VariableDeclaration", - "scope": 3641, - "src": "5011:21:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt[]" - }, - "typeName": { - "baseType": { - "id": 3628, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3627, - "name": "RawReceipt", - "nameLocations": [ - "5011:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3566, - "src": "5011:10:6" - }, - "referencedDeclaration": 3566, - "src": "5011:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt" - } - }, - "id": 3629, - "nodeType": "ArrayTypeName", - "src": "5011:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3634, - "mutability": "mutable", - "name": "txReturns", - "nameLocation": "5053:9:6", - "nodeType": "VariableDeclaration", - "scope": 3641, - "src": "5042:20:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.TxReturn[]" - }, - "typeName": { - "baseType": { - "id": 3632, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3631, - "name": "TxReturn", - "nameLocations": [ - "5042:8:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3688, - "src": "5042:8:6" - }, - "referencedDeclaration": 3688, - "src": "5042:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxReturn_$3688_storage_ptr", - "typeString": "struct StdCheatsSafe.TxReturn" - } - }, - "id": 3633, - "nodeType": "ArrayTypeName", - "src": "5042:10:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.TxReturn[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3636, - "mutability": "mutable", - "name": "timestamp", - "nameLocation": "5080:9:6", - "nodeType": "VariableDeclaration", - "scope": 3641, - "src": "5072:17:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3635, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5072:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3640, - "mutability": "mutable", - "name": "transactions", - "nameLocation": "5111:12:6", - "nodeType": "VariableDeclaration", - "scope": 3641, - "src": "5099:24:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559[]" - }, - "typeName": { - "baseType": { - "id": 3638, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3637, - "name": "RawTx1559", - "nameLocations": [ - "5099:9:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3426, - "src": "5099:9:6" - }, - "referencedDeclaration": 3426, - "src": "5099:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559" - } - }, - "id": 3639, - "nodeType": "ArrayTypeName", - "src": "5099:11:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559[]" - } - }, - "visibility": "internal" - } - ], - "name": "RawEIP1559ScriptArtifact", - "nameLocation": "4901:24:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3663, - "nodeType": "StructDefinition", - "src": "5136:334:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.RawReceiptLog", - "members": [ - { - "constant": false, - "id": 3643, - "mutability": "mutable", - "name": "logAddress", - "nameLocation": "5207:10:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5199:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3642, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5199:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3645, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "5235:9:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5227:17:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3644, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5227:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3647, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "5260:11:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5254:17:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3646, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5254:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3649, - "mutability": "mutable", - "name": "data", - "nameLocation": "5287:4:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5281:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3648, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5281:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3651, - "mutability": "mutable", - "name": "logIndex", - "nameLocation": "5307:8:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5301:14:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3650, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5301:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3653, - "mutability": "mutable", - "name": "removed", - "nameLocation": "5330:7:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5325:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3652, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5325:4:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3656, - "mutability": "mutable", - "name": "topics", - "nameLocation": "5357:6:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5347:16:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 3654, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5347:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 3655, - "nodeType": "ArrayTypeName", - "src": "5347:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3658, - "mutability": "mutable", - "name": "transactionHash", - "nameLocation": "5381:15:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5373:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3657, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5373:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3660, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "5412:16:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5406:22:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3659, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5406:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3662, - "mutability": "mutable", - "name": "transactionLogIndex", - "nameLocation": "5444:19:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5438:25:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3661, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5438:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "RawReceiptLog", - "nameLocation": "5143:13:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3683, - "nodeType": "StructDefinition", - "src": "5476:306:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.ReceiptLog", - "members": [ - { - "constant": false, - "id": 3665, - "mutability": "mutable", - "name": "logAddress", - "nameLocation": "5544:10:6", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "5536:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3664, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5536:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3667, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "5572:9:6", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "5564:17:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3666, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5564:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3669, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "5599:11:6", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "5591:19:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3668, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5591:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3671, - "mutability": "mutable", - "name": "data", - "nameLocation": "5626:4:6", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "5620:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3670, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5620:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3673, - "mutability": "mutable", - "name": "logIndex", - "nameLocation": "5648:8:6", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "5640:16:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3672, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5640:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3676, - "mutability": "mutable", - "name": "topics", - "nameLocation": "5676:6:6", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "5666:16:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 3674, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5666:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 3675, - "nodeType": "ArrayTypeName", - "src": "5666:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3678, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "5700:16:6", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "5692:24:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3677, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5692:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3680, - "mutability": "mutable", - "name": "transactionLogIndex", - "nameLocation": "5734:19:6", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "5726:27:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3679, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5726:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3682, - "mutability": "mutable", - "name": "removed", - "nameLocation": "5768:7:6", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "5763:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3681, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5763:4:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "name": "ReceiptLog", - "nameLocation": "5483:10:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3688, - "nodeType": "StructDefinition", - "src": "5788:74:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.TxReturn", - "members": [ - { - "constant": false, - "id": 3685, - "mutability": "mutable", - "name": "internalType", - "nameLocation": "5821:12:6", - "nodeType": "VariableDeclaration", - "scope": 3688, - "src": "5814:19:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3684, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5814:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3687, - "mutability": "mutable", - "name": "value", - "nameLocation": "5850:5:6", - "nodeType": "VariableDeclaration", - "scope": 3688, - "src": "5843:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3686, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5843:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "TxReturn", - "nameLocation": "5795:8:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3902, - "nodeType": "FunctionDefinition", - "src": "5868:2125:6", - "nodes": [], - "body": { - "id": 3901, - "nodeType": "Block", - "src": "5918:2075:6", - "nodes": [], - "statements": [ - { - "expression": { - "id": 3701, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3693, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "5981:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3695, - "indexExpression": { - "hexValue": "616e76696c", - "id": 3694, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5991:7:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a3d859b77cebfdf9da3b485434702c5090ff9e91b7b86c670ebb15f8a00eb72b", - "typeString": "literal_string \"anvil\"" - }, - "value": "anvil" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "5981:18:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "416e76696c", - "id": 3697, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6008:7:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1ab1bd2f543bf53e1036abfe292a89809c7285bff756db6e274686afe6fb41b4", - "typeString": "literal_string \"Anvil\"" - }, - "value": "Anvil" - }, - { - "hexValue": "3331333337", - "id": 3698, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6017:5:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_31337_by_1", - "typeString": "int_const 31337" - }, - "value": "31337" - }, - { - "hexValue": "687474703a2f2f3132372e302e302e313a38353435", - "id": 3699, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6024:23:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_308a18cf3d9de3b161a842ef1e873581d7b16a5d4ea08170e123f95d25f33fe0", - "typeString": "literal_string \"http://127.0.0.1:8545\"" - }, - "value": "http://127.0.0.1:8545" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1ab1bd2f543bf53e1036abfe292a89809c7285bff756db6e274686afe6fb41b4", - "typeString": "literal_string \"Anvil\"" - }, - { - "typeIdentifier": "t_rational_31337_by_1", - "typeString": "int_const 31337" - }, - { - "typeIdentifier": "t_stringliteral_308a18cf3d9de3b161a842ef1e873581d7b16a5d4ea08170e123f95d25f33fe0", - "typeString": "literal_string \"http://127.0.0.1:8545\"" - } - ], - "id": 3696, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6002:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3700, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6002:46:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "5981:67:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3702, - "nodeType": "ExpressionStatement", - "src": "5981:67:6" - }, - { - "expression": { - "id": 3711, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3703, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6058:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3705, - "indexExpression": { - "hexValue": "68617264686174", - "id": 3704, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6068:9:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_41d010e4d55c1f680ac8d1df51d62770f05ab44e7687503f884ef0629dbf7ab0", - "typeString": "literal_string \"hardhat\"" - }, - "value": "hardhat" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6058:20:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "48617264686174", - "id": 3707, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6087:9:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_586258927916cf0d904406d36da1f5f818494652192f6e9e71d4067756af388a", - "typeString": "literal_string \"Hardhat\"" - }, - "value": "Hardhat" - }, - { - "hexValue": "3331333337", - "id": 3708, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6098:5:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_31337_by_1", - "typeString": "int_const 31337" - }, - "value": "31337" - }, - { - "hexValue": "687474703a2f2f3132372e302e302e313a38353435", - "id": 3709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6105:23:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_308a18cf3d9de3b161a842ef1e873581d7b16a5d4ea08170e123f95d25f33fe0", - "typeString": "literal_string \"http://127.0.0.1:8545\"" - }, - "value": "http://127.0.0.1:8545" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_586258927916cf0d904406d36da1f5f818494652192f6e9e71d4067756af388a", - "typeString": "literal_string \"Hardhat\"" - }, - { - "typeIdentifier": "t_rational_31337_by_1", - "typeString": "int_const 31337" - }, - { - "typeIdentifier": "t_stringliteral_308a18cf3d9de3b161a842ef1e873581d7b16a5d4ea08170e123f95d25f33fe0", - "typeString": "literal_string \"http://127.0.0.1:8545\"" - } - ], - "id": 3706, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6081:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3710, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6081:48:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6058:71:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3712, - "nodeType": "ExpressionStatement", - "src": "6058:71:6" - }, - { - "expression": { - "id": 3721, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3713, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6139:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3715, - "indexExpression": { - "hexValue": "6d61696e6e6574", - "id": 3714, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6149:9:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7beafa94c8bfb8f1c1a43104a34f72c524268aafbfe83bff17485539345c66ff", - "typeString": "literal_string \"mainnet\"" - }, - "value": "mainnet" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6139:20:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "4d61696e6e6574", - "id": 3717, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6168:9:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8d646f556e5d9d6f1edcf7a39b77f5ac253776eb34efcfd688aacbee518efc26", - "typeString": "literal_string \"Mainnet\"" - }, - "value": "Mainnet" - }, - { - "hexValue": "31", - "id": 3718, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6179:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - { - "hexValue": "68747470733a2f2f6d61696e6e65742e696e667572612e696f2f76332f3637373034353462633665613432633538616163313239373835333162393366", - "id": 3719, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6182:63:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_774ec9114c424c27016dfcccca26cbc2c56169b7a41cad2545127f33ebee4c93", - "typeString": "literal_string \"https://mainnet.infura.io/v3/6770454bc6ea42c58aac12978531b93f\"" - }, - "value": "https://mainnet.infura.io/v3/6770454bc6ea42c58aac12978531b93f" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8d646f556e5d9d6f1edcf7a39b77f5ac253776eb34efcfd688aacbee518efc26", - "typeString": "literal_string \"Mainnet\"" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - { - "typeIdentifier": "t_stringliteral_774ec9114c424c27016dfcccca26cbc2c56169b7a41cad2545127f33ebee4c93", - "typeString": "literal_string \"https://mainnet.infura.io/v3/6770454bc6ea42c58aac12978531b93f\"" - } - ], - "id": 3716, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6162:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3720, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6162:84:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6139:107:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3722, - "nodeType": "ExpressionStatement", - "src": "6139:107:6" - }, - { - "expression": { - "id": 3731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3723, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6256:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3725, - "indexExpression": { - "hexValue": "676f65726c69", - "id": 3724, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6266:8:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e24dd81d18a6354d406364c0fc25f4237534cee10d0c3099c9c2a6aa50d7dd0a", - "typeString": "literal_string \"goerli\"" - }, - "value": "goerli" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6256:19:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "476f65726c69", - "id": 3727, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6284:8:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_736fc55653a3415af498a1309898240f13c5e9e33098fa3cf9e5f2a200d14c3e", - "typeString": "literal_string \"Goerli\"" - }, - "value": "Goerli" - }, - { - "hexValue": "35", - "id": 3728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6294:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_5_by_1", - "typeString": "int_const 5" - }, - "value": "5" - }, - { - "hexValue": "68747470733a2f2f676f65726c692e696e667572612e696f2f76332f3637373034353462633665613432633538616163313239373835333162393366", - "id": 3729, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6297:62:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_809fa20d080608d8b6f3c6e91a70a9f82ae99920a2a463c52efd4970f7138a82", - "typeString": "literal_string \"https://goerli.infura.io/v3/6770454bc6ea42c58aac12978531b93f\"" - }, - "value": "https://goerli.infura.io/v3/6770454bc6ea42c58aac12978531b93f" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_736fc55653a3415af498a1309898240f13c5e9e33098fa3cf9e5f2a200d14c3e", - "typeString": "literal_string \"Goerli\"" - }, - { - "typeIdentifier": "t_rational_5_by_1", - "typeString": "int_const 5" - }, - { - "typeIdentifier": "t_stringliteral_809fa20d080608d8b6f3c6e91a70a9f82ae99920a2a463c52efd4970f7138a82", - "typeString": "literal_string \"https://goerli.infura.io/v3/6770454bc6ea42c58aac12978531b93f\"" - } - ], - "id": 3726, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6278:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3730, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6278:82:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6256:104:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3732, - "nodeType": "ExpressionStatement", - "src": "6256:104:6" - }, - { - "expression": { - "id": 3741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3733, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6370:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3735, - "indexExpression": { - "hexValue": "7365706f6c6961", - "id": 3734, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6380:9:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e1f58df0b51f34f4835aba989f0aa2f2e66218cab53207bafd3dbf37270bd39a", - "typeString": "literal_string \"sepolia\"" - }, - "value": "sepolia" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6370:20:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "5365706f6c6961", - "id": 3737, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6399:9:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a6b54cd124a84bb64f1808905ed95fb171a09730726f85e60eefcd47a4831b27", - "typeString": "literal_string \"Sepolia\"" - }, - "value": "Sepolia" - }, - { - "hexValue": "3131313535313131", - "id": 3738, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6410:8:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_11155111_by_1", - "typeString": "int_const 11155111" - }, - "value": "11155111" - }, - { - "hexValue": "68747470733a2f2f7270632e7365706f6c69612e646576", - "id": 3739, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6420:25:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e36469e9d6da385a975d561558a2cc6fd854a99901b2f285356c4d0070d0cd11", - "typeString": "literal_string \"https://rpc.sepolia.dev\"" - }, - "value": "https://rpc.sepolia.dev" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a6b54cd124a84bb64f1808905ed95fb171a09730726f85e60eefcd47a4831b27", - "typeString": "literal_string \"Sepolia\"" - }, - { - "typeIdentifier": "t_rational_11155111_by_1", - "typeString": "int_const 11155111" - }, - { - "typeIdentifier": "t_stringliteral_e36469e9d6da385a975d561558a2cc6fd854a99901b2f285356c4d0070d0cd11", - "typeString": "literal_string \"https://rpc.sepolia.dev\"" - } - ], - "id": 3736, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6393:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3740, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6393:53:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6370:76:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3742, - "nodeType": "ExpressionStatement", - "src": "6370:76:6" - }, - { - "expression": { - "id": 3751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3743, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6456:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3745, - "indexExpression": { - "hexValue": "6f7074696d69736d", - "id": 3744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6466:10:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_09d0f27659ee556a8134fa56941e42400e672aecc2d4cfc61cdb0fcea4590e05", - "typeString": "literal_string \"optimism\"" - }, - "value": "optimism" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6456:21:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "4f7074696d69736d", - "id": 3747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6486:10:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f997187c3c319ef9e33fa05f852d1612b66e309dc48d97a4b6b39832090a3bec", - "typeString": "literal_string \"Optimism\"" - }, - "value": "Optimism" - }, - { - "hexValue": "3130", - "id": 3748, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6498:2:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - { - "hexValue": "68747470733a2f2f6d61696e6e65742e6f7074696d69736d2e696f", - "id": 3749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6502:29:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_38b9211512154272cdc8d9677b3720aef06041b8d31b5e68a6ffc7a4bb22d93e", - "typeString": "literal_string \"https://mainnet.optimism.io\"" - }, - "value": "https://mainnet.optimism.io" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f997187c3c319ef9e33fa05f852d1612b66e309dc48d97a4b6b39832090a3bec", - "typeString": "literal_string \"Optimism\"" - }, - { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - { - "typeIdentifier": "t_stringliteral_38b9211512154272cdc8d9677b3720aef06041b8d31b5e68a6ffc7a4bb22d93e", - "typeString": "literal_string \"https://mainnet.optimism.io\"" - } - ], - "id": 3746, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6480:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3750, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6480:52:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6456:76:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3752, - "nodeType": "ExpressionStatement", - "src": "6456:76:6" - }, - { - "expression": { - "id": 3761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3753, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6542:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3755, - "indexExpression": { - "hexValue": "6f7074696d69736d5f676f65726c69", - "id": 3754, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6552:17:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ecf3b2cc678a701bfbf2329b12e6edf723c3043a32339c2eea2efb7c9533c09c", - "typeString": "literal_string \"optimism_goerli\"" - }, - "value": "optimism_goerli" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6542:28:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "4f7074696d69736d20476f65726c69", - "id": 3757, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6579:17:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6271e061a2d4ce1b6e267081a40c4dca996efe738d092d650bcfa23669d2fd24", - "typeString": "literal_string \"Optimism Goerli\"" - }, - "value": "Optimism Goerli" - }, - { - "hexValue": "343230", - "id": 3758, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6598:3:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_420_by_1", - "typeString": "int_const 420" - }, - "value": "420" - }, - { - "hexValue": "68747470733a2f2f676f65726c692e6f7074696d69736d2e696f", - "id": 3759, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6603:28:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ef3dbe59ba72d73e51c1959c67c0485880270dce59b4642a5dff6497ea5e55ad", - "typeString": "literal_string \"https://goerli.optimism.io\"" - }, - "value": "https://goerli.optimism.io" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6271e061a2d4ce1b6e267081a40c4dca996efe738d092d650bcfa23669d2fd24", - "typeString": "literal_string \"Optimism Goerli\"" - }, - { - "typeIdentifier": "t_rational_420_by_1", - "typeString": "int_const 420" - }, - { - "typeIdentifier": "t_stringliteral_ef3dbe59ba72d73e51c1959c67c0485880270dce59b4642a5dff6497ea5e55ad", - "typeString": "literal_string \"https://goerli.optimism.io\"" - } - ], - "id": 3756, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6573:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3760, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6573:59:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6542:90:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3762, - "nodeType": "ExpressionStatement", - "src": "6542:90:6" - }, - { - "expression": { - "id": 3771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3763, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6642:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3765, - "indexExpression": { - "hexValue": "617262697472756d5f6f6e65", - "id": 3764, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6652:14:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b44cea7839e0679ac5072602932da9b25ebfb3a9ac42625d9c583a7b6b2eb4", - "typeString": "literal_string \"arbitrum_one\"" - }, - "value": "arbitrum_one" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6642:25:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "417262697472756d204f6e65", - "id": 3767, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6676:14:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9e42b1aebd5463751aea2c5f6ee37505334a82b4085315a5f4b8b0f81d3b9004", - "typeString": "literal_string \"Arbitrum One\"" - }, - "value": "Arbitrum One" - }, - { - "hexValue": "3432313631", - "id": 3768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6692:5:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_42161_by_1", - "typeString": "int_const 42161" - }, - "value": "42161" - }, - { - "hexValue": "68747470733a2f2f617262312e617262697472756d2e696f2f727063", - "id": 3769, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6699:30:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ff28c1a1bf3c117d5956efad529d0ee22dcfc0fe5cbf5a03e0bdfcc3c6cac126", - "typeString": "literal_string \"https://arb1.arbitrum.io/rpc\"" - }, - "value": "https://arb1.arbitrum.io/rpc" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9e42b1aebd5463751aea2c5f6ee37505334a82b4085315a5f4b8b0f81d3b9004", - "typeString": "literal_string \"Arbitrum One\"" - }, - { - "typeIdentifier": "t_rational_42161_by_1", - "typeString": "int_const 42161" - }, - { - "typeIdentifier": "t_stringliteral_ff28c1a1bf3c117d5956efad529d0ee22dcfc0fe5cbf5a03e0bdfcc3c6cac126", - "typeString": "literal_string \"https://arb1.arbitrum.io/rpc\"" - } - ], - "id": 3766, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6670:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3770, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6670:60:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6642:88:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3772, - "nodeType": "ExpressionStatement", - "src": "6642:88:6" - }, - { - "expression": { - "id": 3781, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3773, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6740:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3775, - "indexExpression": { - "hexValue": "617262697472756d5f6f6e655f676f65726c69", - "id": 3774, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6750:21:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9c5068a3a5cdbd747f13200fdd6f590995f99bde231a5dcfa62a5f92af1dc3d4", - "typeString": "literal_string \"arbitrum_one_goerli\"" - }, - "value": "arbitrum_one_goerli" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6740:32:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "417262697472756d204f6e6520476f65726c69", - "id": 3777, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6781:21:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_57f7b6894161eb541e81676f15adf1e65eee36bdcfd592f252d22d4394480f21", - "typeString": "literal_string \"Arbitrum One Goerli\"" - }, - "value": "Arbitrum One Goerli" - }, - { - "hexValue": "343231363133", - "id": 3778, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6804:6:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_421613_by_1", - "typeString": "int_const 421613" - }, - "value": "421613" - }, - { - "hexValue": "68747470733a2f2f676f65726c692d726f6c6c75702e617262697472756d2e696f2f727063", - "id": 3779, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6812:39:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d65fa49ed6bf0763184aace821262295f8ad23c20b74cd1f836fe5e06f5dd8ea", - "typeString": "literal_string \"https://goerli-rollup.arbitrum.io/rpc\"" - }, - "value": "https://goerli-rollup.arbitrum.io/rpc" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_57f7b6894161eb541e81676f15adf1e65eee36bdcfd592f252d22d4394480f21", - "typeString": "literal_string \"Arbitrum One Goerli\"" - }, - { - "typeIdentifier": "t_rational_421613_by_1", - "typeString": "int_const 421613" - }, - { - "typeIdentifier": "t_stringliteral_d65fa49ed6bf0763184aace821262295f8ad23c20b74cd1f836fe5e06f5dd8ea", - "typeString": "literal_string \"https://goerli-rollup.arbitrum.io/rpc\"" - } - ], - "id": 3776, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6775:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3780, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6775:77:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6740:112:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3782, - "nodeType": "ExpressionStatement", - "src": "6740:112:6" - }, - { - "expression": { - "id": 3791, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3783, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6862:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3785, - "indexExpression": { - "hexValue": "617262697472756d5f6e6f7661", - "id": 3784, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6872:15:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9338ed1403277416ebb39d4e992ebf5c49e6dded5ec79963ea5fc261cbd7fdac", - "typeString": "literal_string \"arbitrum_nova\"" - }, - "value": "arbitrum_nova" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6862:26:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "417262697472756d204e6f7661", - "id": 3787, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6897:15:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_25c77b7679bf463420c39c7728b9f65b6a8f1ae05b3335eb9e394b1b61bf8f21", - "typeString": "literal_string \"Arbitrum Nova\"" - }, - "value": "Arbitrum Nova" - }, - { - "hexValue": "3432313730", - "id": 3788, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6914:5:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_42170_by_1", - "typeString": "int_const 42170" - }, - "value": "42170" - }, - { - "hexValue": "68747470733a2f2f6e6f76612e617262697472756d2e696f2f727063", - "id": 3789, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6921:30:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a77f0a686c95785c75ada33247e30dc9ac80330a7f8eb521bebdf48f492ee4ac", - "typeString": "literal_string \"https://nova.arbitrum.io/rpc\"" - }, - "value": "https://nova.arbitrum.io/rpc" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_25c77b7679bf463420c39c7728b9f65b6a8f1ae05b3335eb9e394b1b61bf8f21", - "typeString": "literal_string \"Arbitrum Nova\"" - }, - { - "typeIdentifier": "t_rational_42170_by_1", - "typeString": "int_const 42170" - }, - { - "typeIdentifier": "t_stringliteral_a77f0a686c95785c75ada33247e30dc9ac80330a7f8eb521bebdf48f492ee4ac", - "typeString": "literal_string \"https://nova.arbitrum.io/rpc\"" - } - ], - "id": 3786, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6891:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3790, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6891:61:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6862:90:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3792, - "nodeType": "ExpressionStatement", - "src": "6862:90:6" - }, - { - "expression": { - "id": 3801, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3793, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6962:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3795, - "indexExpression": { - "hexValue": "706f6c79676f6e", - "id": 3794, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6972:9:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ac63fa1fe369e75c38d62f0f4d465b48b3cd5159f0fb416332899402031d1408", - "typeString": "literal_string \"polygon\"" - }, - "value": "polygon" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6962:20:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "506f6c79676f6e", - "id": 3797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6991:9:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_890af8db8ca1aa1e915857edbc2717639ebd8a22c786f9e0e776d6a1aacb5e71", - "typeString": "literal_string \"Polygon\"" - }, - "value": "Polygon" - }, - { - "hexValue": "313337", - "id": 3798, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7002:3:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_137_by_1", - "typeString": "int_const 137" - }, - "value": "137" - }, - { - "hexValue": "68747470733a2f2f706f6c79676f6e2d7270632e636f6d", - "id": 3799, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7007:25:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fda46ab670b83929623b4aa9bcfa97ff7b7376fa90a24a450a8561482232c5c0", - "typeString": "literal_string \"https://polygon-rpc.com\"" - }, - "value": "https://polygon-rpc.com" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_890af8db8ca1aa1e915857edbc2717639ebd8a22c786f9e0e776d6a1aacb5e71", - "typeString": "literal_string \"Polygon\"" - }, - { - "typeIdentifier": "t_rational_137_by_1", - "typeString": "int_const 137" - }, - { - "typeIdentifier": "t_stringliteral_fda46ab670b83929623b4aa9bcfa97ff7b7376fa90a24a450a8561482232c5c0", - "typeString": "literal_string \"https://polygon-rpc.com\"" - } - ], - "id": 3796, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6985:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3800, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6985:48:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6962:71:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3802, - "nodeType": "ExpressionStatement", - "src": "6962:71:6" - }, - { - "expression": { - "id": 3811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3803, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "7043:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3805, - "indexExpression": { - "hexValue": "706f6c79676f6e5f6d756d626169", - "id": 3804, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7053:16:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a7308364e169f5f44de3933205a00d3632b7366702c91dff3452b4dbf6ed70f0", - "typeString": "literal_string \"polygon_mumbai\"" - }, - "value": "polygon_mumbai" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7043:27:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "506f6c79676f6e204d756d626169", - "id": 3807, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7079:16:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_173b0df64039e25119e26da4408dbd53da69bf06543516209ecc66f21e0c9725", - "typeString": "literal_string \"Polygon Mumbai\"" - }, - "value": "Polygon Mumbai" - }, - { - "hexValue": "3830303031", - "id": 3808, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7097:5:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_80001_by_1", - "typeString": "int_const 80001" - }, - "value": "80001" - }, - { - "hexValue": "68747470733a2f2f7270632d6d756d6261692e6d617469632e746f646179", - "id": 3809, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7104:32:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f106af479a6c11cecfa2b74ea0e8c7e413c6e6ff201ebf6b50d3261e370192f7", - "typeString": "literal_string \"https://rpc-mumbai.matic.today\"" - }, - "value": "https://rpc-mumbai.matic.today" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_173b0df64039e25119e26da4408dbd53da69bf06543516209ecc66f21e0c9725", - "typeString": "literal_string \"Polygon Mumbai\"" - }, - { - "typeIdentifier": "t_rational_80001_by_1", - "typeString": "int_const 80001" - }, - { - "typeIdentifier": "t_stringliteral_f106af479a6c11cecfa2b74ea0e8c7e413c6e6ff201ebf6b50d3261e370192f7", - "typeString": "literal_string \"https://rpc-mumbai.matic.today\"" - } - ], - "id": 3806, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "7073:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7073:64:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "7043:94:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3812, - "nodeType": "ExpressionStatement", - "src": "7043:94:6" - }, - { - "expression": { - "id": 3821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3813, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "7147:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3815, - "indexExpression": { - "hexValue": "6176616c616e636865", - "id": 3814, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7157:11:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6e8b0d92516ee4289145e3b78cea58daac177b1c618beeedbc6cdabd388a6e55", - "typeString": "literal_string \"avalanche\"" - }, - "value": "avalanche" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7147:22:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "4176616c616e636865", - "id": 3817, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7178:11:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6585177c3aba6cb7ffc0a37e831a958c4ee9278e4c62c7bdad7175ca09883c40", - "typeString": "literal_string \"Avalanche\"" - }, - "value": "Avalanche" - }, - { - "hexValue": "3433313134", - "id": 3818, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7191:5:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_43114_by_1", - "typeString": "int_const 43114" - }, - "value": "43114" - }, - { - "hexValue": "68747470733a2f2f6170692e617661782e6e6574776f726b2f6578742f62632f432f727063", - "id": 3819, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7198:39:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_429365eac47ed6b261c38927d854e528b743fc5a678b1b4ba631c511f305886a", - "typeString": "literal_string \"https://api.avax.network/ext/bc/C/rpc\"" - }, - "value": "https://api.avax.network/ext/bc/C/rpc" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6585177c3aba6cb7ffc0a37e831a958c4ee9278e4c62c7bdad7175ca09883c40", - "typeString": "literal_string \"Avalanche\"" - }, - { - "typeIdentifier": "t_rational_43114_by_1", - "typeString": "int_const 43114" - }, - { - "typeIdentifier": "t_stringliteral_429365eac47ed6b261c38927d854e528b743fc5a678b1b4ba631c511f305886a", - "typeString": "literal_string \"https://api.avax.network/ext/bc/C/rpc\"" - } - ], - "id": 3816, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "7172:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3820, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7172:66:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "7147:91:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3822, - "nodeType": "ExpressionStatement", - "src": "7147:91:6" - }, - { - "expression": { - "id": 3831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3823, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "7248:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3825, - "indexExpression": { - "hexValue": "6176616c616e6368655f66756a69", - "id": 3824, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7258:16:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a1920d2f80060f1c83444622c7eb5adf4484bed8a537b8d13eae53bd800aa692", - "typeString": "literal_string \"avalanche_fuji\"" - }, - "value": "avalanche_fuji" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7248:27:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "4176616c616e6368652046756a69", - "id": 3827, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7284:16:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_522b176494c651b1a4c5779e66ed19f885df62891abfb18fd5e45b69bdabe11b", - "typeString": "literal_string \"Avalanche Fuji\"" - }, - "value": "Avalanche Fuji" - }, - { - "hexValue": "3433313133", - "id": 3828, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7302:5:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_43113_by_1", - "typeString": "int_const 43113" - }, - "value": "43113" - }, - { - "hexValue": "68747470733a2f2f6170692e617661782d746573742e6e6574776f726b2f6578742f62632f432f727063", - "id": 3829, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7309:44:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d6621ea822eabf6c190358ea82de0c52d3503dcce8117b3366a8a3bd96eb422d", - "typeString": "literal_string \"https://api.avax-test.network/ext/bc/C/rpc\"" - }, - "value": "https://api.avax-test.network/ext/bc/C/rpc" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_522b176494c651b1a4c5779e66ed19f885df62891abfb18fd5e45b69bdabe11b", - "typeString": "literal_string \"Avalanche Fuji\"" - }, - { - "typeIdentifier": "t_rational_43113_by_1", - "typeString": "int_const 43113" - }, - { - "typeIdentifier": "t_stringliteral_d6621ea822eabf6c190358ea82de0c52d3503dcce8117b3366a8a3bd96eb422d", - "typeString": "literal_string \"https://api.avax-test.network/ext/bc/C/rpc\"" - } - ], - "id": 3826, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "7278:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3830, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7278:76:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "7248:106:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3832, - "nodeType": "ExpressionStatement", - "src": "7248:106:6" - }, - { - "expression": { - "id": 3841, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3833, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "7364:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3835, - "indexExpression": { - "hexValue": "626e625f736d6172745f636861696e", - "id": 3834, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7374:17:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fa8b17ae9aa26749f5dc3a3bb333e0019db0c257f3541e870f73bb48b574361e", - "typeString": "literal_string \"bnb_smart_chain\"" - }, - "value": "bnb_smart_chain" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7364:28:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "424e4220536d61727420436861696e", - "id": 3837, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7401:17:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3606544ee65d30d7c7f7d6a1f6618e0d836299fa5b85b88d71a59535c6a1550f", - "typeString": "literal_string \"BNB Smart Chain\"" - }, - "value": "BNB Smart Chain" - }, - { - "hexValue": "3536", - "id": 3838, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7420:2:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_56_by_1", - "typeString": "int_const 56" - }, - "value": "56" - }, - { - "hexValue": "68747470733a2f2f6273632d6461746173656564312e62696e616e63652e6f7267", - "id": 3839, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7424:35:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e2b4215bd50ab260c8c9f18e36ea07b1f952450853bcf024123d5767a40d4719", - "typeString": "literal_string \"https://bsc-dataseed1.binance.org\"" - }, - "value": "https://bsc-dataseed1.binance.org" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3606544ee65d30d7c7f7d6a1f6618e0d836299fa5b85b88d71a59535c6a1550f", - "typeString": "literal_string \"BNB Smart Chain\"" - }, - { - "typeIdentifier": "t_rational_56_by_1", - "typeString": "int_const 56" - }, - { - "typeIdentifier": "t_stringliteral_e2b4215bd50ab260c8c9f18e36ea07b1f952450853bcf024123d5767a40d4719", - "typeString": "literal_string \"https://bsc-dataseed1.binance.org\"" - } - ], - "id": 3836, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "7395:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3840, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7395:65:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "7364:96:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3842, - "nodeType": "ExpressionStatement", - "src": "7364:96:6" - }, - { - "expression": { - "id": 3851, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3843, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "7470:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3845, - "indexExpression": { - "hexValue": "626e625f736d6172745f636861696e5f746573746e6574", - "id": 3844, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7480:25:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1813de9892ab9db3d0c3b0c3eed9c8b820fe0c7e205bed860e6e89f4d7f75f29", - "typeString": "literal_string \"bnb_smart_chain_testnet\"" - }, - "value": "bnb_smart_chain_testnet" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7470:36:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "424e4220536d61727420436861696e20546573746e6574", - "id": 3847, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7515:25:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3b1d88342c4ab079c9a8243ef8dfeb0bb41e1da5dc9fe62ca728dfe4ea21092c", - "typeString": "literal_string \"BNB Smart Chain Testnet\"" - }, - "value": "BNB Smart Chain Testnet" - }, - { - "hexValue": "3937", - "id": 3848, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7542:2:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_97_by_1", - "typeString": "int_const 97" - }, - "value": "97" - }, - { - "hexValue": "68747470733a2f2f646174612d736565642d7072656273632d312d73312e62696e616e63652e6f72673a38353435", - "id": 3849, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7546:48:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_06894ce500210f386acd0844767c4ae19c623595ce2845e4d185bcd99fc926dc", - "typeString": "literal_string \"https://data-seed-prebsc-1-s1.binance.org:8545\"" - }, - "value": "https://data-seed-prebsc-1-s1.binance.org:8545" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3b1d88342c4ab079c9a8243ef8dfeb0bb41e1da5dc9fe62ca728dfe4ea21092c", - "typeString": "literal_string \"BNB Smart Chain Testnet\"" - }, - { - "typeIdentifier": "t_rational_97_by_1", - "typeString": "int_const 97" - }, - { - "typeIdentifier": "t_stringliteral_06894ce500210f386acd0844767c4ae19c623595ce2845e4d185bcd99fc926dc", - "typeString": "literal_string \"https://data-seed-prebsc-1-s1.binance.org:8545\"" - } - ], - "id": 3846, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "7509:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3850, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7509:86:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "7470:125:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3852, - "nodeType": "ExpressionStatement", - "src": "7470:125:6" - }, - { - "expression": { - "id": 3861, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3853, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "7630:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3855, - "indexExpression": { - "hexValue": "676e6f7369735f636861696e", - "id": 3854, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7640:14:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_847b7ed4df59b2dfcdba377bf4ac481c502926169e9af948ee2dd45c0e6df595", - "typeString": "literal_string \"gnosis_chain\"" - }, - "value": "gnosis_chain" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7630:25:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "476e6f73697320436861696e", - "id": 3857, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7664:14:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9bfc6ae4a1f5d8ea33b4f631c2f7dfbfa7d613af42ef38137c06d4cd03619b02", - "typeString": "literal_string \"Gnosis Chain\"" - }, - "value": "Gnosis Chain" - }, - { - "hexValue": "313030", - "id": 3858, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7680:3:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - }, - "value": "100" - }, - { - "hexValue": "68747470733a2f2f7270632e676e6f736973636861696e2e636f6d", - "id": 3859, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7685:29:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_127e02590d58e22164456f76136047039faabc2ca27eb41939081a3e775b50df", - "typeString": "literal_string \"https://rpc.gnosischain.com\"" - }, - "value": "https://rpc.gnosischain.com" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9bfc6ae4a1f5d8ea33b4f631c2f7dfbfa7d613af42ef38137c06d4cd03619b02", - "typeString": "literal_string \"Gnosis Chain\"" - }, - { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - }, - { - "typeIdentifier": "t_stringliteral_127e02590d58e22164456f76136047039faabc2ca27eb41939081a3e775b50df", - "typeString": "literal_string \"https://rpc.gnosischain.com\"" - } - ], - "id": 3856, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "7658:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3860, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7658:57:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "7630:85:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3862, - "nodeType": "ExpressionStatement", - "src": "7630:85:6" - }, - { - "assignments": [ - 3868 - ], - "declarations": [ - { - "constant": false, - "id": 3868, - "mutability": "mutable", - "name": "rpcs", - "nameLocation": "7823:4:6", - "nodeType": "VariableDeclaration", - "scope": 3901, - "src": "7807:20:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr", - "typeString": "struct VmSafe.Rpc[]" - }, - "typeName": { - "baseType": { - "id": 3866, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3865, - "name": "Vm.Rpc", - "nameLocations": [ - "7807:2:6", - "7810:3:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 8298, - "src": "7807:6:6" - }, - "referencedDeclaration": 8298, - "src": "7807:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Rpc_$8298_storage_ptr", - "typeString": "struct VmSafe.Rpc" - } - }, - "id": 3867, - "nodeType": "ArrayTypeName", - "src": "7807:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_storage_$dyn_storage_ptr", - "typeString": "struct VmSafe.Rpc[]" - } - }, - "visibility": "internal" - } - ], - "id": 3872, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 3869, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "7830:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 3870, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7833:13:6", - "memberName": "rpcUrlStructs", - "nodeType": "MemberAccess", - "referencedDeclaration": 8925, - "src": "7830:16:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function () view external returns (struct VmSafe.Rpc memory[] memory)" - } - }, - "id": 3871, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7830:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr", - "typeString": "struct VmSafe.Rpc memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7807:41:6" - }, - { - "body": { - "id": 3897, - "nodeType": "Block", - "src": "7900:69:6", - "statements": [ - { - "expression": { - "id": 3895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 3884, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "7914:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3889, - "indexExpression": { - "expression": { - "baseExpression": { - "id": 3885, - "name": "rpcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "7924:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr", - "typeString": "struct VmSafe.Rpc memory[] memory" - } - }, - "id": 3887, - "indexExpression": { - "id": 3886, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3874, - "src": "7929:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7924:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Rpc_$8298_memory_ptr", - "typeString": "struct VmSafe.Rpc memory" - } - }, - "id": 3888, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7932:4:6", - "memberName": "name", - "nodeType": "MemberAccess", - "referencedDeclaration": 8295, - "src": "7924:12:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7914:23:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3890, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "7938:6:6", - "memberName": "rpcUrl", - "nodeType": "MemberAccess", - "referencedDeclaration": 3403, - "src": "7914:30:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 3891, - "name": "rpcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "7947:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr", - "typeString": "struct VmSafe.Rpc memory[] memory" - } - }, - "id": 3893, - "indexExpression": { - "id": 3892, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3874, - "src": "7952:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7947:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Rpc_$8298_memory_ptr", - "typeString": "struct VmSafe.Rpc memory" - } - }, - "id": 3894, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7955:3:6", - "memberName": "url", - "nodeType": "MemberAccess", - "referencedDeclaration": 8297, - "src": "7947:11:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "7914:44:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 3896, - "nodeType": "ExpressionStatement", - "src": "7914:44:6" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3877, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3874, - "src": "7878:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 3878, - "name": "rpcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "7882:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr", - "typeString": "struct VmSafe.Rpc memory[] memory" - } - }, - "id": 3879, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7887:6:6", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7882:11:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7878:15:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3898, - "initializationExpression": { - "assignments": [ - 3874 - ], - "declarations": [ - { - "constant": false, - "id": 3874, - "mutability": "mutable", - "name": "i", - "nameLocation": "7871:1:6", - "nodeType": "VariableDeclaration", - "scope": 3898, - "src": "7863:9:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3873, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7863:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3876, - "initialValue": { - "hexValue": "30", - "id": 3875, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7875:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7863:13:6" - }, - "loopExpression": { - "expression": { - "id": 3882, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7895:3:6", - "subExpression": { - "id": 3881, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3874, - "src": "7895:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3883, - "nodeType": "ExpressionStatement", - "src": "7895:3:6" - }, - "nodeType": "ForStatement", - "src": "7858:111:6" - }, - { - "expression": { - "hexValue": "30", - "id": 3899, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7985:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "functionReturnParameters": 3692, - "id": 3900, - "nodeType": "Return", - "src": "7978:8:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_constructor", - "nameLocation": "5877:12:6", - "parameters": { - "id": 3689, - "nodeType": "ParameterList", - "parameters": [], - "src": "5889:2:6" - }, - "returnParameters": { - "id": 3692, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3691, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 3902, - "src": "5909:7:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3690, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5909:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5908:9:6" - }, - "scope": 5094, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "id": 3917, - "nodeType": "FunctionDefinition", - "src": "7999:279:6", - "nodes": [], - "body": { - "id": 3916, - "nodeType": "Block", - "src": "8064:214:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 3908 - ], - "declarations": [ - { - "constant": false, - "id": 3908, - "mutability": "mutable", - "name": "chainId", - "nameLocation": "8158:7:6", - "nodeType": "VariableDeclaration", - "scope": 3916, - "src": "8150:15:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3907, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8150:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3909, - "nodeType": "VariableDeclarationStatement", - "src": "8150:15:6" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "8184:44:6", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "8198:20:6", - "value": { - "arguments": [], - "functionName": { - "name": "chainid", - "nodeType": "YulIdentifier", - "src": "8209:7:6" - }, - "nodeType": "YulFunctionCall", - "src": "8209:9:6" - }, - "variableNames": [ - { - "name": "chainId", - "nodeType": "YulIdentifier", - "src": "8198:7:6" - } - ] - } - ] - }, - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 3908, - "isOffset": false, - "isSlot": false, - "src": "8198:7:6", - "valueSize": 1 - } - ], - "id": 3910, - "nodeType": "InlineAssembly", - "src": "8175:53:6" - }, - { - "expression": { - "arguments": [ - { - "id": 3912, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3904, - "src": "8257:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3913, - "name": "chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3908, - "src": "8263:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3911, - "name": "assumeNoPrecompiles", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3917, - 4078 - ], - "referencedDeclaration": 4078, - "src": "8237:19:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) view" - } - }, - "id": 3914, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8237:34:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3915, - "nodeType": "ExpressionStatement", - "src": "8237:34:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assumeNoPrecompiles", - "nameLocation": "8008:19:6", - "parameters": { - "id": 3905, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3904, - "mutability": "mutable", - "name": "addr", - "nameLocation": "8036:4:6", - "nodeType": "VariableDeclaration", - "scope": 3917, - "src": "8028:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3903, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8028:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8027:14:6" - }, - "returnParameters": { - "id": 3906, - "nodeType": "ParameterList", - "parameters": [], - "src": "8064:0:6" - }, - "scope": 5094, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4078, - "nodeType": "FunctionDefinition", - "src": "8284:1965:6", - "nodes": [], - "body": { - "id": 4077, - "nodeType": "Block", - "src": "8366:1883:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 3939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3932, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3927, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "8664:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "arguments": [ - { - "hexValue": "307831", - "id": 3930, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8679:3:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "0x1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 3929, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8671:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3928, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8671:7:6", - "typeDescriptions": {} - } - }, - "id": 3931, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8671:12:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "8664:19:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3933, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "8687:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "arguments": [ - { - "hexValue": "307839", - "id": 3936, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8702:3:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_9_by_1", - "typeString": "int_const 9" - }, - "value": "0x9" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_9_by_1", - "typeString": "int_const 9" - } - ], - "id": 3935, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8694:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3934, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8694:7:6", - "typeDescriptions": {} - } - }, - "id": 3937, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8694:12:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "8687:19:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8664:42:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 3924, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "8654:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 3926, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8657:6:6", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 8930, - "src": "8654:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure external" - } - }, - "id": 3940, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8654:53:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3941, - "nodeType": "ExpressionStatement", - "src": "8654:53:6" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 3954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3942, - "name": "chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3921, - "src": "8757:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 3943, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "8768:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3945, - "indexExpression": { - "hexValue": "6f7074696d69736d", - "id": 3944, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8778:10:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_09d0f27659ee556a8134fa56941e42400e672aecc2d4cfc61cdb0fcea4590e05", - "typeString": "literal_string \"optimism\"" - }, - "value": "optimism" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8768:21:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3946, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8790:7:6", - "memberName": "chainId", - "nodeType": "MemberAccess", - "referencedDeclaration": 3401, - "src": "8768:29:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8757:40:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3953, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3948, - "name": "chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3921, - "src": "8801:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 3949, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "8812:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3951, - "indexExpression": { - "hexValue": "6f7074696d69736d5f676f65726c69", - "id": 3950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8822:17:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ecf3b2cc678a701bfbf2329b12e6edf723c3043a32339c2eea2efb7c9533c09c", - "typeString": "literal_string \"optimism_goerli\"" - }, - "value": "optimism_goerli" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8812:28:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3952, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8841:7:6", - "memberName": "chainId", - "nodeType": "MemberAccess", - "referencedDeclaration": 3401, - "src": "8812:36:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8801:47:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8757:91:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 3986, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3974, - "name": "chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3921, - "src": "9166:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 3975, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "9177:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3977, - "indexExpression": { - "hexValue": "617262697472756d5f6f6e65", - "id": 3976, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9187:14:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b44cea7839e0679ac5072602932da9b25ebfb3a9ac42625d9c583a7b6b2eb4", - "typeString": "literal_string \"arbitrum_one\"" - }, - "value": "arbitrum_one" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9177:25:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3978, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9203:7:6", - "memberName": "chainId", - "nodeType": "MemberAccess", - "referencedDeclaration": 3401, - "src": "9177:33:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9166:44:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3980, - "name": "chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3921, - "src": "9214:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 3981, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "9225:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3983, - "indexExpression": { - "hexValue": "617262697472756d5f6f6e655f676f65726c69", - "id": 3982, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9235:21:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9c5068a3a5cdbd747f13200fdd6f590995f99bde231a5dcfa62a5f92af1dc3d4", - "typeString": "literal_string \"arbitrum_one_goerli\"" - }, - "value": "arbitrum_one_goerli" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9225:32:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3984, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9258:7:6", - "memberName": "chainId", - "nodeType": "MemberAccess", - "referencedDeclaration": 3401, - "src": "9225:40:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9214:51:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9166:99:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4018, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4006, - "name": "chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3921, - "src": "9542:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 4007, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "9553:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 4009, - "indexExpression": { - "hexValue": "6176616c616e636865", - "id": 4008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9563:11:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6e8b0d92516ee4289145e3b78cea58daac177b1c618beeedbc6cdabd388a6e55", - "typeString": "literal_string \"avalanche\"" - }, - "value": "avalanche" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9553:22:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 4010, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9576:7:6", - "memberName": "chainId", - "nodeType": "MemberAccess", - "referencedDeclaration": 3401, - "src": "9553:30:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9542:41:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4012, - "name": "chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3921, - "src": "9587:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 4013, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "9598:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 4015, - "indexExpression": { - "hexValue": "6176616c616e6368655f66756a69", - "id": 4014, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9608:16:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a1920d2f80060f1c83444622c7eb5adf4484bed8a537b8d13eae53bd800aa692", - "typeString": "literal_string \"avalanche_fuji\"" - }, - "value": "avalanche_fuji" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9598:27:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 4016, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9626:7:6", - "memberName": "chainId", - "nodeType": "MemberAccess", - "referencedDeclaration": 3401, - "src": "9598:35:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9587:46:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9542:91:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4074, - "nodeType": "IfStatement", - "src": "9538:672:6", - "trueBody": { - "id": 4073, - "nodeType": "Block", - "src": "9635:575:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4022, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "9788:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "arguments": [ - { - "hexValue": "307830313030303030303030303030303030303030303030303030303030303030303030303030303030", - "id": 4025, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9803:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0100000000000000000000000000000000000000" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4024, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9795:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4023, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9795:7:6", - "typeDescriptions": {} - } - }, - "id": 4026, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9795:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9788:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4033, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4028, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "9850:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "arguments": [ - { - "hexValue": "307830313030303030303030303030303030303030303030303030303030303030303030303030306666", - "id": 4031, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9865:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x01000000000000000000000000000000000000ff" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9857:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4029, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9857:7:6", - "typeDescriptions": {} - } - }, - "id": 4032, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9857:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9850:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9788:120:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 4019, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "9778:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4021, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9781:6:6", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 8930, - "src": "9778:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure external" - } - }, - "id": 4035, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9778:131:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4036, - "nodeType": "ExpressionStatement", - "src": "9778:131:6" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4052, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4040, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "9933:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "arguments": [ - { - "hexValue": "307830323030303030303030303030303030303030303030303030303030303030303030303030303030", - "id": 4043, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9948:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0200000000000000000000000000000000000000" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9940:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4041, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9940:7:6", - "typeDescriptions": {} - } - }, - "id": 4044, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9940:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9933:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4051, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4046, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "9995:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "arguments": [ - { - "hexValue": "307830323030303030303030303030303030303030303030303030303030303030303030303030304646", - "id": 4049, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10010:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x02000000000000000000000000000000000000FF" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4048, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10002:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4047, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10002:7:6", - "typeDescriptions": {} - } - }, - "id": 4050, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10002:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9995:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9933:120:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 4037, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "9923:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9926:6:6", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 8930, - "src": "9923:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure external" - } - }, - "id": 4053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9923:131:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4054, - "nodeType": "ExpressionStatement", - "src": "9923:131:6" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4070, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4058, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "10078:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "arguments": [ - { - "hexValue": "307830333030303030303030303030303030303030303030303030303030303030303030303030303030", - "id": 4061, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10093:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0300000000000000000000000000000000000000" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4060, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10085:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4059, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10085:7:6", - "typeDescriptions": {} - } - }, - "id": 4062, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10085:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10078:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4069, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4064, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "10140:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "arguments": [ - { - "hexValue": "307830333030303030303030303030303030303030303030303030303030303030303030303030304666", - "id": 4067, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10155:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x03000000000000000000000000000000000000Ff" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4066, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10147:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4065, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10147:7:6", - "typeDescriptions": {} - } - }, - "id": 4068, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10147:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10140:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "10078:120:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 4055, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "10068:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10071:6:6", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 8930, - "src": "10068:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure external" - } - }, - "id": 4071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10068:131:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4072, - "nodeType": "ExpressionStatement", - "src": "10068:131:6" - } - ] - } - }, - "id": 4075, - "nodeType": "IfStatement", - "src": "9162:1048:6", - "trueBody": { - "id": 4005, - "nodeType": "Block", - "src": "9267:265:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3990, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "9400:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303030303030303634", - "id": 3993, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9415:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000000000064" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 3992, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9407:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3991, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9407:7:6", - "typeDescriptions": {} - } - }, - "id": 3994, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9407:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9400:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3996, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "9462:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303030303030303638", - "id": 3999, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9477:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000000000068" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 3998, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9469:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3997, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9469:7:6", - "typeDescriptions": {} - } - }, - "id": 4000, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9469:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9462:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9400:120:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 3987, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "9390:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 3989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9393:6:6", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 8930, - "src": "9390:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure external" - } - }, - "id": 4003, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9390:131:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4004, - "nodeType": "ExpressionStatement", - "src": "9390:131:6" - } - ] - } - }, - "id": 4076, - "nodeType": "IfStatement", - "src": "8753:1457:6", - "trueBody": { - "id": 3973, - "nodeType": "Block", - "src": "8850:306:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 3970, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3958, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "9024:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "arguments": [ - { - "hexValue": "307834323030303030303030303030303030303030303030303030303030303030303030303030303030", - "id": 3961, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9039:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x4200000000000000000000000000000000000000" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 3960, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9031:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3959, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9031:7:6", - "typeDescriptions": {} - } - }, - "id": 3962, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9031:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9024:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3969, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3964, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "9086:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "arguments": [ - { - "hexValue": "307834323030303030303030303030303030303030303030303030303030303030303030303030383030", - "id": 3967, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9101:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x4200000000000000000000000000000000000800" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 3966, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9093:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3965, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9093:7:6", - "typeDescriptions": {} - } - }, - "id": 3968, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9093:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9086:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9024:120:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 3955, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "9014:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 3957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9017:6:6", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 8930, - "src": "9014:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure external" - } - }, - "id": 3971, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9014:131:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3972, - "nodeType": "ExpressionStatement", - "src": "9014:131:6" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assumeNoPrecompiles", - "nameLocation": "8293:19:6", - "parameters": { - "id": 3922, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3919, - "mutability": "mutable", - "name": "addr", - "nameLocation": "8321:4:6", - "nodeType": "VariableDeclaration", - "scope": 4078, - "src": "8313:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3918, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8313:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3921, - "mutability": "mutable", - "name": "chainId", - "nameLocation": "8335:7:6", - "nodeType": "VariableDeclaration", - "scope": 4078, - "src": "8327:15:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3920, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8327:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8312:31:6" - }, - "returnParameters": { - "id": 3923, - "nodeType": "ParameterList", - "parameters": [], - "src": "8366:0:6" - }, - "scope": 5094, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4170, - "nodeType": "FunctionDefinition", - "src": "10255:843:6", - "nodes": [], - "body": { - "id": 4169, - "nodeType": "Block", - "src": "10407:691:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4087 - ], - "declarations": [ - { - "constant": false, - "id": 4087, - "mutability": "mutable", - "name": "data", - "nameLocation": "10431:4:6", - "nodeType": "VariableDeclaration", - "scope": 4169, - "src": "10417:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4086, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10417:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4092, - "initialValue": { - "arguments": [ - { - "id": 4090, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4080, - "src": "10450:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4088, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "10438:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4089, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10441:8:6", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 8539, - "src": "10438:11:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) view external returns (string memory)" - } - }, - "id": 4091, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10438:17:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10417:38:6" - }, - { - "assignments": [ - 4094 - ], - "declarations": [ - { - "constant": false, - "id": 4094, - "mutability": "mutable", - "name": "parsedData", - "nameLocation": "10478:10:6", - "nodeType": "VariableDeclaration", - "scope": 4169, - "src": "10465:23:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4093, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10465:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4099, - "initialValue": { - "arguments": [ - { - "id": 4097, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4087, - "src": "10504:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4095, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "10491:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4096, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10494:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8726, - "src": "10491:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure external returns (bytes memory)" - } - }, - "id": 4098, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10491:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10465:44:6" - }, - { - "assignments": [ - 4102 - ], - "declarations": [ - { - "constant": false, - "id": 4102, - "mutability": "mutable", - "name": "rawArtifact", - "nameLocation": "10551:11:6", - "nodeType": "VariableDeclaration", - "scope": 4169, - "src": "10519:43:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact" - }, - "typeName": { - "id": 4101, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4100, - "name": "RawEIP1559ScriptArtifact", - "nameLocations": [ - "10519:24:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3641, - "src": "10519:24:6" - }, - "referencedDeclaration": 3641, - "src": "10519:24:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_storage_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact" - } - }, - "visibility": "internal" - } - ], - "id": 4109, - "initialValue": { - "arguments": [ - { - "id": 4105, - "name": "parsedData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4094, - "src": "10576:10:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 4106, - "name": "RawEIP1559ScriptArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3641, - "src": "10589:24:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$3641_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawEIP1559ScriptArtifact storage pointer)" - } - } - ], - "id": 4107, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10588:26:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$3641_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawEIP1559ScriptArtifact storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$3641_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawEIP1559ScriptArtifact storage pointer)" - } - ], - "expression": { - "id": 4103, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10565:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10569:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "10565:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4108, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10565:50:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10519:96:6" - }, - { - "assignments": [ - 4112 - ], - "declarations": [ - { - "constant": false, - "id": 4112, - "mutability": "mutable", - "name": "artifact", - "nameLocation": "10654:8:6", - "nodeType": "VariableDeclaration", - "scope": 4169, - "src": "10625:37:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact" - }, - "typeName": { - "id": 4111, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4110, - "name": "EIP1559ScriptArtifact", - "nameLocations": [ - "10625:21:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3618, - "src": "10625:21:6" - }, - "referencedDeclaration": 3618, - "src": "10625:21:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_storage_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact" - } - }, - "visibility": "internal" - } - ], - "id": 4113, - "nodeType": "VariableDeclarationStatement", - "src": "10625:37:6" - }, - { - "expression": { - "id": 4119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4114, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4112, - "src": "10672:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" - } - }, - "id": 4116, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10681:9:6", - "memberName": "libraries", - "nodeType": "MemberAccess", - "referencedDeclaration": 3598, - "src": "10672:18:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4117, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4102, - "src": "10693:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4118, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10705:9:6", - "memberName": "libraries", - "nodeType": "MemberAccess", - "referencedDeclaration": 3621, - "src": "10693:21:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "10672:42:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 4120, - "nodeType": "ExpressionStatement", - "src": "10672:42:6" - }, - { - "expression": { - "id": 4126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4121, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4112, - "src": "10724:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" - } - }, - "id": 4123, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10733:4:6", - "memberName": "path", - "nodeType": "MemberAccess", - "referencedDeclaration": 3600, - "src": "10724:13:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4124, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4102, - "src": "10740:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4125, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10752:4:6", - "memberName": "path", - "nodeType": "MemberAccess", - "referencedDeclaration": 3623, - "src": "10740:16:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "10724:32:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4127, - "nodeType": "ExpressionStatement", - "src": "10724:32:6" - }, - { - "expression": { - "id": 4133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4128, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4112, - "src": "10766:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" - } - }, - "id": 4130, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10775:9:6", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": 3609, - "src": "10766:18:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4131, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4102, - "src": "10787:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4132, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10799:9:6", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": 3636, - "src": "10787:21:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10766:42:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4134, - "nodeType": "ExpressionStatement", - "src": "10766:42:6" - }, - { - "expression": { - "id": 4140, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4135, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4112, - "src": "10818:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" - } - }, - "id": 4137, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10827:7:6", - "memberName": "pending", - "nodeType": "MemberAccess", - "referencedDeclaration": 3603, - "src": "10818:16:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4138, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4102, - "src": "10837:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4139, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10849:7:6", - "memberName": "pending", - "nodeType": "MemberAccess", - "referencedDeclaration": 3626, - "src": "10837:19:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "10818:38:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 4141, - "nodeType": "ExpressionStatement", - "src": "10818:38:6" - }, - { - "expression": { - "id": 4147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4142, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4112, - "src": "10866:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" - } - }, - "id": 4144, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10875:9:6", - "memberName": "txReturns", - "nodeType": "MemberAccess", - "referencedDeclaration": 3617, - "src": "10866:18:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.TxReturn memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4145, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4102, - "src": "10887:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4146, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10899:9:6", - "memberName": "txReturns", - "nodeType": "MemberAccess", - "referencedDeclaration": 3634, - "src": "10887:21:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.TxReturn memory[] memory" - } - }, - "src": "10866:42:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.TxReturn memory[] memory" - } - }, - "id": 4148, - "nodeType": "ExpressionStatement", - "src": "10866:42:6" - }, - { - "expression": { - "id": 4156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4149, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4112, - "src": "10918:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" - } - }, - "id": 4151, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10927:8:6", - "memberName": "receipts", - "nodeType": "MemberAccess", - "referencedDeclaration": 3607, - "src": "10918:17:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4153, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4102, - "src": "10961:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4154, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10973:8:6", - "memberName": "receipts", - "nodeType": "MemberAccess", - "referencedDeclaration": 3630, - "src": "10961:20:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" - } - ], - "id": 4152, - "name": "rawToConvertedReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4602, - "src": "10938:22:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawReceipt memory[] memory) pure returns (struct StdCheatsSafe.Receipt memory[] memory)" - } - }, - "id": 4155, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10938:44:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory[] memory" - } - }, - "src": "10918:64:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory[] memory" - } - }, - "id": 4157, - "nodeType": "ExpressionStatement", - "src": "10918:64:6" - }, - { - "expression": { - "id": 4165, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4158, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4112, - "src": "10992:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" - } - }, - "id": 4160, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "11001:12:6", - "memberName": "transactions", - "nodeType": "MemberAccess", - "referencedDeclaration": 3613, - "src": "10992:21:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4162, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4102, - "src": "11041:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4163, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11053:12:6", - "memberName": "transactions", - "nodeType": "MemberAccess", - "referencedDeclaration": 3640, - "src": "11041:24:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" - } - ], - "id": 4161, - "name": "rawToConvertedEIPTx1559s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4219, - "src": "11016:24:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawTx1559 memory[] memory) pure returns (struct StdCheatsSafe.Tx1559 memory[] memory)" - } - }, - "id": 4164, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11016:50:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" - } - }, - "src": "10992:74:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" - } - }, - "id": 4166, - "nodeType": "ExpressionStatement", - "src": "10992:74:6" - }, - { - "expression": { - "id": 4167, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4112, - "src": "11083:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" - } - }, - "functionReturnParameters": 4085, - "id": 4168, - "nodeType": "Return", - "src": "11076:15:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readEIP1559ScriptArtifact", - "nameLocation": "10264:25:6", - "parameters": { - "id": 4081, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4080, - "mutability": "mutable", - "name": "path", - "nameLocation": "10304:4:6", - "nodeType": "VariableDeclaration", - "scope": 4170, - "src": "10290:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4079, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10290:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10289:20:6" - }, - "returnParameters": { - "id": 4085, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4084, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4170, - "src": "10373:28:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact" - }, - "typeName": { - "id": 4083, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4082, - "name": "EIP1559ScriptArtifact", - "nameLocations": [ - "10373:21:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3618, - "src": "10373:21:6" - }, - "referencedDeclaration": 3618, - "src": "10373:21:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_storage_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact" - } - }, - "visibility": "internal" - } - ], - "src": "10372:30:6" - }, - "scope": 5094, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4219, - "nodeType": "FunctionDefinition", - "src": "11104:312:6", - "nodes": [], - "body": { - "id": 4218, - "nodeType": "Block", - "src": "11213:203:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4185 - ], - "declarations": [ - { - "constant": false, - "id": 4185, - "mutability": "mutable", - "name": "txs", - "nameLocation": "11239:3:6", - "nodeType": "VariableDeclaration", - "scope": 4218, - "src": "11223:19:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4183, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4182, - "name": "Tx1559", - "nameLocations": [ - "11223:6:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3462, - "src": "11223:6:6" - }, - "referencedDeclaration": 3462, - "src": "11223:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - } - }, - "id": 4184, - "nodeType": "ArrayTypeName", - "src": "11223:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559[]" - } - }, - "visibility": "internal" - } - ], - "id": 4193, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 4190, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4174, - "src": "11258:6:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" - } - }, - "id": 4191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11265:6:6", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "11258:13:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4189, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "11245:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct StdCheatsSafe.Tx1559 memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 4187, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4186, - "name": "Tx1559", - "nameLocations": [ - "11249:6:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3462, - "src": "11249:6:6" - }, - "referencedDeclaration": 3462, - "src": "11249:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - } - }, - "id": 4188, - "nodeType": "ArrayTypeName", - "src": "11249:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559[]" - } - } - }, - "id": 4192, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11245:27:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11223:49:6" - }, - { - "body": { - "id": 4214, - "nodeType": "Block", - "src": "11322:68:6", - "statements": [ - { - "expression": { - "id": 4212, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 4204, - "name": "txs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4185, - "src": "11336:3:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" - } - }, - "id": 4206, - "indexExpression": { - "id": 4205, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4195, - "src": "11340:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11336:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 4208, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4174, - "src": "11369:6:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" - } - }, - "id": 4210, - "indexExpression": { - "id": 4209, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4195, - "src": "11376:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11369:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - ], - "id": 4207, - "name": "rawToConvertedEIPTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4279, - "src": "11345:23:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559_$3426_memory_ptr_$returns$_t_struct$_Tx1559_$3462_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawTx1559 memory) pure returns (struct StdCheatsSafe.Tx1559 memory)" - } - }, - "id": 4211, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11345:34:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "src": "11336:43:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "id": 4213, - "nodeType": "ExpressionStatement", - "src": "11336:43:6" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4197, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4195, - "src": "11298:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 4198, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4174, - "src": "11302:6:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" - } - }, - "id": 4199, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11309:6:6", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "11302:13:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11298:17:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4215, - "initializationExpression": { - "assignments": [ - 4195 - ], - "declarations": [ - { - "constant": false, - "id": 4195, - "mutability": "mutable", - "name": "i", - "nameLocation": "11295:1:6", - "nodeType": "VariableDeclaration", - "scope": 4215, - "src": "11287:9:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4194, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11287:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4196, - "nodeType": "VariableDeclarationStatement", - "src": "11287:9:6" - }, - "loopExpression": { - "expression": { - "id": 4202, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "11317:3:6", - "subExpression": { - "id": 4201, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4195, - "src": "11317:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4203, - "nodeType": "ExpressionStatement", - "src": "11317:3:6" - }, - "nodeType": "ForStatement", - "src": "11282:108:6" - }, - { - "expression": { - "id": 4216, - "name": "txs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4185, - "src": "11406:3:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" - } - }, - "functionReturnParameters": 4180, - "id": 4217, - "nodeType": "Return", - "src": "11399:10:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedEIPTx1559s", - "nameLocation": "11113:24:6", - "parameters": { - "id": 4175, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4174, - "mutability": "mutable", - "name": "rawTxs", - "nameLocation": "11157:6:6", - "nodeType": "VariableDeclaration", - "scope": 4219, - "src": "11138:25:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559[]" - }, - "typeName": { - "baseType": { - "id": 4172, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4171, - "name": "RawTx1559", - "nameLocations": [ - "11138:9:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3426, - "src": "11138:9:6" - }, - "referencedDeclaration": 3426, - "src": "11138:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559" - } - }, - "id": 4173, - "nodeType": "ArrayTypeName", - "src": "11138:11:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559[]" - } - }, - "visibility": "internal" - } - ], - "src": "11137:27:6" - }, - "returnParameters": { - "id": 4180, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4179, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4219, - "src": "11196:15:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4177, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4176, - "name": "Tx1559", - "nameLocations": [ - "11196:6:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3462, - "src": "11196:6:6" - }, - "referencedDeclaration": 3462, - "src": "11196:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - } - }, - "id": 4178, - "nodeType": "ArrayTypeName", - "src": "11196:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559[]" - } - }, - "visibility": "internal" - } - ], - "src": "11195:17:6" - }, - "scope": 5094, - "stateMutability": "pure", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4279, - "nodeType": "FunctionDefinition", - "src": "11422:488:6", - "nodes": [], - "body": { - "id": 4278, - "nodeType": "Block", - "src": "11525:385:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4230 - ], - "declarations": [ - { - "constant": false, - "id": 4230, - "mutability": "mutable", - "name": "transaction", - "nameLocation": "11549:11:6", - "nodeType": "VariableDeclaration", - "scope": 4278, - "src": "11535:25:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - }, - "typeName": { - "id": 4229, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4228, - "name": "Tx1559", - "nameLocations": [ - "11535:6:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3462, - "src": "11535:6:6" - }, - "referencedDeclaration": 3462, - "src": "11535:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - } - }, - "visibility": "internal" - } - ], - "id": 4231, - "nodeType": "VariableDeclarationStatement", - "src": "11535:25:6" - }, - { - "expression": { - "id": 4237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4232, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4230, - "src": "11570:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "id": 4234, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "11582:9:6", - "memberName": "arguments", - "nodeType": "MemberAccess", - "referencedDeclaration": 3448, - "src": "11570:21:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4235, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4222, - "src": "11594:5:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - }, - "id": 4236, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11600:9:6", - "memberName": "arguments", - "nodeType": "MemberAccess", - "referencedDeclaration": 3412, - "src": "11594:15:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "11570:39:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 4238, - "nodeType": "ExpressionStatement", - "src": "11570:39:6" - }, - { - "expression": { - "id": 4244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4239, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4230, - "src": "11619:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "id": 4241, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "11631:12:6", - "memberName": "contractName", - "nodeType": "MemberAccess", - "referencedDeclaration": 3452, - "src": "11619:24:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4242, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4222, - "src": "11646:5:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - }, - "id": 4243, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11652:12:6", - "memberName": "contractName", - "nodeType": "MemberAccess", - "referencedDeclaration": 3416, - "src": "11646:18:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "11619:45:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4245, - "nodeType": "ExpressionStatement", - "src": "11619:45:6" - }, - { - "expression": { - "id": 4251, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4246, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4230, - "src": "11674:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "id": 4248, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "11686:11:6", - "memberName": "functionSig", - "nodeType": "MemberAccess", - "referencedDeclaration": 3454, - "src": "11674:23:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4249, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4222, - "src": "11700:5:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - }, - "id": 4250, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11706:11:6", - "memberName": "functionSig", - "nodeType": "MemberAccess", - "referencedDeclaration": 3418, - "src": "11700:17:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "11674:43:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4252, - "nodeType": "ExpressionStatement", - "src": "11674:43:6" - }, - { - "expression": { - "id": 4258, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4253, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4230, - "src": "11727:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "id": 4255, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "11739:4:6", - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 3456, - "src": "11727:16:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4256, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4222, - "src": "11746:5:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - }, - "id": 4257, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11752:4:6", - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 3420, - "src": "11746:10:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "11727:29:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4259, - "nodeType": "ExpressionStatement", - "src": "11727:29:6" - }, - { - "expression": { - "id": 4267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4260, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4230, - "src": "11766:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "id": 4262, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "11778:8:6", - "memberName": "txDetail", - "nodeType": "MemberAccess", - "referencedDeclaration": 3459, - "src": "11766:20:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4264, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4222, - "src": "11817:5:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - }, - "id": 4265, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11823:8:6", - "memberName": "txDetail", - "nodeType": "MemberAccess", - "referencedDeclaration": 3423, - "src": "11817:14:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - ], - "id": 4263, - "name": "rawToConvertedEIP1559Detail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4359, - "src": "11789:27:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559Detail_$3445_memory_ptr_$returns$_t_struct$_Tx1559Detail_$3481_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawTx1559Detail memory) pure returns (struct StdCheatsSafe.Tx1559Detail memory)" - } - }, - "id": 4266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11789:43:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "src": "11766:66:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "id": 4268, - "nodeType": "ExpressionStatement", - "src": "11766:66:6" - }, - { - "expression": { - "id": 4274, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4269, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4230, - "src": "11842:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "id": 4271, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "11854:6:6", - "memberName": "opcode", - "nodeType": "MemberAccess", - "referencedDeclaration": 3461, - "src": "11842:18:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4272, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4222, - "src": "11863:5:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - }, - "id": 4273, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11869:6:6", - "memberName": "opcode", - "nodeType": "MemberAccess", - "referencedDeclaration": 3425, - "src": "11863:12:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "11842:33:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4275, - "nodeType": "ExpressionStatement", - "src": "11842:33:6" - }, - { - "expression": { - "id": 4276, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4230, - "src": "11892:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "functionReturnParameters": 4227, - "id": 4277, - "nodeType": "Return", - "src": "11885:18:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedEIPTx1559", - "nameLocation": "11431:23:6", - "parameters": { - "id": 4223, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4222, - "mutability": "mutable", - "name": "rawTx", - "nameLocation": "11472:5:6", - "nodeType": "VariableDeclaration", - "scope": 4279, - "src": "11455:22:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559" - }, - "typeName": { - "id": 4221, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4220, - "name": "RawTx1559", - "nameLocations": [ - "11455:9:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3426, - "src": "11455:9:6" - }, - "referencedDeclaration": 3426, - "src": "11455:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559" - } - }, - "visibility": "internal" - } - ], - "src": "11454:24:6" - }, - "returnParameters": { - "id": 4227, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4226, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4279, - "src": "11510:13:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - }, - "typeName": { - "id": 4225, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4224, - "name": "Tx1559", - "nameLocations": [ - "11510:6:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3462, - "src": "11510:6:6" - }, - "referencedDeclaration": 3462, - "src": "11510:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - } - }, - "visibility": "internal" - } - ], - "src": "11509:15:6" - }, - "scope": 5094, - "stateMutability": "pure", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4359, - "nodeType": "FunctionDefinition", - "src": "11916:619:6", - "nodes": [], - "body": { - "id": 4358, - "nodeType": "Block", - "src": "12075:460:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4290 - ], - "declarations": [ - { - "constant": false, - "id": 4290, - "mutability": "mutable", - "name": "txDetail", - "nameLocation": "12105:8:6", - "nodeType": "VariableDeclaration", - "scope": 4358, - "src": "12085:28:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail" - }, - "typeName": { - "id": 4289, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4288, - "name": "Tx1559Detail", - "nameLocations": [ - "12085:12:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3481, - "src": "12085:12:6" - }, - "referencedDeclaration": 3481, - "src": "12085:12:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail" - } - }, - "visibility": "internal" - } - ], - "id": 4291, - "nodeType": "VariableDeclarationStatement", - "src": "12085:28:6" - }, - { - "expression": { - "id": 4297, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4292, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4290, - "src": "12123:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "id": 4294, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "12132:4:6", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 3468, - "src": "12123:13:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4295, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4282, - "src": "12139:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - }, - "id": 4296, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12149:4:6", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 3432, - "src": "12139:14:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "12123:30:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 4298, - "nodeType": "ExpressionStatement", - "src": "12123:30:6" - }, - { - "expression": { - "id": 4304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4299, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4290, - "src": "12163:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "id": 4301, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "12172:4:6", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 3470, - "src": "12163:13:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4302, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4282, - "src": "12179:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - }, - "id": 4303, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12189:4:6", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 3434, - "src": "12179:14:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "12163:30:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4305, - "nodeType": "ExpressionStatement", - "src": "12163:30:6" - }, - { - "expression": { - "id": 4311, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4306, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4290, - "src": "12203:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "id": 4308, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "12212:2:6", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 3476, - "src": "12203:11:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4309, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4282, - "src": "12217:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - }, - "id": 4310, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12227:2:6", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 3440, - "src": "12217:12:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "12203:26:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4312, - "nodeType": "ExpressionStatement", - "src": "12203:26:6" - }, - { - "expression": { - "id": 4320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4313, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4290, - "src": "12239:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "id": 4315, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "12248:5:6", - "memberName": "nonce", - "nodeType": "MemberAccess", - "referencedDeclaration": 3474, - "src": "12239:14:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4317, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4282, - "src": "12269:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - }, - "id": 4318, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12279:5:6", - "memberName": "nonce", - "nodeType": "MemberAccess", - "referencedDeclaration": 3438, - "src": "12269:15:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4316, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "12256:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4319, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12256:29:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12239:46:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4321, - "nodeType": "ExpressionStatement", - "src": "12239:46:6" - }, - { - "expression": { - "id": 4329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4322, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4290, - "src": "12295:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "id": 4324, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "12304:6:6", - "memberName": "txType", - "nodeType": "MemberAccess", - "referencedDeclaration": 3478, - "src": "12295:15:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4326, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4282, - "src": "12326:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - }, - "id": 4327, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12336:6:6", - "memberName": "txType", - "nodeType": "MemberAccess", - "referencedDeclaration": 3442, - "src": "12326:16:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4325, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "12313:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4328, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12313:30:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12295:48:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4330, - "nodeType": "ExpressionStatement", - "src": "12295:48:6" - }, - { - "expression": { - "id": 4338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4331, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4290, - "src": "12353:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "id": 4333, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "12362:5:6", - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": 3480, - "src": "12353:14:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4335, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4282, - "src": "12383:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - }, - "id": 4336, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12393:5:6", - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": 3444, - "src": "12383:15:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4334, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "12370:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12370:29:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12353:46:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4339, - "nodeType": "ExpressionStatement", - "src": "12353:46:6" - }, - { - "expression": { - "id": 4347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4340, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4290, - "src": "12409:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "id": 4342, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "12418:3:6", - "memberName": "gas", - "nodeType": "MemberAccess", - "referencedDeclaration": 3472, - "src": "12409:12:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4344, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4282, - "src": "12437:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - }, - "id": 4345, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12447:3:6", - "memberName": "gas", - "nodeType": "MemberAccess", - "referencedDeclaration": 3436, - "src": "12437:13:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4343, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "12424:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12424:27:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12409:42:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4348, - "nodeType": "ExpressionStatement", - "src": "12409:42:6" - }, - { - "expression": { - "id": 4354, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4349, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4290, - "src": "12461:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "id": 4351, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "12470:10:6", - "memberName": "accessList", - "nodeType": "MemberAccess", - "referencedDeclaration": 3466, - "src": "12461:19:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.AccessList memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4352, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4282, - "src": "12483:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - }, - "id": 4353, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12493:10:6", - "memberName": "accessList", - "nodeType": "MemberAccess", - "referencedDeclaration": 3430, - "src": "12483:20:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.AccessList memory[] memory" - } - }, - "src": "12461:42:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.AccessList memory[] memory" - } - }, - "id": 4355, - "nodeType": "ExpressionStatement", - "src": "12461:42:6" - }, - { - "expression": { - "id": 4356, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4290, - "src": "12520:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "functionReturnParameters": 4287, - "id": 4357, - "nodeType": "Return", - "src": "12513:15:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedEIP1559Detail", - "nameLocation": "11925:27:6", - "parameters": { - "id": 4283, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4282, - "mutability": "mutable", - "name": "rawDetail", - "nameLocation": "11976:9:6", - "nodeType": "VariableDeclaration", - "scope": 4359, - "src": "11953:32:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail" - }, - "typeName": { - "id": 4281, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4280, - "name": "RawTx1559Detail", - "nameLocations": [ - "11953:15:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3445, - "src": "11953:15:6" - }, - "referencedDeclaration": 3445, - "src": "11953:15:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail" - } - }, - "visibility": "internal" - } - ], - "src": "11952:34:6" - }, - "returnParameters": { - "id": 4287, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4286, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4359, - "src": "12050:19:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail" - }, - "typeName": { - "id": 4285, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4284, - "name": "Tx1559Detail", - "nameLocations": [ - "12050:12:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3481, - "src": "12050:12:6" - }, - "referencedDeclaration": 3481, - "src": "12050:12:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail" - } - }, - "visibility": "internal" - } - ], - "src": "12049:21:6" - }, - "scope": 5094, - "stateMutability": "pure", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4401, - "nodeType": "FunctionDefinition", - "src": "12541:363:6", - "nodes": [], - "body": { - "id": 4400, - "nodeType": "Block", - "src": "12630:274:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4369 - ], - "declarations": [ - { - "constant": false, - "id": 4369, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "12654:10:6", - "nodeType": "VariableDeclaration", - "scope": 4400, - "src": "12640:24:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4368, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12640:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4374, - "initialValue": { - "arguments": [ - { - "id": 4372, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4361, - "src": "12679:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4370, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "12667:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4371, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12670:8:6", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 8539, - "src": "12667:11:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) view external returns (string memory)" - } - }, - "id": 4373, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12667:17:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12640:44:6" - }, - { - "assignments": [ - 4376 - ], - "declarations": [ - { - "constant": false, - "id": 4376, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "12707:16:6", - "nodeType": "VariableDeclaration", - "scope": 4400, - "src": "12694:29:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4375, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "12694:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4382, - "initialValue": { - "arguments": [ - { - "id": 4379, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4369, - "src": "12739:10:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "2e7472616e73616374696f6e73", - "id": 4380, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12751:15:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9b594723e6093f4c1c210e08bcd523373e89874e267b69a9d9a7cb17952e3049", - "typeString": "literal_string \".transactions\"" - }, - "value": ".transactions" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_9b594723e6093f4c1c210e08bcd523373e89874e267b69a9d9a7cb17952e3049", - "typeString": "literal_string \".transactions\"" - } - ], - "expression": { - "id": 4377, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "12726:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4378, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12729:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "12726:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 4381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12726:41:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12694:73:6" - }, - { - "assignments": [ - 4387 - ], - "declarations": [ - { - "constant": false, - "id": 4387, - "mutability": "mutable", - "name": "rawTxs", - "nameLocation": "12796:6:6", - "nodeType": "VariableDeclaration", - "scope": 4400, - "src": "12777:25:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559[]" - }, - "typeName": { - "baseType": { - "id": 4385, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4384, - "name": "RawTx1559", - "nameLocations": [ - "12777:9:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3426, - "src": "12777:9:6" - }, - "referencedDeclaration": 3426, - "src": "12777:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559" - } - }, - "id": 4386, - "nodeType": "ArrayTypeName", - "src": "12777:11:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559[]" - } - }, - "visibility": "internal" - } - ], - "id": 4395, - "initialValue": { - "arguments": [ - { - "id": 4390, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4376, - "src": "12816:16:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 4391, - "name": "RawTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3426, - "src": "12835:9:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$3426_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawTx1559 storage pointer)" - } - }, - "id": 4392, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12835:11:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawTx1559 memory[] memory)" - } - } - ], - "id": 4393, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "12834:13:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawTx1559 memory[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawTx1559 memory[] memory)" - } - ], - "expression": { - "id": 4388, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12805:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4389, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12809:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "12805:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4394, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12805:43:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12777:71:6" - }, - { - "expression": { - "arguments": [ - { - "id": 4397, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4387, - "src": "12890:6:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" - } - ], - "id": 4396, - "name": "rawToConvertedEIPTx1559s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4219, - "src": "12865:24:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawTx1559 memory[] memory) pure returns (struct StdCheatsSafe.Tx1559 memory[] memory)" - } - }, - "id": 4398, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12865:32:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" - } - }, - "functionReturnParameters": 4367, - "id": 4399, - "nodeType": "Return", - "src": "12858:39:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readTx1559s", - "nameLocation": "12550:11:6", - "parameters": { - "id": 4362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4361, - "mutability": "mutable", - "name": "path", - "nameLocation": "12576:4:6", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "12562:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4360, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12562:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12561:20:6" - }, - "returnParameters": { - "id": 4367, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4366, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "12613:15:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4364, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4363, - "name": "Tx1559", - "nameLocations": [ - "12613:6:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3462, - "src": "12613:6:6" - }, - "referencedDeclaration": 3462, - "src": "12613:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - } - }, - "id": 4365, - "nodeType": "ArrayTypeName", - "src": "12613:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559[]" - } - }, - "visibility": "internal" - } - ], - "src": "12612:17:6" - }, - "scope": 5094, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4456, - "nodeType": "FunctionDefinition", - "src": "12910:453:6", - "nodes": [], - "body": { - "id": 4455, - "nodeType": "Block", - "src": "13011:352:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4412 - ], - "declarations": [ - { - "constant": false, - "id": 4412, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "13035:10:6", - "nodeType": "VariableDeclaration", - "scope": 4455, - "src": "13021:24:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4411, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13021:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4417, - "initialValue": { - "arguments": [ - { - "id": 4415, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4403, - "src": "13060:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4413, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "13048:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13051:8:6", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 8539, - "src": "13048:11:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) view external returns (string memory)" - } - }, - "id": 4416, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13048:17:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13021:44:6" - }, - { - "assignments": [ - 4419 - ], - "declarations": [ - { - "constant": false, - "id": 4419, - "mutability": "mutable", - "name": "key", - "nameLocation": "13089:3:6", - "nodeType": "VariableDeclaration", - "scope": 4455, - "src": "13075:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4418, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13075:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4432, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "2e7472616e73616374696f6e735b", - "id": 4424, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13119:16:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7abc4cdd6094bba2d56cb8a26083c756a68ba4e3b40f345f8102e1fc2249cd5c", - "typeString": "literal_string \".transactions[\"" - }, - "value": ".transactions[" - }, - { - "arguments": [ - { - "id": 4427, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4405, - "src": "13149:5:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4425, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "13137:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13140:8:6", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 8624, - "src": "13137:11:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) pure external returns (string memory)" - } - }, - "id": 4428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13137:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "5d", - "id": 4429, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13157:3:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b36bcf9cc1d9e7f60b1f757ebd8b4694b17fc592b16065d243c43b09fde00b29", - "typeString": "literal_string \"]\"" - }, - "value": "]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7abc4cdd6094bba2d56cb8a26083c756a68ba4e3b40f345f8102e1fc2249cd5c", - "typeString": "literal_string \".transactions[\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_b36bcf9cc1d9e7f60b1f757ebd8b4694b17fc592b16065d243c43b09fde00b29", - "typeString": "literal_string \"]\"" - } - ], - "expression": { - "id": 4422, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13102:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4423, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13106:12:6", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "13102:16:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 4430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13102:59:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4421, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13095:6:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 4420, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13095:6:6", - "typeDescriptions": {} - } - }, - "id": 4431, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13095:67:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13075:87:6" - }, - { - "assignments": [ - 4434 - ], - "declarations": [ - { - "constant": false, - "id": 4434, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "13185:16:6", - "nodeType": "VariableDeclaration", - "scope": 4455, - "src": "13172:29:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4433, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "13172:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4440, - "initialValue": { - "arguments": [ - { - "id": 4437, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4412, - "src": "13217:10:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4438, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4419, - "src": "13229:3:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4435, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "13204:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4436, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13207:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "13204:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 4439, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13204:29:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13172:61:6" - }, - { - "assignments": [ - 4443 - ], - "declarations": [ - { - "constant": false, - "id": 4443, - "mutability": "mutable", - "name": "rawTx", - "nameLocation": "13260:5:6", - "nodeType": "VariableDeclaration", - "scope": 4455, - "src": "13243:22:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559" - }, - "typeName": { - "id": 4442, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4441, - "name": "RawTx1559", - "nameLocations": [ - "13243:9:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3426, - "src": "13243:9:6" - }, - "referencedDeclaration": 3426, - "src": "13243:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559" - } - }, - "visibility": "internal" - } - ], - "id": 4450, - "initialValue": { - "arguments": [ - { - "id": 4446, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4434, - "src": "13279:16:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 4447, - "name": "RawTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3426, - "src": "13298:9:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$3426_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawTx1559 storage pointer)" - } - } - ], - "id": 4448, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "13297:11:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$3426_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawTx1559 storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$3426_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawTx1559 storage pointer)" - } - ], - "expression": { - "id": 4444, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13268:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4445, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13272:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "13268:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13268:41:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13243:66:6" - }, - { - "expression": { - "arguments": [ - { - "id": 4452, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4443, - "src": "13350:5:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - ], - "id": 4451, - "name": "rawToConvertedEIPTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4279, - "src": "13326:23:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559_$3426_memory_ptr_$returns$_t_struct$_Tx1559_$3462_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawTx1559 memory) pure returns (struct StdCheatsSafe.Tx1559 memory)" - } - }, - "id": 4453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13326:30:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "functionReturnParameters": 4410, - "id": 4454, - "nodeType": "Return", - "src": "13319:37:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readTx1559", - "nameLocation": "12919:10:6", - "parameters": { - "id": 4406, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4403, - "mutability": "mutable", - "name": "path", - "nameLocation": "12944:4:6", - "nodeType": "VariableDeclaration", - "scope": 4456, - "src": "12930:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4402, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12930:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4405, - "mutability": "mutable", - "name": "index", - "nameLocation": "12958:5:6", - "nodeType": "VariableDeclaration", - "scope": 4456, - "src": "12950:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4404, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12950:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12929:35:6" - }, - "returnParameters": { - "id": 4410, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4409, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4456, - "src": "12996:13:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - }, - "typeName": { - "id": 4408, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4407, - "name": "Tx1559", - "nameLocations": [ - "12996:6:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3462, - "src": "12996:6:6" - }, - "referencedDeclaration": 3462, - "src": "12996:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - } - }, - "visibility": "internal" - } - ], - "src": "12995:15:6" - }, - "scope": 5094, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4498, - "nodeType": "FunctionDefinition", - "src": "13425:371:6", - "nodes": [], - "body": { - "id": 4497, - "nodeType": "Block", - "src": "13516:280:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4466 - ], - "declarations": [ - { - "constant": false, - "id": 4466, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "13540:10:6", - "nodeType": "VariableDeclaration", - "scope": 4497, - "src": "13526:24:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4465, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13526:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4471, - "initialValue": { - "arguments": [ - { - "id": 4469, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4458, - "src": "13565:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4467, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "13553:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13556:8:6", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 8539, - "src": "13553:11:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) view external returns (string memory)" - } - }, - "id": 4470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13553:17:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13526:44:6" - }, - { - "assignments": [ - 4473 - ], - "declarations": [ - { - "constant": false, - "id": 4473, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "13593:16:6", - "nodeType": "VariableDeclaration", - "scope": 4497, - "src": "13580:29:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4472, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "13580:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4479, - "initialValue": { - "arguments": [ - { - "id": 4476, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4466, - "src": "13625:10:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "2e7265636569707473", - "id": 4477, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13637:11:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_29a5d3664a45019923b250b65c7d5b7f8c019d3960761fa9ca59b9001f893261", - "typeString": "literal_string \".receipts\"" - }, - "value": ".receipts" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_29a5d3664a45019923b250b65c7d5b7f8c019d3960761fa9ca59b9001f893261", - "typeString": "literal_string \".receipts\"" - } - ], - "expression": { - "id": 4474, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "13612:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13615:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "13612:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 4478, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13612:37:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13580:69:6" - }, - { - "assignments": [ - 4484 - ], - "declarations": [ - { - "constant": false, - "id": 4484, - "mutability": "mutable", - "name": "rawReceipts", - "nameLocation": "13679:11:6", - "nodeType": "VariableDeclaration", - "scope": 4497, - "src": "13659:31:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt[]" - }, - "typeName": { - "baseType": { - "id": 4482, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4481, - "name": "RawReceipt", - "nameLocations": [ - "13659:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3566, - "src": "13659:10:6" - }, - "referencedDeclaration": 3566, - "src": "13659:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt" - } - }, - "id": 4483, - "nodeType": "ArrayTypeName", - "src": "13659:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt[]" - } - }, - "visibility": "internal" - } - ], - "id": 4492, - "initialValue": { - "arguments": [ - { - "id": 4487, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4473, - "src": "13704:16:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 4488, - "name": "RawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3566, - "src": "13723:10:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$3566_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawReceipt storage pointer)" - } - }, - "id": 4489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13723:12:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawReceipt memory[] memory)" - } - } - ], - "id": 4490, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "13722:14:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawReceipt memory[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawReceipt memory[] memory)" - } - ], - "expression": { - "id": 4485, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13693:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4486, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13697:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "13693:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4491, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13693:44:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13659:78:6" - }, - { - "expression": { - "arguments": [ - { - "id": 4494, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4484, - "src": "13777:11:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" - } - ], - "id": 4493, - "name": "rawToConvertedReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4602, - "src": "13754:22:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawReceipt memory[] memory) pure returns (struct StdCheatsSafe.Receipt memory[] memory)" - } - }, - "id": 4495, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13754:35:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory[] memory" - } - }, - "functionReturnParameters": 4464, - "id": 4496, - "nodeType": "Return", - "src": "13747:42:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readReceipts", - "nameLocation": "13434:12:6", - "parameters": { - "id": 4459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4458, - "mutability": "mutable", - "name": "path", - "nameLocation": "13461:4:6", - "nodeType": "VariableDeclaration", - "scope": 4498, - "src": "13447:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4457, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13447:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13446:20:6" - }, - "returnParameters": { - "id": 4464, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4463, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4498, - "src": "13498:16:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 4461, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4460, - "name": "Receipt", - "nameLocations": [ - "13498:7:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3595, - "src": "13498:7:6" - }, - "referencedDeclaration": 3595, - "src": "13498:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - } - }, - "id": 4462, - "nodeType": "ArrayTypeName", - "src": "13498:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt[]" - } - }, - "visibility": "internal" - } - ], - "src": "13497:18:6" - }, - "scope": 5094, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4553, - "nodeType": "FunctionDefinition", - "src": "13802:461:6", - "nodes": [], - "body": { - "id": 4552, - "nodeType": "Block", - "src": "13905:358:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4509 - ], - "declarations": [ - { - "constant": false, - "id": 4509, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "13929:10:6", - "nodeType": "VariableDeclaration", - "scope": 4552, - "src": "13915:24:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4508, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13915:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4514, - "initialValue": { - "arguments": [ - { - "id": 4512, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4500, - "src": "13954:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4510, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "13942:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4511, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13945:8:6", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 8539, - "src": "13942:11:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) view external returns (string memory)" - } - }, - "id": 4513, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13942:17:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13915:44:6" - }, - { - "assignments": [ - 4516 - ], - "declarations": [ - { - "constant": false, - "id": 4516, - "mutability": "mutable", - "name": "key", - "nameLocation": "13983:3:6", - "nodeType": "VariableDeclaration", - "scope": 4552, - "src": "13969:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4515, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13969:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4529, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "2e72656365697074735b", - "id": 4521, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14013:12:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1f28b72ce547907c2ae0f1bd0fd1ff00aeea8e573cc3e4076246f258e653d170", - "typeString": "literal_string \".receipts[\"" - }, - "value": ".receipts[" - }, - { - "arguments": [ - { - "id": 4524, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4502, - "src": "14039:5:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4522, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "14027:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4523, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14030:8:6", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 8624, - "src": "14027:11:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) pure external returns (string memory)" - } - }, - "id": 4525, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14027:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "5d", - "id": 4526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14047:3:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b36bcf9cc1d9e7f60b1f757ebd8b4694b17fc592b16065d243c43b09fde00b29", - "typeString": "literal_string \"]\"" - }, - "value": "]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1f28b72ce547907c2ae0f1bd0fd1ff00aeea8e573cc3e4076246f258e653d170", - "typeString": "literal_string \".receipts[\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_b36bcf9cc1d9e7f60b1f757ebd8b4694b17fc592b16065d243c43b09fde00b29", - "typeString": "literal_string \"]\"" - } - ], - "expression": { - "id": 4519, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13996:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4520, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14000:12:6", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "13996:16:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 4527, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13996:55:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4518, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13989:6:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 4517, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13989:6:6", - "typeDescriptions": {} - } - }, - "id": 4528, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13989:63:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13969:83:6" - }, - { - "assignments": [ - 4531 - ], - "declarations": [ - { - "constant": false, - "id": 4531, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "14075:16:6", - "nodeType": "VariableDeclaration", - "scope": 4552, - "src": "14062:29:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4530, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "14062:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4537, - "initialValue": { - "arguments": [ - { - "id": 4534, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4509, - "src": "14107:10:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4535, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4516, - "src": "14119:3:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4532, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "14094:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4533, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14097:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "14094:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 4536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14094:29:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "14062:61:6" - }, - { - "assignments": [ - 4540 - ], - "declarations": [ - { - "constant": false, - "id": 4540, - "mutability": "mutable", - "name": "rawReceipt", - "nameLocation": "14151:10:6", - "nodeType": "VariableDeclaration", - "scope": 4552, - "src": "14133:28:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt" - }, - "typeName": { - "id": 4539, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4538, - "name": "RawReceipt", - "nameLocations": [ - "14133:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3566, - "src": "14133:10:6" - }, - "referencedDeclaration": 3566, - "src": "14133:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt" - } - }, - "visibility": "internal" - } - ], - "id": 4547, - "initialValue": { - "arguments": [ - { - "id": 4543, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4531, - "src": "14175:16:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 4544, - "name": "RawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3566, - "src": "14194:10:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$3566_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawReceipt storage pointer)" - } - } - ], - "id": 4545, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "14193:12:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$3566_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawReceipt storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$3566_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawReceipt storage pointer)" - } - ], - "expression": { - "id": 4541, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14164:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4542, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14168:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "14164:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4546, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14164:42:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "14133:73:6" - }, - { - "expression": { - "arguments": [ - { - "id": 4549, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4540, - "src": "14245:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - ], - "id": 4548, - "name": "rawToConvertedReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4723, - "src": "14223:21:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawReceipt_$3566_memory_ptr_$returns$_t_struct$_Receipt_$3595_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawReceipt memory) pure returns (struct StdCheatsSafe.Receipt memory)" - } - }, - "id": 4550, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14223:33:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "functionReturnParameters": 4507, - "id": 4551, - "nodeType": "Return", - "src": "14216:40:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readReceipt", - "nameLocation": "13811:11:6", - "parameters": { - "id": 4503, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4500, - "mutability": "mutable", - "name": "path", - "nameLocation": "13837:4:6", - "nodeType": "VariableDeclaration", - "scope": 4553, - "src": "13823:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4499, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13823:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4502, - "mutability": "mutable", - "name": "index", - "nameLocation": "13851:5:6", - "nodeType": "VariableDeclaration", - "scope": 4553, - "src": "13843:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4501, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13843:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13822:35:6" - }, - "returnParameters": { - "id": 4507, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4506, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4553, - "src": "13889:14:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - }, - "typeName": { - "id": 4505, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4504, - "name": "Receipt", - "nameLocations": [ - "13889:7:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3595, - "src": "13889:7:6" - }, - "referencedDeclaration": 3595, - "src": "13889:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - } - }, - "visibility": "internal" - } - ], - "src": "13888:16:6" - }, - "scope": 5094, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4602, - "nodeType": "FunctionDefinition", - "src": "14269:347:6", - "nodes": [], - "body": { - "id": 4601, - "nodeType": "Block", - "src": "14383:233:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4568 - ], - "declarations": [ - { - "constant": false, - "id": 4568, - "mutability": "mutable", - "name": "receipts", - "nameLocation": "14410:8:6", - "nodeType": "VariableDeclaration", - "scope": 4601, - "src": "14393:25:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 4566, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4565, - "name": "Receipt", - "nameLocations": [ - "14393:7:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3595, - "src": "14393:7:6" - }, - "referencedDeclaration": 3595, - "src": "14393:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - } - }, - "id": 4567, - "nodeType": "ArrayTypeName", - "src": "14393:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt[]" - } - }, - "visibility": "internal" - } - ], - "id": 4576, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 4573, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4557, - "src": "14435:11:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" - } - }, - "id": 4574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14447:6:6", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "14435:18:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "14421:13:6", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct StdCheatsSafe.Receipt memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 4570, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4569, - "name": "Receipt", - "nameLocations": [ - "14425:7:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3595, - "src": "14425:7:6" - }, - "referencedDeclaration": 3595, - "src": "14425:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - } - }, - "id": 4571, - "nodeType": "ArrayTypeName", - "src": "14425:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt[]" - } - } - }, - "id": 4575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14421:33:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "14393:61:6" - }, - { - "body": { - "id": 4597, - "nodeType": "Block", - "src": "14509:76:6", - "statements": [ - { - "expression": { - "id": 4595, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 4587, - "name": "receipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4568, - "src": "14523:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory[] memory" - } - }, - "id": 4589, - "indexExpression": { - "id": 4588, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4578, - "src": "14532:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "14523:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 4591, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4557, - "src": "14559:11:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" - } - }, - "id": 4593, - "indexExpression": { - "id": 4592, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4578, - "src": "14571:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "14559:14:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - ], - "id": 4590, - "name": "rawToConvertedReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4723, - "src": "14537:21:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawReceipt_$3566_memory_ptr_$returns$_t_struct$_Receipt_$3595_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawReceipt memory) pure returns (struct StdCheatsSafe.Receipt memory)" - } - }, - "id": 4594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14537:37:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "src": "14523:51:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4596, - "nodeType": "ExpressionStatement", - "src": "14523:51:6" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4580, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4578, - "src": "14480:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 4581, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4557, - "src": "14484:11:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" - } - }, - "id": 4582, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14496:6:6", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "14484:18:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "14480:22:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4598, - "initializationExpression": { - "assignments": [ - 4578 - ], - "declarations": [ - { - "constant": false, - "id": 4578, - "mutability": "mutable", - "name": "i", - "nameLocation": "14477:1:6", - "nodeType": "VariableDeclaration", - "scope": 4598, - "src": "14469:9:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4577, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14469:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4579, - "nodeType": "VariableDeclarationStatement", - "src": "14469:9:6" - }, - "loopExpression": { - "expression": { - "id": 4585, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "14504:3:6", - "subExpression": { - "id": 4584, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4578, - "src": "14504:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4586, - "nodeType": "ExpressionStatement", - "src": "14504:3:6" - }, - "nodeType": "ForStatement", - "src": "14464:121:6" - }, - { - "expression": { - "id": 4599, - "name": "receipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4568, - "src": "14601:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory[] memory" - } - }, - "functionReturnParameters": 4563, - "id": 4600, - "nodeType": "Return", - "src": "14594:15:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedReceipts", - "nameLocation": "14278:22:6", - "parameters": { - "id": 4558, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4557, - "mutability": "mutable", - "name": "rawReceipts", - "nameLocation": "14321:11:6", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "14301:31:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt[]" - }, - "typeName": { - "baseType": { - "id": 4555, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4554, - "name": "RawReceipt", - "nameLocations": [ - "14301:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3566, - "src": "14301:10:6" - }, - "referencedDeclaration": 3566, - "src": "14301:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt" - } - }, - "id": 4556, - "nodeType": "ArrayTypeName", - "src": "14301:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt[]" - } - }, - "visibility": "internal" - } - ], - "src": "14300:33:6" - }, - "returnParameters": { - "id": 4563, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4562, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "14365:16:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 4560, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4559, - "name": "Receipt", - "nameLocations": [ - "14365:7:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3595, - "src": "14365:7:6" - }, - "referencedDeclaration": 3595, - "src": "14365:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - } - }, - "id": 4561, - "nodeType": "ArrayTypeName", - "src": "14365:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt[]" - } - }, - "visibility": "internal" - } - ], - "src": "14364:18:6" - }, - "scope": 5094, - "stateMutability": "pure", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4723, - "nodeType": "FunctionDefinition", - "src": "14622:962:6", - "nodes": [], - "body": { - "id": 4722, - "nodeType": "Block", - "src": "14730:854:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4613 - ], - "declarations": [ - { - "constant": false, - "id": 4613, - "mutability": "mutable", - "name": "receipt", - "nameLocation": "14755:7:6", - "nodeType": "VariableDeclaration", - "scope": 4722, - "src": "14740:22:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - }, - "typeName": { - "id": 4612, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4611, - "name": "Receipt", - "nameLocations": [ - "14740:7:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3595, - "src": "14740:7:6" - }, - "referencedDeclaration": 3595, - "src": "14740:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - } - }, - "visibility": "internal" - } - ], - "id": 4614, - "nodeType": "VariableDeclarationStatement", - "src": "14740:22:6" - }, - { - "expression": { - "id": 4620, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4615, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "14772:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4617, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "14780:9:6", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 3568, - "src": "14772:17:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4618, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "14792:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4619, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14803:9:6", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 3539, - "src": "14792:20:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "14772:40:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4621, - "nodeType": "ExpressionStatement", - "src": "14772:40:6" - }, - { - "expression": { - "id": 4627, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4622, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "14822:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4624, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "14830:2:6", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 3590, - "src": "14822:10:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4625, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "14835:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4626, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14846:2:6", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 3561, - "src": "14835:13:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "14822:26:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4628, - "nodeType": "ExpressionStatement", - "src": "14822:26:6" - }, - { - "expression": { - "id": 4634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4629, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "14858:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4631, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "14866:4:6", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 3578, - "src": "14858:12:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4632, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "14873:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4633, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14884:4:6", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 3549, - "src": "14873:15:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "14858:30:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4635, - "nodeType": "ExpressionStatement", - "src": "14858:30:6" - }, - { - "expression": { - "id": 4641, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4636, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "14898:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4638, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "14906:15:6", - "memberName": "contractAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 3572, - "src": "14898:23:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4639, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "14924:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4640, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14935:15:6", - "memberName": "contractAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 3543, - "src": "14924:26:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "14898:52:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4642, - "nodeType": "ExpressionStatement", - "src": "14898:52:6" - }, - { - "expression": { - "id": 4650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4643, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "14960:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4645, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "14968:17:6", - "memberName": "effectiveGasPrice", - "nodeType": "MemberAccess", - "referencedDeclaration": 3576, - "src": "14960:25:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4647, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "15001:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4648, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15012:17:6", - "memberName": "effectiveGasPrice", - "nodeType": "MemberAccess", - "referencedDeclaration": 3547, - "src": "15001:28:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4646, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "14988:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14988:42:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "14960:70:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4651, - "nodeType": "ExpressionStatement", - "src": "14960:70:6" - }, - { - "expression": { - "id": 4659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4652, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "15040:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4654, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15048:17:6", - "memberName": "cumulativeGasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 3574, - "src": "15040:25:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4656, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "15081:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4657, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15092:17:6", - "memberName": "cumulativeGasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 3545, - "src": "15081:28:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4655, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "15068:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15068:42:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15040:70:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4660, - "nodeType": "ExpressionStatement", - "src": "15040:70:6" - }, - { - "expression": { - "id": 4668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4661, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "15120:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4663, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15128:7:6", - "memberName": "gasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 3580, - "src": "15120:15:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4665, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "15151:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4666, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15162:7:6", - "memberName": "gasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 3551, - "src": "15151:18:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4664, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "15138:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15138:32:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15120:50:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4669, - "nodeType": "ExpressionStatement", - "src": "15120:50:6" - }, - { - "expression": { - "id": 4677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4670, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "15180:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4672, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15188:6:6", - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 3588, - "src": "15180:14:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4674, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "15210:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4675, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15221:6:6", - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 3559, - "src": "15210:17:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4673, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "15197:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15197:31:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15180:48:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4678, - "nodeType": "ExpressionStatement", - "src": "15180:48:6" - }, - { - "expression": { - "id": 4686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4679, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "15238:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4681, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15246:16:6", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 3594, - "src": "15238:24:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4683, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "15278:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4684, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15289:16:6", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 3565, - "src": "15278:27:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4682, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "15265:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4685, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15265:41:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15238:68:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4687, - "nodeType": "ExpressionStatement", - "src": "15238:68:6" - }, - { - "expression": { - "id": 4695, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4688, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "15316:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4690, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15324:11:6", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 3570, - "src": "15316:19:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4692, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "15351:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4693, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15362:11:6", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 3541, - "src": "15351:22:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4691, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "15338:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4694, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15338:36:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15316:58:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4696, - "nodeType": "ExpressionStatement", - "src": "15316:58:6" - }, - { - "expression": { - "id": 4704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4697, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "15384:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4699, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15392:4:6", - "memberName": "logs", - "nodeType": "MemberAccess", - "referencedDeclaration": 3584, - "src": "15384:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4701, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "15425:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4702, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15436:4:6", - "memberName": "logs", - "nodeType": "MemberAccess", - "referencedDeclaration": 3555, - "src": "15425:15:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - ], - "id": 4700, - "name": "rawToConvertedReceiptLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4860, - "src": "15399:25:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawReceiptLog memory[] memory) pure returns (struct StdCheatsSafe.ReceiptLog memory[] memory)" - } - }, - "id": 4703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15399:42:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "src": "15384:57:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4705, - "nodeType": "ExpressionStatement", - "src": "15384:57:6" - }, - { - "expression": { - "id": 4711, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4706, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "15451:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4708, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15459:9:6", - "memberName": "logsBloom", - "nodeType": "MemberAccess", - "referencedDeclaration": 3586, - "src": "15451:17:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4709, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "15471:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4710, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15482:9:6", - "memberName": "logsBloom", - "nodeType": "MemberAccess", - "referencedDeclaration": 3557, - "src": "15471:20:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "15451:40:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 4712, - "nodeType": "ExpressionStatement", - "src": "15451:40:6" - }, - { - "expression": { - "id": 4718, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4713, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "15501:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4715, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15509:15:6", - "memberName": "transactionHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 3592, - "src": "15501:23:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4716, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "15527:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4717, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15538:15:6", - "memberName": "transactionHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 3563, - "src": "15527:26:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "15501:52:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4719, - "nodeType": "ExpressionStatement", - "src": "15501:52:6" - }, - { - "expression": { - "id": 4720, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "15570:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "functionReturnParameters": 4610, - "id": 4721, - "nodeType": "Return", - "src": "15563:14:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedReceipt", - "nameLocation": "14631:21:6", - "parameters": { - "id": 4606, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4605, - "mutability": "mutable", - "name": "rawReceipt", - "nameLocation": "14671:10:6", - "nodeType": "VariableDeclaration", - "scope": 4723, - "src": "14653:28:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt" - }, - "typeName": { - "id": 4604, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4603, - "name": "RawReceipt", - "nameLocations": [ - "14653:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3566, - "src": "14653:10:6" - }, - "referencedDeclaration": 3566, - "src": "14653:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt" - } - }, - "visibility": "internal" - } - ], - "src": "14652:30:6" - }, - "returnParameters": { - "id": 4610, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4609, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4723, - "src": "14714:14:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - }, - "typeName": { - "id": 4608, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4607, - "name": "Receipt", - "nameLocations": [ - "14714:7:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3595, - "src": "14714:7:6" - }, - "referencedDeclaration": 3595, - "src": "14714:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - } - }, - "visibility": "internal" - } - ], - "src": "14713:16:6" - }, - "scope": 5094, - "stateMutability": "pure", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4860, - "nodeType": "FunctionDefinition", - "src": "15590:873:6", - "nodes": [], - "body": { - "id": 4859, - "nodeType": "Block", - "src": "15745:718:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4738 - ], - "declarations": [ - { - "constant": false, - "id": 4738, - "mutability": "mutable", - "name": "logs", - "nameLocation": "15775:4:6", - "nodeType": "VariableDeclaration", - "scope": 4859, - "src": "15755:24:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 4736, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4735, - "name": "ReceiptLog", - "nameLocations": [ - "15755:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3683, - "src": "15755:10:6" - }, - "referencedDeclaration": 3683, - "src": "15755:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_storage_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog" - } - }, - "id": 4737, - "nodeType": "ArrayTypeName", - "src": "15755:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog[]" - } - }, - "visibility": "internal" - } - ], - "id": 4746, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 4743, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "15799:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15807:6:6", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "15799:14:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4742, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "15782:16:6", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct StdCheatsSafe.ReceiptLog memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 4740, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4739, - "name": "ReceiptLog", - "nameLocations": [ - "15786:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3683, - "src": "15786:10:6" - }, - "referencedDeclaration": 3683, - "src": "15786:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_storage_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog" - } - }, - "id": 4741, - "nodeType": "ArrayTypeName", - "src": "15786:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog[]" - } - } - }, - "id": 4745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15782:32:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "15755:59:6" - }, - { - "body": { - "id": 4855, - "nodeType": "Block", - "src": "15865:571:6", - "statements": [ - { - "expression": { - "id": 4765, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 4757, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "15879:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4759, - "indexExpression": { - "id": 4758, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "15884:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15879:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory" - } - }, - "id": 4760, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15887:10:6", - "memberName": "logAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 3665, - "src": "15879:18:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 4761, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "15900:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4763, - "indexExpression": { - "id": 4762, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "15908:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15900:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory" - } - }, - "id": 4764, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15911:10:6", - "memberName": "logAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 3643, - "src": "15900:21:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "15879:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4766, - "nodeType": "ExpressionStatement", - "src": "15879:42:6" - }, - { - "expression": { - "id": 4775, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 4767, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "15935:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4769, - "indexExpression": { - "id": 4768, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "15940:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15935:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory" - } - }, - "id": 4770, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15943:9:6", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 3667, - "src": "15935:17:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 4771, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "15955:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4773, - "indexExpression": { - "id": 4772, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "15963:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15955:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory" - } - }, - "id": 4774, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15966:9:6", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 3645, - "src": "15955:20:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "15935:40:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4776, - "nodeType": "ExpressionStatement", - "src": "15935:40:6" - }, - { - "expression": { - "id": 4787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 4777, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "15989:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4779, - "indexExpression": { - "id": 4778, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "15994:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15989:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory" - } - }, - "id": 4780, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15997:11:6", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 3669, - "src": "15989:19:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 4782, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "16024:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4784, - "indexExpression": { - "id": 4783, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16032:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16024:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory" - } - }, - "id": 4785, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "16035:11:6", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 3647, - "src": "16024:22:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4781, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "16011:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16011:36:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15989:58:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4788, - "nodeType": "ExpressionStatement", - "src": "15989:58:6" - }, - { - "expression": { - "id": 4797, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 4789, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "16061:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4791, - "indexExpression": { - "id": 4790, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16066:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16061:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory" - } - }, - "id": 4792, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "16069:4:6", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 3671, - "src": "16061:12:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 4793, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "16076:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4795, - "indexExpression": { - "id": 4794, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16084:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16076:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory" - } - }, - "id": 4796, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "16087:4:6", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 3649, - "src": "16076:15:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "16061:30:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 4798, - "nodeType": "ExpressionStatement", - "src": "16061:30:6" - }, - { - "expression": { - "id": 4809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 4799, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "16105:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4801, - "indexExpression": { - "id": 4800, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16110:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16105:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory" - } - }, - "id": 4802, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "16113:8:6", - "memberName": "logIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 3673, - "src": "16105:16:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 4804, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "16137:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4806, - "indexExpression": { - "id": 4805, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16145:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16137:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory" - } - }, - "id": 4807, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "16148:8:6", - "memberName": "logIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 3651, - "src": "16137:19:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4803, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "16124:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4808, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16124:33:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "16105:52:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4810, - "nodeType": "ExpressionStatement", - "src": "16105:52:6" - }, - { - "expression": { - "id": 4819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 4811, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "16171:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4813, - "indexExpression": { - "id": 4812, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16176:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16171:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory" - } - }, - "id": 4814, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "16179:6:6", - "memberName": "topics", - "nodeType": "MemberAccess", - "referencedDeclaration": 3676, - "src": "16171:14:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 4815, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "16188:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4817, - "indexExpression": { - "id": 4816, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16196:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16188:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory" - } - }, - "id": 4818, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "16199:6:6", - "memberName": "topics", - "nodeType": "MemberAccess", - "referencedDeclaration": 3656, - "src": "16188:17:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "src": "16171:34:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 4820, - "nodeType": "ExpressionStatement", - "src": "16171:34:6" - }, - { - "expression": { - "id": 4831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 4821, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "16219:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4823, - "indexExpression": { - "id": 4822, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16224:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16219:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory" - } - }, - "id": 4824, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "16227:16:6", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 3678, - "src": "16219:24:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 4826, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "16259:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4828, - "indexExpression": { - "id": 4827, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16267:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16259:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory" - } - }, - "id": 4829, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "16270:16:6", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 3660, - "src": "16259:27:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4825, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "16246:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16246:41:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "16219:68:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4832, - "nodeType": "ExpressionStatement", - "src": "16219:68:6" - }, - { - "expression": { - "id": 4843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 4833, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "16301:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4835, - "indexExpression": { - "id": 4834, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16306:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16301:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory" - } - }, - "id": 4836, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "16309:19:6", - "memberName": "transactionLogIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 3680, - "src": "16301:27:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 4838, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "16344:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4840, - "indexExpression": { - "id": 4839, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16352:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16344:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory" - } - }, - "id": 4841, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "16355:19:6", - "memberName": "transactionLogIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 3662, - "src": "16344:30:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4837, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "16331:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16331:44:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "16301:74:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4844, - "nodeType": "ExpressionStatement", - "src": "16301:74:6" - }, - { - "expression": { - "id": 4853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 4845, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "16389:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4847, - "indexExpression": { - "id": 4846, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16394:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16389:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory" - } - }, - "id": 4848, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "16397:7:6", - "memberName": "removed", - "nodeType": "MemberAccess", - "referencedDeclaration": 3682, - "src": "16389:15:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 4849, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "16407:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4851, - "indexExpression": { - "id": 4850, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16415:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16407:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory" - } - }, - "id": 4852, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "16418:7:6", - "memberName": "removed", - "nodeType": "MemberAccess", - "referencedDeclaration": 3653, - "src": "16407:18:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "16389:36:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4854, - "nodeType": "ExpressionStatement", - "src": "16389:36:6" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4750, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "15840:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 4751, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "15844:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4752, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15852:6:6", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "15844:14:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15840:18:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4856, - "initializationExpression": { - "assignments": [ - 4748 - ], - "declarations": [ - { - "constant": false, - "id": 4748, - "mutability": "mutable", - "name": "i", - "nameLocation": "15837:1:6", - "nodeType": "VariableDeclaration", - "scope": 4856, - "src": "15829:9:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4747, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15829:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4749, - "nodeType": "VariableDeclarationStatement", - "src": "15829:9:6" - }, - "loopExpression": { - "expression": { - "id": 4755, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "15860:3:6", - "subExpression": { - "id": 4754, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "15860:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4756, - "nodeType": "ExpressionStatement", - "src": "15860:3:6" - }, - "nodeType": "ForStatement", - "src": "15824:612:6" - }, - { - "expression": { - "id": 4857, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "16452:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "functionReturnParameters": 4733, - "id": 4858, - "nodeType": "Return", - "src": "16445:11:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedReceiptLogs", - "nameLocation": "15599:25:6", - "parameters": { - "id": 4728, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4727, - "mutability": "mutable", - "name": "rawLogs", - "nameLocation": "15648:7:6", - "nodeType": "VariableDeclaration", - "scope": 4860, - "src": "15625:30:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 4725, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4724, - "name": "RawReceiptLog", - "nameLocations": [ - "15625:13:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3663, - "src": "15625:13:6" - }, - "referencedDeclaration": 3663, - "src": "15625:13:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog" - } - }, - "id": 4726, - "nodeType": "ArrayTypeName", - "src": "15625:15:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog[]" - } - }, - "visibility": "internal" - } - ], - "src": "15624:32:6" - }, - "returnParameters": { - "id": 4733, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4732, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4860, - "src": "15720:19:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 4730, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4729, - "name": "ReceiptLog", - "nameLocations": [ - "15720:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3683, - "src": "15720:10:6" - }, - "referencedDeclaration": 3683, - "src": "15720:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_storage_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog" - } - }, - "id": 4731, - "nodeType": "ArrayTypeName", - "src": "15720:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog[]" - } - }, - "visibility": "internal" - } - ], - "src": "15719:21:6" - }, - "scope": 5094, - "stateMutability": "pure", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4892, - "nodeType": "FunctionDefinition", - "src": "16623:416:6", - "nodes": [], - "body": { - "id": 4891, - "nodeType": "Block", - "src": "16722:317:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4870 - ], - "declarations": [ - { - "constant": false, - "id": 4870, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "16745:8:6", - "nodeType": "VariableDeclaration", - "scope": 4891, - "src": "16732:21:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4869, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16732:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4879, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 4875, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4862, - "src": "16784:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4873, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "16773:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4874, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "16776:7:6", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 8489, - "src": "16773:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) view external returns (bytes memory)" - } - }, - "id": 4876, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16773:16:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 4877, - "name": "args", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4864, - "src": "16791:4:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 4871, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16756:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4872, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16760:12:6", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "16756:16:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 4878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16756:40:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "16732:64:6" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "16858:79:6", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "16872:55:6", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "16887:1:6", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "16894:8:6" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "16904:4:6", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "16890:3:6" - }, - "nodeType": "YulFunctionCall", - "src": "16890:19:6" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "16917:8:6" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "16911:5:6" - }, - "nodeType": "YulFunctionCall", - "src": "16911:15:6" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "16880:6:6" - }, - "nodeType": "YulFunctionCall", - "src": "16880:47:6" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "16872:4:6" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 4867, - "isOffset": false, - "isSlot": false, - "src": "16872:4:6", - "valueSize": 1 - }, - { - "declaration": 4870, - "isOffset": false, - "isSlot": false, - "src": "16894:8:6", - "valueSize": 1 - }, - { - "declaration": 4870, - "isOffset": false, - "isSlot": false, - "src": "16917:8:6", - "valueSize": 1 - } - ], - "id": 4880, - "nodeType": "InlineAssembly", - "src": "16849:88:6" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4882, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4867, - "src": "16955:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 4885, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16971:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4884, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "16963:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4883, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16963:7:6", - "typeDescriptions": {} - } - }, - "id": 4886, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16963:10:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "16955:18:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "537464436865617473206465706c6f79436f646528737472696e672c6279746573293a204465706c6f796d656e74206661696c65642e", - "id": 4888, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16975:56:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a8fe98dd1d450e91397ea844d0b9cef01528a963df7b8ac4b93b8aa3ef69cfce", - "typeString": "literal_string \"StdCheats deployCode(string,bytes): Deployment failed.\"" - }, - "value": "StdCheats deployCode(string,bytes): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_a8fe98dd1d450e91397ea844d0b9cef01528a963df7b8ac4b93b8aa3ef69cfce", - "typeString": "literal_string \"StdCheats deployCode(string,bytes): Deployment failed.\"" - } - ], - "id": 4881, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "16947:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4889, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16947:85:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4890, - "nodeType": "ExpressionStatement", - "src": "16947:85:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "16632:10:6", - "parameters": { - "id": 4865, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4862, - "mutability": "mutable", - "name": "what", - "nameLocation": "16657:4:6", - "nodeType": "VariableDeclaration", - "scope": 4892, - "src": "16643:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4861, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16643:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4864, - "mutability": "mutable", - "name": "args", - "nameLocation": "16676:4:6", - "nodeType": "VariableDeclaration", - "scope": 4892, - "src": "16663:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4863, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16663:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "16642:39:6" - }, - "returnParameters": { - "id": 4868, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4867, - "mutability": "mutable", - "name": "addr", - "nameLocation": "16716:4:6", - "nodeType": "VariableDeclaration", - "scope": 4892, - "src": "16708:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4866, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16708:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "16707:14:6" - }, - "scope": 5094, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4918, - "nodeType": "FunctionDefinition", - "src": "17045:367:6", - "nodes": [], - "body": { - "id": 4917, - "nodeType": "Block", - "src": "17125:287:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4900 - ], - "declarations": [ - { - "constant": false, - "id": 4900, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "17148:8:6", - "nodeType": "VariableDeclaration", - "scope": 4917, - "src": "17135:21:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4899, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17135:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4905, - "initialValue": { - "arguments": [ - { - "id": 4903, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4894, - "src": "17170:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4901, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "17159:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4902, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "17162:7:6", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 8489, - "src": "17159:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) view external returns (bytes memory)" - } - }, - "id": 4904, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17159:16:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "17135:40:6" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "17237:79:6", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "17251:55:6", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "17266:1:6", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "17273:8:6" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "17283:4:6", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "17269:3:6" - }, - "nodeType": "YulFunctionCall", - "src": "17269:19:6" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "17296:8:6" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "17290:5:6" - }, - "nodeType": "YulFunctionCall", - "src": "17290:15:6" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "17259:6:6" - }, - "nodeType": "YulFunctionCall", - "src": "17259:47:6" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "17251:4:6" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 4897, - "isOffset": false, - "isSlot": false, - "src": "17251:4:6", - "valueSize": 1 - }, - { - "declaration": 4900, - "isOffset": false, - "isSlot": false, - "src": "17273:8:6", - "valueSize": 1 - }, - { - "declaration": 4900, - "isOffset": false, - "isSlot": false, - "src": "17296:8:6", - "valueSize": 1 - } - ], - "id": 4906, - "nodeType": "InlineAssembly", - "src": "17228:88:6" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4913, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4908, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4897, - "src": "17334:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 4911, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17350:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4910, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "17342:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4909, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17342:7:6", - "typeDescriptions": {} - } - }, - "id": 4912, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17342:10:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "17334:18:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "537464436865617473206465706c6f79436f646528737472696e67293a204465706c6f796d656e74206661696c65642e", - "id": 4914, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17354:50:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f6ca2d254da27f2f7b444314e77be236e782a4d81876827dbe8fe7dcea90b371", - "typeString": "literal_string \"StdCheats deployCode(string): Deployment failed.\"" - }, - "value": "StdCheats deployCode(string): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_f6ca2d254da27f2f7b444314e77be236e782a4d81876827dbe8fe7dcea90b371", - "typeString": "literal_string \"StdCheats deployCode(string): Deployment failed.\"" - } - ], - "id": 4907, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "17326:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4915, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17326:79:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4916, - "nodeType": "ExpressionStatement", - "src": "17326:79:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "17054:10:6", - "parameters": { - "id": 4895, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4894, - "mutability": "mutable", - "name": "what", - "nameLocation": "17079:4:6", - "nodeType": "VariableDeclaration", - "scope": 4918, - "src": "17065:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4893, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17065:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "17064:20:6" - }, - "returnParameters": { - "id": 4898, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4897, - "mutability": "mutable", - "name": "addr", - "nameLocation": "17119:4:6", - "nodeType": "VariableDeclaration", - "scope": 4918, - "src": "17111:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4896, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17111:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "17110:14:6" - }, - "scope": 5094, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4953, - "nodeType": "FunctionDefinition", - "src": "17474:439:6", - "nodes": [], - "body": { - "id": 4952, - "nodeType": "Block", - "src": "17586:327:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4931 - ], - "declarations": [ - { - "constant": false, - "id": 4931, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "17609:8:6", - "nodeType": "VariableDeclaration", - "scope": 4952, - "src": "17596:21:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4930, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17596:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4940, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 4936, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4921, - "src": "17648:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4934, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "17637:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4935, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "17640:7:6", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 8489, - "src": "17637:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) view external returns (bytes memory)" - } - }, - "id": 4937, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17637:16:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 4938, - "name": "args", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4923, - "src": "17655:4:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 4932, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17620:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4933, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17624:12:6", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "17620:16:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 4939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17620:40:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "17596:64:6" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "17722:81:6", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "17736:57:6", - "value": { - "arguments": [ - { - "name": "val", - "nodeType": "YulIdentifier", - "src": "17751:3:6" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "17760:8:6" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "17770:4:6", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "17756:3:6" - }, - "nodeType": "YulFunctionCall", - "src": "17756:19:6" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "17783:8:6" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "17777:5:6" - }, - "nodeType": "YulFunctionCall", - "src": "17777:15:6" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "17744:6:6" - }, - "nodeType": "YulFunctionCall", - "src": "17744:49:6" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "17736:4:6" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 4928, - "isOffset": false, - "isSlot": false, - "src": "17736:4:6", - "valueSize": 1 - }, - { - "declaration": 4931, - "isOffset": false, - "isSlot": false, - "src": "17760:8:6", - "valueSize": 1 - }, - { - "declaration": 4931, - "isOffset": false, - "isSlot": false, - "src": "17783:8:6", - "valueSize": 1 - }, - { - "declaration": 4925, - "isOffset": false, - "isSlot": false, - "src": "17751:3:6", - "valueSize": 1 - } - ], - "id": 4941, - "nodeType": "InlineAssembly", - "src": "17713:90:6" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4948, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4943, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4928, - "src": "17821:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 4946, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17837:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4945, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "17829:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4944, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17829:7:6", - "typeDescriptions": {} - } - }, - "id": 4947, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17829:10:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "17821:18:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "537464436865617473206465706c6f79436f646528737472696e672c62797465732c75696e74323536293a204465706c6f796d656e74206661696c65642e", - "id": 4949, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17841:64:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b17e0074adb88d93215aea54607c780b63b16eef6aef31eb92005d5de3508fa0", - "typeString": "literal_string \"StdCheats deployCode(string,bytes,uint256): Deployment failed.\"" - }, - "value": "StdCheats deployCode(string,bytes,uint256): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b17e0074adb88d93215aea54607c780b63b16eef6aef31eb92005d5de3508fa0", - "typeString": "literal_string \"StdCheats deployCode(string,bytes,uint256): Deployment failed.\"" - } - ], - "id": 4942, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "17813:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4950, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17813:93:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4951, - "nodeType": "ExpressionStatement", - "src": "17813:93:6" - } - ] - }, - "documentation": { - "id": 4919, - "nodeType": "StructuredDocumentation", - "src": "17418:51:6", - "text": "@dev deploy contract with value on construction" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "17483:10:6", - "parameters": { - "id": 4926, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4921, - "mutability": "mutable", - "name": "what", - "nameLocation": "17508:4:6", - "nodeType": "VariableDeclaration", - "scope": 4953, - "src": "17494:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4920, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17494:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4923, - "mutability": "mutable", - "name": "args", - "nameLocation": "17527:4:6", - "nodeType": "VariableDeclaration", - "scope": 4953, - "src": "17514:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4922, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17514:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4925, - "mutability": "mutable", - "name": "val", - "nameLocation": "17541:3:6", - "nodeType": "VariableDeclaration", - "scope": 4953, - "src": "17533:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4924, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17533:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17493:52:6" - }, - "returnParameters": { - "id": 4929, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4928, - "mutability": "mutable", - "name": "addr", - "nameLocation": "17580:4:6", - "nodeType": "VariableDeclaration", - "scope": 4953, - "src": "17572:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4927, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17572:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "17571:14:6" - }, - "scope": 5094, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4981, - "nodeType": "FunctionDefinition", - "src": "17919:390:6", - "nodes": [], - "body": { - "id": 4980, - "nodeType": "Block", - "src": "18012:297:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4963 - ], - "declarations": [ - { - "constant": false, - "id": 4963, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "18035:8:6", - "nodeType": "VariableDeclaration", - "scope": 4980, - "src": "18022:21:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4962, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "18022:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4968, - "initialValue": { - "arguments": [ - { - "id": 4966, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4955, - "src": "18057:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4964, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "18046:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4965, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "18049:7:6", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 8489, - "src": "18046:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) view external returns (bytes memory)" - } - }, - "id": 4967, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18046:16:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "18022:40:6" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "18124:81:6", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "18138:57:6", - "value": { - "arguments": [ - { - "name": "val", - "nodeType": "YulIdentifier", - "src": "18153:3:6" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "18162:8:6" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "18172:4:6", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "18158:3:6" - }, - "nodeType": "YulFunctionCall", - "src": "18158:19:6" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "18185:8:6" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "18179:5:6" - }, - "nodeType": "YulFunctionCall", - "src": "18179:15:6" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "18146:6:6" - }, - "nodeType": "YulFunctionCall", - "src": "18146:49:6" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "18138:4:6" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 4960, - "isOffset": false, - "isSlot": false, - "src": "18138:4:6", - "valueSize": 1 - }, - { - "declaration": 4963, - "isOffset": false, - "isSlot": false, - "src": "18162:8:6", - "valueSize": 1 - }, - { - "declaration": 4963, - "isOffset": false, - "isSlot": false, - "src": "18185:8:6", - "valueSize": 1 - }, - { - "declaration": 4957, - "isOffset": false, - "isSlot": false, - "src": "18153:3:6", - "valueSize": 1 - } - ], - "id": 4969, - "nodeType": "InlineAssembly", - "src": "18115:90:6" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4976, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4971, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4960, - "src": "18223:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 4974, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18239:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4973, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "18231:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4972, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18231:7:6", - "typeDescriptions": {} - } - }, - "id": 4975, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18231:10:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "18223:18:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "537464436865617473206465706c6f79436f646528737472696e672c75696e74323536293a204465706c6f796d656e74206661696c65642e", - "id": 4977, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18243:58:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cea3fb8155c56e1e84c027eaf19b7f987ed52f1b7ae1ee8bed46141b7ecf08d2", - "typeString": "literal_string \"StdCheats deployCode(string,uint256): Deployment failed.\"" - }, - "value": "StdCheats deployCode(string,uint256): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_cea3fb8155c56e1e84c027eaf19b7f987ed52f1b7ae1ee8bed46141b7ecf08d2", - "typeString": "literal_string \"StdCheats deployCode(string,uint256): Deployment failed.\"" - } - ], - "id": 4970, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "18215:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4978, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18215:87:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4979, - "nodeType": "ExpressionStatement", - "src": "18215:87:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "17928:10:6", - "parameters": { - "id": 4958, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4955, - "mutability": "mutable", - "name": "what", - "nameLocation": "17953:4:6", - "nodeType": "VariableDeclaration", - "scope": 4981, - "src": "17939:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4954, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17939:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4957, - "mutability": "mutable", - "name": "val", - "nameLocation": "17967:3:6", - "nodeType": "VariableDeclaration", - "scope": 4981, - "src": "17959:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4956, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17959:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17938:33:6" - }, - "returnParameters": { - "id": 4961, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4960, - "mutability": "mutable", - "name": "addr", - "nameLocation": "18006:4:6", - "nodeType": "VariableDeclaration", - "scope": 4981, - "src": "17998:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4959, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17998:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "17997:14:6" - }, - "scope": 5094, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5017, - "nodeType": "FunctionDefinition", - "src": "18382:242:6", - "nodes": [], - "body": { - "id": 5016, - "nodeType": "Block", - "src": "18486:138:6", - "nodes": [], - "statements": [ - { - "expression": { - "id": 5000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 4990, - "name": "privateKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4988, - "src": "18496:10:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 4996, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4983, - "src": "18544:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4994, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18527:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4995, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18531:12:6", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "18527:16:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 4997, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18527:22:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4993, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "18517:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 4998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18517:33:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4992, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "18509:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 4991, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18509:7:6", - "typeDescriptions": {} - } - }, - "id": 4999, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18509:42:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "18496:55:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5001, - "nodeType": "ExpressionStatement", - "src": "18496:55:6" - }, - { - "expression": { - "id": 5007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5002, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4986, - "src": "18561:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5005, - "name": "privateKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4988, - "src": "18576:10:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5003, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "18568:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5004, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "18571:4:6", - "memberName": "addr", - "nodeType": "MemberAccess", - "referencedDeclaration": 8327, - "src": "18568:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) pure external returns (address)" - } - }, - "id": 5006, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18568:19:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "18561:26:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5008, - "nodeType": "ExpressionStatement", - "src": "18561:26:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5012, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4986, - "src": "18606:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5013, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4983, - "src": "18612:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5009, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "18597:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "18600:5:6", - "memberName": "label", - "nodeType": "MemberAccess", - "referencedDeclaration": 8503, - "src": "18597:8:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (address,string memory) external" - } - }, - "id": 5014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18597:20:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5015, - "nodeType": "ExpressionStatement", - "src": "18597:20:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "makeAddrAndKey", - "nameLocation": "18391:14:6", - "parameters": { - "id": 4984, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4983, - "mutability": "mutable", - "name": "name", - "nameLocation": "18420:4:6", - "nodeType": "VariableDeclaration", - "scope": 5017, - "src": "18406:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4982, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18406:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "18405:20:6" - }, - "returnParameters": { - "id": 4989, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4986, - "mutability": "mutable", - "name": "addr", - "nameLocation": "18460:4:6", - "nodeType": "VariableDeclaration", - "scope": 5017, - "src": "18452:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4985, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18452:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4988, - "mutability": "mutable", - "name": "privateKey", - "nameLocation": "18474:10:6", - "nodeType": "VariableDeclaration", - "scope": 5017, - "src": "18466:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4987, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18466:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18451:34:6" - }, - "scope": 5094, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5032, - "nodeType": "FunctionDefinition", - "src": "18663:125:6", - "nodes": [], - "body": { - "id": 5031, - "nodeType": "Block", - "src": "18741:47:6", - "nodes": [], - "statements": [ - { - "expression": { - "id": 5029, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "components": [ - { - "id": 5024, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5022, - "src": "18752:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - null - ], - "id": 5025, - "isConstant": false, - "isInlineArray": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "TupleExpression", - "src": "18751:7:6", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$__$", - "typeString": "tuple(address,)" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5027, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5019, - "src": "18776:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 5026, - "name": "makeAddrAndKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5017, - "src": "18761:14:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$returns$_t_address_$_t_uint256_$", - "typeString": "function (string memory) returns (address,uint256)" - } - }, - "id": 5028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18761:20:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_uint256_$", - "typeString": "tuple(address,uint256)" - } - }, - "src": "18751:30:6", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5030, - "nodeType": "ExpressionStatement", - "src": "18751:30:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "makeAddr", - "nameLocation": "18672:8:6", - "parameters": { - "id": 5020, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5019, - "mutability": "mutable", - "name": "name", - "nameLocation": "18695:4:6", - "nodeType": "VariableDeclaration", - "scope": 5032, - "src": "18681:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5018, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18681:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "18680:20:6" - }, - "returnParameters": { - "id": 5023, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5022, - "mutability": "mutable", - "name": "addr", - "nameLocation": "18735:4:6", - "nodeType": "VariableDeclaration", - "scope": 5032, - "src": "18727:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5021, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18727:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "18726:14:6" - }, - "scope": 5094, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5059, - "nodeType": "FunctionDefinition", - "src": "18794:253:6", - "nodes": [], - "body": { - "id": 5058, - "nodeType": "Block", - "src": "18946:101:6", - "nodes": [], - "statements": [ - { - "expression": { - "id": 5049, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5043, - "name": "privateKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5041, - "src": "18956:10:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5046, - "name": "mnemonic", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5034, - "src": "18982:8:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5047, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5036, - "src": "18992:5:6", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - ], - "expression": { - "id": 5044, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "18969:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "18972:9:6", - "memberName": "deriveKey", - "nodeType": "MemberAccess", - "referencedDeclaration": 8692, - "src": "18969:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_uint32_$returns$_t_uint256_$", - "typeString": "function (string memory,uint32) pure external returns (uint256)" - } - }, - "id": 5048, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18969:29:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "18956:42:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5050, - "nodeType": "ExpressionStatement", - "src": "18956:42:6" - }, - { - "expression": { - "id": 5056, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5051, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5039, - "src": "19008:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5054, - "name": "privateKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5041, - "src": "19029:10:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5052, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "19014:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19017:11:6", - "memberName": "rememberKey", - "nodeType": "MemberAccess", - "referencedDeclaration": 8710, - "src": "19014:14:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) external returns (address)" - } - }, - "id": 5055, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19014:26:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "19008:32:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5057, - "nodeType": "ExpressionStatement", - "src": "19008:32:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deriveRememberKey", - "nameLocation": "18803:17:6", - "parameters": { - "id": 5037, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5034, - "mutability": "mutable", - "name": "mnemonic", - "nameLocation": "18835:8:6", - "nodeType": "VariableDeclaration", - "scope": 5059, - "src": "18821:22:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5033, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18821:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5036, - "mutability": "mutable", - "name": "index", - "nameLocation": "18852:5:6", - "nodeType": "VariableDeclaration", - "scope": 5059, - "src": "18845:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - }, - "typeName": { - "id": 5035, - "name": "uint32", - "nodeType": "ElementaryTypeName", - "src": "18845:6:6", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - }, - "visibility": "internal" - } - ], - "src": "18820:38:6" - }, - "returnParameters": { - "id": 5042, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5039, - "mutability": "mutable", - "name": "who", - "nameLocation": "18917:3:6", - "nodeType": "VariableDeclaration", - "scope": 5059, - "src": "18909:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5038, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18909:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5041, - "mutability": "mutable", - "name": "privateKey", - "nameLocation": "18930:10:6", - "nodeType": "VariableDeclaration", - "scope": 5059, - "src": "18922:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5040, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18922:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18908:33:6" - }, - "scope": 5094, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5093, - "nodeType": "FunctionDefinition", - "src": "19053:253:6", - "nodes": [], - "body": { - "id": 5092, - "nodeType": "Block", - "src": "19122:184:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5070, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 5067, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5061, - "src": "19140:1:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5068, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19142:6:6", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "19140:8:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "hexValue": "3332", - "id": 5069, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19152:2:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "19140:14:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "537464436865617473205f6279746573546f55696e74286279746573293a204279746573206c656e67746820657863656564732033322e", - "id": 5071, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19156:57:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b4b692fb570df93e970ec8540fb3e2b3774022687951840fb5414e81f7899b71", - "typeString": "literal_string \"StdCheats _bytesToUint(bytes): Bytes length exceeds 32.\"" - }, - "value": "StdCheats _bytesToUint(bytes): Bytes length exceeds 32." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b4b692fb570df93e970ec8540fb3e2b3774022687951840fb5414e81f7899b71", - "typeString": "literal_string \"StdCheats _bytesToUint(bytes): Bytes length exceeds 32.\"" - } - ], - "id": 5066, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "19132:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19132:82:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5073, - "nodeType": "ExpressionStatement", - "src": "19132:82:6" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5083, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 5080, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19269:2:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "expression": { - "id": 5081, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5061, - "src": "19274:1:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19276:6:6", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "19274:8:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "19269:13:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "19259:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 5078, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19263:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 5084, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19259:24:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 5085, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5061, - "src": "19285:1:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 5076, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19242:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5077, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19246:12:6", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "19242:16:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5086, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19242:45:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 5088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "19290:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5087, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19290:7:6", - "typeDescriptions": {} - } - } - ], - "id": 5089, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "19289:9:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - ], - "expression": { - "id": 5074, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19231:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5075, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19235:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "19231:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5090, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19231:68:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5065, - "id": 5091, - "nodeType": "Return", - "src": "19224:75:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_bytesToUint", - "nameLocation": "19062:12:6", - "parameters": { - "id": 5062, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5061, - "mutability": "mutable", - "name": "b", - "nameLocation": "19088:1:6", - "nodeType": "VariableDeclaration", - "scope": 5093, - "src": "19075:14:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5060, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19075:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "19074:16:6" - }, - "returnParameters": { - "id": 5065, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5064, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5093, - "src": "19113:7:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5063, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19113:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "19112:9:6" - }, - "scope": 5094, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - } - ], - "abstract": true, - "baseContracts": [], - "canonicalName": "StdCheatsSafe", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 5094 - ], - "name": "StdCheatsSafe", - "nameLocation": "165:13:6", - "scope": 5484, - "usedErrors": [] - }, - { - "id": 5483, - "nodeType": "ContractDefinition", - "src": "19358:3156:6", - "nodes": [ - { - "id": 5100, - "nodeType": "UsingForDirective", - "src": "19409:32:6", - "nodes": [], - "global": false, - "libraryName": { - "id": 5097, - "name": "stdStorage", - "nameLocations": [ - "19415:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 7822, - "src": "19415:10:6" - }, - "typeName": { - "id": 5099, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5098, - "name": "StdStorage", - "nameLocations": [ - "19430:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "19430:10:6" - }, - "referencedDeclaration": 6388, - "src": "19430:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - } - }, - { - "id": 5103, - "nodeType": "VariableDeclaration", - "src": "19447:27:6", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "stdstore", - "nameLocation": "19466:8:6", - "scope": 5483, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 5102, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5101, - "name": "StdStorage", - "nameLocations": [ - "19447:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "19447:10:6" - }, - "referencedDeclaration": 6388, - "src": "19447:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "private" - }, - { - "id": 5120, - "nodeType": "VariableDeclaration", - "src": "19480:84:6", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "vm", - "nameLocation": "19500:2:6", - "scope": 5483, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - }, - "typeName": { - "id": 5105, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5104, - "name": "Vm", - "nameLocations": [ - "19480:2:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 9256, - "src": "19480:2:6" - }, - "referencedDeclaration": 9256, - "src": "19480:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6865766d20636865617420636f6465", - "id": 5114, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19542:17:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - }, - "value": "hevm cheat code" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - } - ], - "id": 5113, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "19532:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19532:28:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5112, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "19524:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5111, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19524:7:6", - "typeDescriptions": {} - } - }, - "id": 5116, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19524:37:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5110, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "19516:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 5109, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "19516:7:6", - "typeDescriptions": {} - } - }, - "id": 5117, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19516:46:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 5108, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "19508:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5107, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19508:7:6", - "typeDescriptions": {} - } - }, - "id": 5118, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19508:55:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5106, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9256, - "src": "19505:2:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Vm_$9256_$", - "typeString": "type(contract Vm)" - } - }, - "id": 5119, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19505:59:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "visibility": "private" - }, - { - "id": 5135, - "nodeType": "FunctionDefinition", - "src": "19641:93:6", - "nodes": [], - "body": { - "id": 5134, - "nodeType": "Block", - "src": "19686:48:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 5128, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "19704:5:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 5129, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19710:9:6", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "src": "19704:15:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 5130, - "name": "time", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5122, - "src": "19722:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "19704:22:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5125, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "19696:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19699:4:6", - "memberName": "warp", - "nodeType": "MemberAccess", - "referencedDeclaration": 8938, - "src": "19696:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256) external" - } - }, - "id": 5132, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19696:31:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5133, - "nodeType": "ExpressionStatement", - "src": "19696:31:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "skip", - "nameLocation": "19650:4:6", - "parameters": { - "id": 5123, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5122, - "mutability": "mutable", - "name": "time", - "nameLocation": "19663:4:6", - "nodeType": "VariableDeclaration", - "scope": 5135, - "src": "19655:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5121, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19655:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "19654:14:6" - }, - "returnParameters": { - "id": 5124, - "nodeType": "ParameterList", - "parameters": [], - "src": "19686:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5150, - "nodeType": "FunctionDefinition", - "src": "19740:95:6", - "nodes": [], - "body": { - "id": 5149, - "nodeType": "Block", - "src": "19787:48:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 5143, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "19805:5:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 5144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19811:9:6", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "src": "19805:15:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 5145, - "name": "time", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5137, - "src": "19823:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "19805:22:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5140, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "19797:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5142, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19800:4:6", - "memberName": "warp", - "nodeType": "MemberAccess", - "referencedDeclaration": 8938, - "src": "19797:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256) external" - } - }, - "id": 5147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19797:31:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5148, - "nodeType": "ExpressionStatement", - "src": "19797:31:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rewind", - "nameLocation": "19749:6:6", - "parameters": { - "id": 5138, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5137, - "mutability": "mutable", - "name": "time", - "nameLocation": "19764:4:6", - "nodeType": "VariableDeclaration", - "scope": 5150, - "src": "19756:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5136, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19756:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "19755:14:6" - }, - "returnParameters": { - "id": 5139, - "nodeType": "ParameterList", - "parameters": [], - "src": "19787:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5171, - "nodeType": "FunctionDefinition", - "src": "19898:106:6", - "nodes": [], - "body": { - "id": 5170, - "nodeType": "Block", - "src": "19942:62:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5158, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5152, - "src": "19960:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 5161, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 5159, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19965:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 5160, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19970:3:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "19965:8:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - } - ], - "expression": { - "id": 5155, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "19952:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5157, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19955:4:6", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 9008, - "src": "19952:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 5162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19952:22:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5163, - "nodeType": "ExpressionStatement", - "src": "19952:22:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5167, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5152, - "src": "19993:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5164, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "19984:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19987:5:6", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 8979, - "src": "19984:8:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 5168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19984:13:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5169, - "nodeType": "ExpressionStatement", - "src": "19984:13:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "19907:4:6", - "parameters": { - "id": 5153, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5152, - "mutability": "mutable", - "name": "who", - "nameLocation": "19920:3:6", - "nodeType": "VariableDeclaration", - "scope": 5171, - "src": "19912:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5151, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19912:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "19911:13:6" - }, - "returnParameters": { - "id": 5154, - "nodeType": "ParameterList", - "parameters": [], - "src": "19942:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5192, - "nodeType": "FunctionDefinition", - "src": "20010:116:6", - "nodes": [], - "body": { - "id": 5191, - "nodeType": "Block", - "src": "20068:58:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5181, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5173, - "src": "20086:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5182, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5175, - "src": "20091:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5178, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20078:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5180, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20081:4:6", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 9008, - "src": "20078:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 5183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20078:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5184, - "nodeType": "ExpressionStatement", - "src": "20078:18:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5188, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5173, - "src": "20115:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5185, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20106:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5187, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20109:5:6", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 8979, - "src": "20106:8:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 5189, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20106:13:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5190, - "nodeType": "ExpressionStatement", - "src": "20106:13:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "20019:4:6", - "parameters": { - "id": 5176, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5173, - "mutability": "mutable", - "name": "who", - "nameLocation": "20032:3:6", - "nodeType": "VariableDeclaration", - "scope": 5192, - "src": "20024:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5172, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20024:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5175, - "mutability": "mutable", - "name": "give", - "nameLocation": "20045:4:6", - "nodeType": "VariableDeclaration", - "scope": 5192, - "src": "20037:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5174, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20037:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "20023:27:6" - }, - "returnParameters": { - "id": 5177, - "nodeType": "ParameterList", - "parameters": [], - "src": "20068:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5216, - "nodeType": "FunctionDefinition", - "src": "20132:130:6", - "nodes": [], - "body": { - "id": 5215, - "nodeType": "Block", - "src": "20192:70:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5202, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5194, - "src": "20210:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 5205, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 5203, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20215:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 5204, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20220:3:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "20215:8:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - } - ], - "expression": { - "id": 5199, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20202:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5201, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20205:4:6", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 9008, - "src": "20202:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 5206, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20202:22:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5207, - "nodeType": "ExpressionStatement", - "src": "20202:22:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5211, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5194, - "src": "20243:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5212, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5196, - "src": "20248:6:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5208, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20234:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5210, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20237:5:6", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 8991, - "src": "20234:8:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 5213, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20234:21:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5214, - "nodeType": "ExpressionStatement", - "src": "20234:21:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "20141:4:6", - "parameters": { - "id": 5197, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5194, - "mutability": "mutable", - "name": "who", - "nameLocation": "20154:3:6", - "nodeType": "VariableDeclaration", - "scope": 5216, - "src": "20146:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5193, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20146:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5196, - "mutability": "mutable", - "name": "origin", - "nameLocation": "20167:6:6", - "nodeType": "VariableDeclaration", - "scope": 5216, - "src": "20159:14:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5195, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20159:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20145:29:6" - }, - "returnParameters": { - "id": 5198, - "nodeType": "ParameterList", - "parameters": [], - "src": "20192:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5240, - "nodeType": "FunctionDefinition", - "src": "20268:140:6", - "nodes": [], - "body": { - "id": 5239, - "nodeType": "Block", - "src": "20342:66:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5228, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5218, - "src": "20360:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5229, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5222, - "src": "20365:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5225, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20352:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5227, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20355:4:6", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 9008, - "src": "20352:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 5230, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20352:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5231, - "nodeType": "ExpressionStatement", - "src": "20352:18:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5235, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5218, - "src": "20389:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5236, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5220, - "src": "20394:6:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5232, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20380:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5234, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20383:5:6", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 8991, - "src": "20380:8:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 5237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20380:21:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5238, - "nodeType": "ExpressionStatement", - "src": "20380:21:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "20277:4:6", - "parameters": { - "id": 5223, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5218, - "mutability": "mutable", - "name": "who", - "nameLocation": "20290:3:6", - "nodeType": "VariableDeclaration", - "scope": 5240, - "src": "20282:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5217, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20282:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5220, - "mutability": "mutable", - "name": "origin", - "nameLocation": "20303:6:6", - "nodeType": "VariableDeclaration", - "scope": 5240, - "src": "20295:14:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5219, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20295:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5222, - "mutability": "mutable", - "name": "give", - "nameLocation": "20319:4:6", - "nodeType": "VariableDeclaration", - "scope": 5240, - "src": "20311:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5221, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20311:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "20281:43:6" - }, - "returnParameters": { - "id": 5224, - "nodeType": "ParameterList", - "parameters": [], - "src": "20342:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5261, - "nodeType": "FunctionDefinition", - "src": "20479:116:6", - "nodes": [], - "body": { - "id": 5260, - "nodeType": "Block", - "src": "20528:67:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5248, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5242, - "src": "20546:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 5251, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 5249, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20551:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 5250, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20556:3:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "20551:8:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - } - ], - "expression": { - "id": 5245, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20538:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5247, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20541:4:6", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 9008, - "src": "20538:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 5252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20538:22:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5253, - "nodeType": "ExpressionStatement", - "src": "20538:22:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5257, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5242, - "src": "20584:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5254, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20570:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5256, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20573:10:6", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 8984, - "src": "20570:13:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 5258, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20570:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5259, - "nodeType": "ExpressionStatement", - "src": "20570:18:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "20488:9:6", - "parameters": { - "id": 5243, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5242, - "mutability": "mutable", - "name": "who", - "nameLocation": "20506:3:6", - "nodeType": "VariableDeclaration", - "scope": 5261, - "src": "20498:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5241, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20498:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20497:13:6" - }, - "returnParameters": { - "id": 5244, - "nodeType": "ParameterList", - "parameters": [], - "src": "20528:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5282, - "nodeType": "FunctionDefinition", - "src": "20601:126:6", - "nodes": [], - "body": { - "id": 5281, - "nodeType": "Block", - "src": "20664:63:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5271, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5263, - "src": "20682:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5272, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5265, - "src": "20687:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5268, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20674:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20677:4:6", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 9008, - "src": "20674:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 5273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20674:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5274, - "nodeType": "ExpressionStatement", - "src": "20674:18:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5278, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5263, - "src": "20716:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5275, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20702:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5277, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20705:10:6", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 8984, - "src": "20702:13:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 5279, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20702:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5280, - "nodeType": "ExpressionStatement", - "src": "20702:18:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "20610:9:6", - "parameters": { - "id": 5266, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5263, - "mutability": "mutable", - "name": "who", - "nameLocation": "20628:3:6", - "nodeType": "VariableDeclaration", - "scope": 5282, - "src": "20620:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5262, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20620:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5265, - "mutability": "mutable", - "name": "give", - "nameLocation": "20641:4:6", - "nodeType": "VariableDeclaration", - "scope": 5282, - "src": "20633:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5264, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20633:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "20619:27:6" - }, - "returnParameters": { - "id": 5267, - "nodeType": "ParameterList", - "parameters": [], - "src": "20664:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5306, - "nodeType": "FunctionDefinition", - "src": "20846:140:6", - "nodes": [], - "body": { - "id": 5305, - "nodeType": "Block", - "src": "20911:75:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5292, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5284, - "src": "20929:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 5295, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 5293, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20934:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 5294, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20939:3:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "20934:8:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - } - ], - "expression": { - "id": 5289, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20921:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20924:4:6", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 9008, - "src": "20921:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 5296, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20921:22:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5297, - "nodeType": "ExpressionStatement", - "src": "20921:22:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5301, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5284, - "src": "20967:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5302, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5286, - "src": "20972:6:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5298, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20953:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5300, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20956:10:6", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 8998, - "src": "20953:13:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 5303, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20953:26:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5304, - "nodeType": "ExpressionStatement", - "src": "20953:26:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "20855:9:6", - "parameters": { - "id": 5287, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5284, - "mutability": "mutable", - "name": "who", - "nameLocation": "20873:3:6", - "nodeType": "VariableDeclaration", - "scope": 5306, - "src": "20865:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5283, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20865:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5286, - "mutability": "mutable", - "name": "origin", - "nameLocation": "20886:6:6", - "nodeType": "VariableDeclaration", - "scope": 5306, - "src": "20878:14:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5285, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20878:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20864:29:6" - }, - "returnParameters": { - "id": 5288, - "nodeType": "ParameterList", - "parameters": [], - "src": "20911:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5330, - "nodeType": "FunctionDefinition", - "src": "20992:150:6", - "nodes": [], - "body": { - "id": 5329, - "nodeType": "Block", - "src": "21071:71:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5318, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5308, - "src": "21089:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5319, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5312, - "src": "21094:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5315, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "21081:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5317, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21084:4:6", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 9008, - "src": "21081:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 5320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21081:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5321, - "nodeType": "ExpressionStatement", - "src": "21081:18:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5325, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5308, - "src": "21123:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5326, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5310, - "src": "21128:6:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5322, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "21109:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21112:10:6", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 8998, - "src": "21109:13:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 5327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21109:26:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5328, - "nodeType": "ExpressionStatement", - "src": "21109:26:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "21001:9:6", - "parameters": { - "id": 5313, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5308, - "mutability": "mutable", - "name": "who", - "nameLocation": "21019:3:6", - "nodeType": "VariableDeclaration", - "scope": 5330, - "src": "21011:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5307, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21011:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5310, - "mutability": "mutable", - "name": "origin", - "nameLocation": "21032:6:6", - "nodeType": "VariableDeclaration", - "scope": 5330, - "src": "21024:14:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5309, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21024:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5312, - "mutability": "mutable", - "name": "give", - "nameLocation": "21048:4:6", - "nodeType": "VariableDeclaration", - "scope": 5330, - "src": "21040:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5311, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21040:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "21010:43:6" - }, - "returnParameters": { - "id": 5314, - "nodeType": "ParameterList", - "parameters": [], - "src": "21071:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5347, - "nodeType": "FunctionDefinition", - "src": "21148:110:6", - "nodes": [], - "body": { - "id": 5346, - "nodeType": "Block", - "src": "21199:59:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 5335, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "21209:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21212:9:6", - "memberName": "stopPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 9001, - "src": "21209:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", - "typeString": "function () external" - } - }, - "id": 5338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21209:14:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5339, - "nodeType": "ExpressionStatement", - "src": "21209:14:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5343, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5332, - "src": "21247:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5340, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "21233:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5342, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21236:10:6", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 8984, - "src": "21233:13:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 5344, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21233:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5345, - "nodeType": "ExpressionStatement", - "src": "21233:18:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "changePrank", - "nameLocation": "21157:11:6", - "parameters": { - "id": 5333, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5332, - "mutability": "mutable", - "name": "who", - "nameLocation": "21177:3:6", - "nodeType": "VariableDeclaration", - "scope": 5347, - "src": "21169:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5331, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21169:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "21168:13:6" - }, - "returnParameters": { - "id": 5334, - "nodeType": "ParameterList", - "parameters": [], - "src": "21199:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5362, - "nodeType": "FunctionDefinition", - "src": "21349:91:6", - "nodes": [], - "body": { - "id": 5361, - "nodeType": "Block", - "src": "21406:34:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5357, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5349, - "src": "21424:2:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5358, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5351, - "src": "21428:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5354, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "21416:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5356, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21419:4:6", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 9008, - "src": "21416:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 5359, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21416:17:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5360, - "nodeType": "ExpressionStatement", - "src": "21416:17:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "21358:4:6", - "parameters": { - "id": 5352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5349, - "mutability": "mutable", - "name": "to", - "nameLocation": "21371:2:6", - "nodeType": "VariableDeclaration", - "scope": 5362, - "src": "21363:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5348, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21363:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5351, - "mutability": "mutable", - "name": "give", - "nameLocation": "21383:4:6", - "nodeType": "VariableDeclaration", - "scope": 5362, - "src": "21375:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5350, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21375:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "21362:26:6" - }, - "returnParameters": { - "id": 5353, - "nodeType": "ParameterList", - "parameters": [], - "src": "21406:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5379, - "nodeType": "FunctionDefinition", - "src": "21564:117:6", - "nodes": [], - "body": { - "id": 5378, - "nodeType": "Block", - "src": "21636:45:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5372, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5364, - "src": "21651:5:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5373, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5366, - "src": "21658:2:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5374, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5368, - "src": "21662:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "66616c7365", - "id": 5375, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21668:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 5371, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 5362, - 5379, - 5482 - ], - "referencedDeclaration": 5482, - "src": "21646:4:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bool_$returns$__$", - "typeString": "function (address,address,uint256,bool)" - } - }, - "id": 5376, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21646:28:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5377, - "nodeType": "ExpressionStatement", - "src": "21646:28:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "21573:4:6", - "parameters": { - "id": 5369, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5364, - "mutability": "mutable", - "name": "token", - "nameLocation": "21586:5:6", - "nodeType": "VariableDeclaration", - "scope": 5379, - "src": "21578:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5363, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21578:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5366, - "mutability": "mutable", - "name": "to", - "nameLocation": "21601:2:6", - "nodeType": "VariableDeclaration", - "scope": 5379, - "src": "21593:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5365, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21593:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5368, - "mutability": "mutable", - "name": "give", - "nameLocation": "21613:4:6", - "nodeType": "VariableDeclaration", - "scope": 5379, - "src": "21605:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5367, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21605:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "21577:41:6" - }, - "returnParameters": { - "id": 5370, - "nodeType": "ParameterList", - "parameters": [], - "src": "21636:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5482, - "nodeType": "FunctionDefinition", - "src": "21687:825:6", - "nodes": [], - "body": { - "id": 5481, - "nodeType": "Block", - "src": "21772:740:6", - "nodes": [], - "statements": [ - { - "assignments": [ - null, - 5391 - ], - "declarations": [ - null, - { - "constant": false, - "id": 5391, - "mutability": "mutable", - "name": "balData", - "nameLocation": "21829:7:6", - "nodeType": "VariableDeclaration", - "scope": 5481, - "src": "21816:20:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5390, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "21816:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5400, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30783730613038323331", - "id": 5396, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21874:10:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_1889567281_by_1", - "typeString": "int_const 1889567281" - }, - "value": "0x70a08231" - }, - { - "id": 5397, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5383, - "src": "21886:2:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1889567281_by_1", - "typeString": "int_const 1889567281" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5394, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21851:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5395, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21855:18:6", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "21851:22:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 5398, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21851:38:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 5392, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5381, - "src": "21840:5:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21846:4:6", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "21840:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) payable returns (bool,bytes memory)" - } - }, - "id": 5399, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21840:50:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "21813:77:6" - }, - { - "assignments": [ - 5402 - ], - "declarations": [ - { - "constant": false, - "id": 5402, - "mutability": "mutable", - "name": "prevBal", - "nameLocation": "21908:7:6", - "nodeType": "VariableDeclaration", - "scope": 5481, - "src": "21900:15:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5401, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21900:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5410, - "initialValue": { - "arguments": [ - { - "id": 5405, - "name": "balData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5391, - "src": "21929:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 5407, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "21939:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5406, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21939:7:6", - "typeDescriptions": {} - } - } - ], - "id": 5408, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "21938:9:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - ], - "expression": { - "id": 5403, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21918:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5404, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21922:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "21918:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21918:30:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "21900:48:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5423, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5385, - "src": "22051:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "arguments": [ - { - "id": 5420, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5383, - "src": "22033:2:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "arguments": [ - { - "hexValue": "30783730613038323331", - "id": 5417, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22012:10:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_1889567281_by_1", - "typeString": "int_const 1889567281" - }, - "value": "0x70a08231" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1889567281_by_1", - "typeString": "int_const 1889567281" - } - ], - "expression": { - "arguments": [ - { - "id": 5414, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5381, - "src": "22001:5:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5411, - "name": "stdstore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5103, - "src": "21985:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage", - "typeString": "struct StdStorage storage ref" - } - }, - "id": 5413, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21994:6:6", - "memberName": "target", - "nodeType": "MemberAccess", - "referencedDeclaration": 7343, - "src": "21985:15:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 5415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21985:22:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5416, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22008:3:6", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 7361, - "src": "21985:26:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" - } - }, - "id": 5418, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21985:38:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5419, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22024:8:6", - "memberName": "with_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 7397, - "src": "21985:47:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 5421, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21985:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5422, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22037:13:6", - "memberName": "checked_write", - "nodeType": "MemberAccess", - "referencedDeclaration": 7491, - "src": "21985:65:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256)" - } - }, - "id": 5424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21985:71:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5425, - "nodeType": "ExpressionStatement", - "src": "21985:71:6" - }, - { - "condition": { - "id": 5426, - "name": "adjust", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5387, - "src": "22102:6:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5480, - "nodeType": "IfStatement", - "src": "22098:408:6", - "trueBody": { - "id": 5479, - "nodeType": "Block", - "src": "22110:396:6", - "statements": [ - { - "assignments": [ - null, - 5428 - ], - "declarations": [ - null, - { - "constant": false, - "id": 5428, - "mutability": "mutable", - "name": "totSupData", - "nameLocation": "22140:10:6", - "nodeType": "VariableDeclaration", - "scope": 5479, - "src": "22127:23:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5427, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "22127:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5436, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30783138313630646464", - "id": 5433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22188:10:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_404098525_by_1", - "typeString": "int_const 404098525" - }, - "value": "0x18160ddd" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_404098525_by_1", - "typeString": "int_const 404098525" - } - ], - "expression": { - "id": 5431, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22165:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5432, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22169:18:6", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "22165:22:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 5434, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22165:34:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 5429, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5381, - "src": "22154:5:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22160:4:6", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "22154:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) payable returns (bool,bytes memory)" - } - }, - "id": 5435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22154:46:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22124:76:6" - }, - { - "assignments": [ - 5438 - ], - "declarations": [ - { - "constant": false, - "id": 5438, - "mutability": "mutable", - "name": "totSup", - "nameLocation": "22222:6:6", - "nodeType": "VariableDeclaration", - "scope": 5479, - "src": "22214:14:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5437, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22214:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5446, - "initialValue": { - "arguments": [ - { - "id": 5441, - "name": "totSupData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5428, - "src": "22242:10:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 5443, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "22255:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5442, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22255:7:6", - "typeDescriptions": {} - } - } - ], - "id": 5444, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "22254:9:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - ], - "expression": { - "id": 5439, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22231:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5440, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22235:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "22231:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22231:33:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22214:50:6" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5447, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5385, - "src": "22282:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 5448, - "name": "prevBal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5402, - "src": "22289:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "22282:14:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 5465, - "nodeType": "Block", - "src": "22363:59:6", - "statements": [ - { - "expression": { - "id": 5463, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5458, - "name": "totSup", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5438, - "src": "22381:6:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5459, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5385, - "src": "22392:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 5460, - "name": "prevBal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5402, - "src": "22399:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "22392:14:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5462, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "22391:16:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "22381:26:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5464, - "nodeType": "ExpressionStatement", - "src": "22381:26:6" - } - ] - }, - "id": 5466, - "nodeType": "IfStatement", - "src": "22278:144:6", - "trueBody": { - "id": 5457, - "nodeType": "Block", - "src": "22298:59:6", - "statements": [ - { - "expression": { - "id": 5455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5450, - "name": "totSup", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5438, - "src": "22316:6:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5451, - "name": "prevBal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5402, - "src": "22327:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 5452, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5385, - "src": "22337:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "22327:14:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5454, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "22326:16:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "22316:26:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5456, - "nodeType": "ExpressionStatement", - "src": "22316:26:6" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 5476, - "name": "totSup", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5438, - "src": "22488:6:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "arguments": [ - { - "hexValue": "30783138313630646464", - "id": 5473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22462:10:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_404098525_by_1", - "typeString": "int_const 404098525" - }, - "value": "0x18160ddd" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_404098525_by_1", - "typeString": "int_const 404098525" - } - ], - "expression": { - "arguments": [ - { - "id": 5470, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5381, - "src": "22451:5:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5467, - "name": "stdstore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5103, - "src": "22435:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage", - "typeString": "struct StdStorage storage ref" - } - }, - "id": 5469, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22444:6:6", - "memberName": "target", - "nodeType": "MemberAccess", - "referencedDeclaration": 7343, - "src": "22435:15:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 5471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22435:22:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5472, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22458:3:6", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 7361, - "src": "22435:26:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" - } - }, - "id": 5474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22435:38:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5475, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22474:13:6", - "memberName": "checked_write", - "nodeType": "MemberAccess", - "referencedDeclaration": 7491, - "src": "22435:52:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256)" - } - }, - "id": 5477, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22435:60:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5478, - "nodeType": "ExpressionStatement", - "src": "22435:60:6" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "21696:4:6", - "parameters": { - "id": 5388, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5381, - "mutability": "mutable", - "name": "token", - "nameLocation": "21709:5:6", - "nodeType": "VariableDeclaration", - "scope": 5482, - "src": "21701:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5380, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21701:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5383, - "mutability": "mutable", - "name": "to", - "nameLocation": "21724:2:6", - "nodeType": "VariableDeclaration", - "scope": 5482, - "src": "21716:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5382, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21716:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5385, - "mutability": "mutable", - "name": "give", - "nameLocation": "21736:4:6", - "nodeType": "VariableDeclaration", - "scope": 5482, - "src": "21728:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5384, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21728:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5387, - "mutability": "mutable", - "name": "adjust", - "nameLocation": "21747:6:6", - "nodeType": "VariableDeclaration", - "scope": 5482, - "src": "21742:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5386, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21742:4:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "21700:54:6" - }, - "returnParameters": { - "id": 5389, - "nodeType": "ParameterList", - "parameters": [], - "src": "21772:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 5095, - "name": "StdCheatsSafe", - "nameLocations": [ - "19389:13:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5094, - "src": "19389:13:6" - }, - "id": 5096, - "nodeType": "InheritanceSpecifier", - "src": "19389:13:6" - } - ], - "canonicalName": "StdCheats", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 5483, - 5094 - ], - "name": "StdCheats", - "nameLocation": "19376:9:6", - "scope": 5484, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 6 -} \ No newline at end of file diff --git a/out/StdCheats.sol/StdCheatsSafe.json b/out/StdCheats.sol/StdCheatsSafe.json deleted file mode 100644 index c7016a7..0000000 --- a/out/StdCheats.sol/StdCheatsSafe.json +++ /dev/null @@ -1,28049 +0,0 @@ -{ - "abi": [], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"CONSTRUCTOR\":{\"details\":\"To hide constructor warnings across solc versions due to different constructor visibility requirements and syntaxes, we put the constructor in a private method and assign an unused return value to a variable. This forces the method to run during construction, but without declaring an explicit constructor.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/StdCheats.sol\":\"StdCheatsSafe\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"lib/forge-std/src/StdCheats.sol\":{\"keccak256\":\"0xf0c5c17c4cdfd0de659cf5e58e0e1611b6ee53900d3ab8b07b871d71d0b37bc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://21ffda3891e7480d5fdbf7f5e9d539f0ed76204bca69738f8ee006395ef1e23e\",\"dweb:/ipfs/Qmbhbn8zVXrCyvhvoQ5AUSj3usVGqMbMSEHYkNPdbQKBxt\"]},\"lib/forge-std/src/StdStorage.sol\":{\"keccak256\":\"0xb0da85ce6999940eba6190a26c15b9bc7aede57123891287e1b30f80333a9cf5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d287fd41de40ef992588f7a9531e66d1e9f8e4f3f194b9e721ac576d4613964a\",\"dweb:/ipfs/QmbFYYjoc8WGLKVfDe4rscYPwdGq48incbwRQNoLtcMMjn\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69\",\"dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/StdCheats.sol": "StdCheatsSafe" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "lib/forge-std/src/StdCheats.sol": { - "keccak256": "0xf0c5c17c4cdfd0de659cf5e58e0e1611b6ee53900d3ab8b07b871d71d0b37bc6", - "urls": [ - "bzz-raw://21ffda3891e7480d5fdbf7f5e9d539f0ed76204bca69738f8ee006395ef1e23e", - "dweb:/ipfs/Qmbhbn8zVXrCyvhvoQ5AUSj3usVGqMbMSEHYkNPdbQKBxt" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdStorage.sol": { - "keccak256": "0xb0da85ce6999940eba6190a26c15b9bc7aede57123891287e1b30f80333a9cf5", - "urls": [ - "bzz-raw://d287fd41de40ef992588f7a9531e66d1e9f8e4f3f194b9e721ac576d4613964a", - "dweb:/ipfs/QmbFYYjoc8WGLKVfDe4rscYPwdGq48incbwRQNoLtcMMjn" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7", - "urls": [ - "bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69", - "dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/StdCheats.sol", - "id": 5484, - "exportedSymbols": { - "StdCheats": [ - 5483 - ], - "StdCheatsSafe": [ - 5094 - ], - "StdStorage": [ - 6388 - ], - "Vm": [ - 9256 - ], - "VmSafe": [ - 8931 - ], - "stdStorage": [ - 7822 - ], - "stdStorageSafe": [ - 7281 - ] - }, - "nodeType": "SourceUnit", - "src": "32:22483:6", - "nodes": [ - { - "id": 3372, - "nodeType": "PragmaDirective", - "src": "32:31:6", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.6", - ".2", - "<", - "0.9", - ".0" - ] - }, - { - "id": 3373, - "nodeType": "PragmaDirective", - "src": "65:33:6", - "nodes": [], - "literals": [ - "experimental", - "ABIEncoderV2" - ] - }, - { - "id": 3374, - "nodeType": "ImportDirective", - "src": "100:26:6", - "nodes": [], - "absolutePath": "lib/forge-std/src/StdStorage.sol", - "file": "./StdStorage.sol", - "nameLocation": "-1:-1:-1", - "scope": 5484, - "sourceUnit": 7823, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 3375, - "nodeType": "ImportDirective", - "src": "127:18:6", - "nodes": [], - "absolutePath": "lib/forge-std/src/Vm.sol", - "file": "./Vm.sol", - "nameLocation": "-1:-1:-1", - "scope": 5484, - "sourceUnit": 9257, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 5094, - "nodeType": "ContractDefinition", - "src": "147:19161:6", - "nodes": [ - { - "id": 3392, - "nodeType": "VariableDeclaration", - "src": "185:92:6", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "vm", - "nameLocation": "209:2:6", - "scope": 5094, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - }, - "typeName": { - "id": 3377, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3376, - "name": "VmSafe", - "nameLocations": [ - "185:6:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 8931, - "src": "185:6:6" - }, - "referencedDeclaration": 8931, - "src": "185:6:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6865766d20636865617420636f6465", - "id": 3386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "255:17:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - }, - "value": "hevm cheat code" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - } - ], - "id": 3385, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "245:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3387, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "245:28:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 3384, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "237:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3383, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "237:7:6", - "typeDescriptions": {} - } - }, - "id": 3388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "237:37:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3382, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "229:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 3381, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "229:7:6", - "typeDescriptions": {} - } - }, - "id": 3389, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "229:46:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 3380, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "221:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3379, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "221:7:6", - "typeDescriptions": {} - } - }, - "id": 3390, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "221:55:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 3378, - "name": "VmSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8931, - "src": "214:6:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_VmSafe_$8931_$", - "typeString": "type(contract VmSafe)" - } - }, - "id": 3391, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "214:63:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "visibility": "private" - }, - { - "id": 3397, - "nodeType": "VariableDeclaration", - "src": "620:44:6", - "nodes": [], - "constant": false, - "documentation": { - "id": 3393, - "nodeType": "StructuredDocumentation", - "src": "284:331:6", - "text": "@dev To hide constructor warnings across solc versions due to different constructor visibility requirements and\n syntaxes, we put the constructor in a private method and assign an unused return value to a variable. This\n forces the method to run during construction, but without declaring an explicit constructor." - }, - "mutability": "mutable", - "name": "CONSTRUCTOR", - "nameLocation": "636:11:6", - "scope": 5094, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3394, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "620:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3395, - "name": "_constructor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3902, - "src": "650:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$_t_uint256_$", - "typeString": "function () returns (uint256)" - } - }, - "id": 3396, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "650:14:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "private" - }, - { - "id": 3404, - "nodeType": "StructDefinition", - "src": "671:567:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.Chain", - "members": [ - { - "constant": false, - "id": 3399, - "mutability": "mutable", - "name": "name", - "nameLocation": "800:4:6", - "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "793:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3398, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "793:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3401, - "mutability": "mutable", - "name": "chainId", - "nameLocation": "855:7:6", - "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "847:15:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3400, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "847:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3403, - "mutability": "mutable", - "name": "rpcUrl", - "nameLocation": "1225:6:6", - "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "1218:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3402, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1218:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "Chain", - "nameLocation": "678:5:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3409, - "nodeType": "VariableDeclaration", - "src": "1336:43:6", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "stdChains", - "nameLocation": "1370:9:6", - "scope": 5094, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string => struct StdCheatsSafe.Chain)" - }, - "typeName": { - "id": 3408, - "keyType": { - "id": 3405, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1344:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "nodeType": "Mapping", - "src": "1336:24:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string => struct StdCheatsSafe.Chain)" - }, - "valueType": { - "id": 3407, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3406, - "name": "Chain", - "nameLocations": [ - "1354:5:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3404, - "src": "1354:5:6" - }, - "referencedDeclaration": 3404, - "src": "1354:5:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage_ptr", - "typeString": "struct StdCheatsSafe.Chain" - } - } - }, - "visibility": "internal" - }, - { - "id": 3426, - "nodeType": "StructDefinition", - "src": "1624:325:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.RawTx1559", - "members": [ - { - "constant": false, - "id": 3412, - "mutability": "mutable", - "name": "arguments", - "nameLocation": "1660:9:6", - "nodeType": "VariableDeclaration", - "scope": 3426, - "src": "1651:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 3410, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1651:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 3411, - "nodeType": "ArrayTypeName", - "src": "1651:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3414, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "1687:15:6", - "nodeType": "VariableDeclaration", - "scope": 3426, - "src": "1679:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3413, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1679:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3416, - "mutability": "mutable", - "name": "contractName", - "nameLocation": "1719:12:6", - "nodeType": "VariableDeclaration", - "scope": 3426, - "src": "1712:19:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3415, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1712:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3418, - "mutability": "mutable", - "name": "functionSig", - "nameLocation": "1786:11:6", - "nodeType": "VariableDeclaration", - "scope": 3426, - "src": "1779:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3417, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1779:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3420, - "mutability": "mutable", - "name": "hash", - "nameLocation": "1815:4:6", - "nodeType": "VariableDeclaration", - "scope": 3426, - "src": "1807:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3419, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1807:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3423, - "mutability": "mutable", - "name": "txDetail", - "nameLocation": "1877:8:6", - "nodeType": "VariableDeclaration", - "scope": 3426, - "src": "1861:24:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail" - }, - "typeName": { - "id": 3422, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3421, - "name": "RawTx1559Detail", - "nameLocations": [ - "1861:15:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3445, - "src": "1861:15:6" - }, - "referencedDeclaration": 3445, - "src": "1861:15:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3425, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "1936:6:6", - "nodeType": "VariableDeclaration", - "scope": 3426, - "src": "1929:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3424, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1929:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "RawTx1559", - "nameLocation": "1631:9:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3445, - "nodeType": "StructDefinition", - "src": "1955:208:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.RawTx1559Detail", - "members": [ - { - "constant": false, - "id": 3430, - "mutability": "mutable", - "name": "accessList", - "nameLocation": "2001:10:6", - "nodeType": "VariableDeclaration", - "scope": 3445, - "src": "1988:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.AccessList[]" - }, - "typeName": { - "baseType": { - "id": 3428, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3427, - "name": "AccessList", - "nameLocations": [ - "1988:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3537, - "src": "1988:10:6" - }, - "referencedDeclaration": 3537, - "src": "1988:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AccessList_$3537_storage_ptr", - "typeString": "struct StdCheatsSafe.AccessList" - } - }, - "id": 3429, - "nodeType": "ArrayTypeName", - "src": "1988:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.AccessList[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3432, - "mutability": "mutable", - "name": "data", - "nameLocation": "2027:4:6", - "nodeType": "VariableDeclaration", - "scope": 3445, - "src": "2021:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3431, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2021:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3434, - "mutability": "mutable", - "name": "from", - "nameLocation": "2049:4:6", - "nodeType": "VariableDeclaration", - "scope": 3445, - "src": "2041:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3433, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2041:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3436, - "mutability": "mutable", - "name": "gas", - "nameLocation": "2069:3:6", - "nodeType": "VariableDeclaration", - "scope": 3445, - "src": "2063:9:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3435, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2063:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3438, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "2088:5:6", - "nodeType": "VariableDeclaration", - "scope": 3445, - "src": "2082:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3437, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2082:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3440, - "mutability": "mutable", - "name": "to", - "nameLocation": "2111:2:6", - "nodeType": "VariableDeclaration", - "scope": 3445, - "src": "2103:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3439, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2103:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3442, - "mutability": "mutable", - "name": "txType", - "nameLocation": "2129:6:6", - "nodeType": "VariableDeclaration", - "scope": 3445, - "src": "2123:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3441, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2123:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3444, - "mutability": "mutable", - "name": "value", - "nameLocation": "2151:5:6", - "nodeType": "VariableDeclaration", - "scope": 3445, - "src": "2145:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3443, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2145:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "RawTx1559Detail", - "nameLocation": "1962:15:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3462, - "nodeType": "StructDefinition", - "src": "2169:215:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.Tx1559", - "members": [ - { - "constant": false, - "id": 3448, - "mutability": "mutable", - "name": "arguments", - "nameLocation": "2202:9:6", - "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "2193:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 3446, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2193:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 3447, - "nodeType": "ArrayTypeName", - "src": "2193:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3450, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "2229:15:6", - "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "2221:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3449, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2221:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3452, - "mutability": "mutable", - "name": "contractName", - "nameLocation": "2261:12:6", - "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "2254:19:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3451, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2254:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3454, - "mutability": "mutable", - "name": "functionSig", - "nameLocation": "2290:11:6", - "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "2283:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3453, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2283:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3456, - "mutability": "mutable", - "name": "hash", - "nameLocation": "2319:4:6", - "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "2311:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3455, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2311:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3459, - "mutability": "mutable", - "name": "txDetail", - "nameLocation": "2346:8:6", - "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "2333:21:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail" - }, - "typeName": { - "id": 3458, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3457, - "name": "Tx1559Detail", - "nameLocations": [ - "2333:12:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3481, - "src": "2333:12:6" - }, - "referencedDeclaration": 3481, - "src": "2333:12:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3461, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "2371:6:6", - "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "2364:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3460, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2364:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "Tx1559", - "nameLocation": "2176:6:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3481, - "nodeType": "StructDefinition", - "src": "2390:213:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.Tx1559Detail", - "members": [ - { - "constant": false, - "id": 3466, - "mutability": "mutable", - "name": "accessList", - "nameLocation": "2433:10:6", - "nodeType": "VariableDeclaration", - "scope": 3481, - "src": "2420:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.AccessList[]" - }, - "typeName": { - "baseType": { - "id": 3464, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3463, - "name": "AccessList", - "nameLocations": [ - "2420:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3537, - "src": "2420:10:6" - }, - "referencedDeclaration": 3537, - "src": "2420:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AccessList_$3537_storage_ptr", - "typeString": "struct StdCheatsSafe.AccessList" - } - }, - "id": 3465, - "nodeType": "ArrayTypeName", - "src": "2420:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.AccessList[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3468, - "mutability": "mutable", - "name": "data", - "nameLocation": "2459:4:6", - "nodeType": "VariableDeclaration", - "scope": 3481, - "src": "2453:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3467, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2453:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3470, - "mutability": "mutable", - "name": "from", - "nameLocation": "2481:4:6", - "nodeType": "VariableDeclaration", - "scope": 3481, - "src": "2473:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3469, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2473:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3472, - "mutability": "mutable", - "name": "gas", - "nameLocation": "2503:3:6", - "nodeType": "VariableDeclaration", - "scope": 3481, - "src": "2495:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3471, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2495:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3474, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "2524:5:6", - "nodeType": "VariableDeclaration", - "scope": 3481, - "src": "2516:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3473, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2516:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3476, - "mutability": "mutable", - "name": "to", - "nameLocation": "2547:2:6", - "nodeType": "VariableDeclaration", - "scope": 3481, - "src": "2539:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3475, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2539:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3478, - "mutability": "mutable", - "name": "txType", - "nameLocation": "2567:6:6", - "nodeType": "VariableDeclaration", - "scope": 3481, - "src": "2559:14:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3477, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2559:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3480, - "mutability": "mutable", - "name": "value", - "nameLocation": "2591:5:6", - "nodeType": "VariableDeclaration", - "scope": 3481, - "src": "2583:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3479, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2583:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "Tx1559Detail", - "nameLocation": "2397:12:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3498, - "nodeType": "StructDefinition", - "src": "2854:221:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.TxLegacy", - "members": [ - { - "constant": false, - "id": 3484, - "mutability": "mutable", - "name": "arguments", - "nameLocation": "2889:9:6", - "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "2880:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 3482, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2880:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 3483, - "nodeType": "ArrayTypeName", - "src": "2880:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3486, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "2916:15:6", - "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "2908:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3485, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2908:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3488, - "mutability": "mutable", - "name": "contractName", - "nameLocation": "2948:12:6", - "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "2941:19:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3487, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2941:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3490, - "mutability": "mutable", - "name": "functionSig", - "nameLocation": "2977:11:6", - "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "2970:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3489, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2970:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3492, - "mutability": "mutable", - "name": "hash", - "nameLocation": "3005:4:6", - "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "2998:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3491, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2998:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3494, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "3026:6:6", - "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "3019:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3493, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3019:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3497, - "mutability": "mutable", - "name": "transaction", - "nameLocation": "3057:11:6", - "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "3042:26:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxDetailLegacy_$3531_storage_ptr", - "typeString": "struct StdCheatsSafe.TxDetailLegacy" - }, - "typeName": { - "id": 3496, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3495, - "name": "TxDetailLegacy", - "nameLocations": [ - "3042:14:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3531, - "src": "3042:14:6" - }, - "referencedDeclaration": 3531, - "src": "3042:14:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxDetailLegacy_$3531_storage_ptr", - "typeString": "struct StdCheatsSafe.TxDetailLegacy" - } - }, - "visibility": "internal" - } - ], - "name": "TxLegacy", - "nameLocation": "2861:8:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3531, - "nodeType": "StructDefinition", - "src": "3081:366:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.TxDetailLegacy", - "members": [ - { - "constant": false, - "id": 3502, - "mutability": "mutable", - "name": "accessList", - "nameLocation": "3126:10:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3113:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.AccessList[]" - }, - "typeName": { - "baseType": { - "id": 3500, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3499, - "name": "AccessList", - "nameLocations": [ - "3113:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3537, - "src": "3113:10:6" - }, - "referencedDeclaration": 3537, - "src": "3113:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AccessList_$3537_storage_ptr", - "typeString": "struct StdCheatsSafe.AccessList" - } - }, - "id": 3501, - "nodeType": "ArrayTypeName", - "src": "3113:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.AccessList[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3504, - "mutability": "mutable", - "name": "chainId", - "nameLocation": "3154:7:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3146:15:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3503, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3146:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3506, - "mutability": "mutable", - "name": "data", - "nameLocation": "3177:4:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3171:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3505, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3171:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3508, - "mutability": "mutable", - "name": "from", - "nameLocation": "3199:4:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3191:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3507, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3191:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3510, - "mutability": "mutable", - "name": "gas", - "nameLocation": "3221:3:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3213:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3509, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3213:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3512, - "mutability": "mutable", - "name": "gasPrice", - "nameLocation": "3242:8:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3234:16:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3511, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3234:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3514, - "mutability": "mutable", - "name": "hash", - "nameLocation": "3268:4:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3260:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3513, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3260:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3516, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "3290:5:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3282:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3515, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3282:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3518, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "3312:6:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3305:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "typeName": { - "id": 3517, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "3305:6:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3520, - "mutability": "mutable", - "name": "r", - "nameLocation": "3336:1:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3328:9:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3519, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3328:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3522, - "mutability": "mutable", - "name": "s", - "nameLocation": "3355:1:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3347:9:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3521, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3347:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3524, - "mutability": "mutable", - "name": "txType", - "nameLocation": "3374:6:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3366:14:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3523, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3366:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3526, - "mutability": "mutable", - "name": "to", - "nameLocation": "3398:2:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3390:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3525, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3390:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3528, - "mutability": "mutable", - "name": "v", - "nameLocation": "3416:1:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3410:7:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 3527, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "3410:5:6", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3530, - "mutability": "mutable", - "name": "value", - "nameLocation": "3435:5:6", - "nodeType": "VariableDeclaration", - "scope": 3531, - "src": "3427:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3529, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3427:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "TxDetailLegacy", - "nameLocation": "3088:14:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3537, - "nodeType": "StructDefinition", - "src": "3453:87:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.AccessList", - "members": [ - { - "constant": false, - "id": 3533, - "mutability": "mutable", - "name": "accessAddress", - "nameLocation": "3489:13:6", - "nodeType": "VariableDeclaration", - "scope": 3537, - "src": "3481:21:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3532, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3481:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3536, - "mutability": "mutable", - "name": "storageKeys", - "nameLocation": "3522:11:6", - "nodeType": "VariableDeclaration", - "scope": 3537, - "src": "3512:21:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 3534, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3512:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 3535, - "nodeType": "ArrayTypeName", - "src": "3512:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "name": "AccessList", - "nameLocation": "3460:10:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3566, - "nodeType": "StructDefinition", - "src": "3756:385:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.RawReceipt", - "members": [ - { - "constant": false, - "id": 3539, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "3792:9:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "3784:17:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3538, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3784:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3541, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "3817:11:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "3811:17:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3540, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3811:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3543, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "3846:15:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "3838:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3542, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3838:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3545, - "mutability": "mutable", - "name": "cumulativeGasUsed", - "nameLocation": "3877:17:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "3871:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3544, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3871:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3547, - "mutability": "mutable", - "name": "effectiveGasPrice", - "nameLocation": "3910:17:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "3904:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3546, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3904:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3549, - "mutability": "mutable", - "name": "from", - "nameLocation": "3945:4:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "3937:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3548, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3937:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3551, - "mutability": "mutable", - "name": "gasUsed", - "nameLocation": "3965:7:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "3959:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3550, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3959:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3555, - "mutability": "mutable", - "name": "logs", - "nameLocation": "3998:4:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "3982:20:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 3553, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3552, - "name": "RawReceiptLog", - "nameLocations": [ - "3982:13:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3663, - "src": "3982:13:6" - }, - "referencedDeclaration": 3663, - "src": "3982:13:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog" - } - }, - "id": 3554, - "nodeType": "ArrayTypeName", - "src": "3982:15:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3557, - "mutability": "mutable", - "name": "logsBloom", - "nameLocation": "4018:9:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "4012:15:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3556, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4012:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3559, - "mutability": "mutable", - "name": "status", - "nameLocation": "4043:6:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "4037:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3558, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4037:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3561, - "mutability": "mutable", - "name": "to", - "nameLocation": "4067:2:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "4059:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3560, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4059:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3563, - "mutability": "mutable", - "name": "transactionHash", - "nameLocation": "4087:15:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "4079:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3562, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4079:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3565, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "4118:16:6", - "nodeType": "VariableDeclaration", - "scope": 3566, - "src": "4112:22:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3564, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4112:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "RawReceipt", - "nameLocation": "3763:10:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3595, - "nodeType": "StructDefinition", - "src": "4147:391:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.Receipt", - "members": [ - { - "constant": false, - "id": 3568, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "4180:9:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4172:17:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3567, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4172:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3570, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "4207:11:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4199:19:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3569, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4199:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3572, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "4236:15:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4228:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3571, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4228:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3574, - "mutability": "mutable", - "name": "cumulativeGasUsed", - "nameLocation": "4269:17:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4261:25:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3573, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4261:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3576, - "mutability": "mutable", - "name": "effectiveGasPrice", - "nameLocation": "4304:17:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4296:25:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3575, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4296:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3578, - "mutability": "mutable", - "name": "from", - "nameLocation": "4339:4:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4331:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3577, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4331:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3580, - "mutability": "mutable", - "name": "gasUsed", - "nameLocation": "4361:7:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4353:15:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3579, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4353:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3584, - "mutability": "mutable", - "name": "logs", - "nameLocation": "4391:4:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4378:17:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 3582, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3581, - "name": "ReceiptLog", - "nameLocations": [ - "4378:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3683, - "src": "4378:10:6" - }, - "referencedDeclaration": 3683, - "src": "4378:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_storage_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog" - } - }, - "id": 3583, - "nodeType": "ArrayTypeName", - "src": "4378:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3586, - "mutability": "mutable", - "name": "logsBloom", - "nameLocation": "4411:9:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4405:15:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3585, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4405:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3588, - "mutability": "mutable", - "name": "status", - "nameLocation": "4438:6:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4430:14:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3587, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4430:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3590, - "mutability": "mutable", - "name": "to", - "nameLocation": "4462:2:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4454:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3589, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4454:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3592, - "mutability": "mutable", - "name": "transactionHash", - "nameLocation": "4482:15:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4474:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3591, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4474:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3594, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "4515:16:6", - "nodeType": "VariableDeclaration", - "scope": 3595, - "src": "4507:24:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3593, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4507:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "Receipt", - "nameLocation": "4154:7:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3618, - "nodeType": "StructDefinition", - "src": "4661:227:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.EIP1559ScriptArtifact", - "members": [ - { - "constant": false, - "id": 3598, - "mutability": "mutable", - "name": "libraries", - "nameLocation": "4709:9:6", - "nodeType": "VariableDeclaration", - "scope": 3618, - "src": "4700:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 3596, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4700:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 3597, - "nodeType": "ArrayTypeName", - "src": "4700:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3600, - "mutability": "mutable", - "name": "path", - "nameLocation": "4735:4:6", - "nodeType": "VariableDeclaration", - "scope": 3618, - "src": "4728:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3599, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4728:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3603, - "mutability": "mutable", - "name": "pending", - "nameLocation": "4758:7:6", - "nodeType": "VariableDeclaration", - "scope": 3618, - "src": "4749:16:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 3601, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4749:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 3602, - "nodeType": "ArrayTypeName", - "src": "4749:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3607, - "mutability": "mutable", - "name": "receipts", - "nameLocation": "4785:8:6", - "nodeType": "VariableDeclaration", - "scope": 3618, - "src": "4775:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 3605, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3604, - "name": "Receipt", - "nameLocations": [ - "4775:7:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3595, - "src": "4775:7:6" - }, - "referencedDeclaration": 3595, - "src": "4775:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - } - }, - "id": 3606, - "nodeType": "ArrayTypeName", - "src": "4775:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3609, - "mutability": "mutable", - "name": "timestamp", - "nameLocation": "4811:9:6", - "nodeType": "VariableDeclaration", - "scope": 3618, - "src": "4803:17:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3608, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4803:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3613, - "mutability": "mutable", - "name": "transactions", - "nameLocation": "4839:12:6", - "nodeType": "VariableDeclaration", - "scope": 3618, - "src": "4830:21:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 3611, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3610, - "name": "Tx1559", - "nameLocations": [ - "4830:6:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3462, - "src": "4830:6:6" - }, - "referencedDeclaration": 3462, - "src": "4830:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - } - }, - "id": 3612, - "nodeType": "ArrayTypeName", - "src": "4830:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3617, - "mutability": "mutable", - "name": "txReturns", - "nameLocation": "4872:9:6", - "nodeType": "VariableDeclaration", - "scope": 3618, - "src": "4861:20:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.TxReturn[]" - }, - "typeName": { - "baseType": { - "id": 3615, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3614, - "name": "TxReturn", - "nameLocations": [ - "4861:8:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3688, - "src": "4861:8:6" - }, - "referencedDeclaration": 3688, - "src": "4861:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxReturn_$3688_storage_ptr", - "typeString": "struct StdCheatsSafe.TxReturn" - } - }, - "id": 3616, - "nodeType": "ArrayTypeName", - "src": "4861:10:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.TxReturn[]" - } - }, - "visibility": "internal" - } - ], - "name": "EIP1559ScriptArtifact", - "nameLocation": "4668:21:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3641, - "nodeType": "StructDefinition", - "src": "4894:236:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.RawEIP1559ScriptArtifact", - "members": [ - { - "constant": false, - "id": 3621, - "mutability": "mutable", - "name": "libraries", - "nameLocation": "4945:9:6", - "nodeType": "VariableDeclaration", - "scope": 3641, - "src": "4936:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 3619, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4936:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 3620, - "nodeType": "ArrayTypeName", - "src": "4936:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3623, - "mutability": "mutable", - "name": "path", - "nameLocation": "4971:4:6", - "nodeType": "VariableDeclaration", - "scope": 3641, - "src": "4964:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3622, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4964:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3626, - "mutability": "mutable", - "name": "pending", - "nameLocation": "4994:7:6", - "nodeType": "VariableDeclaration", - "scope": 3641, - "src": "4985:16:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 3624, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4985:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 3625, - "nodeType": "ArrayTypeName", - "src": "4985:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3630, - "mutability": "mutable", - "name": "receipts", - "nameLocation": "5024:8:6", - "nodeType": "VariableDeclaration", - "scope": 3641, - "src": "5011:21:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt[]" - }, - "typeName": { - "baseType": { - "id": 3628, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3627, - "name": "RawReceipt", - "nameLocations": [ - "5011:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3566, - "src": "5011:10:6" - }, - "referencedDeclaration": 3566, - "src": "5011:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt" - } - }, - "id": 3629, - "nodeType": "ArrayTypeName", - "src": "5011:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3634, - "mutability": "mutable", - "name": "txReturns", - "nameLocation": "5053:9:6", - "nodeType": "VariableDeclaration", - "scope": 3641, - "src": "5042:20:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.TxReturn[]" - }, - "typeName": { - "baseType": { - "id": 3632, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3631, - "name": "TxReturn", - "nameLocations": [ - "5042:8:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3688, - "src": "5042:8:6" - }, - "referencedDeclaration": 3688, - "src": "5042:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxReturn_$3688_storage_ptr", - "typeString": "struct StdCheatsSafe.TxReturn" - } - }, - "id": 3633, - "nodeType": "ArrayTypeName", - "src": "5042:10:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.TxReturn[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3636, - "mutability": "mutable", - "name": "timestamp", - "nameLocation": "5080:9:6", - "nodeType": "VariableDeclaration", - "scope": 3641, - "src": "5072:17:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3635, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5072:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3640, - "mutability": "mutable", - "name": "transactions", - "nameLocation": "5111:12:6", - "nodeType": "VariableDeclaration", - "scope": 3641, - "src": "5099:24:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559[]" - }, - "typeName": { - "baseType": { - "id": 3638, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3637, - "name": "RawTx1559", - "nameLocations": [ - "5099:9:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3426, - "src": "5099:9:6" - }, - "referencedDeclaration": 3426, - "src": "5099:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559" - } - }, - "id": 3639, - "nodeType": "ArrayTypeName", - "src": "5099:11:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559[]" - } - }, - "visibility": "internal" - } - ], - "name": "RawEIP1559ScriptArtifact", - "nameLocation": "4901:24:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3663, - "nodeType": "StructDefinition", - "src": "5136:334:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.RawReceiptLog", - "members": [ - { - "constant": false, - "id": 3643, - "mutability": "mutable", - "name": "logAddress", - "nameLocation": "5207:10:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5199:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3642, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5199:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3645, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "5235:9:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5227:17:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3644, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5227:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3647, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "5260:11:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5254:17:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3646, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5254:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3649, - "mutability": "mutable", - "name": "data", - "nameLocation": "5287:4:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5281:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3648, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5281:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3651, - "mutability": "mutable", - "name": "logIndex", - "nameLocation": "5307:8:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5301:14:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3650, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5301:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3653, - "mutability": "mutable", - "name": "removed", - "nameLocation": "5330:7:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5325:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3652, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5325:4:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3656, - "mutability": "mutable", - "name": "topics", - "nameLocation": "5357:6:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5347:16:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 3654, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5347:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 3655, - "nodeType": "ArrayTypeName", - "src": "5347:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3658, - "mutability": "mutable", - "name": "transactionHash", - "nameLocation": "5381:15:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5373:23:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3657, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5373:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3660, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "5412:16:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5406:22:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3659, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5406:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3662, - "mutability": "mutable", - "name": "transactionLogIndex", - "nameLocation": "5444:19:6", - "nodeType": "VariableDeclaration", - "scope": 3663, - "src": "5438:25:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3661, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5438:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "RawReceiptLog", - "nameLocation": "5143:13:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3683, - "nodeType": "StructDefinition", - "src": "5476:306:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.ReceiptLog", - "members": [ - { - "constant": false, - "id": 3665, - "mutability": "mutable", - "name": "logAddress", - "nameLocation": "5544:10:6", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "5536:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3664, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5536:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3667, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "5572:9:6", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "5564:17:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 3666, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5564:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3669, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "5599:11:6", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "5591:19:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3668, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5591:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3671, - "mutability": "mutable", - "name": "data", - "nameLocation": "5626:4:6", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "5620:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3670, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5620:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3673, - "mutability": "mutable", - "name": "logIndex", - "nameLocation": "5648:8:6", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "5640:16:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3672, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5640:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3676, - "mutability": "mutable", - "name": "topics", - "nameLocation": "5676:6:6", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "5666:16:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 3674, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5666:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 3675, - "nodeType": "ArrayTypeName", - "src": "5666:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3678, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "5700:16:6", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "5692:24:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3677, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5692:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3680, - "mutability": "mutable", - "name": "transactionLogIndex", - "nameLocation": "5734:19:6", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "5726:27:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3679, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5726:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3682, - "mutability": "mutable", - "name": "removed", - "nameLocation": "5768:7:6", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "5763:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3681, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5763:4:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "name": "ReceiptLog", - "nameLocation": "5483:10:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3688, - "nodeType": "StructDefinition", - "src": "5788:74:6", - "nodes": [], - "canonicalName": "StdCheatsSafe.TxReturn", - "members": [ - { - "constant": false, - "id": 3685, - "mutability": "mutable", - "name": "internalType", - "nameLocation": "5821:12:6", - "nodeType": "VariableDeclaration", - "scope": 3688, - "src": "5814:19:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3684, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5814:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3687, - "mutability": "mutable", - "name": "value", - "nameLocation": "5850:5:6", - "nodeType": "VariableDeclaration", - "scope": 3688, - "src": "5843:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3686, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5843:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "TxReturn", - "nameLocation": "5795:8:6", - "scope": 5094, - "visibility": "public" - }, - { - "id": 3902, - "nodeType": "FunctionDefinition", - "src": "5868:2125:6", - "nodes": [], - "body": { - "id": 3901, - "nodeType": "Block", - "src": "5918:2075:6", - "nodes": [], - "statements": [ - { - "expression": { - "id": 3701, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3693, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "5981:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3695, - "indexExpression": { - "hexValue": "616e76696c", - "id": 3694, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5991:7:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a3d859b77cebfdf9da3b485434702c5090ff9e91b7b86c670ebb15f8a00eb72b", - "typeString": "literal_string \"anvil\"" - }, - "value": "anvil" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "5981:18:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "416e76696c", - "id": 3697, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6008:7:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1ab1bd2f543bf53e1036abfe292a89809c7285bff756db6e274686afe6fb41b4", - "typeString": "literal_string \"Anvil\"" - }, - "value": "Anvil" - }, - { - "hexValue": "3331333337", - "id": 3698, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6017:5:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_31337_by_1", - "typeString": "int_const 31337" - }, - "value": "31337" - }, - { - "hexValue": "687474703a2f2f3132372e302e302e313a38353435", - "id": 3699, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6024:23:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_308a18cf3d9de3b161a842ef1e873581d7b16a5d4ea08170e123f95d25f33fe0", - "typeString": "literal_string \"http://127.0.0.1:8545\"" - }, - "value": "http://127.0.0.1:8545" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1ab1bd2f543bf53e1036abfe292a89809c7285bff756db6e274686afe6fb41b4", - "typeString": "literal_string \"Anvil\"" - }, - { - "typeIdentifier": "t_rational_31337_by_1", - "typeString": "int_const 31337" - }, - { - "typeIdentifier": "t_stringliteral_308a18cf3d9de3b161a842ef1e873581d7b16a5d4ea08170e123f95d25f33fe0", - "typeString": "literal_string \"http://127.0.0.1:8545\"" - } - ], - "id": 3696, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6002:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3700, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6002:46:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "5981:67:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3702, - "nodeType": "ExpressionStatement", - "src": "5981:67:6" - }, - { - "expression": { - "id": 3711, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3703, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6058:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3705, - "indexExpression": { - "hexValue": "68617264686174", - "id": 3704, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6068:9:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_41d010e4d55c1f680ac8d1df51d62770f05ab44e7687503f884ef0629dbf7ab0", - "typeString": "literal_string \"hardhat\"" - }, - "value": "hardhat" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6058:20:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "48617264686174", - "id": 3707, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6087:9:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_586258927916cf0d904406d36da1f5f818494652192f6e9e71d4067756af388a", - "typeString": "literal_string \"Hardhat\"" - }, - "value": "Hardhat" - }, - { - "hexValue": "3331333337", - "id": 3708, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6098:5:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_31337_by_1", - "typeString": "int_const 31337" - }, - "value": "31337" - }, - { - "hexValue": "687474703a2f2f3132372e302e302e313a38353435", - "id": 3709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6105:23:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_308a18cf3d9de3b161a842ef1e873581d7b16a5d4ea08170e123f95d25f33fe0", - "typeString": "literal_string \"http://127.0.0.1:8545\"" - }, - "value": "http://127.0.0.1:8545" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_586258927916cf0d904406d36da1f5f818494652192f6e9e71d4067756af388a", - "typeString": "literal_string \"Hardhat\"" - }, - { - "typeIdentifier": "t_rational_31337_by_1", - "typeString": "int_const 31337" - }, - { - "typeIdentifier": "t_stringliteral_308a18cf3d9de3b161a842ef1e873581d7b16a5d4ea08170e123f95d25f33fe0", - "typeString": "literal_string \"http://127.0.0.1:8545\"" - } - ], - "id": 3706, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6081:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3710, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6081:48:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6058:71:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3712, - "nodeType": "ExpressionStatement", - "src": "6058:71:6" - }, - { - "expression": { - "id": 3721, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3713, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6139:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3715, - "indexExpression": { - "hexValue": "6d61696e6e6574", - "id": 3714, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6149:9:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7beafa94c8bfb8f1c1a43104a34f72c524268aafbfe83bff17485539345c66ff", - "typeString": "literal_string \"mainnet\"" - }, - "value": "mainnet" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6139:20:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "4d61696e6e6574", - "id": 3717, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6168:9:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8d646f556e5d9d6f1edcf7a39b77f5ac253776eb34efcfd688aacbee518efc26", - "typeString": "literal_string \"Mainnet\"" - }, - "value": "Mainnet" - }, - { - "hexValue": "31", - "id": 3718, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6179:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - { - "hexValue": "68747470733a2f2f6d61696e6e65742e696e667572612e696f2f76332f3637373034353462633665613432633538616163313239373835333162393366", - "id": 3719, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6182:63:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_774ec9114c424c27016dfcccca26cbc2c56169b7a41cad2545127f33ebee4c93", - "typeString": "literal_string \"https://mainnet.infura.io/v3/6770454bc6ea42c58aac12978531b93f\"" - }, - "value": "https://mainnet.infura.io/v3/6770454bc6ea42c58aac12978531b93f" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8d646f556e5d9d6f1edcf7a39b77f5ac253776eb34efcfd688aacbee518efc26", - "typeString": "literal_string \"Mainnet\"" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - { - "typeIdentifier": "t_stringliteral_774ec9114c424c27016dfcccca26cbc2c56169b7a41cad2545127f33ebee4c93", - "typeString": "literal_string \"https://mainnet.infura.io/v3/6770454bc6ea42c58aac12978531b93f\"" - } - ], - "id": 3716, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6162:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3720, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6162:84:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6139:107:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3722, - "nodeType": "ExpressionStatement", - "src": "6139:107:6" - }, - { - "expression": { - "id": 3731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3723, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6256:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3725, - "indexExpression": { - "hexValue": "676f65726c69", - "id": 3724, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6266:8:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e24dd81d18a6354d406364c0fc25f4237534cee10d0c3099c9c2a6aa50d7dd0a", - "typeString": "literal_string \"goerli\"" - }, - "value": "goerli" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6256:19:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "476f65726c69", - "id": 3727, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6284:8:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_736fc55653a3415af498a1309898240f13c5e9e33098fa3cf9e5f2a200d14c3e", - "typeString": "literal_string \"Goerli\"" - }, - "value": "Goerli" - }, - { - "hexValue": "35", - "id": 3728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6294:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_5_by_1", - "typeString": "int_const 5" - }, - "value": "5" - }, - { - "hexValue": "68747470733a2f2f676f65726c692e696e667572612e696f2f76332f3637373034353462633665613432633538616163313239373835333162393366", - "id": 3729, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6297:62:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_809fa20d080608d8b6f3c6e91a70a9f82ae99920a2a463c52efd4970f7138a82", - "typeString": "literal_string \"https://goerli.infura.io/v3/6770454bc6ea42c58aac12978531b93f\"" - }, - "value": "https://goerli.infura.io/v3/6770454bc6ea42c58aac12978531b93f" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_736fc55653a3415af498a1309898240f13c5e9e33098fa3cf9e5f2a200d14c3e", - "typeString": "literal_string \"Goerli\"" - }, - { - "typeIdentifier": "t_rational_5_by_1", - "typeString": "int_const 5" - }, - { - "typeIdentifier": "t_stringliteral_809fa20d080608d8b6f3c6e91a70a9f82ae99920a2a463c52efd4970f7138a82", - "typeString": "literal_string \"https://goerli.infura.io/v3/6770454bc6ea42c58aac12978531b93f\"" - } - ], - "id": 3726, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6278:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3730, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6278:82:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6256:104:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3732, - "nodeType": "ExpressionStatement", - "src": "6256:104:6" - }, - { - "expression": { - "id": 3741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3733, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6370:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3735, - "indexExpression": { - "hexValue": "7365706f6c6961", - "id": 3734, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6380:9:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e1f58df0b51f34f4835aba989f0aa2f2e66218cab53207bafd3dbf37270bd39a", - "typeString": "literal_string \"sepolia\"" - }, - "value": "sepolia" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6370:20:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "5365706f6c6961", - "id": 3737, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6399:9:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a6b54cd124a84bb64f1808905ed95fb171a09730726f85e60eefcd47a4831b27", - "typeString": "literal_string \"Sepolia\"" - }, - "value": "Sepolia" - }, - { - "hexValue": "3131313535313131", - "id": 3738, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6410:8:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_11155111_by_1", - "typeString": "int_const 11155111" - }, - "value": "11155111" - }, - { - "hexValue": "68747470733a2f2f7270632e7365706f6c69612e646576", - "id": 3739, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6420:25:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e36469e9d6da385a975d561558a2cc6fd854a99901b2f285356c4d0070d0cd11", - "typeString": "literal_string \"https://rpc.sepolia.dev\"" - }, - "value": "https://rpc.sepolia.dev" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a6b54cd124a84bb64f1808905ed95fb171a09730726f85e60eefcd47a4831b27", - "typeString": "literal_string \"Sepolia\"" - }, - { - "typeIdentifier": "t_rational_11155111_by_1", - "typeString": "int_const 11155111" - }, - { - "typeIdentifier": "t_stringliteral_e36469e9d6da385a975d561558a2cc6fd854a99901b2f285356c4d0070d0cd11", - "typeString": "literal_string \"https://rpc.sepolia.dev\"" - } - ], - "id": 3736, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6393:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3740, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6393:53:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6370:76:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3742, - "nodeType": "ExpressionStatement", - "src": "6370:76:6" - }, - { - "expression": { - "id": 3751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3743, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6456:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3745, - "indexExpression": { - "hexValue": "6f7074696d69736d", - "id": 3744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6466:10:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_09d0f27659ee556a8134fa56941e42400e672aecc2d4cfc61cdb0fcea4590e05", - "typeString": "literal_string \"optimism\"" - }, - "value": "optimism" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6456:21:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "4f7074696d69736d", - "id": 3747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6486:10:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f997187c3c319ef9e33fa05f852d1612b66e309dc48d97a4b6b39832090a3bec", - "typeString": "literal_string \"Optimism\"" - }, - "value": "Optimism" - }, - { - "hexValue": "3130", - "id": 3748, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6498:2:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - { - "hexValue": "68747470733a2f2f6d61696e6e65742e6f7074696d69736d2e696f", - "id": 3749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6502:29:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_38b9211512154272cdc8d9677b3720aef06041b8d31b5e68a6ffc7a4bb22d93e", - "typeString": "literal_string \"https://mainnet.optimism.io\"" - }, - "value": "https://mainnet.optimism.io" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f997187c3c319ef9e33fa05f852d1612b66e309dc48d97a4b6b39832090a3bec", - "typeString": "literal_string \"Optimism\"" - }, - { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - { - "typeIdentifier": "t_stringliteral_38b9211512154272cdc8d9677b3720aef06041b8d31b5e68a6ffc7a4bb22d93e", - "typeString": "literal_string \"https://mainnet.optimism.io\"" - } - ], - "id": 3746, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6480:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3750, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6480:52:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6456:76:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3752, - "nodeType": "ExpressionStatement", - "src": "6456:76:6" - }, - { - "expression": { - "id": 3761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3753, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6542:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3755, - "indexExpression": { - "hexValue": "6f7074696d69736d5f676f65726c69", - "id": 3754, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6552:17:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ecf3b2cc678a701bfbf2329b12e6edf723c3043a32339c2eea2efb7c9533c09c", - "typeString": "literal_string \"optimism_goerli\"" - }, - "value": "optimism_goerli" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6542:28:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "4f7074696d69736d20476f65726c69", - "id": 3757, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6579:17:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6271e061a2d4ce1b6e267081a40c4dca996efe738d092d650bcfa23669d2fd24", - "typeString": "literal_string \"Optimism Goerli\"" - }, - "value": "Optimism Goerli" - }, - { - "hexValue": "343230", - "id": 3758, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6598:3:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_420_by_1", - "typeString": "int_const 420" - }, - "value": "420" - }, - { - "hexValue": "68747470733a2f2f676f65726c692e6f7074696d69736d2e696f", - "id": 3759, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6603:28:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ef3dbe59ba72d73e51c1959c67c0485880270dce59b4642a5dff6497ea5e55ad", - "typeString": "literal_string \"https://goerli.optimism.io\"" - }, - "value": "https://goerli.optimism.io" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6271e061a2d4ce1b6e267081a40c4dca996efe738d092d650bcfa23669d2fd24", - "typeString": "literal_string \"Optimism Goerli\"" - }, - { - "typeIdentifier": "t_rational_420_by_1", - "typeString": "int_const 420" - }, - { - "typeIdentifier": "t_stringliteral_ef3dbe59ba72d73e51c1959c67c0485880270dce59b4642a5dff6497ea5e55ad", - "typeString": "literal_string \"https://goerli.optimism.io\"" - } - ], - "id": 3756, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6573:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3760, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6573:59:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6542:90:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3762, - "nodeType": "ExpressionStatement", - "src": "6542:90:6" - }, - { - "expression": { - "id": 3771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3763, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6642:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3765, - "indexExpression": { - "hexValue": "617262697472756d5f6f6e65", - "id": 3764, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6652:14:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b44cea7839e0679ac5072602932da9b25ebfb3a9ac42625d9c583a7b6b2eb4", - "typeString": "literal_string \"arbitrum_one\"" - }, - "value": "arbitrum_one" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6642:25:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "417262697472756d204f6e65", - "id": 3767, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6676:14:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9e42b1aebd5463751aea2c5f6ee37505334a82b4085315a5f4b8b0f81d3b9004", - "typeString": "literal_string \"Arbitrum One\"" - }, - "value": "Arbitrum One" - }, - { - "hexValue": "3432313631", - "id": 3768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6692:5:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_42161_by_1", - "typeString": "int_const 42161" - }, - "value": "42161" - }, - { - "hexValue": "68747470733a2f2f617262312e617262697472756d2e696f2f727063", - "id": 3769, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6699:30:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ff28c1a1bf3c117d5956efad529d0ee22dcfc0fe5cbf5a03e0bdfcc3c6cac126", - "typeString": "literal_string \"https://arb1.arbitrum.io/rpc\"" - }, - "value": "https://arb1.arbitrum.io/rpc" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9e42b1aebd5463751aea2c5f6ee37505334a82b4085315a5f4b8b0f81d3b9004", - "typeString": "literal_string \"Arbitrum One\"" - }, - { - "typeIdentifier": "t_rational_42161_by_1", - "typeString": "int_const 42161" - }, - { - "typeIdentifier": "t_stringliteral_ff28c1a1bf3c117d5956efad529d0ee22dcfc0fe5cbf5a03e0bdfcc3c6cac126", - "typeString": "literal_string \"https://arb1.arbitrum.io/rpc\"" - } - ], - "id": 3766, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6670:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3770, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6670:60:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6642:88:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3772, - "nodeType": "ExpressionStatement", - "src": "6642:88:6" - }, - { - "expression": { - "id": 3781, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3773, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6740:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3775, - "indexExpression": { - "hexValue": "617262697472756d5f6f6e655f676f65726c69", - "id": 3774, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6750:21:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9c5068a3a5cdbd747f13200fdd6f590995f99bde231a5dcfa62a5f92af1dc3d4", - "typeString": "literal_string \"arbitrum_one_goerli\"" - }, - "value": "arbitrum_one_goerli" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6740:32:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "417262697472756d204f6e6520476f65726c69", - "id": 3777, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6781:21:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_57f7b6894161eb541e81676f15adf1e65eee36bdcfd592f252d22d4394480f21", - "typeString": "literal_string \"Arbitrum One Goerli\"" - }, - "value": "Arbitrum One Goerli" - }, - { - "hexValue": "343231363133", - "id": 3778, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6804:6:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_421613_by_1", - "typeString": "int_const 421613" - }, - "value": "421613" - }, - { - "hexValue": "68747470733a2f2f676f65726c692d726f6c6c75702e617262697472756d2e696f2f727063", - "id": 3779, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6812:39:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d65fa49ed6bf0763184aace821262295f8ad23c20b74cd1f836fe5e06f5dd8ea", - "typeString": "literal_string \"https://goerli-rollup.arbitrum.io/rpc\"" - }, - "value": "https://goerli-rollup.arbitrum.io/rpc" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_57f7b6894161eb541e81676f15adf1e65eee36bdcfd592f252d22d4394480f21", - "typeString": "literal_string \"Arbitrum One Goerli\"" - }, - { - "typeIdentifier": "t_rational_421613_by_1", - "typeString": "int_const 421613" - }, - { - "typeIdentifier": "t_stringliteral_d65fa49ed6bf0763184aace821262295f8ad23c20b74cd1f836fe5e06f5dd8ea", - "typeString": "literal_string \"https://goerli-rollup.arbitrum.io/rpc\"" - } - ], - "id": 3776, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6775:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3780, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6775:77:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6740:112:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3782, - "nodeType": "ExpressionStatement", - "src": "6740:112:6" - }, - { - "expression": { - "id": 3791, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3783, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6862:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3785, - "indexExpression": { - "hexValue": "617262697472756d5f6e6f7661", - "id": 3784, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6872:15:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9338ed1403277416ebb39d4e992ebf5c49e6dded5ec79963ea5fc261cbd7fdac", - "typeString": "literal_string \"arbitrum_nova\"" - }, - "value": "arbitrum_nova" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6862:26:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "417262697472756d204e6f7661", - "id": 3787, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6897:15:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_25c77b7679bf463420c39c7728b9f65b6a8f1ae05b3335eb9e394b1b61bf8f21", - "typeString": "literal_string \"Arbitrum Nova\"" - }, - "value": "Arbitrum Nova" - }, - { - "hexValue": "3432313730", - "id": 3788, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6914:5:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_42170_by_1", - "typeString": "int_const 42170" - }, - "value": "42170" - }, - { - "hexValue": "68747470733a2f2f6e6f76612e617262697472756d2e696f2f727063", - "id": 3789, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6921:30:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a77f0a686c95785c75ada33247e30dc9ac80330a7f8eb521bebdf48f492ee4ac", - "typeString": "literal_string \"https://nova.arbitrum.io/rpc\"" - }, - "value": "https://nova.arbitrum.io/rpc" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_25c77b7679bf463420c39c7728b9f65b6a8f1ae05b3335eb9e394b1b61bf8f21", - "typeString": "literal_string \"Arbitrum Nova\"" - }, - { - "typeIdentifier": "t_rational_42170_by_1", - "typeString": "int_const 42170" - }, - { - "typeIdentifier": "t_stringliteral_a77f0a686c95785c75ada33247e30dc9ac80330a7f8eb521bebdf48f492ee4ac", - "typeString": "literal_string \"https://nova.arbitrum.io/rpc\"" - } - ], - "id": 3786, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6891:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3790, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6891:61:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6862:90:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3792, - "nodeType": "ExpressionStatement", - "src": "6862:90:6" - }, - { - "expression": { - "id": 3801, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3793, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "6962:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3795, - "indexExpression": { - "hexValue": "706f6c79676f6e", - "id": 3794, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6972:9:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ac63fa1fe369e75c38d62f0f4d465b48b3cd5159f0fb416332899402031d1408", - "typeString": "literal_string \"polygon\"" - }, - "value": "polygon" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6962:20:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "506f6c79676f6e", - "id": 3797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6991:9:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_890af8db8ca1aa1e915857edbc2717639ebd8a22c786f9e0e776d6a1aacb5e71", - "typeString": "literal_string \"Polygon\"" - }, - "value": "Polygon" - }, - { - "hexValue": "313337", - "id": 3798, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7002:3:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_137_by_1", - "typeString": "int_const 137" - }, - "value": "137" - }, - { - "hexValue": "68747470733a2f2f706f6c79676f6e2d7270632e636f6d", - "id": 3799, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7007:25:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fda46ab670b83929623b4aa9bcfa97ff7b7376fa90a24a450a8561482232c5c0", - "typeString": "literal_string \"https://polygon-rpc.com\"" - }, - "value": "https://polygon-rpc.com" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_890af8db8ca1aa1e915857edbc2717639ebd8a22c786f9e0e776d6a1aacb5e71", - "typeString": "literal_string \"Polygon\"" - }, - { - "typeIdentifier": "t_rational_137_by_1", - "typeString": "int_const 137" - }, - { - "typeIdentifier": "t_stringliteral_fda46ab670b83929623b4aa9bcfa97ff7b7376fa90a24a450a8561482232c5c0", - "typeString": "literal_string \"https://polygon-rpc.com\"" - } - ], - "id": 3796, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "6985:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3800, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6985:48:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "6962:71:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3802, - "nodeType": "ExpressionStatement", - "src": "6962:71:6" - }, - { - "expression": { - "id": 3811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3803, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "7043:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3805, - "indexExpression": { - "hexValue": "706f6c79676f6e5f6d756d626169", - "id": 3804, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7053:16:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a7308364e169f5f44de3933205a00d3632b7366702c91dff3452b4dbf6ed70f0", - "typeString": "literal_string \"polygon_mumbai\"" - }, - "value": "polygon_mumbai" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7043:27:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "506f6c79676f6e204d756d626169", - "id": 3807, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7079:16:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_173b0df64039e25119e26da4408dbd53da69bf06543516209ecc66f21e0c9725", - "typeString": "literal_string \"Polygon Mumbai\"" - }, - "value": "Polygon Mumbai" - }, - { - "hexValue": "3830303031", - "id": 3808, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7097:5:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_80001_by_1", - "typeString": "int_const 80001" - }, - "value": "80001" - }, - { - "hexValue": "68747470733a2f2f7270632d6d756d6261692e6d617469632e746f646179", - "id": 3809, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7104:32:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f106af479a6c11cecfa2b74ea0e8c7e413c6e6ff201ebf6b50d3261e370192f7", - "typeString": "literal_string \"https://rpc-mumbai.matic.today\"" - }, - "value": "https://rpc-mumbai.matic.today" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_173b0df64039e25119e26da4408dbd53da69bf06543516209ecc66f21e0c9725", - "typeString": "literal_string \"Polygon Mumbai\"" - }, - { - "typeIdentifier": "t_rational_80001_by_1", - "typeString": "int_const 80001" - }, - { - "typeIdentifier": "t_stringliteral_f106af479a6c11cecfa2b74ea0e8c7e413c6e6ff201ebf6b50d3261e370192f7", - "typeString": "literal_string \"https://rpc-mumbai.matic.today\"" - } - ], - "id": 3806, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "7073:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7073:64:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "7043:94:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3812, - "nodeType": "ExpressionStatement", - "src": "7043:94:6" - }, - { - "expression": { - "id": 3821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3813, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "7147:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3815, - "indexExpression": { - "hexValue": "6176616c616e636865", - "id": 3814, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7157:11:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6e8b0d92516ee4289145e3b78cea58daac177b1c618beeedbc6cdabd388a6e55", - "typeString": "literal_string \"avalanche\"" - }, - "value": "avalanche" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7147:22:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "4176616c616e636865", - "id": 3817, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7178:11:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6585177c3aba6cb7ffc0a37e831a958c4ee9278e4c62c7bdad7175ca09883c40", - "typeString": "literal_string \"Avalanche\"" - }, - "value": "Avalanche" - }, - { - "hexValue": "3433313134", - "id": 3818, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7191:5:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_43114_by_1", - "typeString": "int_const 43114" - }, - "value": "43114" - }, - { - "hexValue": "68747470733a2f2f6170692e617661782e6e6574776f726b2f6578742f62632f432f727063", - "id": 3819, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7198:39:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_429365eac47ed6b261c38927d854e528b743fc5a678b1b4ba631c511f305886a", - "typeString": "literal_string \"https://api.avax.network/ext/bc/C/rpc\"" - }, - "value": "https://api.avax.network/ext/bc/C/rpc" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6585177c3aba6cb7ffc0a37e831a958c4ee9278e4c62c7bdad7175ca09883c40", - "typeString": "literal_string \"Avalanche\"" - }, - { - "typeIdentifier": "t_rational_43114_by_1", - "typeString": "int_const 43114" - }, - { - "typeIdentifier": "t_stringliteral_429365eac47ed6b261c38927d854e528b743fc5a678b1b4ba631c511f305886a", - "typeString": "literal_string \"https://api.avax.network/ext/bc/C/rpc\"" - } - ], - "id": 3816, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "7172:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3820, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7172:66:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "7147:91:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3822, - "nodeType": "ExpressionStatement", - "src": "7147:91:6" - }, - { - "expression": { - "id": 3831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3823, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "7248:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3825, - "indexExpression": { - "hexValue": "6176616c616e6368655f66756a69", - "id": 3824, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7258:16:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a1920d2f80060f1c83444622c7eb5adf4484bed8a537b8d13eae53bd800aa692", - "typeString": "literal_string \"avalanche_fuji\"" - }, - "value": "avalanche_fuji" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7248:27:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "4176616c616e6368652046756a69", - "id": 3827, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7284:16:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_522b176494c651b1a4c5779e66ed19f885df62891abfb18fd5e45b69bdabe11b", - "typeString": "literal_string \"Avalanche Fuji\"" - }, - "value": "Avalanche Fuji" - }, - { - "hexValue": "3433313133", - "id": 3828, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7302:5:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_43113_by_1", - "typeString": "int_const 43113" - }, - "value": "43113" - }, - { - "hexValue": "68747470733a2f2f6170692e617661782d746573742e6e6574776f726b2f6578742f62632f432f727063", - "id": 3829, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7309:44:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d6621ea822eabf6c190358ea82de0c52d3503dcce8117b3366a8a3bd96eb422d", - "typeString": "literal_string \"https://api.avax-test.network/ext/bc/C/rpc\"" - }, - "value": "https://api.avax-test.network/ext/bc/C/rpc" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_522b176494c651b1a4c5779e66ed19f885df62891abfb18fd5e45b69bdabe11b", - "typeString": "literal_string \"Avalanche Fuji\"" - }, - { - "typeIdentifier": "t_rational_43113_by_1", - "typeString": "int_const 43113" - }, - { - "typeIdentifier": "t_stringliteral_d6621ea822eabf6c190358ea82de0c52d3503dcce8117b3366a8a3bd96eb422d", - "typeString": "literal_string \"https://api.avax-test.network/ext/bc/C/rpc\"" - } - ], - "id": 3826, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "7278:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3830, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7278:76:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "7248:106:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3832, - "nodeType": "ExpressionStatement", - "src": "7248:106:6" - }, - { - "expression": { - "id": 3841, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3833, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "7364:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3835, - "indexExpression": { - "hexValue": "626e625f736d6172745f636861696e", - "id": 3834, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7374:17:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fa8b17ae9aa26749f5dc3a3bb333e0019db0c257f3541e870f73bb48b574361e", - "typeString": "literal_string \"bnb_smart_chain\"" - }, - "value": "bnb_smart_chain" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7364:28:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "424e4220536d61727420436861696e", - "id": 3837, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7401:17:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3606544ee65d30d7c7f7d6a1f6618e0d836299fa5b85b88d71a59535c6a1550f", - "typeString": "literal_string \"BNB Smart Chain\"" - }, - "value": "BNB Smart Chain" - }, - { - "hexValue": "3536", - "id": 3838, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7420:2:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_56_by_1", - "typeString": "int_const 56" - }, - "value": "56" - }, - { - "hexValue": "68747470733a2f2f6273632d6461746173656564312e62696e616e63652e6f7267", - "id": 3839, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7424:35:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e2b4215bd50ab260c8c9f18e36ea07b1f952450853bcf024123d5767a40d4719", - "typeString": "literal_string \"https://bsc-dataseed1.binance.org\"" - }, - "value": "https://bsc-dataseed1.binance.org" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3606544ee65d30d7c7f7d6a1f6618e0d836299fa5b85b88d71a59535c6a1550f", - "typeString": "literal_string \"BNB Smart Chain\"" - }, - { - "typeIdentifier": "t_rational_56_by_1", - "typeString": "int_const 56" - }, - { - "typeIdentifier": "t_stringliteral_e2b4215bd50ab260c8c9f18e36ea07b1f952450853bcf024123d5767a40d4719", - "typeString": "literal_string \"https://bsc-dataseed1.binance.org\"" - } - ], - "id": 3836, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "7395:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3840, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7395:65:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "7364:96:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3842, - "nodeType": "ExpressionStatement", - "src": "7364:96:6" - }, - { - "expression": { - "id": 3851, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3843, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "7470:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3845, - "indexExpression": { - "hexValue": "626e625f736d6172745f636861696e5f746573746e6574", - "id": 3844, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7480:25:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1813de9892ab9db3d0c3b0c3eed9c8b820fe0c7e205bed860e6e89f4d7f75f29", - "typeString": "literal_string \"bnb_smart_chain_testnet\"" - }, - "value": "bnb_smart_chain_testnet" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7470:36:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "424e4220536d61727420436861696e20546573746e6574", - "id": 3847, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7515:25:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3b1d88342c4ab079c9a8243ef8dfeb0bb41e1da5dc9fe62ca728dfe4ea21092c", - "typeString": "literal_string \"BNB Smart Chain Testnet\"" - }, - "value": "BNB Smart Chain Testnet" - }, - { - "hexValue": "3937", - "id": 3848, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7542:2:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_97_by_1", - "typeString": "int_const 97" - }, - "value": "97" - }, - { - "hexValue": "68747470733a2f2f646174612d736565642d7072656273632d312d73312e62696e616e63652e6f72673a38353435", - "id": 3849, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7546:48:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_06894ce500210f386acd0844767c4ae19c623595ce2845e4d185bcd99fc926dc", - "typeString": "literal_string \"https://data-seed-prebsc-1-s1.binance.org:8545\"" - }, - "value": "https://data-seed-prebsc-1-s1.binance.org:8545" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3b1d88342c4ab079c9a8243ef8dfeb0bb41e1da5dc9fe62ca728dfe4ea21092c", - "typeString": "literal_string \"BNB Smart Chain Testnet\"" - }, - { - "typeIdentifier": "t_rational_97_by_1", - "typeString": "int_const 97" - }, - { - "typeIdentifier": "t_stringliteral_06894ce500210f386acd0844767c4ae19c623595ce2845e4d185bcd99fc926dc", - "typeString": "literal_string \"https://data-seed-prebsc-1-s1.binance.org:8545\"" - } - ], - "id": 3846, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "7509:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3850, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7509:86:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "7470:125:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3852, - "nodeType": "ExpressionStatement", - "src": "7470:125:6" - }, - { - "expression": { - "id": 3861, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 3853, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "7630:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3855, - "indexExpression": { - "hexValue": "676e6f7369735f636861696e", - "id": 3854, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7640:14:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_847b7ed4df59b2dfcdba377bf4ac481c502926169e9af948ee2dd45c0e6df595", - "typeString": "literal_string \"gnosis_chain\"" - }, - "value": "gnosis_chain" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7630:25:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "476e6f73697320436861696e", - "id": 3857, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7664:14:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9bfc6ae4a1f5d8ea33b4f631c2f7dfbfa7d613af42ef38137c06d4cd03619b02", - "typeString": "literal_string \"Gnosis Chain\"" - }, - "value": "Gnosis Chain" - }, - { - "hexValue": "313030", - "id": 3858, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7680:3:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - }, - "value": "100" - }, - { - "hexValue": "68747470733a2f2f7270632e676e6f736973636861696e2e636f6d", - "id": 3859, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7685:29:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_127e02590d58e22164456f76136047039faabc2ca27eb41939081a3e775b50df", - "typeString": "literal_string \"https://rpc.gnosischain.com\"" - }, - "value": "https://rpc.gnosischain.com" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9bfc6ae4a1f5d8ea33b4f631c2f7dfbfa7d613af42ef38137c06d4cd03619b02", - "typeString": "literal_string \"Gnosis Chain\"" - }, - { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - }, - { - "typeIdentifier": "t_stringliteral_127e02590d58e22164456f76136047039faabc2ca27eb41939081a3e775b50df", - "typeString": "literal_string \"https://rpc.gnosischain.com\"" - } - ], - "id": 3856, - "name": "Chain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3404, - "src": "7658:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Chain_$3404_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.Chain storage pointer)" - } - }, - "id": 3860, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7658:57:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_memory_ptr", - "typeString": "struct StdCheatsSafe.Chain memory" - } - }, - "src": "7630:85:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3862, - "nodeType": "ExpressionStatement", - "src": "7630:85:6" - }, - { - "assignments": [ - 3868 - ], - "declarations": [ - { - "constant": false, - "id": 3868, - "mutability": "mutable", - "name": "rpcs", - "nameLocation": "7823:4:6", - "nodeType": "VariableDeclaration", - "scope": 3901, - "src": "7807:20:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr", - "typeString": "struct VmSafe.Rpc[]" - }, - "typeName": { - "baseType": { - "id": 3866, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 3865, - "name": "Vm.Rpc", - "nameLocations": [ - "7807:2:6", - "7810:3:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 8298, - "src": "7807:6:6" - }, - "referencedDeclaration": 8298, - "src": "7807:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Rpc_$8298_storage_ptr", - "typeString": "struct VmSafe.Rpc" - } - }, - "id": 3867, - "nodeType": "ArrayTypeName", - "src": "7807:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_storage_$dyn_storage_ptr", - "typeString": "struct VmSafe.Rpc[]" - } - }, - "visibility": "internal" - } - ], - "id": 3872, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 3869, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "7830:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 3870, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7833:13:6", - "memberName": "rpcUrlStructs", - "nodeType": "MemberAccess", - "referencedDeclaration": 8925, - "src": "7830:16:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function () view external returns (struct VmSafe.Rpc memory[] memory)" - } - }, - "id": 3871, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7830:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr", - "typeString": "struct VmSafe.Rpc memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7807:41:6" - }, - { - "body": { - "id": 3897, - "nodeType": "Block", - "src": "7900:69:6", - "statements": [ - { - "expression": { - "id": 3895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 3884, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "7914:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3889, - "indexExpression": { - "expression": { - "baseExpression": { - "id": 3885, - "name": "rpcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "7924:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr", - "typeString": "struct VmSafe.Rpc memory[] memory" - } - }, - "id": 3887, - "indexExpression": { - "id": 3886, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3874, - "src": "7929:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7924:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Rpc_$8298_memory_ptr", - "typeString": "struct VmSafe.Rpc memory" - } - }, - "id": 3888, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7932:4:6", - "memberName": "name", - "nodeType": "MemberAccess", - "referencedDeclaration": 8295, - "src": "7924:12:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7914:23:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3890, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "7938:6:6", - "memberName": "rpcUrl", - "nodeType": "MemberAccess", - "referencedDeclaration": 3403, - "src": "7914:30:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 3891, - "name": "rpcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "7947:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr", - "typeString": "struct VmSafe.Rpc memory[] memory" - } - }, - "id": 3893, - "indexExpression": { - "id": 3892, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3874, - "src": "7952:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7947:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Rpc_$8298_memory_ptr", - "typeString": "struct VmSafe.Rpc memory" - } - }, - "id": 3894, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7955:3:6", - "memberName": "url", - "nodeType": "MemberAccess", - "referencedDeclaration": 8297, - "src": "7947:11:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "7914:44:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 3896, - "nodeType": "ExpressionStatement", - "src": "7914:44:6" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3877, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3874, - "src": "7878:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 3878, - "name": "rpcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "7882:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr", - "typeString": "struct VmSafe.Rpc memory[] memory" - } - }, - "id": 3879, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7887:6:6", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7882:11:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7878:15:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3898, - "initializationExpression": { - "assignments": [ - 3874 - ], - "declarations": [ - { - "constant": false, - "id": 3874, - "mutability": "mutable", - "name": "i", - "nameLocation": "7871:1:6", - "nodeType": "VariableDeclaration", - "scope": 3898, - "src": "7863:9:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3873, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7863:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3876, - "initialValue": { - "hexValue": "30", - "id": 3875, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7875:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7863:13:6" - }, - "loopExpression": { - "expression": { - "id": 3882, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7895:3:6", - "subExpression": { - "id": 3881, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3874, - "src": "7895:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3883, - "nodeType": "ExpressionStatement", - "src": "7895:3:6" - }, - "nodeType": "ForStatement", - "src": "7858:111:6" - }, - { - "expression": { - "hexValue": "30", - "id": 3899, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7985:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "functionReturnParameters": 3692, - "id": 3900, - "nodeType": "Return", - "src": "7978:8:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_constructor", - "nameLocation": "5877:12:6", - "parameters": { - "id": 3689, - "nodeType": "ParameterList", - "parameters": [], - "src": "5889:2:6" - }, - "returnParameters": { - "id": 3692, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3691, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 3902, - "src": "5909:7:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3690, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5909:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5908:9:6" - }, - "scope": 5094, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "id": 3917, - "nodeType": "FunctionDefinition", - "src": "7999:279:6", - "nodes": [], - "body": { - "id": 3916, - "nodeType": "Block", - "src": "8064:214:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 3908 - ], - "declarations": [ - { - "constant": false, - "id": 3908, - "mutability": "mutable", - "name": "chainId", - "nameLocation": "8158:7:6", - "nodeType": "VariableDeclaration", - "scope": 3916, - "src": "8150:15:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3907, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8150:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3909, - "nodeType": "VariableDeclarationStatement", - "src": "8150:15:6" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "8184:44:6", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "8198:20:6", - "value": { - "arguments": [], - "functionName": { - "name": "chainid", - "nodeType": "YulIdentifier", - "src": "8209:7:6" - }, - "nodeType": "YulFunctionCall", - "src": "8209:9:6" - }, - "variableNames": [ - { - "name": "chainId", - "nodeType": "YulIdentifier", - "src": "8198:7:6" - } - ] - } - ] - }, - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 3908, - "isOffset": false, - "isSlot": false, - "src": "8198:7:6", - "valueSize": 1 - } - ], - "id": 3910, - "nodeType": "InlineAssembly", - "src": "8175:53:6" - }, - { - "expression": { - "arguments": [ - { - "id": 3912, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3904, - "src": "8257:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3913, - "name": "chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3908, - "src": "8263:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3911, - "name": "assumeNoPrecompiles", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3917, - 4078 - ], - "referencedDeclaration": 4078, - "src": "8237:19:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) view" - } - }, - "id": 3914, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8237:34:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3915, - "nodeType": "ExpressionStatement", - "src": "8237:34:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assumeNoPrecompiles", - "nameLocation": "8008:19:6", - "parameters": { - "id": 3905, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3904, - "mutability": "mutable", - "name": "addr", - "nameLocation": "8036:4:6", - "nodeType": "VariableDeclaration", - "scope": 3917, - "src": "8028:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3903, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8028:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8027:14:6" - }, - "returnParameters": { - "id": 3906, - "nodeType": "ParameterList", - "parameters": [], - "src": "8064:0:6" - }, - "scope": 5094, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4078, - "nodeType": "FunctionDefinition", - "src": "8284:1965:6", - "nodes": [], - "body": { - "id": 4077, - "nodeType": "Block", - "src": "8366:1883:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 3939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3932, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3927, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "8664:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "arguments": [ - { - "hexValue": "307831", - "id": 3930, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8679:3:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "0x1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 3929, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8671:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3928, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8671:7:6", - "typeDescriptions": {} - } - }, - "id": 3931, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8671:12:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "8664:19:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3933, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "8687:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "arguments": [ - { - "hexValue": "307839", - "id": 3936, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8702:3:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_9_by_1", - "typeString": "int_const 9" - }, - "value": "0x9" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_9_by_1", - "typeString": "int_const 9" - } - ], - "id": 3935, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8694:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3934, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8694:7:6", - "typeDescriptions": {} - } - }, - "id": 3937, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8694:12:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "8687:19:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8664:42:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 3924, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "8654:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 3926, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8657:6:6", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 8930, - "src": "8654:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure external" - } - }, - "id": 3940, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8654:53:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3941, - "nodeType": "ExpressionStatement", - "src": "8654:53:6" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 3954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3942, - "name": "chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3921, - "src": "8757:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 3943, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "8768:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3945, - "indexExpression": { - "hexValue": "6f7074696d69736d", - "id": 3944, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8778:10:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_09d0f27659ee556a8134fa56941e42400e672aecc2d4cfc61cdb0fcea4590e05", - "typeString": "literal_string \"optimism\"" - }, - "value": "optimism" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8768:21:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3946, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8790:7:6", - "memberName": "chainId", - "nodeType": "MemberAccess", - "referencedDeclaration": 3401, - "src": "8768:29:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8757:40:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3953, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3948, - "name": "chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3921, - "src": "8801:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 3949, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "8812:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3951, - "indexExpression": { - "hexValue": "6f7074696d69736d5f676f65726c69", - "id": 3950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8822:17:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ecf3b2cc678a701bfbf2329b12e6edf723c3043a32339c2eea2efb7c9533c09c", - "typeString": "literal_string \"optimism_goerli\"" - }, - "value": "optimism_goerli" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8812:28:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3952, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8841:7:6", - "memberName": "chainId", - "nodeType": "MemberAccess", - "referencedDeclaration": 3401, - "src": "8812:36:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8801:47:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8757:91:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 3986, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3974, - "name": "chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3921, - "src": "9166:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 3975, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "9177:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3977, - "indexExpression": { - "hexValue": "617262697472756d5f6f6e65", - "id": 3976, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9187:14:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b44cea7839e0679ac5072602932da9b25ebfb3a9ac42625d9c583a7b6b2eb4", - "typeString": "literal_string \"arbitrum_one\"" - }, - "value": "arbitrum_one" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9177:25:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3978, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9203:7:6", - "memberName": "chainId", - "nodeType": "MemberAccess", - "referencedDeclaration": 3401, - "src": "9177:33:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9166:44:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3980, - "name": "chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3921, - "src": "9214:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 3981, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "9225:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 3983, - "indexExpression": { - "hexValue": "617262697472756d5f6f6e655f676f65726c69", - "id": 3982, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9235:21:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9c5068a3a5cdbd747f13200fdd6f590995f99bde231a5dcfa62a5f92af1dc3d4", - "typeString": "literal_string \"arbitrum_one_goerli\"" - }, - "value": "arbitrum_one_goerli" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9225:32:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 3984, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9258:7:6", - "memberName": "chainId", - "nodeType": "MemberAccess", - "referencedDeclaration": 3401, - "src": "9225:40:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9214:51:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9166:99:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4018, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4006, - "name": "chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3921, - "src": "9542:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 4007, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "9553:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 4009, - "indexExpression": { - "hexValue": "6176616c616e636865", - "id": 4008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9563:11:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6e8b0d92516ee4289145e3b78cea58daac177b1c618beeedbc6cdabd388a6e55", - "typeString": "literal_string \"avalanche\"" - }, - "value": "avalanche" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9553:22:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 4010, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9576:7:6", - "memberName": "chainId", - "nodeType": "MemberAccess", - "referencedDeclaration": 3401, - "src": "9553:30:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9542:41:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4012, - "name": "chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3921, - "src": "9587:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 4013, - "name": "stdChains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "9598:9:6", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_struct$_Chain_$3404_storage_$", - "typeString": "mapping(string memory => struct StdCheatsSafe.Chain storage ref)" - } - }, - "id": 4015, - "indexExpression": { - "hexValue": "6176616c616e6368655f66756a69", - "id": 4014, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9608:16:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a1920d2f80060f1c83444622c7eb5adf4484bed8a537b8d13eae53bd800aa692", - "typeString": "literal_string \"avalanche_fuji\"" - }, - "value": "avalanche_fuji" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9598:27:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Chain_$3404_storage", - "typeString": "struct StdCheatsSafe.Chain storage ref" - } - }, - "id": 4016, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9626:7:6", - "memberName": "chainId", - "nodeType": "MemberAccess", - "referencedDeclaration": 3401, - "src": "9598:35:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9587:46:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9542:91:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4074, - "nodeType": "IfStatement", - "src": "9538:672:6", - "trueBody": { - "id": 4073, - "nodeType": "Block", - "src": "9635:575:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4022, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "9788:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "arguments": [ - { - "hexValue": "307830313030303030303030303030303030303030303030303030303030303030303030303030303030", - "id": 4025, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9803:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0100000000000000000000000000000000000000" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4024, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9795:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4023, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9795:7:6", - "typeDescriptions": {} - } - }, - "id": 4026, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9795:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9788:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4033, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4028, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "9850:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "arguments": [ - { - "hexValue": "307830313030303030303030303030303030303030303030303030303030303030303030303030306666", - "id": 4031, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9865:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x01000000000000000000000000000000000000ff" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9857:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4029, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9857:7:6", - "typeDescriptions": {} - } - }, - "id": 4032, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9857:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9850:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9788:120:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 4019, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "9778:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4021, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9781:6:6", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 8930, - "src": "9778:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure external" - } - }, - "id": 4035, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9778:131:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4036, - "nodeType": "ExpressionStatement", - "src": "9778:131:6" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4052, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4040, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "9933:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "arguments": [ - { - "hexValue": "307830323030303030303030303030303030303030303030303030303030303030303030303030303030", - "id": 4043, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9948:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0200000000000000000000000000000000000000" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9940:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4041, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9940:7:6", - "typeDescriptions": {} - } - }, - "id": 4044, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9940:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9933:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4051, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4046, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "9995:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "arguments": [ - { - "hexValue": "307830323030303030303030303030303030303030303030303030303030303030303030303030304646", - "id": 4049, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10010:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x02000000000000000000000000000000000000FF" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4048, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10002:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4047, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10002:7:6", - "typeDescriptions": {} - } - }, - "id": 4050, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10002:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9995:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9933:120:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 4037, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "9923:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9926:6:6", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 8930, - "src": "9923:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure external" - } - }, - "id": 4053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9923:131:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4054, - "nodeType": "ExpressionStatement", - "src": "9923:131:6" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4070, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4058, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "10078:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "arguments": [ - { - "hexValue": "307830333030303030303030303030303030303030303030303030303030303030303030303030303030", - "id": 4061, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10093:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0300000000000000000000000000000000000000" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4060, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10085:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4059, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10085:7:6", - "typeDescriptions": {} - } - }, - "id": 4062, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10085:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10078:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4069, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4064, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "10140:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "arguments": [ - { - "hexValue": "307830333030303030303030303030303030303030303030303030303030303030303030303030304666", - "id": 4067, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10155:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x03000000000000000000000000000000000000Ff" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4066, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10147:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4065, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10147:7:6", - "typeDescriptions": {} - } - }, - "id": 4068, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10147:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10140:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "10078:120:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 4055, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "10068:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10071:6:6", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 8930, - "src": "10068:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure external" - } - }, - "id": 4071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10068:131:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4072, - "nodeType": "ExpressionStatement", - "src": "10068:131:6" - } - ] - } - }, - "id": 4075, - "nodeType": "IfStatement", - "src": "9162:1048:6", - "trueBody": { - "id": 4005, - "nodeType": "Block", - "src": "9267:265:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3990, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "9400:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303030303030303634", - "id": 3993, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9415:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000000000064" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 3992, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9407:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3991, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9407:7:6", - "typeDescriptions": {} - } - }, - "id": 3994, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9407:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9400:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3996, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "9462:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303030303030303638", - "id": 3999, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9477:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000000000068" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 3998, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9469:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3997, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9469:7:6", - "typeDescriptions": {} - } - }, - "id": 4000, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9469:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9462:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9400:120:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 3987, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "9390:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 3989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9393:6:6", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 8930, - "src": "9390:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure external" - } - }, - "id": 4003, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9390:131:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4004, - "nodeType": "ExpressionStatement", - "src": "9390:131:6" - } - ] - } - }, - "id": 4076, - "nodeType": "IfStatement", - "src": "8753:1457:6", - "trueBody": { - "id": 3973, - "nodeType": "Block", - "src": "8850:306:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 3970, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3958, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "9024:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "arguments": [ - { - "hexValue": "307834323030303030303030303030303030303030303030303030303030303030303030303030303030", - "id": 3961, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9039:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x4200000000000000000000000000000000000000" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 3960, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9031:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3959, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9031:7:6", - "typeDescriptions": {} - } - }, - "id": 3962, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9031:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9024:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3969, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3964, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "9086:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "arguments": [ - { - "hexValue": "307834323030303030303030303030303030303030303030303030303030303030303030303030383030", - "id": 3967, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9101:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x4200000000000000000000000000000000000800" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 3966, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9093:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3965, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9093:7:6", - "typeDescriptions": {} - } - }, - "id": 3968, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9093:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9086:58:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9024:120:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 3955, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "9014:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 3957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9017:6:6", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 8930, - "src": "9014:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure external" - } - }, - "id": 3971, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9014:131:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3972, - "nodeType": "ExpressionStatement", - "src": "9014:131:6" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assumeNoPrecompiles", - "nameLocation": "8293:19:6", - "parameters": { - "id": 3922, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3919, - "mutability": "mutable", - "name": "addr", - "nameLocation": "8321:4:6", - "nodeType": "VariableDeclaration", - "scope": 4078, - "src": "8313:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3918, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8313:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3921, - "mutability": "mutable", - "name": "chainId", - "nameLocation": "8335:7:6", - "nodeType": "VariableDeclaration", - "scope": 4078, - "src": "8327:15:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3920, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8327:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8312:31:6" - }, - "returnParameters": { - "id": 3923, - "nodeType": "ParameterList", - "parameters": [], - "src": "8366:0:6" - }, - "scope": 5094, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4170, - "nodeType": "FunctionDefinition", - "src": "10255:843:6", - "nodes": [], - "body": { - "id": 4169, - "nodeType": "Block", - "src": "10407:691:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4087 - ], - "declarations": [ - { - "constant": false, - "id": 4087, - "mutability": "mutable", - "name": "data", - "nameLocation": "10431:4:6", - "nodeType": "VariableDeclaration", - "scope": 4169, - "src": "10417:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4086, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10417:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4092, - "initialValue": { - "arguments": [ - { - "id": 4090, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4080, - "src": "10450:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4088, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "10438:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4089, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10441:8:6", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 8539, - "src": "10438:11:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) view external returns (string memory)" - } - }, - "id": 4091, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10438:17:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10417:38:6" - }, - { - "assignments": [ - 4094 - ], - "declarations": [ - { - "constant": false, - "id": 4094, - "mutability": "mutable", - "name": "parsedData", - "nameLocation": "10478:10:6", - "nodeType": "VariableDeclaration", - "scope": 4169, - "src": "10465:23:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4093, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10465:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4099, - "initialValue": { - "arguments": [ - { - "id": 4097, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4087, - "src": "10504:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4095, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "10491:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4096, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10494:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8726, - "src": "10491:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure external returns (bytes memory)" - } - }, - "id": 4098, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10491:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10465:44:6" - }, - { - "assignments": [ - 4102 - ], - "declarations": [ - { - "constant": false, - "id": 4102, - "mutability": "mutable", - "name": "rawArtifact", - "nameLocation": "10551:11:6", - "nodeType": "VariableDeclaration", - "scope": 4169, - "src": "10519:43:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact" - }, - "typeName": { - "id": 4101, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4100, - "name": "RawEIP1559ScriptArtifact", - "nameLocations": [ - "10519:24:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3641, - "src": "10519:24:6" - }, - "referencedDeclaration": 3641, - "src": "10519:24:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_storage_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact" - } - }, - "visibility": "internal" - } - ], - "id": 4109, - "initialValue": { - "arguments": [ - { - "id": 4105, - "name": "parsedData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4094, - "src": "10576:10:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 4106, - "name": "RawEIP1559ScriptArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3641, - "src": "10589:24:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$3641_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawEIP1559ScriptArtifact storage pointer)" - } - } - ], - "id": 4107, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10588:26:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$3641_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawEIP1559ScriptArtifact storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$3641_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawEIP1559ScriptArtifact storage pointer)" - } - ], - "expression": { - "id": 4103, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10565:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10569:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "10565:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4108, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10565:50:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10519:96:6" - }, - { - "assignments": [ - 4112 - ], - "declarations": [ - { - "constant": false, - "id": 4112, - "mutability": "mutable", - "name": "artifact", - "nameLocation": "10654:8:6", - "nodeType": "VariableDeclaration", - "scope": 4169, - "src": "10625:37:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact" - }, - "typeName": { - "id": 4111, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4110, - "name": "EIP1559ScriptArtifact", - "nameLocations": [ - "10625:21:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3618, - "src": "10625:21:6" - }, - "referencedDeclaration": 3618, - "src": "10625:21:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_storage_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact" - } - }, - "visibility": "internal" - } - ], - "id": 4113, - "nodeType": "VariableDeclarationStatement", - "src": "10625:37:6" - }, - { - "expression": { - "id": 4119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4114, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4112, - "src": "10672:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" - } - }, - "id": 4116, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10681:9:6", - "memberName": "libraries", - "nodeType": "MemberAccess", - "referencedDeclaration": 3598, - "src": "10672:18:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4117, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4102, - "src": "10693:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4118, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10705:9:6", - "memberName": "libraries", - "nodeType": "MemberAccess", - "referencedDeclaration": 3621, - "src": "10693:21:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "10672:42:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 4120, - "nodeType": "ExpressionStatement", - "src": "10672:42:6" - }, - { - "expression": { - "id": 4126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4121, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4112, - "src": "10724:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" - } - }, - "id": 4123, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10733:4:6", - "memberName": "path", - "nodeType": "MemberAccess", - "referencedDeclaration": 3600, - "src": "10724:13:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4124, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4102, - "src": "10740:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4125, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10752:4:6", - "memberName": "path", - "nodeType": "MemberAccess", - "referencedDeclaration": 3623, - "src": "10740:16:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "10724:32:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4127, - "nodeType": "ExpressionStatement", - "src": "10724:32:6" - }, - { - "expression": { - "id": 4133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4128, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4112, - "src": "10766:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" - } - }, - "id": 4130, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10775:9:6", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": 3609, - "src": "10766:18:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4131, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4102, - "src": "10787:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4132, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10799:9:6", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": 3636, - "src": "10787:21:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10766:42:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4134, - "nodeType": "ExpressionStatement", - "src": "10766:42:6" - }, - { - "expression": { - "id": 4140, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4135, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4112, - "src": "10818:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" - } - }, - "id": 4137, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10827:7:6", - "memberName": "pending", - "nodeType": "MemberAccess", - "referencedDeclaration": 3603, - "src": "10818:16:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4138, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4102, - "src": "10837:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4139, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10849:7:6", - "memberName": "pending", - "nodeType": "MemberAccess", - "referencedDeclaration": 3626, - "src": "10837:19:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "10818:38:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 4141, - "nodeType": "ExpressionStatement", - "src": "10818:38:6" - }, - { - "expression": { - "id": 4147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4142, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4112, - "src": "10866:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" - } - }, - "id": 4144, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10875:9:6", - "memberName": "txReturns", - "nodeType": "MemberAccess", - "referencedDeclaration": 3617, - "src": "10866:18:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.TxReturn memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4145, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4102, - "src": "10887:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4146, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10899:9:6", - "memberName": "txReturns", - "nodeType": "MemberAccess", - "referencedDeclaration": 3634, - "src": "10887:21:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.TxReturn memory[] memory" - } - }, - "src": "10866:42:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$3688_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.TxReturn memory[] memory" - } - }, - "id": 4148, - "nodeType": "ExpressionStatement", - "src": "10866:42:6" - }, - { - "expression": { - "id": 4156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4149, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4112, - "src": "10918:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" - } - }, - "id": 4151, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10927:8:6", - "memberName": "receipts", - "nodeType": "MemberAccess", - "referencedDeclaration": 3607, - "src": "10918:17:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4153, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4102, - "src": "10961:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4154, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10973:8:6", - "memberName": "receipts", - "nodeType": "MemberAccess", - "referencedDeclaration": 3630, - "src": "10961:20:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" - } - ], - "id": 4152, - "name": "rawToConvertedReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4602, - "src": "10938:22:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawReceipt memory[] memory) pure returns (struct StdCheatsSafe.Receipt memory[] memory)" - } - }, - "id": 4155, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10938:44:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory[] memory" - } - }, - "src": "10918:64:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory[] memory" - } - }, - "id": 4157, - "nodeType": "ExpressionStatement", - "src": "10918:64:6" - }, - { - "expression": { - "id": 4165, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4158, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4112, - "src": "10992:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" - } - }, - "id": 4160, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "11001:12:6", - "memberName": "transactions", - "nodeType": "MemberAccess", - "referencedDeclaration": 3613, - "src": "10992:21:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4162, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4102, - "src": "11041:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$3641_memory_ptr", - "typeString": "struct StdCheatsSafe.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4163, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11053:12:6", - "memberName": "transactions", - "nodeType": "MemberAccess", - "referencedDeclaration": 3640, - "src": "11041:24:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" - } - ], - "id": 4161, - "name": "rawToConvertedEIPTx1559s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4219, - "src": "11016:24:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawTx1559 memory[] memory) pure returns (struct StdCheatsSafe.Tx1559 memory[] memory)" - } - }, - "id": 4164, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11016:50:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" - } - }, - "src": "10992:74:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" - } - }, - "id": 4166, - "nodeType": "ExpressionStatement", - "src": "10992:74:6" - }, - { - "expression": { - "id": 4167, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4112, - "src": "11083:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact memory" - } - }, - "functionReturnParameters": 4085, - "id": 4168, - "nodeType": "Return", - "src": "11076:15:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readEIP1559ScriptArtifact", - "nameLocation": "10264:25:6", - "parameters": { - "id": 4081, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4080, - "mutability": "mutable", - "name": "path", - "nameLocation": "10304:4:6", - "nodeType": "VariableDeclaration", - "scope": 4170, - "src": "10290:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4079, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10290:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10289:20:6" - }, - "returnParameters": { - "id": 4085, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4084, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4170, - "src": "10373:28:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_memory_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact" - }, - "typeName": { - "id": 4083, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4082, - "name": "EIP1559ScriptArtifact", - "nameLocations": [ - "10373:21:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3618, - "src": "10373:21:6" - }, - "referencedDeclaration": 3618, - "src": "10373:21:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$3618_storage_ptr", - "typeString": "struct StdCheatsSafe.EIP1559ScriptArtifact" - } - }, - "visibility": "internal" - } - ], - "src": "10372:30:6" - }, - "scope": 5094, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4219, - "nodeType": "FunctionDefinition", - "src": "11104:312:6", - "nodes": [], - "body": { - "id": 4218, - "nodeType": "Block", - "src": "11213:203:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4185 - ], - "declarations": [ - { - "constant": false, - "id": 4185, - "mutability": "mutable", - "name": "txs", - "nameLocation": "11239:3:6", - "nodeType": "VariableDeclaration", - "scope": 4218, - "src": "11223:19:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4183, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4182, - "name": "Tx1559", - "nameLocations": [ - "11223:6:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3462, - "src": "11223:6:6" - }, - "referencedDeclaration": 3462, - "src": "11223:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - } - }, - "id": 4184, - "nodeType": "ArrayTypeName", - "src": "11223:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559[]" - } - }, - "visibility": "internal" - } - ], - "id": 4193, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 4190, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4174, - "src": "11258:6:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" - } - }, - "id": 4191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11265:6:6", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "11258:13:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4189, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "11245:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct StdCheatsSafe.Tx1559 memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 4187, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4186, - "name": "Tx1559", - "nameLocations": [ - "11249:6:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3462, - "src": "11249:6:6" - }, - "referencedDeclaration": 3462, - "src": "11249:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - } - }, - "id": 4188, - "nodeType": "ArrayTypeName", - "src": "11249:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559[]" - } - } - }, - "id": 4192, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11245:27:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11223:49:6" - }, - { - "body": { - "id": 4214, - "nodeType": "Block", - "src": "11322:68:6", - "statements": [ - { - "expression": { - "id": 4212, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 4204, - "name": "txs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4185, - "src": "11336:3:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" - } - }, - "id": 4206, - "indexExpression": { - "id": 4205, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4195, - "src": "11340:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11336:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 4208, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4174, - "src": "11369:6:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" - } - }, - "id": 4210, - "indexExpression": { - "id": 4209, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4195, - "src": "11376:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11369:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - ], - "id": 4207, - "name": "rawToConvertedEIPTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4279, - "src": "11345:23:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559_$3426_memory_ptr_$returns$_t_struct$_Tx1559_$3462_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawTx1559 memory) pure returns (struct StdCheatsSafe.Tx1559 memory)" - } - }, - "id": 4211, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11345:34:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "src": "11336:43:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "id": 4213, - "nodeType": "ExpressionStatement", - "src": "11336:43:6" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4197, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4195, - "src": "11298:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 4198, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4174, - "src": "11302:6:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" - } - }, - "id": 4199, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11309:6:6", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "11302:13:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11298:17:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4215, - "initializationExpression": { - "assignments": [ - 4195 - ], - "declarations": [ - { - "constant": false, - "id": 4195, - "mutability": "mutable", - "name": "i", - "nameLocation": "11295:1:6", - "nodeType": "VariableDeclaration", - "scope": 4215, - "src": "11287:9:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4194, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11287:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4196, - "nodeType": "VariableDeclarationStatement", - "src": "11287:9:6" - }, - "loopExpression": { - "expression": { - "id": 4202, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "11317:3:6", - "subExpression": { - "id": 4201, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4195, - "src": "11317:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4203, - "nodeType": "ExpressionStatement", - "src": "11317:3:6" - }, - "nodeType": "ForStatement", - "src": "11282:108:6" - }, - { - "expression": { - "id": 4216, - "name": "txs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4185, - "src": "11406:3:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" - } - }, - "functionReturnParameters": 4180, - "id": 4217, - "nodeType": "Return", - "src": "11399:10:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedEIPTx1559s", - "nameLocation": "11113:24:6", - "parameters": { - "id": 4175, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4174, - "mutability": "mutable", - "name": "rawTxs", - "nameLocation": "11157:6:6", - "nodeType": "VariableDeclaration", - "scope": 4219, - "src": "11138:25:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559[]" - }, - "typeName": { - "baseType": { - "id": 4172, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4171, - "name": "RawTx1559", - "nameLocations": [ - "11138:9:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3426, - "src": "11138:9:6" - }, - "referencedDeclaration": 3426, - "src": "11138:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559" - } - }, - "id": 4173, - "nodeType": "ArrayTypeName", - "src": "11138:11:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559[]" - } - }, - "visibility": "internal" - } - ], - "src": "11137:27:6" - }, - "returnParameters": { - "id": 4180, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4179, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4219, - "src": "11196:15:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4177, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4176, - "name": "Tx1559", - "nameLocations": [ - "11196:6:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3462, - "src": "11196:6:6" - }, - "referencedDeclaration": 3462, - "src": "11196:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - } - }, - "id": 4178, - "nodeType": "ArrayTypeName", - "src": "11196:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559[]" - } - }, - "visibility": "internal" - } - ], - "src": "11195:17:6" - }, - "scope": 5094, - "stateMutability": "pure", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4279, - "nodeType": "FunctionDefinition", - "src": "11422:488:6", - "nodes": [], - "body": { - "id": 4278, - "nodeType": "Block", - "src": "11525:385:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4230 - ], - "declarations": [ - { - "constant": false, - "id": 4230, - "mutability": "mutable", - "name": "transaction", - "nameLocation": "11549:11:6", - "nodeType": "VariableDeclaration", - "scope": 4278, - "src": "11535:25:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - }, - "typeName": { - "id": 4229, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4228, - "name": "Tx1559", - "nameLocations": [ - "11535:6:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3462, - "src": "11535:6:6" - }, - "referencedDeclaration": 3462, - "src": "11535:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - } - }, - "visibility": "internal" - } - ], - "id": 4231, - "nodeType": "VariableDeclarationStatement", - "src": "11535:25:6" - }, - { - "expression": { - "id": 4237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4232, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4230, - "src": "11570:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "id": 4234, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "11582:9:6", - "memberName": "arguments", - "nodeType": "MemberAccess", - "referencedDeclaration": 3448, - "src": "11570:21:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4235, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4222, - "src": "11594:5:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - }, - "id": 4236, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11600:9:6", - "memberName": "arguments", - "nodeType": "MemberAccess", - "referencedDeclaration": 3412, - "src": "11594:15:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "11570:39:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 4238, - "nodeType": "ExpressionStatement", - "src": "11570:39:6" - }, - { - "expression": { - "id": 4244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4239, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4230, - "src": "11619:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "id": 4241, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "11631:12:6", - "memberName": "contractName", - "nodeType": "MemberAccess", - "referencedDeclaration": 3452, - "src": "11619:24:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4242, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4222, - "src": "11646:5:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - }, - "id": 4243, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11652:12:6", - "memberName": "contractName", - "nodeType": "MemberAccess", - "referencedDeclaration": 3416, - "src": "11646:18:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "11619:45:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4245, - "nodeType": "ExpressionStatement", - "src": "11619:45:6" - }, - { - "expression": { - "id": 4251, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4246, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4230, - "src": "11674:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "id": 4248, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "11686:11:6", - "memberName": "functionSig", - "nodeType": "MemberAccess", - "referencedDeclaration": 3454, - "src": "11674:23:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4249, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4222, - "src": "11700:5:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - }, - "id": 4250, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11706:11:6", - "memberName": "functionSig", - "nodeType": "MemberAccess", - "referencedDeclaration": 3418, - "src": "11700:17:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "11674:43:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4252, - "nodeType": "ExpressionStatement", - "src": "11674:43:6" - }, - { - "expression": { - "id": 4258, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4253, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4230, - "src": "11727:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "id": 4255, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "11739:4:6", - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 3456, - "src": "11727:16:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4256, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4222, - "src": "11746:5:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - }, - "id": 4257, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11752:4:6", - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 3420, - "src": "11746:10:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "11727:29:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4259, - "nodeType": "ExpressionStatement", - "src": "11727:29:6" - }, - { - "expression": { - "id": 4267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4260, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4230, - "src": "11766:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "id": 4262, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "11778:8:6", - "memberName": "txDetail", - "nodeType": "MemberAccess", - "referencedDeclaration": 3459, - "src": "11766:20:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4264, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4222, - "src": "11817:5:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - }, - "id": 4265, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11823:8:6", - "memberName": "txDetail", - "nodeType": "MemberAccess", - "referencedDeclaration": 3423, - "src": "11817:14:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - ], - "id": 4263, - "name": "rawToConvertedEIP1559Detail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4359, - "src": "11789:27:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559Detail_$3445_memory_ptr_$returns$_t_struct$_Tx1559Detail_$3481_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawTx1559Detail memory) pure returns (struct StdCheatsSafe.Tx1559Detail memory)" - } - }, - "id": 4266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11789:43:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "src": "11766:66:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "id": 4268, - "nodeType": "ExpressionStatement", - "src": "11766:66:6" - }, - { - "expression": { - "id": 4274, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4269, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4230, - "src": "11842:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "id": 4271, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "11854:6:6", - "memberName": "opcode", - "nodeType": "MemberAccess", - "referencedDeclaration": 3461, - "src": "11842:18:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4272, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4222, - "src": "11863:5:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - }, - "id": 4273, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11869:6:6", - "memberName": "opcode", - "nodeType": "MemberAccess", - "referencedDeclaration": 3425, - "src": "11863:12:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "11842:33:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4275, - "nodeType": "ExpressionStatement", - "src": "11842:33:6" - }, - { - "expression": { - "id": 4276, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4230, - "src": "11892:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "functionReturnParameters": 4227, - "id": 4277, - "nodeType": "Return", - "src": "11885:18:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedEIPTx1559", - "nameLocation": "11431:23:6", - "parameters": { - "id": 4223, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4222, - "mutability": "mutable", - "name": "rawTx", - "nameLocation": "11472:5:6", - "nodeType": "VariableDeclaration", - "scope": 4279, - "src": "11455:22:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559" - }, - "typeName": { - "id": 4221, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4220, - "name": "RawTx1559", - "nameLocations": [ - "11455:9:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3426, - "src": "11455:9:6" - }, - "referencedDeclaration": 3426, - "src": "11455:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559" - } - }, - "visibility": "internal" - } - ], - "src": "11454:24:6" - }, - "returnParameters": { - "id": 4227, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4226, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4279, - "src": "11510:13:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - }, - "typeName": { - "id": 4225, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4224, - "name": "Tx1559", - "nameLocations": [ - "11510:6:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3462, - "src": "11510:6:6" - }, - "referencedDeclaration": 3462, - "src": "11510:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - } - }, - "visibility": "internal" - } - ], - "src": "11509:15:6" - }, - "scope": 5094, - "stateMutability": "pure", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4359, - "nodeType": "FunctionDefinition", - "src": "11916:619:6", - "nodes": [], - "body": { - "id": 4358, - "nodeType": "Block", - "src": "12075:460:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4290 - ], - "declarations": [ - { - "constant": false, - "id": 4290, - "mutability": "mutable", - "name": "txDetail", - "nameLocation": "12105:8:6", - "nodeType": "VariableDeclaration", - "scope": 4358, - "src": "12085:28:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail" - }, - "typeName": { - "id": 4289, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4288, - "name": "Tx1559Detail", - "nameLocations": [ - "12085:12:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3481, - "src": "12085:12:6" - }, - "referencedDeclaration": 3481, - "src": "12085:12:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail" - } - }, - "visibility": "internal" - } - ], - "id": 4291, - "nodeType": "VariableDeclarationStatement", - "src": "12085:28:6" - }, - { - "expression": { - "id": 4297, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4292, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4290, - "src": "12123:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "id": 4294, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "12132:4:6", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 3468, - "src": "12123:13:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4295, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4282, - "src": "12139:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - }, - "id": 4296, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12149:4:6", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 3432, - "src": "12139:14:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "12123:30:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 4298, - "nodeType": "ExpressionStatement", - "src": "12123:30:6" - }, - { - "expression": { - "id": 4304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4299, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4290, - "src": "12163:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "id": 4301, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "12172:4:6", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 3470, - "src": "12163:13:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4302, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4282, - "src": "12179:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - }, - "id": 4303, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12189:4:6", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 3434, - "src": "12179:14:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "12163:30:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4305, - "nodeType": "ExpressionStatement", - "src": "12163:30:6" - }, - { - "expression": { - "id": 4311, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4306, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4290, - "src": "12203:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "id": 4308, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "12212:2:6", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 3476, - "src": "12203:11:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4309, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4282, - "src": "12217:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - }, - "id": 4310, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12227:2:6", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 3440, - "src": "12217:12:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "12203:26:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4312, - "nodeType": "ExpressionStatement", - "src": "12203:26:6" - }, - { - "expression": { - "id": 4320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4313, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4290, - "src": "12239:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "id": 4315, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "12248:5:6", - "memberName": "nonce", - "nodeType": "MemberAccess", - "referencedDeclaration": 3474, - "src": "12239:14:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4317, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4282, - "src": "12269:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - }, - "id": 4318, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12279:5:6", - "memberName": "nonce", - "nodeType": "MemberAccess", - "referencedDeclaration": 3438, - "src": "12269:15:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4316, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "12256:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4319, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12256:29:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12239:46:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4321, - "nodeType": "ExpressionStatement", - "src": "12239:46:6" - }, - { - "expression": { - "id": 4329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4322, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4290, - "src": "12295:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "id": 4324, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "12304:6:6", - "memberName": "txType", - "nodeType": "MemberAccess", - "referencedDeclaration": 3478, - "src": "12295:15:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4326, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4282, - "src": "12326:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - }, - "id": 4327, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12336:6:6", - "memberName": "txType", - "nodeType": "MemberAccess", - "referencedDeclaration": 3442, - "src": "12326:16:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4325, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "12313:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4328, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12313:30:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12295:48:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4330, - "nodeType": "ExpressionStatement", - "src": "12295:48:6" - }, - { - "expression": { - "id": 4338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4331, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4290, - "src": "12353:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "id": 4333, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "12362:5:6", - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": 3480, - "src": "12353:14:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4335, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4282, - "src": "12383:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - }, - "id": 4336, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12393:5:6", - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": 3444, - "src": "12383:15:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4334, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "12370:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12370:29:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12353:46:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4339, - "nodeType": "ExpressionStatement", - "src": "12353:46:6" - }, - { - "expression": { - "id": 4347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4340, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4290, - "src": "12409:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "id": 4342, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "12418:3:6", - "memberName": "gas", - "nodeType": "MemberAccess", - "referencedDeclaration": 3472, - "src": "12409:12:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4344, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4282, - "src": "12437:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - }, - "id": 4345, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12447:3:6", - "memberName": "gas", - "nodeType": "MemberAccess", - "referencedDeclaration": 3436, - "src": "12437:13:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4343, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "12424:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12424:27:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12409:42:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4348, - "nodeType": "ExpressionStatement", - "src": "12409:42:6" - }, - { - "expression": { - "id": 4354, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4349, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4290, - "src": "12461:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "id": 4351, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "12470:10:6", - "memberName": "accessList", - "nodeType": "MemberAccess", - "referencedDeclaration": 3466, - "src": "12461:19:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.AccessList memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4352, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4282, - "src": "12483:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail memory" - } - }, - "id": 4353, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12493:10:6", - "memberName": "accessList", - "nodeType": "MemberAccess", - "referencedDeclaration": 3430, - "src": "12483:20:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.AccessList memory[] memory" - } - }, - "src": "12461:42:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$3537_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.AccessList memory[] memory" - } - }, - "id": 4355, - "nodeType": "ExpressionStatement", - "src": "12461:42:6" - }, - { - "expression": { - "id": 4356, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4290, - "src": "12520:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail memory" - } - }, - "functionReturnParameters": 4287, - "id": 4357, - "nodeType": "Return", - "src": "12513:15:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedEIP1559Detail", - "nameLocation": "11925:27:6", - "parameters": { - "id": 4283, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4282, - "mutability": "mutable", - "name": "rawDetail", - "nameLocation": "11976:9:6", - "nodeType": "VariableDeclaration", - "scope": 4359, - "src": "11953:32:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail" - }, - "typeName": { - "id": 4281, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4280, - "name": "RawTx1559Detail", - "nameLocations": [ - "11953:15:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3445, - "src": "11953:15:6" - }, - "referencedDeclaration": 3445, - "src": "11953:15:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$3445_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559Detail" - } - }, - "visibility": "internal" - } - ], - "src": "11952:34:6" - }, - "returnParameters": { - "id": 4287, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4286, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4359, - "src": "12050:19:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail" - }, - "typeName": { - "id": 4285, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4284, - "name": "Tx1559Detail", - "nameLocations": [ - "12050:12:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3481, - "src": "12050:12:6" - }, - "referencedDeclaration": 3481, - "src": "12050:12:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$3481_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559Detail" - } - }, - "visibility": "internal" - } - ], - "src": "12049:21:6" - }, - "scope": 5094, - "stateMutability": "pure", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4401, - "nodeType": "FunctionDefinition", - "src": "12541:363:6", - "nodes": [], - "body": { - "id": 4400, - "nodeType": "Block", - "src": "12630:274:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4369 - ], - "declarations": [ - { - "constant": false, - "id": 4369, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "12654:10:6", - "nodeType": "VariableDeclaration", - "scope": 4400, - "src": "12640:24:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4368, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12640:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4374, - "initialValue": { - "arguments": [ - { - "id": 4372, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4361, - "src": "12679:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4370, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "12667:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4371, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12670:8:6", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 8539, - "src": "12667:11:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) view external returns (string memory)" - } - }, - "id": 4373, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12667:17:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12640:44:6" - }, - { - "assignments": [ - 4376 - ], - "declarations": [ - { - "constant": false, - "id": 4376, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "12707:16:6", - "nodeType": "VariableDeclaration", - "scope": 4400, - "src": "12694:29:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4375, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "12694:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4382, - "initialValue": { - "arguments": [ - { - "id": 4379, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4369, - "src": "12739:10:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "2e7472616e73616374696f6e73", - "id": 4380, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12751:15:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9b594723e6093f4c1c210e08bcd523373e89874e267b69a9d9a7cb17952e3049", - "typeString": "literal_string \".transactions\"" - }, - "value": ".transactions" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_9b594723e6093f4c1c210e08bcd523373e89874e267b69a9d9a7cb17952e3049", - "typeString": "literal_string \".transactions\"" - } - ], - "expression": { - "id": 4377, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "12726:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4378, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12729:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "12726:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 4381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12726:41:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12694:73:6" - }, - { - "assignments": [ - 4387 - ], - "declarations": [ - { - "constant": false, - "id": 4387, - "mutability": "mutable", - "name": "rawTxs", - "nameLocation": "12796:6:6", - "nodeType": "VariableDeclaration", - "scope": 4400, - "src": "12777:25:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559[]" - }, - "typeName": { - "baseType": { - "id": 4385, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4384, - "name": "RawTx1559", - "nameLocations": [ - "12777:9:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3426, - "src": "12777:9:6" - }, - "referencedDeclaration": 3426, - "src": "12777:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559" - } - }, - "id": 4386, - "nodeType": "ArrayTypeName", - "src": "12777:11:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559[]" - } - }, - "visibility": "internal" - } - ], - "id": 4395, - "initialValue": { - "arguments": [ - { - "id": 4390, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4376, - "src": "12816:16:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 4391, - "name": "RawTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3426, - "src": "12835:9:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$3426_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawTx1559 storage pointer)" - } - }, - "id": 4392, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12835:11:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawTx1559 memory[] memory)" - } - } - ], - "id": 4393, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "12834:13:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawTx1559 memory[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawTx1559 memory[] memory)" - } - ], - "expression": { - "id": 4388, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12805:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4389, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12809:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "12805:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4394, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12805:43:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12777:71:6" - }, - { - "expression": { - "arguments": [ - { - "id": 4397, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4387, - "src": "12890:6:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory[] memory" - } - ], - "id": 4396, - "name": "rawToConvertedEIPTx1559s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4219, - "src": "12865:24:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawTx1559_$3426_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawTx1559 memory[] memory) pure returns (struct StdCheatsSafe.Tx1559 memory[] memory)" - } - }, - "id": 4398, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12865:32:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory[] memory" - } - }, - "functionReturnParameters": 4367, - "id": 4399, - "nodeType": "Return", - "src": "12858:39:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readTx1559s", - "nameLocation": "12550:11:6", - "parameters": { - "id": 4362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4361, - "mutability": "mutable", - "name": "path", - "nameLocation": "12576:4:6", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "12562:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4360, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12562:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12561:20:6" - }, - "returnParameters": { - "id": 4367, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4366, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "12613:15:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4364, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4363, - "name": "Tx1559", - "nameLocations": [ - "12613:6:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3462, - "src": "12613:6:6" - }, - "referencedDeclaration": 3462, - "src": "12613:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - } - }, - "id": 4365, - "nodeType": "ArrayTypeName", - "src": "12613:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$3462_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559[]" - } - }, - "visibility": "internal" - } - ], - "src": "12612:17:6" - }, - "scope": 5094, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4456, - "nodeType": "FunctionDefinition", - "src": "12910:453:6", - "nodes": [], - "body": { - "id": 4455, - "nodeType": "Block", - "src": "13011:352:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4412 - ], - "declarations": [ - { - "constant": false, - "id": 4412, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "13035:10:6", - "nodeType": "VariableDeclaration", - "scope": 4455, - "src": "13021:24:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4411, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13021:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4417, - "initialValue": { - "arguments": [ - { - "id": 4415, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4403, - "src": "13060:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4413, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "13048:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13051:8:6", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 8539, - "src": "13048:11:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) view external returns (string memory)" - } - }, - "id": 4416, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13048:17:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13021:44:6" - }, - { - "assignments": [ - 4419 - ], - "declarations": [ - { - "constant": false, - "id": 4419, - "mutability": "mutable", - "name": "key", - "nameLocation": "13089:3:6", - "nodeType": "VariableDeclaration", - "scope": 4455, - "src": "13075:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4418, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13075:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4432, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "2e7472616e73616374696f6e735b", - "id": 4424, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13119:16:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7abc4cdd6094bba2d56cb8a26083c756a68ba4e3b40f345f8102e1fc2249cd5c", - "typeString": "literal_string \".transactions[\"" - }, - "value": ".transactions[" - }, - { - "arguments": [ - { - "id": 4427, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4405, - "src": "13149:5:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4425, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "13137:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13140:8:6", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 8624, - "src": "13137:11:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) pure external returns (string memory)" - } - }, - "id": 4428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13137:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "5d", - "id": 4429, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13157:3:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b36bcf9cc1d9e7f60b1f757ebd8b4694b17fc592b16065d243c43b09fde00b29", - "typeString": "literal_string \"]\"" - }, - "value": "]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7abc4cdd6094bba2d56cb8a26083c756a68ba4e3b40f345f8102e1fc2249cd5c", - "typeString": "literal_string \".transactions[\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_b36bcf9cc1d9e7f60b1f757ebd8b4694b17fc592b16065d243c43b09fde00b29", - "typeString": "literal_string \"]\"" - } - ], - "expression": { - "id": 4422, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13102:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4423, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13106:12:6", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "13102:16:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 4430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13102:59:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4421, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13095:6:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 4420, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13095:6:6", - "typeDescriptions": {} - } - }, - "id": 4431, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13095:67:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13075:87:6" - }, - { - "assignments": [ - 4434 - ], - "declarations": [ - { - "constant": false, - "id": 4434, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "13185:16:6", - "nodeType": "VariableDeclaration", - "scope": 4455, - "src": "13172:29:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4433, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "13172:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4440, - "initialValue": { - "arguments": [ - { - "id": 4437, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4412, - "src": "13217:10:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4438, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4419, - "src": "13229:3:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4435, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "13204:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4436, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13207:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "13204:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 4439, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13204:29:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13172:61:6" - }, - { - "assignments": [ - 4443 - ], - "declarations": [ - { - "constant": false, - "id": 4443, - "mutability": "mutable", - "name": "rawTx", - "nameLocation": "13260:5:6", - "nodeType": "VariableDeclaration", - "scope": 4455, - "src": "13243:22:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559" - }, - "typeName": { - "id": 4442, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4441, - "name": "RawTx1559", - "nameLocations": [ - "13243:9:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3426, - "src": "13243:9:6" - }, - "referencedDeclaration": 3426, - "src": "13243:9:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_storage_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559" - } - }, - "visibility": "internal" - } - ], - "id": 4450, - "initialValue": { - "arguments": [ - { - "id": 4446, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4434, - "src": "13279:16:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 4447, - "name": "RawTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3426, - "src": "13298:9:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$3426_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawTx1559 storage pointer)" - } - } - ], - "id": 4448, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "13297:11:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$3426_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawTx1559 storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$3426_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawTx1559 storage pointer)" - } - ], - "expression": { - "id": 4444, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13268:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4445, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13272:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "13268:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13268:41:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13243:66:6" - }, - { - "expression": { - "arguments": [ - { - "id": 4452, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4443, - "src": "13350:5:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawTx1559_$3426_memory_ptr", - "typeString": "struct StdCheatsSafe.RawTx1559 memory" - } - ], - "id": 4451, - "name": "rawToConvertedEIPTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4279, - "src": "13326:23:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559_$3426_memory_ptr_$returns$_t_struct$_Tx1559_$3462_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawTx1559 memory) pure returns (struct StdCheatsSafe.Tx1559 memory)" - } - }, - "id": 4453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13326:30:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559 memory" - } - }, - "functionReturnParameters": 4410, - "id": 4454, - "nodeType": "Return", - "src": "13319:37:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readTx1559", - "nameLocation": "12919:10:6", - "parameters": { - "id": 4406, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4403, - "mutability": "mutable", - "name": "path", - "nameLocation": "12944:4:6", - "nodeType": "VariableDeclaration", - "scope": 4456, - "src": "12930:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4402, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12930:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4405, - "mutability": "mutable", - "name": "index", - "nameLocation": "12958:5:6", - "nodeType": "VariableDeclaration", - "scope": 4456, - "src": "12950:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4404, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12950:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12929:35:6" - }, - "returnParameters": { - "id": 4410, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4409, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4456, - "src": "12996:13:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_memory_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - }, - "typeName": { - "id": 4408, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4407, - "name": "Tx1559", - "nameLocations": [ - "12996:6:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3462, - "src": "12996:6:6" - }, - "referencedDeclaration": 3462, - "src": "12996:6:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$3462_storage_ptr", - "typeString": "struct StdCheatsSafe.Tx1559" - } - }, - "visibility": "internal" - } - ], - "src": "12995:15:6" - }, - "scope": 5094, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4498, - "nodeType": "FunctionDefinition", - "src": "13425:371:6", - "nodes": [], - "body": { - "id": 4497, - "nodeType": "Block", - "src": "13516:280:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4466 - ], - "declarations": [ - { - "constant": false, - "id": 4466, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "13540:10:6", - "nodeType": "VariableDeclaration", - "scope": 4497, - "src": "13526:24:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4465, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13526:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4471, - "initialValue": { - "arguments": [ - { - "id": 4469, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4458, - "src": "13565:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4467, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "13553:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13556:8:6", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 8539, - "src": "13553:11:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) view external returns (string memory)" - } - }, - "id": 4470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13553:17:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13526:44:6" - }, - { - "assignments": [ - 4473 - ], - "declarations": [ - { - "constant": false, - "id": 4473, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "13593:16:6", - "nodeType": "VariableDeclaration", - "scope": 4497, - "src": "13580:29:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4472, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "13580:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4479, - "initialValue": { - "arguments": [ - { - "id": 4476, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4466, - "src": "13625:10:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "2e7265636569707473", - "id": 4477, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13637:11:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_29a5d3664a45019923b250b65c7d5b7f8c019d3960761fa9ca59b9001f893261", - "typeString": "literal_string \".receipts\"" - }, - "value": ".receipts" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_29a5d3664a45019923b250b65c7d5b7f8c019d3960761fa9ca59b9001f893261", - "typeString": "literal_string \".receipts\"" - } - ], - "expression": { - "id": 4474, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "13612:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13615:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "13612:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 4478, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13612:37:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13580:69:6" - }, - { - "assignments": [ - 4484 - ], - "declarations": [ - { - "constant": false, - "id": 4484, - "mutability": "mutable", - "name": "rawReceipts", - "nameLocation": "13679:11:6", - "nodeType": "VariableDeclaration", - "scope": 4497, - "src": "13659:31:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt[]" - }, - "typeName": { - "baseType": { - "id": 4482, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4481, - "name": "RawReceipt", - "nameLocations": [ - "13659:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3566, - "src": "13659:10:6" - }, - "referencedDeclaration": 3566, - "src": "13659:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt" - } - }, - "id": 4483, - "nodeType": "ArrayTypeName", - "src": "13659:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt[]" - } - }, - "visibility": "internal" - } - ], - "id": 4492, - "initialValue": { - "arguments": [ - { - "id": 4487, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4473, - "src": "13704:16:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 4488, - "name": "RawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3566, - "src": "13723:10:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$3566_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawReceipt storage pointer)" - } - }, - "id": 4489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13723:12:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawReceipt memory[] memory)" - } - } - ], - "id": 4490, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "13722:14:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawReceipt memory[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawReceipt memory[] memory)" - } - ], - "expression": { - "id": 4485, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13693:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4486, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13697:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "13693:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4491, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13693:44:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13659:78:6" - }, - { - "expression": { - "arguments": [ - { - "id": 4494, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4484, - "src": "13777:11:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" - } - ], - "id": 4493, - "name": "rawToConvertedReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4602, - "src": "13754:22:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawReceipt memory[] memory) pure returns (struct StdCheatsSafe.Receipt memory[] memory)" - } - }, - "id": 4495, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13754:35:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory[] memory" - } - }, - "functionReturnParameters": 4464, - "id": 4496, - "nodeType": "Return", - "src": "13747:42:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readReceipts", - "nameLocation": "13434:12:6", - "parameters": { - "id": 4459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4458, - "mutability": "mutable", - "name": "path", - "nameLocation": "13461:4:6", - "nodeType": "VariableDeclaration", - "scope": 4498, - "src": "13447:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4457, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13447:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13446:20:6" - }, - "returnParameters": { - "id": 4464, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4463, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4498, - "src": "13498:16:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 4461, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4460, - "name": "Receipt", - "nameLocations": [ - "13498:7:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3595, - "src": "13498:7:6" - }, - "referencedDeclaration": 3595, - "src": "13498:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - } - }, - "id": 4462, - "nodeType": "ArrayTypeName", - "src": "13498:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt[]" - } - }, - "visibility": "internal" - } - ], - "src": "13497:18:6" - }, - "scope": 5094, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4553, - "nodeType": "FunctionDefinition", - "src": "13802:461:6", - "nodes": [], - "body": { - "id": 4552, - "nodeType": "Block", - "src": "13905:358:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4509 - ], - "declarations": [ - { - "constant": false, - "id": 4509, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "13929:10:6", - "nodeType": "VariableDeclaration", - "scope": 4552, - "src": "13915:24:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4508, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13915:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4514, - "initialValue": { - "arguments": [ - { - "id": 4512, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4500, - "src": "13954:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4510, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "13942:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4511, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13945:8:6", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 8539, - "src": "13942:11:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) view external returns (string memory)" - } - }, - "id": 4513, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13942:17:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13915:44:6" - }, - { - "assignments": [ - 4516 - ], - "declarations": [ - { - "constant": false, - "id": 4516, - "mutability": "mutable", - "name": "key", - "nameLocation": "13983:3:6", - "nodeType": "VariableDeclaration", - "scope": 4552, - "src": "13969:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4515, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13969:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4529, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "2e72656365697074735b", - "id": 4521, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14013:12:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1f28b72ce547907c2ae0f1bd0fd1ff00aeea8e573cc3e4076246f258e653d170", - "typeString": "literal_string \".receipts[\"" - }, - "value": ".receipts[" - }, - { - "arguments": [ - { - "id": 4524, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4502, - "src": "14039:5:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4522, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "14027:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4523, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14030:8:6", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 8624, - "src": "14027:11:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) pure external returns (string memory)" - } - }, - "id": 4525, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14027:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "5d", - "id": 4526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14047:3:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b36bcf9cc1d9e7f60b1f757ebd8b4694b17fc592b16065d243c43b09fde00b29", - "typeString": "literal_string \"]\"" - }, - "value": "]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1f28b72ce547907c2ae0f1bd0fd1ff00aeea8e573cc3e4076246f258e653d170", - "typeString": "literal_string \".receipts[\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_b36bcf9cc1d9e7f60b1f757ebd8b4694b17fc592b16065d243c43b09fde00b29", - "typeString": "literal_string \"]\"" - } - ], - "expression": { - "id": 4519, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13996:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4520, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14000:12:6", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "13996:16:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 4527, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13996:55:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4518, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13989:6:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 4517, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13989:6:6", - "typeDescriptions": {} - } - }, - "id": 4528, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13989:63:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13969:83:6" - }, - { - "assignments": [ - 4531 - ], - "declarations": [ - { - "constant": false, - "id": 4531, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "14075:16:6", - "nodeType": "VariableDeclaration", - "scope": 4552, - "src": "14062:29:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4530, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "14062:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4537, - "initialValue": { - "arguments": [ - { - "id": 4534, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4509, - "src": "14107:10:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4535, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4516, - "src": "14119:3:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4532, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "14094:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4533, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14097:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "14094:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 4536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14094:29:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "14062:61:6" - }, - { - "assignments": [ - 4540 - ], - "declarations": [ - { - "constant": false, - "id": 4540, - "mutability": "mutable", - "name": "rawReceipt", - "nameLocation": "14151:10:6", - "nodeType": "VariableDeclaration", - "scope": 4552, - "src": "14133:28:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt" - }, - "typeName": { - "id": 4539, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4538, - "name": "RawReceipt", - "nameLocations": [ - "14133:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3566, - "src": "14133:10:6" - }, - "referencedDeclaration": 3566, - "src": "14133:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt" - } - }, - "visibility": "internal" - } - ], - "id": 4547, - "initialValue": { - "arguments": [ - { - "id": 4543, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4531, - "src": "14175:16:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 4544, - "name": "RawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3566, - "src": "14194:10:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$3566_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawReceipt storage pointer)" - } - } - ], - "id": 4545, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "14193:12:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$3566_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawReceipt storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$3566_storage_ptr_$", - "typeString": "type(struct StdCheatsSafe.RawReceipt storage pointer)" - } - ], - "expression": { - "id": 4541, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14164:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4542, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14168:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "14164:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4546, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14164:42:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "14133:73:6" - }, - { - "expression": { - "arguments": [ - { - "id": 4549, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4540, - "src": "14245:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - ], - "id": 4548, - "name": "rawToConvertedReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4723, - "src": "14223:21:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawReceipt_$3566_memory_ptr_$returns$_t_struct$_Receipt_$3595_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawReceipt memory) pure returns (struct StdCheatsSafe.Receipt memory)" - } - }, - "id": 4550, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14223:33:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "functionReturnParameters": 4507, - "id": 4551, - "nodeType": "Return", - "src": "14216:40:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readReceipt", - "nameLocation": "13811:11:6", - "parameters": { - "id": 4503, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4500, - "mutability": "mutable", - "name": "path", - "nameLocation": "13837:4:6", - "nodeType": "VariableDeclaration", - "scope": 4553, - "src": "13823:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4499, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13823:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4502, - "mutability": "mutable", - "name": "index", - "nameLocation": "13851:5:6", - "nodeType": "VariableDeclaration", - "scope": 4553, - "src": "13843:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4501, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13843:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13822:35:6" - }, - "returnParameters": { - "id": 4507, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4506, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4553, - "src": "13889:14:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - }, - "typeName": { - "id": 4505, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4504, - "name": "Receipt", - "nameLocations": [ - "13889:7:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3595, - "src": "13889:7:6" - }, - "referencedDeclaration": 3595, - "src": "13889:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - } - }, - "visibility": "internal" - } - ], - "src": "13888:16:6" - }, - "scope": 5094, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4602, - "nodeType": "FunctionDefinition", - "src": "14269:347:6", - "nodes": [], - "body": { - "id": 4601, - "nodeType": "Block", - "src": "14383:233:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4568 - ], - "declarations": [ - { - "constant": false, - "id": 4568, - "mutability": "mutable", - "name": "receipts", - "nameLocation": "14410:8:6", - "nodeType": "VariableDeclaration", - "scope": 4601, - "src": "14393:25:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 4566, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4565, - "name": "Receipt", - "nameLocations": [ - "14393:7:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3595, - "src": "14393:7:6" - }, - "referencedDeclaration": 3595, - "src": "14393:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - } - }, - "id": 4567, - "nodeType": "ArrayTypeName", - "src": "14393:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt[]" - } - }, - "visibility": "internal" - } - ], - "id": 4576, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 4573, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4557, - "src": "14435:11:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" - } - }, - "id": 4574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14447:6:6", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "14435:18:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "14421:13:6", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct StdCheatsSafe.Receipt memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 4570, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4569, - "name": "Receipt", - "nameLocations": [ - "14425:7:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3595, - "src": "14425:7:6" - }, - "referencedDeclaration": 3595, - "src": "14425:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - } - }, - "id": 4571, - "nodeType": "ArrayTypeName", - "src": "14425:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt[]" - } - } - }, - "id": 4575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14421:33:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "14393:61:6" - }, - { - "body": { - "id": 4597, - "nodeType": "Block", - "src": "14509:76:6", - "statements": [ - { - "expression": { - "id": 4595, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 4587, - "name": "receipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4568, - "src": "14523:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory[] memory" - } - }, - "id": 4589, - "indexExpression": { - "id": 4588, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4578, - "src": "14532:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "14523:11:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 4591, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4557, - "src": "14559:11:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" - } - }, - "id": 4593, - "indexExpression": { - "id": 4592, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4578, - "src": "14571:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "14559:14:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - ], - "id": 4590, - "name": "rawToConvertedReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4723, - "src": "14537:21:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawReceipt_$3566_memory_ptr_$returns$_t_struct$_Receipt_$3595_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawReceipt memory) pure returns (struct StdCheatsSafe.Receipt memory)" - } - }, - "id": 4594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14537:37:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "src": "14523:51:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4596, - "nodeType": "ExpressionStatement", - "src": "14523:51:6" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4580, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4578, - "src": "14480:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 4581, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4557, - "src": "14484:11:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory[] memory" - } - }, - "id": 4582, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14496:6:6", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "14484:18:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "14480:22:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4598, - "initializationExpression": { - "assignments": [ - 4578 - ], - "declarations": [ - { - "constant": false, - "id": 4578, - "mutability": "mutable", - "name": "i", - "nameLocation": "14477:1:6", - "nodeType": "VariableDeclaration", - "scope": 4598, - "src": "14469:9:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4577, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14469:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4579, - "nodeType": "VariableDeclarationStatement", - "src": "14469:9:6" - }, - "loopExpression": { - "expression": { - "id": 4585, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "14504:3:6", - "subExpression": { - "id": 4584, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4578, - "src": "14504:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4586, - "nodeType": "ExpressionStatement", - "src": "14504:3:6" - }, - "nodeType": "ForStatement", - "src": "14464:121:6" - }, - { - "expression": { - "id": 4599, - "name": "receipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4568, - "src": "14601:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory[] memory" - } - }, - "functionReturnParameters": 4563, - "id": 4600, - "nodeType": "Return", - "src": "14594:15:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedReceipts", - "nameLocation": "14278:22:6", - "parameters": { - "id": 4558, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4557, - "mutability": "mutable", - "name": "rawReceipts", - "nameLocation": "14321:11:6", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "14301:31:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt[]" - }, - "typeName": { - "baseType": { - "id": 4555, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4554, - "name": "RawReceipt", - "nameLocations": [ - "14301:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3566, - "src": "14301:10:6" - }, - "referencedDeclaration": 3566, - "src": "14301:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt" - } - }, - "id": 4556, - "nodeType": "ArrayTypeName", - "src": "14301:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$3566_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt[]" - } - }, - "visibility": "internal" - } - ], - "src": "14300:33:6" - }, - "returnParameters": { - "id": 4563, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4562, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "14365:16:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 4560, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4559, - "name": "Receipt", - "nameLocations": [ - "14365:7:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3595, - "src": "14365:7:6" - }, - "referencedDeclaration": 3595, - "src": "14365:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - } - }, - "id": 4561, - "nodeType": "ArrayTypeName", - "src": "14365:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$3595_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt[]" - } - }, - "visibility": "internal" - } - ], - "src": "14364:18:6" - }, - "scope": 5094, - "stateMutability": "pure", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4723, - "nodeType": "FunctionDefinition", - "src": "14622:962:6", - "nodes": [], - "body": { - "id": 4722, - "nodeType": "Block", - "src": "14730:854:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4613 - ], - "declarations": [ - { - "constant": false, - "id": 4613, - "mutability": "mutable", - "name": "receipt", - "nameLocation": "14755:7:6", - "nodeType": "VariableDeclaration", - "scope": 4722, - "src": "14740:22:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - }, - "typeName": { - "id": 4612, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4611, - "name": "Receipt", - "nameLocations": [ - "14740:7:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3595, - "src": "14740:7:6" - }, - "referencedDeclaration": 3595, - "src": "14740:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - } - }, - "visibility": "internal" - } - ], - "id": 4614, - "nodeType": "VariableDeclarationStatement", - "src": "14740:22:6" - }, - { - "expression": { - "id": 4620, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4615, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "14772:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4617, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "14780:9:6", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 3568, - "src": "14772:17:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4618, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "14792:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4619, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14803:9:6", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 3539, - "src": "14792:20:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "14772:40:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4621, - "nodeType": "ExpressionStatement", - "src": "14772:40:6" - }, - { - "expression": { - "id": 4627, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4622, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "14822:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4624, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "14830:2:6", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 3590, - "src": "14822:10:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4625, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "14835:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4626, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14846:2:6", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 3561, - "src": "14835:13:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "14822:26:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4628, - "nodeType": "ExpressionStatement", - "src": "14822:26:6" - }, - { - "expression": { - "id": 4634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4629, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "14858:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4631, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "14866:4:6", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 3578, - "src": "14858:12:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4632, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "14873:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4633, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14884:4:6", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 3549, - "src": "14873:15:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "14858:30:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4635, - "nodeType": "ExpressionStatement", - "src": "14858:30:6" - }, - { - "expression": { - "id": 4641, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4636, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "14898:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4638, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "14906:15:6", - "memberName": "contractAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 3572, - "src": "14898:23:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4639, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "14924:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4640, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14935:15:6", - "memberName": "contractAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 3543, - "src": "14924:26:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "14898:52:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4642, - "nodeType": "ExpressionStatement", - "src": "14898:52:6" - }, - { - "expression": { - "id": 4650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4643, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "14960:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4645, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "14968:17:6", - "memberName": "effectiveGasPrice", - "nodeType": "MemberAccess", - "referencedDeclaration": 3576, - "src": "14960:25:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4647, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "15001:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4648, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15012:17:6", - "memberName": "effectiveGasPrice", - "nodeType": "MemberAccess", - "referencedDeclaration": 3547, - "src": "15001:28:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4646, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "14988:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14988:42:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "14960:70:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4651, - "nodeType": "ExpressionStatement", - "src": "14960:70:6" - }, - { - "expression": { - "id": 4659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4652, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "15040:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4654, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15048:17:6", - "memberName": "cumulativeGasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 3574, - "src": "15040:25:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4656, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "15081:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4657, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15092:17:6", - "memberName": "cumulativeGasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 3545, - "src": "15081:28:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4655, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "15068:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15068:42:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15040:70:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4660, - "nodeType": "ExpressionStatement", - "src": "15040:70:6" - }, - { - "expression": { - "id": 4668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4661, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "15120:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4663, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15128:7:6", - "memberName": "gasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 3580, - "src": "15120:15:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4665, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "15151:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4666, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15162:7:6", - "memberName": "gasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 3551, - "src": "15151:18:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4664, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "15138:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15138:32:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15120:50:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4669, - "nodeType": "ExpressionStatement", - "src": "15120:50:6" - }, - { - "expression": { - "id": 4677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4670, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "15180:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4672, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15188:6:6", - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 3588, - "src": "15180:14:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4674, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "15210:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4675, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15221:6:6", - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 3559, - "src": "15210:17:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4673, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "15197:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15197:31:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15180:48:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4678, - "nodeType": "ExpressionStatement", - "src": "15180:48:6" - }, - { - "expression": { - "id": 4686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4679, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "15238:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4681, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15246:16:6", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 3594, - "src": "15238:24:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4683, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "15278:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4684, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15289:16:6", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 3565, - "src": "15278:27:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4682, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "15265:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4685, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15265:41:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15238:68:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4687, - "nodeType": "ExpressionStatement", - "src": "15238:68:6" - }, - { - "expression": { - "id": 4695, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4688, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "15316:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4690, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15324:11:6", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 3570, - "src": "15316:19:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4692, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "15351:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4693, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15362:11:6", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 3541, - "src": "15351:22:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4691, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "15338:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4694, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15338:36:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15316:58:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4696, - "nodeType": "ExpressionStatement", - "src": "15316:58:6" - }, - { - "expression": { - "id": 4704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4697, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "15384:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4699, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15392:4:6", - "memberName": "logs", - "nodeType": "MemberAccess", - "referencedDeclaration": 3584, - "src": "15384:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4701, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "15425:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4702, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15436:4:6", - "memberName": "logs", - "nodeType": "MemberAccess", - "referencedDeclaration": 3555, - "src": "15425:15:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - ], - "id": 4700, - "name": "rawToConvertedReceiptLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4860, - "src": "15399:25:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct StdCheatsSafe.RawReceiptLog memory[] memory) pure returns (struct StdCheatsSafe.ReceiptLog memory[] memory)" - } - }, - "id": 4703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15399:42:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "src": "15384:57:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4705, - "nodeType": "ExpressionStatement", - "src": "15384:57:6" - }, - { - "expression": { - "id": 4711, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4706, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "15451:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4708, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15459:9:6", - "memberName": "logsBloom", - "nodeType": "MemberAccess", - "referencedDeclaration": 3586, - "src": "15451:17:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4709, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "15471:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4710, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15482:9:6", - "memberName": "logsBloom", - "nodeType": "MemberAccess", - "referencedDeclaration": 3557, - "src": "15471:20:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "15451:40:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 4712, - "nodeType": "ExpressionStatement", - "src": "15451:40:6" - }, - { - "expression": { - "id": 4718, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4713, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "15501:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "id": 4715, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15509:15:6", - "memberName": "transactionHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 3592, - "src": "15501:23:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4716, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "15527:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt memory" - } - }, - "id": 4717, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15538:15:6", - "memberName": "transactionHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 3563, - "src": "15527:26:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "15501:52:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4719, - "nodeType": "ExpressionStatement", - "src": "15501:52:6" - }, - { - "expression": { - "id": 4720, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4613, - "src": "15570:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt memory" - } - }, - "functionReturnParameters": 4610, - "id": 4721, - "nodeType": "Return", - "src": "15563:14:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedReceipt", - "nameLocation": "14631:21:6", - "parameters": { - "id": 4606, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4605, - "mutability": "mutable", - "name": "rawReceipt", - "nameLocation": "14671:10:6", - "nodeType": "VariableDeclaration", - "scope": 4723, - "src": "14653:28:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt" - }, - "typeName": { - "id": 4604, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4603, - "name": "RawReceipt", - "nameLocations": [ - "14653:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3566, - "src": "14653:10:6" - }, - "referencedDeclaration": 3566, - "src": "14653:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$3566_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceipt" - } - }, - "visibility": "internal" - } - ], - "src": "14652:30:6" - }, - "returnParameters": { - "id": 4610, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4609, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4723, - "src": "14714:14:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_memory_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - }, - "typeName": { - "id": 4608, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4607, - "name": "Receipt", - "nameLocations": [ - "14714:7:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3595, - "src": "14714:7:6" - }, - "referencedDeclaration": 3595, - "src": "14714:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$3595_storage_ptr", - "typeString": "struct StdCheatsSafe.Receipt" - } - }, - "visibility": "internal" - } - ], - "src": "14713:16:6" - }, - "scope": 5094, - "stateMutability": "pure", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4860, - "nodeType": "FunctionDefinition", - "src": "15590:873:6", - "nodes": [], - "body": { - "id": 4859, - "nodeType": "Block", - "src": "15745:718:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4738 - ], - "declarations": [ - { - "constant": false, - "id": 4738, - "mutability": "mutable", - "name": "logs", - "nameLocation": "15775:4:6", - "nodeType": "VariableDeclaration", - "scope": 4859, - "src": "15755:24:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 4736, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4735, - "name": "ReceiptLog", - "nameLocations": [ - "15755:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3683, - "src": "15755:10:6" - }, - "referencedDeclaration": 3683, - "src": "15755:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_storage_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog" - } - }, - "id": 4737, - "nodeType": "ArrayTypeName", - "src": "15755:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog[]" - } - }, - "visibility": "internal" - } - ], - "id": 4746, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 4743, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "15799:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15807:6:6", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "15799:14:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4742, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "15782:16:6", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct StdCheatsSafe.ReceiptLog memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 4740, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4739, - "name": "ReceiptLog", - "nameLocations": [ - "15786:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3683, - "src": "15786:10:6" - }, - "referencedDeclaration": 3683, - "src": "15786:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_storage_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog" - } - }, - "id": 4741, - "nodeType": "ArrayTypeName", - "src": "15786:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog[]" - } - } - }, - "id": 4745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15782:32:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "15755:59:6" - }, - { - "body": { - "id": 4855, - "nodeType": "Block", - "src": "15865:571:6", - "statements": [ - { - "expression": { - "id": 4765, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 4757, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "15879:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4759, - "indexExpression": { - "id": 4758, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "15884:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15879:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory" - } - }, - "id": 4760, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15887:10:6", - "memberName": "logAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 3665, - "src": "15879:18:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 4761, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "15900:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4763, - "indexExpression": { - "id": 4762, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "15908:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15900:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory" - } - }, - "id": 4764, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15911:10:6", - "memberName": "logAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 3643, - "src": "15900:21:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "15879:42:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4766, - "nodeType": "ExpressionStatement", - "src": "15879:42:6" - }, - { - "expression": { - "id": 4775, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 4767, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "15935:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4769, - "indexExpression": { - "id": 4768, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "15940:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15935:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory" - } - }, - "id": 4770, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15943:9:6", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 3667, - "src": "15935:17:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 4771, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "15955:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4773, - "indexExpression": { - "id": 4772, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "15963:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15955:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory" - } - }, - "id": 4774, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15966:9:6", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 3645, - "src": "15955:20:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "15935:40:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4776, - "nodeType": "ExpressionStatement", - "src": "15935:40:6" - }, - { - "expression": { - "id": 4787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 4777, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "15989:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4779, - "indexExpression": { - "id": 4778, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "15994:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15989:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory" - } - }, - "id": 4780, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "15997:11:6", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 3669, - "src": "15989:19:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 4782, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "16024:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4784, - "indexExpression": { - "id": 4783, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16032:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16024:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory" - } - }, - "id": 4785, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "16035:11:6", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 3647, - "src": "16024:22:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4781, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "16011:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16011:36:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15989:58:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4788, - "nodeType": "ExpressionStatement", - "src": "15989:58:6" - }, - { - "expression": { - "id": 4797, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 4789, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "16061:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4791, - "indexExpression": { - "id": 4790, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16066:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16061:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory" - } - }, - "id": 4792, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "16069:4:6", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 3671, - "src": "16061:12:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 4793, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "16076:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4795, - "indexExpression": { - "id": 4794, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16084:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16076:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory" - } - }, - "id": 4796, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "16087:4:6", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 3649, - "src": "16076:15:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "16061:30:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 4798, - "nodeType": "ExpressionStatement", - "src": "16061:30:6" - }, - { - "expression": { - "id": 4809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 4799, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "16105:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4801, - "indexExpression": { - "id": 4800, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16110:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16105:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory" - } - }, - "id": 4802, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "16113:8:6", - "memberName": "logIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 3673, - "src": "16105:16:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 4804, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "16137:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4806, - "indexExpression": { - "id": 4805, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16145:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16137:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory" - } - }, - "id": 4807, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "16148:8:6", - "memberName": "logIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 3651, - "src": "16137:19:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4803, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "16124:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4808, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16124:33:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "16105:52:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4810, - "nodeType": "ExpressionStatement", - "src": "16105:52:6" - }, - { - "expression": { - "id": 4819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 4811, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "16171:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4813, - "indexExpression": { - "id": 4812, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16176:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16171:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory" - } - }, - "id": 4814, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "16179:6:6", - "memberName": "topics", - "nodeType": "MemberAccess", - "referencedDeclaration": 3676, - "src": "16171:14:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 4815, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "16188:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4817, - "indexExpression": { - "id": 4816, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16196:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16188:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory" - } - }, - "id": 4818, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "16199:6:6", - "memberName": "topics", - "nodeType": "MemberAccess", - "referencedDeclaration": 3656, - "src": "16188:17:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "src": "16171:34:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 4820, - "nodeType": "ExpressionStatement", - "src": "16171:34:6" - }, - { - "expression": { - "id": 4831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 4821, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "16219:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4823, - "indexExpression": { - "id": 4822, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16224:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16219:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory" - } - }, - "id": 4824, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "16227:16:6", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 3678, - "src": "16219:24:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 4826, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "16259:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4828, - "indexExpression": { - "id": 4827, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16267:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16259:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory" - } - }, - "id": 4829, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "16270:16:6", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 3660, - "src": "16259:27:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4825, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "16246:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16246:41:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "16219:68:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4832, - "nodeType": "ExpressionStatement", - "src": "16219:68:6" - }, - { - "expression": { - "id": 4843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 4833, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "16301:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4835, - "indexExpression": { - "id": 4834, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16306:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16301:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory" - } - }, - "id": 4836, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "16309:19:6", - "memberName": "transactionLogIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 3680, - "src": "16301:27:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 4838, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "16344:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4840, - "indexExpression": { - "id": 4839, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16352:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16344:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory" - } - }, - "id": 4841, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "16355:19:6", - "memberName": "transactionLogIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 3662, - "src": "16344:30:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4837, - "name": "_bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5093, - "src": "16331:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16331:44:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "16301:74:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4844, - "nodeType": "ExpressionStatement", - "src": "16301:74:6" - }, - { - "expression": { - "id": 4853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 4845, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "16389:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "id": 4847, - "indexExpression": { - "id": 4846, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16394:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16389:7:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory" - } - }, - "id": 4848, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "16397:7:6", - "memberName": "removed", - "nodeType": "MemberAccess", - "referencedDeclaration": 3682, - "src": "16389:15:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 4849, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "16407:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4851, - "indexExpression": { - "id": 4850, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "16415:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16407:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory" - } - }, - "id": 4852, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "16418:7:6", - "memberName": "removed", - "nodeType": "MemberAccess", - "referencedDeclaration": 3653, - "src": "16407:18:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "16389:36:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4854, - "nodeType": "ExpressionStatement", - "src": "16389:36:6" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4750, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "15840:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 4751, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4727, - "src": "15844:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog memory[] memory" - } - }, - "id": 4752, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15852:6:6", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "15844:14:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15840:18:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4856, - "initializationExpression": { - "assignments": [ - 4748 - ], - "declarations": [ - { - "constant": false, - "id": 4748, - "mutability": "mutable", - "name": "i", - "nameLocation": "15837:1:6", - "nodeType": "VariableDeclaration", - "scope": 4856, - "src": "15829:9:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4747, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15829:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4749, - "nodeType": "VariableDeclarationStatement", - "src": "15829:9:6" - }, - "loopExpression": { - "expression": { - "id": 4755, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "15860:3:6", - "subExpression": { - "id": 4754, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "15860:1:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4756, - "nodeType": "ExpressionStatement", - "src": "15860:3:6" - }, - "nodeType": "ForStatement", - "src": "15824:612:6" - }, - { - "expression": { - "id": 4857, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4738, - "src": "16452:4:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog memory[] memory" - } - }, - "functionReturnParameters": 4733, - "id": 4858, - "nodeType": "Return", - "src": "16445:11:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedReceiptLogs", - "nameLocation": "15599:25:6", - "parameters": { - "id": 4728, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4727, - "mutability": "mutable", - "name": "rawLogs", - "nameLocation": "15648:7:6", - "nodeType": "VariableDeclaration", - "scope": 4860, - "src": "15625:30:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 4725, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4724, - "name": "RawReceiptLog", - "nameLocations": [ - "15625:13:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3663, - "src": "15625:13:6" - }, - "referencedDeclaration": 3663, - "src": "15625:13:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$3663_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog" - } - }, - "id": 4726, - "nodeType": "ArrayTypeName", - "src": "15625:15:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$3663_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.RawReceiptLog[]" - } - }, - "visibility": "internal" - } - ], - "src": "15624:32:6" - }, - "returnParameters": { - "id": 4733, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4732, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4860, - "src": "15720:19:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_memory_ptr_$dyn_memory_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 4730, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4729, - "name": "ReceiptLog", - "nameLocations": [ - "15720:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3683, - "src": "15720:10:6" - }, - "referencedDeclaration": 3683, - "src": "15720:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$3683_storage_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog" - } - }, - "id": 4731, - "nodeType": "ArrayTypeName", - "src": "15720:12:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$3683_storage_$dyn_storage_ptr", - "typeString": "struct StdCheatsSafe.ReceiptLog[]" - } - }, - "visibility": "internal" - } - ], - "src": "15719:21:6" - }, - "scope": 5094, - "stateMutability": "pure", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4892, - "nodeType": "FunctionDefinition", - "src": "16623:416:6", - "nodes": [], - "body": { - "id": 4891, - "nodeType": "Block", - "src": "16722:317:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4870 - ], - "declarations": [ - { - "constant": false, - "id": 4870, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "16745:8:6", - "nodeType": "VariableDeclaration", - "scope": 4891, - "src": "16732:21:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4869, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16732:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4879, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 4875, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4862, - "src": "16784:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4873, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "16773:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4874, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "16776:7:6", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 8489, - "src": "16773:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) view external returns (bytes memory)" - } - }, - "id": 4876, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16773:16:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 4877, - "name": "args", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4864, - "src": "16791:4:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 4871, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16756:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4872, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16760:12:6", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "16756:16:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 4878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16756:40:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "16732:64:6" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "16858:79:6", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "16872:55:6", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "16887:1:6", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "16894:8:6" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "16904:4:6", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "16890:3:6" - }, - "nodeType": "YulFunctionCall", - "src": "16890:19:6" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "16917:8:6" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "16911:5:6" - }, - "nodeType": "YulFunctionCall", - "src": "16911:15:6" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "16880:6:6" - }, - "nodeType": "YulFunctionCall", - "src": "16880:47:6" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "16872:4:6" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 4867, - "isOffset": false, - "isSlot": false, - "src": "16872:4:6", - "valueSize": 1 - }, - { - "declaration": 4870, - "isOffset": false, - "isSlot": false, - "src": "16894:8:6", - "valueSize": 1 - }, - { - "declaration": 4870, - "isOffset": false, - "isSlot": false, - "src": "16917:8:6", - "valueSize": 1 - } - ], - "id": 4880, - "nodeType": "InlineAssembly", - "src": "16849:88:6" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4882, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4867, - "src": "16955:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 4885, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16971:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4884, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "16963:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4883, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16963:7:6", - "typeDescriptions": {} - } - }, - "id": 4886, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16963:10:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "16955:18:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "537464436865617473206465706c6f79436f646528737472696e672c6279746573293a204465706c6f796d656e74206661696c65642e", - "id": 4888, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16975:56:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a8fe98dd1d450e91397ea844d0b9cef01528a963df7b8ac4b93b8aa3ef69cfce", - "typeString": "literal_string \"StdCheats deployCode(string,bytes): Deployment failed.\"" - }, - "value": "StdCheats deployCode(string,bytes): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_a8fe98dd1d450e91397ea844d0b9cef01528a963df7b8ac4b93b8aa3ef69cfce", - "typeString": "literal_string \"StdCheats deployCode(string,bytes): Deployment failed.\"" - } - ], - "id": 4881, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "16947:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4889, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16947:85:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4890, - "nodeType": "ExpressionStatement", - "src": "16947:85:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "16632:10:6", - "parameters": { - "id": 4865, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4862, - "mutability": "mutable", - "name": "what", - "nameLocation": "16657:4:6", - "nodeType": "VariableDeclaration", - "scope": 4892, - "src": "16643:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4861, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16643:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4864, - "mutability": "mutable", - "name": "args", - "nameLocation": "16676:4:6", - "nodeType": "VariableDeclaration", - "scope": 4892, - "src": "16663:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4863, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16663:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "16642:39:6" - }, - "returnParameters": { - "id": 4868, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4867, - "mutability": "mutable", - "name": "addr", - "nameLocation": "16716:4:6", - "nodeType": "VariableDeclaration", - "scope": 4892, - "src": "16708:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4866, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16708:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "16707:14:6" - }, - "scope": 5094, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4918, - "nodeType": "FunctionDefinition", - "src": "17045:367:6", - "nodes": [], - "body": { - "id": 4917, - "nodeType": "Block", - "src": "17125:287:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4900 - ], - "declarations": [ - { - "constant": false, - "id": 4900, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "17148:8:6", - "nodeType": "VariableDeclaration", - "scope": 4917, - "src": "17135:21:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4899, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17135:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4905, - "initialValue": { - "arguments": [ - { - "id": 4903, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4894, - "src": "17170:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4901, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "17159:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4902, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "17162:7:6", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 8489, - "src": "17159:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) view external returns (bytes memory)" - } - }, - "id": 4904, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17159:16:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "17135:40:6" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "17237:79:6", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "17251:55:6", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "17266:1:6", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "17273:8:6" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "17283:4:6", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "17269:3:6" - }, - "nodeType": "YulFunctionCall", - "src": "17269:19:6" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "17296:8:6" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "17290:5:6" - }, - "nodeType": "YulFunctionCall", - "src": "17290:15:6" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "17259:6:6" - }, - "nodeType": "YulFunctionCall", - "src": "17259:47:6" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "17251:4:6" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 4897, - "isOffset": false, - "isSlot": false, - "src": "17251:4:6", - "valueSize": 1 - }, - { - "declaration": 4900, - "isOffset": false, - "isSlot": false, - "src": "17273:8:6", - "valueSize": 1 - }, - { - "declaration": 4900, - "isOffset": false, - "isSlot": false, - "src": "17296:8:6", - "valueSize": 1 - } - ], - "id": 4906, - "nodeType": "InlineAssembly", - "src": "17228:88:6" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4913, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4908, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4897, - "src": "17334:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 4911, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17350:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4910, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "17342:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4909, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17342:7:6", - "typeDescriptions": {} - } - }, - "id": 4912, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17342:10:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "17334:18:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "537464436865617473206465706c6f79436f646528737472696e67293a204465706c6f796d656e74206661696c65642e", - "id": 4914, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17354:50:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f6ca2d254da27f2f7b444314e77be236e782a4d81876827dbe8fe7dcea90b371", - "typeString": "literal_string \"StdCheats deployCode(string): Deployment failed.\"" - }, - "value": "StdCheats deployCode(string): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_f6ca2d254da27f2f7b444314e77be236e782a4d81876827dbe8fe7dcea90b371", - "typeString": "literal_string \"StdCheats deployCode(string): Deployment failed.\"" - } - ], - "id": 4907, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "17326:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4915, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17326:79:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4916, - "nodeType": "ExpressionStatement", - "src": "17326:79:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "17054:10:6", - "parameters": { - "id": 4895, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4894, - "mutability": "mutable", - "name": "what", - "nameLocation": "17079:4:6", - "nodeType": "VariableDeclaration", - "scope": 4918, - "src": "17065:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4893, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17065:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "17064:20:6" - }, - "returnParameters": { - "id": 4898, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4897, - "mutability": "mutable", - "name": "addr", - "nameLocation": "17119:4:6", - "nodeType": "VariableDeclaration", - "scope": 4918, - "src": "17111:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4896, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17111:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "17110:14:6" - }, - "scope": 5094, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4953, - "nodeType": "FunctionDefinition", - "src": "17474:439:6", - "nodes": [], - "body": { - "id": 4952, - "nodeType": "Block", - "src": "17586:327:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4931 - ], - "declarations": [ - { - "constant": false, - "id": 4931, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "17609:8:6", - "nodeType": "VariableDeclaration", - "scope": 4952, - "src": "17596:21:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4930, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17596:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4940, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 4936, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4921, - "src": "17648:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4934, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "17637:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4935, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "17640:7:6", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 8489, - "src": "17637:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) view external returns (bytes memory)" - } - }, - "id": 4937, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17637:16:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 4938, - "name": "args", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4923, - "src": "17655:4:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 4932, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17620:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4933, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17624:12:6", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "17620:16:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 4939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17620:40:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "17596:64:6" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "17722:81:6", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "17736:57:6", - "value": { - "arguments": [ - { - "name": "val", - "nodeType": "YulIdentifier", - "src": "17751:3:6" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "17760:8:6" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "17770:4:6", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "17756:3:6" - }, - "nodeType": "YulFunctionCall", - "src": "17756:19:6" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "17783:8:6" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "17777:5:6" - }, - "nodeType": "YulFunctionCall", - "src": "17777:15:6" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "17744:6:6" - }, - "nodeType": "YulFunctionCall", - "src": "17744:49:6" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "17736:4:6" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 4928, - "isOffset": false, - "isSlot": false, - "src": "17736:4:6", - "valueSize": 1 - }, - { - "declaration": 4931, - "isOffset": false, - "isSlot": false, - "src": "17760:8:6", - "valueSize": 1 - }, - { - "declaration": 4931, - "isOffset": false, - "isSlot": false, - "src": "17783:8:6", - "valueSize": 1 - }, - { - "declaration": 4925, - "isOffset": false, - "isSlot": false, - "src": "17751:3:6", - "valueSize": 1 - } - ], - "id": 4941, - "nodeType": "InlineAssembly", - "src": "17713:90:6" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4948, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4943, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4928, - "src": "17821:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 4946, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17837:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4945, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "17829:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4944, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17829:7:6", - "typeDescriptions": {} - } - }, - "id": 4947, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17829:10:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "17821:18:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "537464436865617473206465706c6f79436f646528737472696e672c62797465732c75696e74323536293a204465706c6f796d656e74206661696c65642e", - "id": 4949, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17841:64:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b17e0074adb88d93215aea54607c780b63b16eef6aef31eb92005d5de3508fa0", - "typeString": "literal_string \"StdCheats deployCode(string,bytes,uint256): Deployment failed.\"" - }, - "value": "StdCheats deployCode(string,bytes,uint256): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b17e0074adb88d93215aea54607c780b63b16eef6aef31eb92005d5de3508fa0", - "typeString": "literal_string \"StdCheats deployCode(string,bytes,uint256): Deployment failed.\"" - } - ], - "id": 4942, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "17813:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4950, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17813:93:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4951, - "nodeType": "ExpressionStatement", - "src": "17813:93:6" - } - ] - }, - "documentation": { - "id": 4919, - "nodeType": "StructuredDocumentation", - "src": "17418:51:6", - "text": "@dev deploy contract with value on construction" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "17483:10:6", - "parameters": { - "id": 4926, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4921, - "mutability": "mutable", - "name": "what", - "nameLocation": "17508:4:6", - "nodeType": "VariableDeclaration", - "scope": 4953, - "src": "17494:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4920, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17494:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4923, - "mutability": "mutable", - "name": "args", - "nameLocation": "17527:4:6", - "nodeType": "VariableDeclaration", - "scope": 4953, - "src": "17514:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4922, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17514:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4925, - "mutability": "mutable", - "name": "val", - "nameLocation": "17541:3:6", - "nodeType": "VariableDeclaration", - "scope": 4953, - "src": "17533:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4924, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17533:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17493:52:6" - }, - "returnParameters": { - "id": 4929, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4928, - "mutability": "mutable", - "name": "addr", - "nameLocation": "17580:4:6", - "nodeType": "VariableDeclaration", - "scope": 4953, - "src": "17572:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4927, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17572:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "17571:14:6" - }, - "scope": 5094, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4981, - "nodeType": "FunctionDefinition", - "src": "17919:390:6", - "nodes": [], - "body": { - "id": 4980, - "nodeType": "Block", - "src": "18012:297:6", - "nodes": [], - "statements": [ - { - "assignments": [ - 4963 - ], - "declarations": [ - { - "constant": false, - "id": 4963, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "18035:8:6", - "nodeType": "VariableDeclaration", - "scope": 4980, - "src": "18022:21:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4962, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "18022:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4968, - "initialValue": { - "arguments": [ - { - "id": 4966, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4955, - "src": "18057:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4964, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "18046:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 4965, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "18049:7:6", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 8489, - "src": "18046:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) view external returns (bytes memory)" - } - }, - "id": 4967, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18046:16:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "18022:40:6" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "18124:81:6", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "18138:57:6", - "value": { - "arguments": [ - { - "name": "val", - "nodeType": "YulIdentifier", - "src": "18153:3:6" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "18162:8:6" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "18172:4:6", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "18158:3:6" - }, - "nodeType": "YulFunctionCall", - "src": "18158:19:6" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "18185:8:6" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "18179:5:6" - }, - "nodeType": "YulFunctionCall", - "src": "18179:15:6" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "18146:6:6" - }, - "nodeType": "YulFunctionCall", - "src": "18146:49:6" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "18138:4:6" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 4960, - "isOffset": false, - "isSlot": false, - "src": "18138:4:6", - "valueSize": 1 - }, - { - "declaration": 4963, - "isOffset": false, - "isSlot": false, - "src": "18162:8:6", - "valueSize": 1 - }, - { - "declaration": 4963, - "isOffset": false, - "isSlot": false, - "src": "18185:8:6", - "valueSize": 1 - }, - { - "declaration": 4957, - "isOffset": false, - "isSlot": false, - "src": "18153:3:6", - "valueSize": 1 - } - ], - "id": 4969, - "nodeType": "InlineAssembly", - "src": "18115:90:6" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4976, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4971, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4960, - "src": "18223:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 4974, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18239:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4973, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "18231:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4972, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18231:7:6", - "typeDescriptions": {} - } - }, - "id": 4975, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18231:10:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "18223:18:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "537464436865617473206465706c6f79436f646528737472696e672c75696e74323536293a204465706c6f796d656e74206661696c65642e", - "id": 4977, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18243:58:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cea3fb8155c56e1e84c027eaf19b7f987ed52f1b7ae1ee8bed46141b7ecf08d2", - "typeString": "literal_string \"StdCheats deployCode(string,uint256): Deployment failed.\"" - }, - "value": "StdCheats deployCode(string,uint256): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_cea3fb8155c56e1e84c027eaf19b7f987ed52f1b7ae1ee8bed46141b7ecf08d2", - "typeString": "literal_string \"StdCheats deployCode(string,uint256): Deployment failed.\"" - } - ], - "id": 4970, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "18215:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4978, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18215:87:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4979, - "nodeType": "ExpressionStatement", - "src": "18215:87:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "17928:10:6", - "parameters": { - "id": 4958, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4955, - "mutability": "mutable", - "name": "what", - "nameLocation": "17953:4:6", - "nodeType": "VariableDeclaration", - "scope": 4981, - "src": "17939:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4954, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17939:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4957, - "mutability": "mutable", - "name": "val", - "nameLocation": "17967:3:6", - "nodeType": "VariableDeclaration", - "scope": 4981, - "src": "17959:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4956, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17959:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17938:33:6" - }, - "returnParameters": { - "id": 4961, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4960, - "mutability": "mutable", - "name": "addr", - "nameLocation": "18006:4:6", - "nodeType": "VariableDeclaration", - "scope": 4981, - "src": "17998:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4959, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17998:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "17997:14:6" - }, - "scope": 5094, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5017, - "nodeType": "FunctionDefinition", - "src": "18382:242:6", - "nodes": [], - "body": { - "id": 5016, - "nodeType": "Block", - "src": "18486:138:6", - "nodes": [], - "statements": [ - { - "expression": { - "id": 5000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 4990, - "name": "privateKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4988, - "src": "18496:10:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 4996, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4983, - "src": "18544:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4994, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18527:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4995, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18531:12:6", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "18527:16:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 4997, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18527:22:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4993, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "18517:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 4998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18517:33:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4992, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "18509:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 4991, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18509:7:6", - "typeDescriptions": {} - } - }, - "id": 4999, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18509:42:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "18496:55:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5001, - "nodeType": "ExpressionStatement", - "src": "18496:55:6" - }, - { - "expression": { - "id": 5007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5002, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4986, - "src": "18561:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5005, - "name": "privateKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4988, - "src": "18576:10:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5003, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "18568:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5004, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "18571:4:6", - "memberName": "addr", - "nodeType": "MemberAccess", - "referencedDeclaration": 8327, - "src": "18568:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) pure external returns (address)" - } - }, - "id": 5006, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18568:19:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "18561:26:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5008, - "nodeType": "ExpressionStatement", - "src": "18561:26:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5012, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4986, - "src": "18606:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5013, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4983, - "src": "18612:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5009, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "18597:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "18600:5:6", - "memberName": "label", - "nodeType": "MemberAccess", - "referencedDeclaration": 8503, - "src": "18597:8:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (address,string memory) external" - } - }, - "id": 5014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18597:20:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5015, - "nodeType": "ExpressionStatement", - "src": "18597:20:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "makeAddrAndKey", - "nameLocation": "18391:14:6", - "parameters": { - "id": 4984, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4983, - "mutability": "mutable", - "name": "name", - "nameLocation": "18420:4:6", - "nodeType": "VariableDeclaration", - "scope": 5017, - "src": "18406:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4982, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18406:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "18405:20:6" - }, - "returnParameters": { - "id": 4989, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4986, - "mutability": "mutable", - "name": "addr", - "nameLocation": "18460:4:6", - "nodeType": "VariableDeclaration", - "scope": 5017, - "src": "18452:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4985, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18452:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4988, - "mutability": "mutable", - "name": "privateKey", - "nameLocation": "18474:10:6", - "nodeType": "VariableDeclaration", - "scope": 5017, - "src": "18466:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4987, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18466:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18451:34:6" - }, - "scope": 5094, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5032, - "nodeType": "FunctionDefinition", - "src": "18663:125:6", - "nodes": [], - "body": { - "id": 5031, - "nodeType": "Block", - "src": "18741:47:6", - "nodes": [], - "statements": [ - { - "expression": { - "id": 5029, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "components": [ - { - "id": 5024, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5022, - "src": "18752:4:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - null - ], - "id": 5025, - "isConstant": false, - "isInlineArray": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "TupleExpression", - "src": "18751:7:6", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$__$", - "typeString": "tuple(address,)" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5027, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5019, - "src": "18776:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 5026, - "name": "makeAddrAndKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5017, - "src": "18761:14:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$returns$_t_address_$_t_uint256_$", - "typeString": "function (string memory) returns (address,uint256)" - } - }, - "id": 5028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18761:20:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_uint256_$", - "typeString": "tuple(address,uint256)" - } - }, - "src": "18751:30:6", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5030, - "nodeType": "ExpressionStatement", - "src": "18751:30:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "makeAddr", - "nameLocation": "18672:8:6", - "parameters": { - "id": 5020, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5019, - "mutability": "mutable", - "name": "name", - "nameLocation": "18695:4:6", - "nodeType": "VariableDeclaration", - "scope": 5032, - "src": "18681:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5018, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18681:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "18680:20:6" - }, - "returnParameters": { - "id": 5023, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5022, - "mutability": "mutable", - "name": "addr", - "nameLocation": "18735:4:6", - "nodeType": "VariableDeclaration", - "scope": 5032, - "src": "18727:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5021, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18727:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "18726:14:6" - }, - "scope": 5094, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5059, - "nodeType": "FunctionDefinition", - "src": "18794:253:6", - "nodes": [], - "body": { - "id": 5058, - "nodeType": "Block", - "src": "18946:101:6", - "nodes": [], - "statements": [ - { - "expression": { - "id": 5049, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5043, - "name": "privateKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5041, - "src": "18956:10:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5046, - "name": "mnemonic", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5034, - "src": "18982:8:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5047, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5036, - "src": "18992:5:6", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - ], - "expression": { - "id": 5044, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "18969:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "18972:9:6", - "memberName": "deriveKey", - "nodeType": "MemberAccess", - "referencedDeclaration": 8692, - "src": "18969:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_uint32_$returns$_t_uint256_$", - "typeString": "function (string memory,uint32) pure external returns (uint256)" - } - }, - "id": 5048, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18969:29:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "18956:42:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5050, - "nodeType": "ExpressionStatement", - "src": "18956:42:6" - }, - { - "expression": { - "id": 5056, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5051, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5039, - "src": "19008:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5054, - "name": "privateKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5041, - "src": "19029:10:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5052, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "19014:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19017:11:6", - "memberName": "rememberKey", - "nodeType": "MemberAccess", - "referencedDeclaration": 8710, - "src": "19014:14:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) external returns (address)" - } - }, - "id": 5055, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19014:26:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "19008:32:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5057, - "nodeType": "ExpressionStatement", - "src": "19008:32:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deriveRememberKey", - "nameLocation": "18803:17:6", - "parameters": { - "id": 5037, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5034, - "mutability": "mutable", - "name": "mnemonic", - "nameLocation": "18835:8:6", - "nodeType": "VariableDeclaration", - "scope": 5059, - "src": "18821:22:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5033, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18821:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5036, - "mutability": "mutable", - "name": "index", - "nameLocation": "18852:5:6", - "nodeType": "VariableDeclaration", - "scope": 5059, - "src": "18845:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - }, - "typeName": { - "id": 5035, - "name": "uint32", - "nodeType": "ElementaryTypeName", - "src": "18845:6:6", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - }, - "visibility": "internal" - } - ], - "src": "18820:38:6" - }, - "returnParameters": { - "id": 5042, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5039, - "mutability": "mutable", - "name": "who", - "nameLocation": "18917:3:6", - "nodeType": "VariableDeclaration", - "scope": 5059, - "src": "18909:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5038, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18909:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5041, - "mutability": "mutable", - "name": "privateKey", - "nameLocation": "18930:10:6", - "nodeType": "VariableDeclaration", - "scope": 5059, - "src": "18922:18:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5040, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18922:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18908:33:6" - }, - "scope": 5094, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5093, - "nodeType": "FunctionDefinition", - "src": "19053:253:6", - "nodes": [], - "body": { - "id": 5092, - "nodeType": "Block", - "src": "19122:184:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5070, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 5067, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5061, - "src": "19140:1:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5068, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19142:6:6", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "19140:8:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "hexValue": "3332", - "id": 5069, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19152:2:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "19140:14:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "537464436865617473205f6279746573546f55696e74286279746573293a204279746573206c656e67746820657863656564732033322e", - "id": 5071, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19156:57:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b4b692fb570df93e970ec8540fb3e2b3774022687951840fb5414e81f7899b71", - "typeString": "literal_string \"StdCheats _bytesToUint(bytes): Bytes length exceeds 32.\"" - }, - "value": "StdCheats _bytesToUint(bytes): Bytes length exceeds 32." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b4b692fb570df93e970ec8540fb3e2b3774022687951840fb5414e81f7899b71", - "typeString": "literal_string \"StdCheats _bytesToUint(bytes): Bytes length exceeds 32.\"" - } - ], - "id": 5066, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "19132:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19132:82:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5073, - "nodeType": "ExpressionStatement", - "src": "19132:82:6" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5083, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 5080, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19269:2:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "expression": { - "id": 5081, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5061, - "src": "19274:1:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19276:6:6", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "19274:8:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "19269:13:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "19259:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 5078, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19263:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 5084, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19259:24:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 5085, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5061, - "src": "19285:1:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 5076, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19242:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5077, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19246:12:6", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "19242:16:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5086, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19242:45:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 5088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "19290:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5087, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19290:7:6", - "typeDescriptions": {} - } - } - ], - "id": 5089, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "19289:9:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - ], - "expression": { - "id": 5074, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19231:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5075, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19235:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "19231:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5090, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19231:68:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5065, - "id": 5091, - "nodeType": "Return", - "src": "19224:75:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_bytesToUint", - "nameLocation": "19062:12:6", - "parameters": { - "id": 5062, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5061, - "mutability": "mutable", - "name": "b", - "nameLocation": "19088:1:6", - "nodeType": "VariableDeclaration", - "scope": 5093, - "src": "19075:14:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5060, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19075:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "19074:16:6" - }, - "returnParameters": { - "id": 5065, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5064, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5093, - "src": "19113:7:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5063, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19113:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "19112:9:6" - }, - "scope": 5094, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - } - ], - "abstract": true, - "baseContracts": [], - "canonicalName": "StdCheatsSafe", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 5094 - ], - "name": "StdCheatsSafe", - "nameLocation": "165:13:6", - "scope": 5484, - "usedErrors": [] - }, - { - "id": 5483, - "nodeType": "ContractDefinition", - "src": "19358:3156:6", - "nodes": [ - { - "id": 5100, - "nodeType": "UsingForDirective", - "src": "19409:32:6", - "nodes": [], - "global": false, - "libraryName": { - "id": 5097, - "name": "stdStorage", - "nameLocations": [ - "19415:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 7822, - "src": "19415:10:6" - }, - "typeName": { - "id": 5099, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5098, - "name": "StdStorage", - "nameLocations": [ - "19430:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "19430:10:6" - }, - "referencedDeclaration": 6388, - "src": "19430:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - } - }, - { - "id": 5103, - "nodeType": "VariableDeclaration", - "src": "19447:27:6", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "stdstore", - "nameLocation": "19466:8:6", - "scope": 5483, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 5102, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5101, - "name": "StdStorage", - "nameLocations": [ - "19447:10:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "19447:10:6" - }, - "referencedDeclaration": 6388, - "src": "19447:10:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "private" - }, - { - "id": 5120, - "nodeType": "VariableDeclaration", - "src": "19480:84:6", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "vm", - "nameLocation": "19500:2:6", - "scope": 5483, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - }, - "typeName": { - "id": 5105, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5104, - "name": "Vm", - "nameLocations": [ - "19480:2:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 9256, - "src": "19480:2:6" - }, - "referencedDeclaration": 9256, - "src": "19480:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6865766d20636865617420636f6465", - "id": 5114, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19542:17:6", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - }, - "value": "hevm cheat code" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - } - ], - "id": 5113, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "19532:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19532:28:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5112, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "19524:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5111, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19524:7:6", - "typeDescriptions": {} - } - }, - "id": 5116, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19524:37:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5110, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "19516:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 5109, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "19516:7:6", - "typeDescriptions": {} - } - }, - "id": 5117, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19516:46:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 5108, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "19508:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5107, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19508:7:6", - "typeDescriptions": {} - } - }, - "id": 5118, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19508:55:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5106, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9256, - "src": "19505:2:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Vm_$9256_$", - "typeString": "type(contract Vm)" - } - }, - "id": 5119, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19505:59:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "visibility": "private" - }, - { - "id": 5135, - "nodeType": "FunctionDefinition", - "src": "19641:93:6", - "nodes": [], - "body": { - "id": 5134, - "nodeType": "Block", - "src": "19686:48:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 5128, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "19704:5:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 5129, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19710:9:6", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "src": "19704:15:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 5130, - "name": "time", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5122, - "src": "19722:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "19704:22:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5125, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "19696:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19699:4:6", - "memberName": "warp", - "nodeType": "MemberAccess", - "referencedDeclaration": 8938, - "src": "19696:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256) external" - } - }, - "id": 5132, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19696:31:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5133, - "nodeType": "ExpressionStatement", - "src": "19696:31:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "skip", - "nameLocation": "19650:4:6", - "parameters": { - "id": 5123, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5122, - "mutability": "mutable", - "name": "time", - "nameLocation": "19663:4:6", - "nodeType": "VariableDeclaration", - "scope": 5135, - "src": "19655:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5121, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19655:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "19654:14:6" - }, - "returnParameters": { - "id": 5124, - "nodeType": "ParameterList", - "parameters": [], - "src": "19686:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5150, - "nodeType": "FunctionDefinition", - "src": "19740:95:6", - "nodes": [], - "body": { - "id": 5149, - "nodeType": "Block", - "src": "19787:48:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 5143, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "19805:5:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 5144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19811:9:6", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "src": "19805:15:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 5145, - "name": "time", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5137, - "src": "19823:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "19805:22:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5140, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "19797:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5142, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19800:4:6", - "memberName": "warp", - "nodeType": "MemberAccess", - "referencedDeclaration": 8938, - "src": "19797:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256) external" - } - }, - "id": 5147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19797:31:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5148, - "nodeType": "ExpressionStatement", - "src": "19797:31:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rewind", - "nameLocation": "19749:6:6", - "parameters": { - "id": 5138, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5137, - "mutability": "mutable", - "name": "time", - "nameLocation": "19764:4:6", - "nodeType": "VariableDeclaration", - "scope": 5150, - "src": "19756:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5136, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19756:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "19755:14:6" - }, - "returnParameters": { - "id": 5139, - "nodeType": "ParameterList", - "parameters": [], - "src": "19787:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5171, - "nodeType": "FunctionDefinition", - "src": "19898:106:6", - "nodes": [], - "body": { - "id": 5170, - "nodeType": "Block", - "src": "19942:62:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5158, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5152, - "src": "19960:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 5161, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 5159, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19965:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 5160, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19970:3:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "19965:8:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - } - ], - "expression": { - "id": 5155, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "19952:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5157, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19955:4:6", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 9008, - "src": "19952:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 5162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19952:22:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5163, - "nodeType": "ExpressionStatement", - "src": "19952:22:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5167, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5152, - "src": "19993:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5164, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "19984:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19987:5:6", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 8979, - "src": "19984:8:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 5168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19984:13:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5169, - "nodeType": "ExpressionStatement", - "src": "19984:13:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "19907:4:6", - "parameters": { - "id": 5153, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5152, - "mutability": "mutable", - "name": "who", - "nameLocation": "19920:3:6", - "nodeType": "VariableDeclaration", - "scope": 5171, - "src": "19912:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5151, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19912:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "19911:13:6" - }, - "returnParameters": { - "id": 5154, - "nodeType": "ParameterList", - "parameters": [], - "src": "19942:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5192, - "nodeType": "FunctionDefinition", - "src": "20010:116:6", - "nodes": [], - "body": { - "id": 5191, - "nodeType": "Block", - "src": "20068:58:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5181, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5173, - "src": "20086:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5182, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5175, - "src": "20091:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5178, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20078:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5180, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20081:4:6", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 9008, - "src": "20078:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 5183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20078:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5184, - "nodeType": "ExpressionStatement", - "src": "20078:18:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5188, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5173, - "src": "20115:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5185, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20106:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5187, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20109:5:6", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 8979, - "src": "20106:8:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 5189, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20106:13:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5190, - "nodeType": "ExpressionStatement", - "src": "20106:13:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "20019:4:6", - "parameters": { - "id": 5176, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5173, - "mutability": "mutable", - "name": "who", - "nameLocation": "20032:3:6", - "nodeType": "VariableDeclaration", - "scope": 5192, - "src": "20024:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5172, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20024:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5175, - "mutability": "mutable", - "name": "give", - "nameLocation": "20045:4:6", - "nodeType": "VariableDeclaration", - "scope": 5192, - "src": "20037:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5174, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20037:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "20023:27:6" - }, - "returnParameters": { - "id": 5177, - "nodeType": "ParameterList", - "parameters": [], - "src": "20068:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5216, - "nodeType": "FunctionDefinition", - "src": "20132:130:6", - "nodes": [], - "body": { - "id": 5215, - "nodeType": "Block", - "src": "20192:70:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5202, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5194, - "src": "20210:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 5205, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 5203, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20215:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 5204, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20220:3:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "20215:8:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - } - ], - "expression": { - "id": 5199, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20202:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5201, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20205:4:6", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 9008, - "src": "20202:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 5206, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20202:22:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5207, - "nodeType": "ExpressionStatement", - "src": "20202:22:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5211, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5194, - "src": "20243:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5212, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5196, - "src": "20248:6:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5208, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20234:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5210, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20237:5:6", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 8991, - "src": "20234:8:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 5213, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20234:21:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5214, - "nodeType": "ExpressionStatement", - "src": "20234:21:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "20141:4:6", - "parameters": { - "id": 5197, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5194, - "mutability": "mutable", - "name": "who", - "nameLocation": "20154:3:6", - "nodeType": "VariableDeclaration", - "scope": 5216, - "src": "20146:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5193, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20146:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5196, - "mutability": "mutable", - "name": "origin", - "nameLocation": "20167:6:6", - "nodeType": "VariableDeclaration", - "scope": 5216, - "src": "20159:14:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5195, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20159:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20145:29:6" - }, - "returnParameters": { - "id": 5198, - "nodeType": "ParameterList", - "parameters": [], - "src": "20192:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5240, - "nodeType": "FunctionDefinition", - "src": "20268:140:6", - "nodes": [], - "body": { - "id": 5239, - "nodeType": "Block", - "src": "20342:66:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5228, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5218, - "src": "20360:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5229, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5222, - "src": "20365:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5225, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20352:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5227, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20355:4:6", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 9008, - "src": "20352:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 5230, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20352:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5231, - "nodeType": "ExpressionStatement", - "src": "20352:18:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5235, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5218, - "src": "20389:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5236, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5220, - "src": "20394:6:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5232, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20380:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5234, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20383:5:6", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 8991, - "src": "20380:8:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 5237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20380:21:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5238, - "nodeType": "ExpressionStatement", - "src": "20380:21:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "20277:4:6", - "parameters": { - "id": 5223, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5218, - "mutability": "mutable", - "name": "who", - "nameLocation": "20290:3:6", - "nodeType": "VariableDeclaration", - "scope": 5240, - "src": "20282:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5217, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20282:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5220, - "mutability": "mutable", - "name": "origin", - "nameLocation": "20303:6:6", - "nodeType": "VariableDeclaration", - "scope": 5240, - "src": "20295:14:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5219, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20295:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5222, - "mutability": "mutable", - "name": "give", - "nameLocation": "20319:4:6", - "nodeType": "VariableDeclaration", - "scope": 5240, - "src": "20311:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5221, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20311:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "20281:43:6" - }, - "returnParameters": { - "id": 5224, - "nodeType": "ParameterList", - "parameters": [], - "src": "20342:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5261, - "nodeType": "FunctionDefinition", - "src": "20479:116:6", - "nodes": [], - "body": { - "id": 5260, - "nodeType": "Block", - "src": "20528:67:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5248, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5242, - "src": "20546:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 5251, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 5249, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20551:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 5250, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20556:3:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "20551:8:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - } - ], - "expression": { - "id": 5245, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20538:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5247, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20541:4:6", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 9008, - "src": "20538:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 5252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20538:22:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5253, - "nodeType": "ExpressionStatement", - "src": "20538:22:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5257, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5242, - "src": "20584:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5254, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20570:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5256, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20573:10:6", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 8984, - "src": "20570:13:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 5258, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20570:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5259, - "nodeType": "ExpressionStatement", - "src": "20570:18:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "20488:9:6", - "parameters": { - "id": 5243, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5242, - "mutability": "mutable", - "name": "who", - "nameLocation": "20506:3:6", - "nodeType": "VariableDeclaration", - "scope": 5261, - "src": "20498:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5241, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20498:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20497:13:6" - }, - "returnParameters": { - "id": 5244, - "nodeType": "ParameterList", - "parameters": [], - "src": "20528:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5282, - "nodeType": "FunctionDefinition", - "src": "20601:126:6", - "nodes": [], - "body": { - "id": 5281, - "nodeType": "Block", - "src": "20664:63:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5271, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5263, - "src": "20682:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5272, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5265, - "src": "20687:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5268, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20674:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20677:4:6", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 9008, - "src": "20674:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 5273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20674:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5274, - "nodeType": "ExpressionStatement", - "src": "20674:18:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5278, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5263, - "src": "20716:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5275, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20702:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5277, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20705:10:6", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 8984, - "src": "20702:13:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 5279, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20702:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5280, - "nodeType": "ExpressionStatement", - "src": "20702:18:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "20610:9:6", - "parameters": { - "id": 5266, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5263, - "mutability": "mutable", - "name": "who", - "nameLocation": "20628:3:6", - "nodeType": "VariableDeclaration", - "scope": 5282, - "src": "20620:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5262, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20620:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5265, - "mutability": "mutable", - "name": "give", - "nameLocation": "20641:4:6", - "nodeType": "VariableDeclaration", - "scope": 5282, - "src": "20633:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5264, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20633:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "20619:27:6" - }, - "returnParameters": { - "id": 5267, - "nodeType": "ParameterList", - "parameters": [], - "src": "20664:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5306, - "nodeType": "FunctionDefinition", - "src": "20846:140:6", - "nodes": [], - "body": { - "id": 5305, - "nodeType": "Block", - "src": "20911:75:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5292, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5284, - "src": "20929:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 5295, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 5293, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20934:1:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 5294, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20939:3:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "20934:8:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - } - ], - "expression": { - "id": 5289, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20921:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20924:4:6", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 9008, - "src": "20921:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 5296, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20921:22:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5297, - "nodeType": "ExpressionStatement", - "src": "20921:22:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5301, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5284, - "src": "20967:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5302, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5286, - "src": "20972:6:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5298, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "20953:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5300, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20956:10:6", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 8998, - "src": "20953:13:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 5303, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20953:26:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5304, - "nodeType": "ExpressionStatement", - "src": "20953:26:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "20855:9:6", - "parameters": { - "id": 5287, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5284, - "mutability": "mutable", - "name": "who", - "nameLocation": "20873:3:6", - "nodeType": "VariableDeclaration", - "scope": 5306, - "src": "20865:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5283, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20865:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5286, - "mutability": "mutable", - "name": "origin", - "nameLocation": "20886:6:6", - "nodeType": "VariableDeclaration", - "scope": 5306, - "src": "20878:14:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5285, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20878:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20864:29:6" - }, - "returnParameters": { - "id": 5288, - "nodeType": "ParameterList", - "parameters": [], - "src": "20911:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5330, - "nodeType": "FunctionDefinition", - "src": "20992:150:6", - "nodes": [], - "body": { - "id": 5329, - "nodeType": "Block", - "src": "21071:71:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5318, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5308, - "src": "21089:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5319, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5312, - "src": "21094:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5315, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "21081:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5317, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21084:4:6", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 9008, - "src": "21081:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 5320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21081:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5321, - "nodeType": "ExpressionStatement", - "src": "21081:18:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5325, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5308, - "src": "21123:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5326, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5310, - "src": "21128:6:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5322, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "21109:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21112:10:6", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 8998, - "src": "21109:13:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 5327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21109:26:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5328, - "nodeType": "ExpressionStatement", - "src": "21109:26:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "21001:9:6", - "parameters": { - "id": 5313, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5308, - "mutability": "mutable", - "name": "who", - "nameLocation": "21019:3:6", - "nodeType": "VariableDeclaration", - "scope": 5330, - "src": "21011:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5307, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21011:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5310, - "mutability": "mutable", - "name": "origin", - "nameLocation": "21032:6:6", - "nodeType": "VariableDeclaration", - "scope": 5330, - "src": "21024:14:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5309, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21024:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5312, - "mutability": "mutable", - "name": "give", - "nameLocation": "21048:4:6", - "nodeType": "VariableDeclaration", - "scope": 5330, - "src": "21040:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5311, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21040:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "21010:43:6" - }, - "returnParameters": { - "id": 5314, - "nodeType": "ParameterList", - "parameters": [], - "src": "21071:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5347, - "nodeType": "FunctionDefinition", - "src": "21148:110:6", - "nodes": [], - "body": { - "id": 5346, - "nodeType": "Block", - "src": "21199:59:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 5335, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "21209:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21212:9:6", - "memberName": "stopPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 9001, - "src": "21209:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", - "typeString": "function () external" - } - }, - "id": 5338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21209:14:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5339, - "nodeType": "ExpressionStatement", - "src": "21209:14:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5343, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5332, - "src": "21247:3:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5340, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "21233:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5342, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21236:10:6", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 8984, - "src": "21233:13:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 5344, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21233:18:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5345, - "nodeType": "ExpressionStatement", - "src": "21233:18:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "changePrank", - "nameLocation": "21157:11:6", - "parameters": { - "id": 5333, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5332, - "mutability": "mutable", - "name": "who", - "nameLocation": "21177:3:6", - "nodeType": "VariableDeclaration", - "scope": 5347, - "src": "21169:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5331, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21169:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "21168:13:6" - }, - "returnParameters": { - "id": 5334, - "nodeType": "ParameterList", - "parameters": [], - "src": "21199:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5362, - "nodeType": "FunctionDefinition", - "src": "21349:91:6", - "nodes": [], - "body": { - "id": 5361, - "nodeType": "Block", - "src": "21406:34:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5357, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5349, - "src": "21424:2:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5358, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5351, - "src": "21428:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5354, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5120, - "src": "21416:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 5356, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21419:4:6", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 9008, - "src": "21416:7:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 5359, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21416:17:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5360, - "nodeType": "ExpressionStatement", - "src": "21416:17:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "21358:4:6", - "parameters": { - "id": 5352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5349, - "mutability": "mutable", - "name": "to", - "nameLocation": "21371:2:6", - "nodeType": "VariableDeclaration", - "scope": 5362, - "src": "21363:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5348, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21363:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5351, - "mutability": "mutable", - "name": "give", - "nameLocation": "21383:4:6", - "nodeType": "VariableDeclaration", - "scope": 5362, - "src": "21375:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5350, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21375:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "21362:26:6" - }, - "returnParameters": { - "id": 5353, - "nodeType": "ParameterList", - "parameters": [], - "src": "21406:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5379, - "nodeType": "FunctionDefinition", - "src": "21564:117:6", - "nodes": [], - "body": { - "id": 5378, - "nodeType": "Block", - "src": "21636:45:6", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5372, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5364, - "src": "21651:5:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5373, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5366, - "src": "21658:2:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5374, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5368, - "src": "21662:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "66616c7365", - "id": 5375, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21668:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 5371, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 5362, - 5379, - 5482 - ], - "referencedDeclaration": 5482, - "src": "21646:4:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bool_$returns$__$", - "typeString": "function (address,address,uint256,bool)" - } - }, - "id": 5376, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21646:28:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5377, - "nodeType": "ExpressionStatement", - "src": "21646:28:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "21573:4:6", - "parameters": { - "id": 5369, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5364, - "mutability": "mutable", - "name": "token", - "nameLocation": "21586:5:6", - "nodeType": "VariableDeclaration", - "scope": 5379, - "src": "21578:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5363, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21578:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5366, - "mutability": "mutable", - "name": "to", - "nameLocation": "21601:2:6", - "nodeType": "VariableDeclaration", - "scope": 5379, - "src": "21593:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5365, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21593:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5368, - "mutability": "mutable", - "name": "give", - "nameLocation": "21613:4:6", - "nodeType": "VariableDeclaration", - "scope": 5379, - "src": "21605:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5367, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21605:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "21577:41:6" - }, - "returnParameters": { - "id": 5370, - "nodeType": "ParameterList", - "parameters": [], - "src": "21636:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 5482, - "nodeType": "FunctionDefinition", - "src": "21687:825:6", - "nodes": [], - "body": { - "id": 5481, - "nodeType": "Block", - "src": "21772:740:6", - "nodes": [], - "statements": [ - { - "assignments": [ - null, - 5391 - ], - "declarations": [ - null, - { - "constant": false, - "id": 5391, - "mutability": "mutable", - "name": "balData", - "nameLocation": "21829:7:6", - "nodeType": "VariableDeclaration", - "scope": 5481, - "src": "21816:20:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5390, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "21816:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5400, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30783730613038323331", - "id": 5396, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21874:10:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_1889567281_by_1", - "typeString": "int_const 1889567281" - }, - "value": "0x70a08231" - }, - { - "id": 5397, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5383, - "src": "21886:2:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1889567281_by_1", - "typeString": "int_const 1889567281" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5394, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21851:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5395, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21855:18:6", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "21851:22:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 5398, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21851:38:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 5392, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5381, - "src": "21840:5:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21846:4:6", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "21840:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) payable returns (bool,bytes memory)" - } - }, - "id": 5399, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21840:50:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "21813:77:6" - }, - { - "assignments": [ - 5402 - ], - "declarations": [ - { - "constant": false, - "id": 5402, - "mutability": "mutable", - "name": "prevBal", - "nameLocation": "21908:7:6", - "nodeType": "VariableDeclaration", - "scope": 5481, - "src": "21900:15:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5401, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21900:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5410, - "initialValue": { - "arguments": [ - { - "id": 5405, - "name": "balData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5391, - "src": "21929:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 5407, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "21939:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5406, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21939:7:6", - "typeDescriptions": {} - } - } - ], - "id": 5408, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "21938:9:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - ], - "expression": { - "id": 5403, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21918:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5404, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21922:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "21918:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21918:30:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "21900:48:6" - }, - { - "expression": { - "arguments": [ - { - "id": 5423, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5385, - "src": "22051:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "arguments": [ - { - "id": 5420, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5383, - "src": "22033:2:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "arguments": [ - { - "hexValue": "30783730613038323331", - "id": 5417, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22012:10:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_1889567281_by_1", - "typeString": "int_const 1889567281" - }, - "value": "0x70a08231" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1889567281_by_1", - "typeString": "int_const 1889567281" - } - ], - "expression": { - "arguments": [ - { - "id": 5414, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5381, - "src": "22001:5:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5411, - "name": "stdstore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5103, - "src": "21985:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage", - "typeString": "struct StdStorage storage ref" - } - }, - "id": 5413, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21994:6:6", - "memberName": "target", - "nodeType": "MemberAccess", - "referencedDeclaration": 7343, - "src": "21985:15:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 5415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21985:22:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5416, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22008:3:6", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 7361, - "src": "21985:26:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" - } - }, - "id": 5418, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21985:38:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5419, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22024:8:6", - "memberName": "with_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 7397, - "src": "21985:47:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 5421, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21985:51:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5422, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22037:13:6", - "memberName": "checked_write", - "nodeType": "MemberAccess", - "referencedDeclaration": 7491, - "src": "21985:65:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256)" - } - }, - "id": 5424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21985:71:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5425, - "nodeType": "ExpressionStatement", - "src": "21985:71:6" - }, - { - "condition": { - "id": 5426, - "name": "adjust", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5387, - "src": "22102:6:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5480, - "nodeType": "IfStatement", - "src": "22098:408:6", - "trueBody": { - "id": 5479, - "nodeType": "Block", - "src": "22110:396:6", - "statements": [ - { - "assignments": [ - null, - 5428 - ], - "declarations": [ - null, - { - "constant": false, - "id": 5428, - "mutability": "mutable", - "name": "totSupData", - "nameLocation": "22140:10:6", - "nodeType": "VariableDeclaration", - "scope": 5479, - "src": "22127:23:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5427, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "22127:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5436, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30783138313630646464", - "id": 5433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22188:10:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_404098525_by_1", - "typeString": "int_const 404098525" - }, - "value": "0x18160ddd" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_404098525_by_1", - "typeString": "int_const 404098525" - } - ], - "expression": { - "id": 5431, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22165:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5432, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22169:18:6", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "22165:22:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 5434, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22165:34:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 5429, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5381, - "src": "22154:5:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22160:4:6", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "22154:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) payable returns (bool,bytes memory)" - } - }, - "id": 5435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22154:46:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22124:76:6" - }, - { - "assignments": [ - 5438 - ], - "declarations": [ - { - "constant": false, - "id": 5438, - "mutability": "mutable", - "name": "totSup", - "nameLocation": "22222:6:6", - "nodeType": "VariableDeclaration", - "scope": 5479, - "src": "22214:14:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5437, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22214:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5446, - "initialValue": { - "arguments": [ - { - "id": 5441, - "name": "totSupData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5428, - "src": "22242:10:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 5443, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "22255:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5442, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22255:7:6", - "typeDescriptions": {} - } - } - ], - "id": 5444, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "22254:9:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - ], - "expression": { - "id": 5439, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22231:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5440, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22235:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "22231:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22231:33:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22214:50:6" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5447, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5385, - "src": "22282:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 5448, - "name": "prevBal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5402, - "src": "22289:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "22282:14:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 5465, - "nodeType": "Block", - "src": "22363:59:6", - "statements": [ - { - "expression": { - "id": 5463, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5458, - "name": "totSup", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5438, - "src": "22381:6:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5459, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5385, - "src": "22392:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 5460, - "name": "prevBal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5402, - "src": "22399:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "22392:14:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5462, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "22391:16:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "22381:26:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5464, - "nodeType": "ExpressionStatement", - "src": "22381:26:6" - } - ] - }, - "id": 5466, - "nodeType": "IfStatement", - "src": "22278:144:6", - "trueBody": { - "id": 5457, - "nodeType": "Block", - "src": "22298:59:6", - "statements": [ - { - "expression": { - "id": 5455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5450, - "name": "totSup", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5438, - "src": "22316:6:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5451, - "name": "prevBal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5402, - "src": "22327:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 5452, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5385, - "src": "22337:4:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "22327:14:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5454, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "22326:16:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "22316:26:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5456, - "nodeType": "ExpressionStatement", - "src": "22316:26:6" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 5476, - "name": "totSup", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5438, - "src": "22488:6:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "arguments": [ - { - "hexValue": "30783138313630646464", - "id": 5473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22462:10:6", - "typeDescriptions": { - "typeIdentifier": "t_rational_404098525_by_1", - "typeString": "int_const 404098525" - }, - "value": "0x18160ddd" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_404098525_by_1", - "typeString": "int_const 404098525" - } - ], - "expression": { - "arguments": [ - { - "id": 5470, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5381, - "src": "22451:5:6", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5467, - "name": "stdstore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5103, - "src": "22435:8:6", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage", - "typeString": "struct StdStorage storage ref" - } - }, - "id": 5469, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22444:6:6", - "memberName": "target", - "nodeType": "MemberAccess", - "referencedDeclaration": 7343, - "src": "22435:15:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 5471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22435:22:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5472, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22458:3:6", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 7361, - "src": "22435:26:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" - } - }, - "id": 5474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22435:38:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5475, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22474:13:6", - "memberName": "checked_write", - "nodeType": "MemberAccess", - "referencedDeclaration": 7491, - "src": "22435:52:6", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256)" - } - }, - "id": 5477, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22435:60:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5478, - "nodeType": "ExpressionStatement", - "src": "22435:60:6" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "21696:4:6", - "parameters": { - "id": 5388, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5381, - "mutability": "mutable", - "name": "token", - "nameLocation": "21709:5:6", - "nodeType": "VariableDeclaration", - "scope": 5482, - "src": "21701:13:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5380, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21701:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5383, - "mutability": "mutable", - "name": "to", - "nameLocation": "21724:2:6", - "nodeType": "VariableDeclaration", - "scope": 5482, - "src": "21716:10:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5382, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21716:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5385, - "mutability": "mutable", - "name": "give", - "nameLocation": "21736:4:6", - "nodeType": "VariableDeclaration", - "scope": 5482, - "src": "21728:12:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5384, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21728:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5387, - "mutability": "mutable", - "name": "adjust", - "nameLocation": "21747:6:6", - "nodeType": "VariableDeclaration", - "scope": 5482, - "src": "21742:11:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5386, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21742:4:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "21700:54:6" - }, - "returnParameters": { - "id": 5389, - "nodeType": "ParameterList", - "parameters": [], - "src": "21772:0:6" - }, - "scope": 5483, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 5095, - "name": "StdCheatsSafe", - "nameLocations": [ - "19389:13:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5094, - "src": "19389:13:6" - }, - "id": 5096, - "nodeType": "InheritanceSpecifier", - "src": "19389:13:6" - } - ], - "canonicalName": "StdCheats", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 5483, - 5094 - ], - "name": "StdCheats", - "nameLocation": "19376:9:6", - "scope": 5484, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 6 -} \ No newline at end of file diff --git a/out/StdError.sol/stdError.json b/out/StdError.sol/stdError.json deleted file mode 100644 index f47ab30..0000000 --- a/out/StdError.sol/stdError.json +++ /dev/null @@ -1,1417 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "name": "arithmeticError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "assertionError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "divisionError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "encodeStorageError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "enumConversionError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "indexOOBError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "memOverflowError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "popError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "zeroVarError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x6080806040523461001a5761031f9081610020823930815050f35b600080fdfe60806040818152600436101561001457600080fd5b600091823560e01c90816305ee8612146102365750806310332977146102025780631de45560146101ce5780638995290f1461019a578063986c5f6814610166578063b22dc54d14610132578063b67689da146100fe578063d160e4de146100ca5763fa784a441461008557600080fd5b816003193601126100c657806100c2915190634e487b7160e01b602083015260126024830152602482526100b88261026e565b51918291826102a0565b0390f35b5080fd5b50816003193601126100c657806100c2915190634e487b7160e01b602083015260226024830152602482526100b88261026e565b50816003193601126100c657806100c2915190634e487b7160e01b602083015260516024830152602482526100b88261026e565b50816003193601126100c657806100c2915190634e487b7160e01b602083015260316024830152602482526100b88261026e565b50816003193601126100c657806100c2915190634e487b7160e01b602083015260416024830152602482526100b88261026e565b50816003193601126100c657806100c2915190634e487b7160e01b602083015260116024830152602482526100b88261026e565b50816003193601126100c657806100c2915190634e487b7160e01b602083015260216024830152602482526100b88261026e565b50816003193601126100c657806100c2915190634e487b7160e01b602083015260016024830152602482526100b88261026e565b9190508260031936011261026a576100c29250634e487b7160e01b602083015260326024830152602482526100b88261026e565b8280fd5b6060810190811067ffffffffffffffff82111761028a57604052565b634e487b7160e01b600052604160045260246000fd5b6020808252825181830181905290939260005b8281106102d557505060409293506000838284010152601f8019910116010190565b8181018601518482016040015285016102b356fea2646970667358221220c435f8a09d24cf1a0fb287debd90c8fbd364758e04e5c881a69ab4825de88bb564736f6c63430008110033", - "sourceMap": "162:850:7:-:0;;;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x60806040818152600436101561001457600080fd5b600091823560e01c90816305ee8612146102365750806310332977146102025780631de45560146101ce5780638995290f1461019a578063986c5f6814610166578063b22dc54d14610132578063b67689da146100fe578063d160e4de146100ca5763fa784a441461008557600080fd5b816003193601126100c657806100c2915190634e487b7160e01b602083015260126024830152602482526100b88261026e565b51918291826102a0565b0390f35b5080fd5b50816003193601126100c657806100c2915190634e487b7160e01b602083015260226024830152602482526100b88261026e565b50816003193601126100c657806100c2915190634e487b7160e01b602083015260516024830152602482526100b88261026e565b50816003193601126100c657806100c2915190634e487b7160e01b602083015260316024830152602482526100b88261026e565b50816003193601126100c657806100c2915190634e487b7160e01b602083015260416024830152602482526100b88261026e565b50816003193601126100c657806100c2915190634e487b7160e01b602083015260116024830152602482526100b88261026e565b50816003193601126100c657806100c2915190634e487b7160e01b602083015260216024830152602482526100b88261026e565b50816003193601126100c657806100c2915190634e487b7160e01b602083015260016024830152602482526100b88261026e565b9190508260031936011261026a576100c29250634e487b7160e01b602083015260326024830152602482526100b88261026e565b8280fd5b6060810190811067ffffffffffffffff82111761028a57604052565b634e487b7160e01b600052604160045260246000fd5b6020808252825181830181905290939260005b8281106102d557505060409293506000838284010152601f8019910116010190565b8181018601518482016040015285016102b356fea2646970667358221220c435f8a09d24cf1a0fb287debd90c8fbd364758e04e5c881a69ab4825de88bb564736f6c63430008110033", - "sourceMap": "162:850:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;778:47;;;;408;;;;450:4;408:47;;;162:850;408:47;;;;;;:::i;:::-;162:850;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;778:47;;;;601;;;;643:4;601:47;;;162:850;601:47;;;;;;:::i;162:850::-;;;;;;;;;;;;;;778:47;;;;962;;;;1004:4;962:47;;;162:850;962:47;;;;;;:::i;162:850::-;;;;;;;;;;;;;;778:47;;;;687;;;;729:4;687:47;;;162:850;687:47;;;;;;:::i;162:850::-;;;;;;;;;;;;;;778:47;;;;872;;;;914:4;872:47;;;162:850;872:47;;;;;;:::i;162:850::-;;;;;;;;;;;;;;778:47;;;;317;;;;359:4;317:47;;;162:850;317:47;;;;;;:::i;162:850::-;;;;;;;;;;;;;;778:47;;;;505;;;;547:4;505:47;;;162:850;505:47;;;;;;:::i;162:850::-;;;;;;;;;;;;;;778:47;;;;224;;;;266:4;224:47;;;162:850;224:47;;;;;;:::i;162:850::-;;;;;;;;;;;;;778:47;;;;;;;;;820:4;778:47;;;162:850;778:47;;;;;;:::i;162:850::-;;;;;;;;;;;;;;;;;;;:::o;:::-;778:47;;;162:850;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;162:850:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "methodIdentifiers": { - "arithmeticError()": "8995290f", - "assertionError()": "10332977", - "divisionError()": "fa784a44", - "encodeStorageError()": "d160e4de", - "enumConversionError()": "1de45560", - "indexOOBError()": "05ee8612", - "memOverflowError()": "986c5f68", - "popError()": "b22dc54d", - "zeroVarError()": "b67689da" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"arithmeticError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"assertionError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"divisionError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"encodeStorageError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"enumConversionError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"indexOOBError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"memOverflowError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"popError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"zeroVarError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/StdError.sol\":\"stdError\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"lib/forge-std/src/StdError.sol\":{\"keccak256\":\"0xbf477b11a42d7611696956546bcfaa29317d1166bf65e402344599c05943fc77\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc2e117d1135e030862b96a6526a43feb38d396cc79857f1fb696d4eff0e5fd6\",\"dweb:/ipfs/QmdSuQ5RrQudTLsNmWXGEeVJX8gR5U9XPm6m4dwwuQnJrj\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "arithmeticError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "assertionError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "divisionError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "encodeStorageError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "enumConversionError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "indexOOBError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "memOverflowError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "popError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "zeroVarError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/StdError.sol": "stdError" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "lib/forge-std/src/StdError.sol": { - "keccak256": "0xbf477b11a42d7611696956546bcfaa29317d1166bf65e402344599c05943fc77", - "urls": [ - "bzz-raw://bc2e117d1135e030862b96a6526a43feb38d396cc79857f1fb696d4eff0e5fd6", - "dweb:/ipfs/QmdSuQ5RrQudTLsNmWXGEeVJX8gR5U9XPm6m4dwwuQnJrj" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/StdError.sol", - "id": 5550, - "exportedSymbols": { - "stdError": [ - 5549 - ] - }, - "nodeType": "SourceUnit", - "src": "129:884:7", - "nodes": [ - { - "id": 5485, - "nodeType": "PragmaDirective", - "src": "129:31:7", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.6", - ".2", - "<", - "0.9", - ".0" - ] - }, - { - "id": 5549, - "nodeType": "ContractDefinition", - "src": "162:850:7", - "nodes": [ - { - "id": 5492, - "nodeType": "VariableDeclaration", - "src": "185:86:7", - "nodes": [], - "constant": true, - "functionSelector": "10332977", - "mutability": "constant", - "name": "assertionError", - "nameLocation": "207:14:7", - "scope": 5549, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5486, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "185:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "248:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783031", - "id": 5490, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "266:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "0x01" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "expression": { - "id": 5487, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "224:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5488, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "228:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "224:23:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5491, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "224:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5499, - "nodeType": "VariableDeclaration", - "src": "277:87:7", - "nodes": [], - "constant": true, - "functionSelector": "8995290f", - "mutability": "constant", - "name": "arithmeticError", - "nameLocation": "299:15:7", - "scope": 5549, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5493, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "277:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "341:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783131", - "id": 5497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "359:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_17_by_1", - "typeString": "int_const 17" - }, - "value": "0x11" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - { - "typeIdentifier": "t_rational_17_by_1", - "typeString": "int_const 17" - } - ], - "expression": { - "id": 5494, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "317:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5495, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "321:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "317:23:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5498, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "317:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5506, - "nodeType": "VariableDeclaration", - "src": "370:85:7", - "nodes": [], - "constant": true, - "functionSelector": "fa784a44", - "mutability": "constant", - "name": "divisionError", - "nameLocation": "392:13:7", - "scope": 5549, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5500, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "370:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "432:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783132", - "id": 5504, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "450:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_18_by_1", - "typeString": "int_const 18" - }, - "value": "0x12" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - { - "typeIdentifier": "t_rational_18_by_1", - "typeString": "int_const 18" - } - ], - "expression": { - "id": 5501, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "408:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5502, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "412:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "408:23:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5505, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "408:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5513, - "nodeType": "VariableDeclaration", - "src": "461:91:7", - "nodes": [], - "constant": true, - "functionSelector": "1de45560", - "mutability": "constant", - "name": "enumConversionError", - "nameLocation": "483:19:7", - "scope": 5549, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5507, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "461:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5510, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "529:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783231", - "id": 5511, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "547:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_33_by_1", - "typeString": "int_const 33" - }, - "value": "0x21" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - { - "typeIdentifier": "t_rational_33_by_1", - "typeString": "int_const 33" - } - ], - "expression": { - "id": 5508, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "505:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "509:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "505:23:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5512, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "505:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5520, - "nodeType": "VariableDeclaration", - "src": "558:90:7", - "nodes": [], - "constant": true, - "functionSelector": "d160e4de", - "mutability": "constant", - "name": "encodeStorageError", - "nameLocation": "580:18:7", - "scope": 5549, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5514, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "558:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5517, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "625:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783232", - "id": 5518, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "643:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_34_by_1", - "typeString": "int_const 34" - }, - "value": "0x22" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - { - "typeIdentifier": "t_rational_34_by_1", - "typeString": "int_const 34" - } - ], - "expression": { - "id": 5515, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "601:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5516, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "605:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "601:23:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5519, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "601:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5527, - "nodeType": "VariableDeclaration", - "src": "654:80:7", - "nodes": [], - "constant": true, - "functionSelector": "b22dc54d", - "mutability": "constant", - "name": "popError", - "nameLocation": "676:8:7", - "scope": 5549, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5521, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "654:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "711:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783331", - "id": 5525, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "729:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_49_by_1", - "typeString": "int_const 49" - }, - "value": "0x31" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - { - "typeIdentifier": "t_rational_49_by_1", - "typeString": "int_const 49" - } - ], - "expression": { - "id": 5522, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "687:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5523, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "691:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "687:23:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "687:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5534, - "nodeType": "VariableDeclaration", - "src": "740:85:7", - "nodes": [], - "constant": true, - "functionSelector": "05ee8612", - "mutability": "constant", - "name": "indexOOBError", - "nameLocation": "762:13:7", - "scope": 5549, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5528, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "740:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5531, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "802:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783332", - "id": 5532, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "820:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_50_by_1", - "typeString": "int_const 50" - }, - "value": "0x32" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - { - "typeIdentifier": "t_rational_50_by_1", - "typeString": "int_const 50" - } - ], - "expression": { - "id": 5529, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "778:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5530, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "782:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "778:23:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5533, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "778:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5541, - "nodeType": "VariableDeclaration", - "src": "831:88:7", - "nodes": [], - "constant": true, - "functionSelector": "986c5f68", - "mutability": "constant", - "name": "memOverflowError", - "nameLocation": "853:16:7", - "scope": 5549, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5535, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "831:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5538, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "896:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783431", - "id": 5539, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "914:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_65_by_1", - "typeString": "int_const 65" - }, - "value": "0x41" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - { - "typeIdentifier": "t_rational_65_by_1", - "typeString": "int_const 65" - } - ], - "expression": { - "id": 5536, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "872:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5537, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "876:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "872:23:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5540, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "872:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5548, - "nodeType": "VariableDeclaration", - "src": "925:84:7", - "nodes": [], - "constant": true, - "functionSelector": "b67689da", - "mutability": "constant", - "name": "zeroVarError", - "nameLocation": "947:12:7", - "scope": 5549, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5542, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "925:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5545, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "986:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783531", - "id": 5546, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1004:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_81_by_1", - "typeString": "int_const 81" - }, - "value": "0x51" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - { - "typeIdentifier": "t_rational_81_by_1", - "typeString": "int_const 81" - } - ], - "expression": { - "id": 5543, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "962:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "966:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "962:23:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5547, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "962:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "stdError", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 5549 - ], - "name": "stdError", - "nameLocation": "170:8:7", - "scope": 5550, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 7 -} \ No newline at end of file diff --git a/out/StdJson.sol/stdJson.json b/out/StdJson.sol/stdJson.json deleted file mode 100644 index 00e33ad..0000000 --- a/out/StdJson.sol/stdJson.json +++ /dev/null @@ -1,8869 +0,0 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea2646970667358221220d22a9db0e1bd13ff74bcbd0313382455456820f54744acc25e9e448ce608987b64736f6c63430008110033", - "sourceMap": "816:5655:8:-:0;;;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x600080fdfea2646970667358221220d22a9db0e1bd13ff74bcbd0313382455456820f54744acc25e9e448ce608987b64736f6c63430008110033", - "sourceMap": "816:5655:8:-:0;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/StdJson.sol\":\"stdJson\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x2291ee8f379552b86f34d98acb248d50442c7d4ab94aed03f1c8ddb6aea6852d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1ca6ca6fe35692428b507008b24e4ec4ba0cabaf58110fd0b4456a42e0166bdc\",\"dweb:/ipfs/QmUcSeXfYMyusrWxEdPRMeWFYhf9qD6YJaZXCVo29F4eus\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69\",\"dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/StdJson.sol": "stdJson" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "lib/forge-std/src/StdJson.sol": { - "keccak256": "0x2291ee8f379552b86f34d98acb248d50442c7d4ab94aed03f1c8ddb6aea6852d", - "urls": [ - "bzz-raw://1ca6ca6fe35692428b507008b24e4ec4ba0cabaf58110fd0b4456a42e0166bdc", - "dweb:/ipfs/QmUcSeXfYMyusrWxEdPRMeWFYhf9qD6YJaZXCVo29F4eus" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7", - "urls": [ - "bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69", - "dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/StdJson.sol", - "id": 6216, - "exportedSymbols": { - "Vm": [ - 9256 - ], - "VmSafe": [ - 8931 - ], - "stdJson": [ - 6215 - ] - }, - "nodeType": "SourceUnit", - "src": "32:6440:8", - "nodes": [ - { - "id": 5551, - "nodeType": "PragmaDirective", - "src": "32:31:8", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.6", - ".0", - "<", - "0.9", - ".0" - ] - }, - { - "id": 5552, - "nodeType": "PragmaDirective", - "src": "65:33:8", - "nodes": [], - "literals": [ - "experimental", - "ABIEncoderV2" - ] - }, - { - "id": 5553, - "nodeType": "ImportDirective", - "src": "100:18:8", - "nodes": [], - "absolutePath": "lib/forge-std/src/Vm.sol", - "file": "./Vm.sol", - "nameLocation": "-1:-1:-1", - "scope": 6216, - "sourceUnit": 9257, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 6215, - "nodeType": "ContractDefinition", - "src": "816:5655:8", - "nodes": [ - { - "id": 5570, - "nodeType": "VariableDeclaration", - "src": "838:88:8", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "vm", - "nameLocation": "862:2:8", - "scope": 6215, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - }, - "typeName": { - "id": 5555, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5554, - "name": "VmSafe", - "nameLocations": [ - "838:6:8" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 8931, - "src": "838:6:8" - }, - "referencedDeclaration": 8931, - "src": "838:6:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6865766d20636865617420636f6465", - "id": 5564, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "904:17:8", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - }, - "value": "hevm cheat code" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - } - ], - "id": 5563, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "894:9:8", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5565, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "894:28:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5562, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "886:7:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5561, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "886:7:8", - "typeDescriptions": {} - } - }, - "id": 5566, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "886:37:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5560, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "878:7:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 5559, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "878:7:8", - "typeDescriptions": {} - } - }, - "id": 5567, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "878:46:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 5558, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "870:7:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5557, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "870:7:8", - "typeDescriptions": {} - } - }, - "id": 5568, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "870:55:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5556, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9256, - "src": "867:2:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Vm_$9256_$", - "typeString": "type(contract Vm)" - } - }, - "id": 5569, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "867:59:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "visibility": "private" - }, - { - "id": 5586, - "nodeType": "FunctionDefinition", - "src": "933:141:8", - "nodes": [], - "body": { - "id": 5585, - "nodeType": "Block", - "src": "1027:47:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5581, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5572, - "src": "1057:4:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5582, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5574, - "src": "1063:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5579, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "1044:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5580, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1047:9:8", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "1044:12:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 5583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1044:23:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 5578, - "id": 5584, - "nodeType": "Return", - "src": "1037:30:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "parseRaw", - "nameLocation": "942:8:8", - "parameters": { - "id": 5575, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5572, - "mutability": "mutable", - "name": "json", - "nameLocation": "965:4:8", - "nodeType": "VariableDeclaration", - "scope": 5586, - "src": "951:18:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5571, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "951:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5574, - "mutability": "mutable", - "name": "key", - "nameLocation": "985:3:8", - "nodeType": "VariableDeclaration", - "scope": 5586, - "src": "971:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5573, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "971:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "950:39:8" - }, - "returnParameters": { - "id": 5578, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5577, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5586, - "src": "1013:12:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5576, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1013:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1012:14:8" - }, - "scope": 6215, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5608, - "nodeType": "FunctionDefinition", - "src": "1080:159:8", - "nodes": [], - "body": { - "id": 5607, - "nodeType": "Block", - "src": "1169:70:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 5599, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5588, - "src": "1210:4:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5600, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5590, - "src": "1216:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5597, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "1197:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5598, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1200:9:8", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "1197:12:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 5601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1197:23:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 5603, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1223:7:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5602, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1223:7:8", - "typeDescriptions": {} - } - } - ], - "id": 5604, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1222:9:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - ], - "expression": { - "id": 5595, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1186:3:8", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5596, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1190:6:8", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "1186:10:8", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5605, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1186:46:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5594, - "id": 5606, - "nodeType": "Return", - "src": "1179:53:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readUint", - "nameLocation": "1089:8:8", - "parameters": { - "id": 5591, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5588, - "mutability": "mutable", - "name": "json", - "nameLocation": "1112:4:8", - "nodeType": "VariableDeclaration", - "scope": 5608, - "src": "1098:18:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5587, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1098:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5590, - "mutability": "mutable", - "name": "key", - "nameLocation": "1132:3:8", - "nodeType": "VariableDeclaration", - "scope": 5608, - "src": "1118:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5589, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1118:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1097:39:8" - }, - "returnParameters": { - "id": 5594, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5593, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5608, - "src": "1160:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5592, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1160:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1159:9:8" - }, - "scope": 6215, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5632, - "nodeType": "FunctionDefinition", - "src": "1245:175:8", - "nodes": [], - "body": { - "id": 5631, - "nodeType": "Block", - "src": "1348:72:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 5622, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5610, - "src": "1389:4:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5623, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5612, - "src": "1395:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5620, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "1376:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1379:9:8", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "1376:12:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 5624, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1376:23:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 5626, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1402:7:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5625, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1402:7:8", - "typeDescriptions": {} - } - }, - "id": 5627, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1402:9:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "type(uint256[] memory)" - } - } - ], - "id": 5628, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1401:11:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "type(uint256[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "type(uint256[] memory)" - } - ], - "expression": { - "id": 5618, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1365:3:8", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5619, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1369:6:8", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "1365:10:8", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5629, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1365:48:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "functionReturnParameters": 5617, - "id": 5630, - "nodeType": "Return", - "src": "1358:55:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readUintArray", - "nameLocation": "1254:13:8", - "parameters": { - "id": 5613, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5610, - "mutability": "mutable", - "name": "json", - "nameLocation": "1282:4:8", - "nodeType": "VariableDeclaration", - "scope": 5632, - "src": "1268:18:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5609, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1268:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5612, - "mutability": "mutable", - "name": "key", - "nameLocation": "1302:3:8", - "nodeType": "VariableDeclaration", - "scope": 5632, - "src": "1288:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5611, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1288:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1267:39:8" - }, - "returnParameters": { - "id": 5617, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5616, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5632, - "src": "1330:16:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 5614, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1330:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5615, - "nodeType": "ArrayTypeName", - "src": "1330:9:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "1329:18:8" - }, - "scope": 6215, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5654, - "nodeType": "FunctionDefinition", - "src": "1426:156:8", - "nodes": [], - "body": { - "id": 5653, - "nodeType": "Block", - "src": "1513:69:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 5645, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5634, - "src": "1554:4:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5646, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5636, - "src": "1560:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5643, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "1541:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1544:9:8", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "1541:12:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 5647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1541:23:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 5649, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1567:6:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - }, - "typeName": { - "id": 5648, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "1567:6:8", - "typeDescriptions": {} - } - } - ], - "id": 5650, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1566:8:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - } - ], - "expression": { - "id": 5641, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1530:3:8", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5642, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1534:6:8", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "1530:10:8", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5651, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1530:45:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "functionReturnParameters": 5640, - "id": 5652, - "nodeType": "Return", - "src": "1523:52:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readInt", - "nameLocation": "1435:7:8", - "parameters": { - "id": 5637, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5634, - "mutability": "mutable", - "name": "json", - "nameLocation": "1457:4:8", - "nodeType": "VariableDeclaration", - "scope": 5654, - "src": "1443:18:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5633, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1443:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5636, - "mutability": "mutable", - "name": "key", - "nameLocation": "1477:3:8", - "nodeType": "VariableDeclaration", - "scope": 5654, - "src": "1463:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5635, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1463:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1442:39:8" - }, - "returnParameters": { - "id": 5640, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5639, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5654, - "src": "1505:6:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 5638, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "1505:6:8", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "1504:8:8" - }, - "scope": 6215, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5678, - "nodeType": "FunctionDefinition", - "src": "1588:172:8", - "nodes": [], - "body": { - "id": 5677, - "nodeType": "Block", - "src": "1689:71:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 5668, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5656, - "src": "1730:4:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5669, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5658, - "src": "1736:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5666, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "1717:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1720:9:8", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "1717:12:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 5670, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1717:23:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 5672, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1743:6:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - }, - "typeName": { - "id": 5671, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "1743:6:8", - "typeDescriptions": {} - } - }, - "id": 5673, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1743:8:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_int256_$dyn_memory_ptr_$", - "typeString": "type(int256[] memory)" - } - } - ], - "id": 5674, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1742:10:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_int256_$dyn_memory_ptr_$", - "typeString": "type(int256[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_int256_$dyn_memory_ptr_$", - "typeString": "type(int256[] memory)" - } - ], - "expression": { - "id": 5664, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1706:3:8", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5665, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1710:6:8", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "1706:10:8", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5675, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1706:47:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - }, - "functionReturnParameters": 5663, - "id": 5676, - "nodeType": "Return", - "src": "1699:54:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readIntArray", - "nameLocation": "1597:12:8", - "parameters": { - "id": 5659, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5656, - "mutability": "mutable", - "name": "json", - "nameLocation": "1624:4:8", - "nodeType": "VariableDeclaration", - "scope": 5678, - "src": "1610:18:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5655, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1610:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5658, - "mutability": "mutable", - "name": "key", - "nameLocation": "1644:3:8", - "nodeType": "VariableDeclaration", - "scope": 5678, - "src": "1630:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5657, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1630:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1609:39:8" - }, - "returnParameters": { - "id": 5663, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5662, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5678, - "src": "1672:15:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 5660, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "1672:6:8", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 5661, - "nodeType": "ArrayTypeName", - "src": "1672:8:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "1671:17:8" - }, - "scope": 6215, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5700, - "nodeType": "FunctionDefinition", - "src": "1766:162:8", - "nodes": [], - "body": { - "id": 5699, - "nodeType": "Block", - "src": "1858:70:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 5691, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5680, - "src": "1899:4:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5692, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5682, - "src": "1905:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5689, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "1886:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1889:9:8", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "1886:12:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 5693, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1886:23:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 5695, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1912:7:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 5694, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1912:7:8", - "typeDescriptions": {} - } - } - ], - "id": 5696, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1911:9:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - } - ], - "expression": { - "id": 5687, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1875:3:8", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5688, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1879:6:8", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "1875:10:8", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1875:46:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 5686, - "id": 5698, - "nodeType": "Return", - "src": "1868:53:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readBytes32", - "nameLocation": "1775:11:8", - "parameters": { - "id": 5683, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5680, - "mutability": "mutable", - "name": "json", - "nameLocation": "1801:4:8", - "nodeType": "VariableDeclaration", - "scope": 5700, - "src": "1787:18:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5679, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1787:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5682, - "mutability": "mutable", - "name": "key", - "nameLocation": "1821:3:8", - "nodeType": "VariableDeclaration", - "scope": 5700, - "src": "1807:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5681, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1807:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1786:39:8" - }, - "returnParameters": { - "id": 5686, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5685, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5700, - "src": "1849:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5684, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1849:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "1848:9:8" - }, - "scope": 6215, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5724, - "nodeType": "FunctionDefinition", - "src": "1934:178:8", - "nodes": [], - "body": { - "id": 5723, - "nodeType": "Block", - "src": "2040:72:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 5714, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5702, - "src": "2081:4:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5715, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5704, - "src": "2087:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5712, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "2068:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2071:9:8", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "2068:12:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 5716, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2068:23:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 5718, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2094:7:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 5717, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2094:7:8", - "typeDescriptions": {} - } - }, - "id": 5719, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2094:9:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_bytes32_$dyn_memory_ptr_$", - "typeString": "type(bytes32[] memory)" - } - } - ], - "id": 5720, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2093:11:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_bytes32_$dyn_memory_ptr_$", - "typeString": "type(bytes32[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_bytes32_$dyn_memory_ptr_$", - "typeString": "type(bytes32[] memory)" - } - ], - "expression": { - "id": 5710, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2057:3:8", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5711, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2061:6:8", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "2057:10:8", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5721, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2057:48:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "functionReturnParameters": 5709, - "id": 5722, - "nodeType": "Return", - "src": "2050:55:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readBytes32Array", - "nameLocation": "1943:16:8", - "parameters": { - "id": 5705, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5702, - "mutability": "mutable", - "name": "json", - "nameLocation": "1974:4:8", - "nodeType": "VariableDeclaration", - "scope": 5724, - "src": "1960:18:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5701, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1960:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5704, - "mutability": "mutable", - "name": "key", - "nameLocation": "1994:3:8", - "nodeType": "VariableDeclaration", - "scope": 5724, - "src": "1980:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5703, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1980:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1959:39:8" - }, - "returnParameters": { - "id": 5709, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5708, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5724, - "src": "2022:16:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 5706, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2022:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5707, - "nodeType": "ArrayTypeName", - "src": "2022:9:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "2021:18:8" - }, - "scope": 6215, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5746, - "nodeType": "FunctionDefinition", - "src": "2118:166:8", - "nodes": [], - "body": { - "id": 5745, - "nodeType": "Block", - "src": "2215:69:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 5737, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5726, - "src": "2256:4:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5738, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5728, - "src": "2262:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5735, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "2243:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2246:9:8", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "2243:12:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 5739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2243:23:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 5741, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2269:6:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 5740, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2269:6:8", - "typeDescriptions": {} - } - } - ], - "id": 5742, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2268:8:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - } - ], - "expression": { - "id": 5733, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2232:3:8", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5734, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2236:6:8", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "2232:10:8", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2232:45:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 5732, - "id": 5744, - "nodeType": "Return", - "src": "2225:52:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readString", - "nameLocation": "2127:10:8", - "parameters": { - "id": 5729, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5726, - "mutability": "mutable", - "name": "json", - "nameLocation": "2152:4:8", - "nodeType": "VariableDeclaration", - "scope": 5746, - "src": "2138:18:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5725, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2138:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5728, - "mutability": "mutable", - "name": "key", - "nameLocation": "2172:3:8", - "nodeType": "VariableDeclaration", - "scope": 5746, - "src": "2158:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5727, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2158:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2137:39:8" - }, - "returnParameters": { - "id": 5732, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5731, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5746, - "src": "2200:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5730, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2200:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2199:15:8" - }, - "scope": 6215, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5770, - "nodeType": "FunctionDefinition", - "src": "2290:175:8", - "nodes": [], - "body": { - "id": 5769, - "nodeType": "Block", - "src": "2394:71:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 5760, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5748, - "src": "2435:4:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5761, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5750, - "src": "2441:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5758, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "2422:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5759, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2425:9:8", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "2422:12:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 5762, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2422:23:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 5764, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2448:6:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 5763, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2448:6:8", - "typeDescriptions": {} - } - }, - "id": 5765, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2448:8:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(string memory[] memory)" - } - } - ], - "id": 5766, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2447:10:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(string memory[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(string memory[] memory)" - } - ], - "expression": { - "id": 5756, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2411:3:8", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5757, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2415:6:8", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "2411:10:8", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5767, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2411:47:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "functionReturnParameters": 5755, - "id": 5768, - "nodeType": "Return", - "src": "2404:54:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readStringArray", - "nameLocation": "2299:15:8", - "parameters": { - "id": 5751, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5748, - "mutability": "mutable", - "name": "json", - "nameLocation": "2329:4:8", - "nodeType": "VariableDeclaration", - "scope": 5770, - "src": "2315:18:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5747, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2315:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5750, - "mutability": "mutable", - "name": "key", - "nameLocation": "2349:3:8", - "nodeType": "VariableDeclaration", - "scope": 5770, - "src": "2335:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5749, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2335:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2314:39:8" - }, - "returnParameters": { - "id": 5755, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5754, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5770, - "src": "2377:15:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 5752, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2377:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 5753, - "nodeType": "ArrayTypeName", - "src": "2377:8:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "2376:17:8" - }, - "scope": 6215, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5792, - "nodeType": "FunctionDefinition", - "src": "2471:162:8", - "nodes": [], - "body": { - "id": 5791, - "nodeType": "Block", - "src": "2563:70:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 5783, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5772, - "src": "2604:4:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5784, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5774, - "src": "2610:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5781, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "2591:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5782, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2594:9:8", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "2591:12:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 5785, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2591:23:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 5787, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2617:7:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5786, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2617:7:8", - "typeDescriptions": {} - } - } - ], - "id": 5788, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2616:9:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - } - ], - "expression": { - "id": 5779, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2580:3:8", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5780, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2584:6:8", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "2580:10:8", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5789, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2580:46:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 5778, - "id": 5790, - "nodeType": "Return", - "src": "2573:53:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readAddress", - "nameLocation": "2480:11:8", - "parameters": { - "id": 5775, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5772, - "mutability": "mutable", - "name": "json", - "nameLocation": "2506:4:8", - "nodeType": "VariableDeclaration", - "scope": 5792, - "src": "2492:18:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5771, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2492:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5774, - "mutability": "mutable", - "name": "key", - "nameLocation": "2526:3:8", - "nodeType": "VariableDeclaration", - "scope": 5792, - "src": "2512:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5773, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2512:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2491:39:8" - }, - "returnParameters": { - "id": 5778, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5777, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5792, - "src": "2554:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5776, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2554:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2553:9:8" - }, - "scope": 6215, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5816, - "nodeType": "FunctionDefinition", - "src": "2639:178:8", - "nodes": [], - "body": { - "id": 5815, - "nodeType": "Block", - "src": "2745:72:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 5806, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5794, - "src": "2786:4:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5807, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5796, - "src": "2792:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5804, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "2773:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2776:9:8", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "2773:12:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 5808, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2773:23:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 5810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2799:7:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5809, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2799:7:8", - "typeDescriptions": {} - } - }, - "id": 5811, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2799:9:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "type(address[] memory)" - } - } - ], - "id": 5812, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2798:11:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "type(address[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "type(address[] memory)" - } - ], - "expression": { - "id": 5802, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2762:3:8", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5803, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2766:6:8", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "2762:10:8", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2762:48:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "functionReturnParameters": 5801, - "id": 5814, - "nodeType": "Return", - "src": "2755:55:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readAddressArray", - "nameLocation": "2648:16:8", - "parameters": { - "id": 5797, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5794, - "mutability": "mutable", - "name": "json", - "nameLocation": "2679:4:8", - "nodeType": "VariableDeclaration", - "scope": 5816, - "src": "2665:18:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5793, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2665:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5796, - "mutability": "mutable", - "name": "key", - "nameLocation": "2699:3:8", - "nodeType": "VariableDeclaration", - "scope": 5816, - "src": "2685:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5795, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2685:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2664:39:8" - }, - "returnParameters": { - "id": 5801, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5800, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5816, - "src": "2727:16:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 5798, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2727:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5799, - "nodeType": "ArrayTypeName", - "src": "2727:9:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "2726:18:8" - }, - "scope": 6215, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5838, - "nodeType": "FunctionDefinition", - "src": "2823:153:8", - "nodes": [], - "body": { - "id": 5837, - "nodeType": "Block", - "src": "2909:67:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 5829, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5818, - "src": "2950:4:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5830, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5820, - "src": "2956:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5827, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "2937:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5828, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2940:9:8", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "2937:12:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 5831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2937:23:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 5833, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2963:4:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bool_$", - "typeString": "type(bool)" - }, - "typeName": { - "id": 5832, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2963:4:8", - "typeDescriptions": {} - } - } - ], - "id": 5834, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2962:6:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bool_$", - "typeString": "type(bool)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bool_$", - "typeString": "type(bool)" - } - ], - "expression": { - "id": 5825, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2926:3:8", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5826, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2930:6:8", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "2926:10:8", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5835, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2926:43:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 5824, - "id": 5836, - "nodeType": "Return", - "src": "2919:50:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readBool", - "nameLocation": "2832:8:8", - "parameters": { - "id": 5821, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5818, - "mutability": "mutable", - "name": "json", - "nameLocation": "2855:4:8", - "nodeType": "VariableDeclaration", - "scope": 5838, - "src": "2841:18:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5817, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2841:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5820, - "mutability": "mutable", - "name": "key", - "nameLocation": "2875:3:8", - "nodeType": "VariableDeclaration", - "scope": 5838, - "src": "2861:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5819, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2861:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2840:39:8" - }, - "returnParameters": { - "id": 5824, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5823, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5838, - "src": "2903:4:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5822, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2903:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "2902:6:8" - }, - "scope": 6215, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5862, - "nodeType": "FunctionDefinition", - "src": "2982:169:8", - "nodes": [], - "body": { - "id": 5861, - "nodeType": "Block", - "src": "3082:69:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 5852, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5840, - "src": "3123:4:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5853, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5842, - "src": "3129:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5850, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "3110:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5851, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3113:9:8", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "3110:12:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 5854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3110:23:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 5856, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3136:4:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bool_$", - "typeString": "type(bool)" - }, - "typeName": { - "id": 5855, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3136:4:8", - "typeDescriptions": {} - } - }, - "id": 5857, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3136:6:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_bool_$dyn_memory_ptr_$", - "typeString": "type(bool[] memory)" - } - } - ], - "id": 5858, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3135:8:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_bool_$dyn_memory_ptr_$", - "typeString": "type(bool[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_bool_$dyn_memory_ptr_$", - "typeString": "type(bool[] memory)" - } - ], - "expression": { - "id": 5848, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3099:3:8", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5849, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3103:6:8", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "3099:10:8", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5859, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3099:45:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_memory_ptr", - "typeString": "bool[] memory" - } - }, - "functionReturnParameters": 5847, - "id": 5860, - "nodeType": "Return", - "src": "3092:52:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readBoolArray", - "nameLocation": "2991:13:8", - "parameters": { - "id": 5843, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5840, - "mutability": "mutable", - "name": "json", - "nameLocation": "3019:4:8", - "nodeType": "VariableDeclaration", - "scope": 5862, - "src": "3005:18:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5839, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3005:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5842, - "mutability": "mutable", - "name": "key", - "nameLocation": "3039:3:8", - "nodeType": "VariableDeclaration", - "scope": 5862, - "src": "3025:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5841, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3025:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3004:39:8" - }, - "returnParameters": { - "id": 5847, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5846, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5862, - "src": "3067:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_memory_ptr", - "typeString": "bool[]" - }, - "typeName": { - "baseType": { - "id": 5844, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3067:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5845, - "nodeType": "ArrayTypeName", - "src": "3067:6:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_storage_ptr", - "typeString": "bool[]" - } - }, - "visibility": "internal" - } - ], - "src": "3066:15:8" - }, - "scope": 6215, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5884, - "nodeType": "FunctionDefinition", - "src": "3157:163:8", - "nodes": [], - "body": { - "id": 5883, - "nodeType": "Block", - "src": "3252:68:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 5875, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5864, - "src": "3293:4:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5876, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5866, - "src": "3299:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5873, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "3280:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5874, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3283:9:8", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "3280:12:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 5877, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3280:23:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 5879, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3306:5:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 5878, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3306:5:8", - "typeDescriptions": {} - } - } - ], - "id": 5880, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3305:7:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - ], - "expression": { - "id": 5871, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3269:3:8", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5872, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3273:6:8", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "3269:10:8", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5881, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3269:44:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 5870, - "id": 5882, - "nodeType": "Return", - "src": "3262:51:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readBytes", - "nameLocation": "3166:9:8", - "parameters": { - "id": 5867, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5864, - "mutability": "mutable", - "name": "json", - "nameLocation": "3190:4:8", - "nodeType": "VariableDeclaration", - "scope": 5884, - "src": "3176:18:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5863, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3176:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5866, - "mutability": "mutable", - "name": "key", - "nameLocation": "3210:3:8", - "nodeType": "VariableDeclaration", - "scope": 5884, - "src": "3196:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5865, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3196:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3175:39:8" - }, - "returnParameters": { - "id": 5870, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5869, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5884, - "src": "3238:12:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5868, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3238:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3237:14:8" - }, - "scope": 6215, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5908, - "nodeType": "FunctionDefinition", - "src": "3326:172:8", - "nodes": [], - "body": { - "id": 5907, - "nodeType": "Block", - "src": "3428:70:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 5898, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "3469:4:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5899, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5888, - "src": "3475:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5896, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "3456:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5897, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3459:9:8", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8719, - "src": "3456:12:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) pure external returns (bytes memory)" - } - }, - "id": 5900, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3456:23:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 5902, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3482:5:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 5901, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3482:5:8", - "typeDescriptions": {} - } - }, - "id": 5903, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3482:7:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_bytes_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(bytes memory[] memory)" - } - } - ], - "id": 5904, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3481:9:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_bytes_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(bytes memory[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_bytes_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(bytes memory[] memory)" - } - ], - "expression": { - "id": 5894, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3445:3:8", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5895, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3449:6:8", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "3445:10:8", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5905, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3445:46:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_ptr_$dyn_memory_ptr", - "typeString": "bytes memory[] memory" - } - }, - "functionReturnParameters": 5893, - "id": 5906, - "nodeType": "Return", - "src": "3438:53:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readBytesArray", - "nameLocation": "3335:14:8", - "parameters": { - "id": 5889, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5886, - "mutability": "mutable", - "name": "json", - "nameLocation": "3364:4:8", - "nodeType": "VariableDeclaration", - "scope": 5908, - "src": "3350:18:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5885, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3350:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5888, - "mutability": "mutable", - "name": "key", - "nameLocation": "3384:3:8", - "nodeType": "VariableDeclaration", - "scope": 5908, - "src": "3370:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5887, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3370:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3349:39:8" - }, - "returnParameters": { - "id": 5893, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5892, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5908, - "src": "3412:14:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_ptr_$dyn_memory_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 5890, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3412:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 5891, - "nodeType": "ArrayTypeName", - "src": "3412:7:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "visibility": "internal" - } - ], - "src": "3411:16:8" - }, - "scope": 6215, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5927, - "nodeType": "FunctionDefinition", - "src": "3504:167:8", - "nodes": [], - "body": { - "id": 5926, - "nodeType": "Block", - "src": "3610:61:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5921, - "name": "jsonKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5910, - "src": "3644:7:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5922, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5912, - "src": "3653:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5923, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5914, - "src": "3658:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 5919, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "3627:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3630:13:8", - "memberName": "serializeBool", - "nodeType": "MemberAccess", - "referencedDeclaration": 8737, - "src": "3627:16:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bool_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory,string memory,bool) external returns (string memory)" - } - }, - "id": 5924, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3627:37:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 5918, - "id": 5925, - "nodeType": "Return", - "src": "3620:44:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "serialize", - "nameLocation": "3513:9:8", - "parameters": { - "id": 5915, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5910, - "mutability": "mutable", - "name": "jsonKey", - "nameLocation": "3537:7:8", - "nodeType": "VariableDeclaration", - "scope": 5927, - "src": "3523:21:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5909, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3523:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5912, - "mutability": "mutable", - "name": "key", - "nameLocation": "3560:3:8", - "nodeType": "VariableDeclaration", - "scope": 5927, - "src": "3546:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5911, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3546:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5914, - "mutability": "mutable", - "name": "value", - "nameLocation": "3570:5:8", - "nodeType": "VariableDeclaration", - "scope": 5927, - "src": "3565:10:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5913, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3565:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "3522:54:8" - }, - "returnParameters": { - "id": 5918, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5917, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5927, - "src": "3595:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5916, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3595:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3594:15:8" - }, - "scope": 6215, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5947, - "nodeType": "FunctionDefinition", - "src": "3677:196:8", - "nodes": [], - "body": { - "id": 5946, - "nodeType": "Block", - "src": "3812:61:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5941, - "name": "jsonKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5929, - "src": "3846:7:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5942, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5931, - "src": "3855:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5943, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5934, - "src": "3860:5:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_memory_ptr", - "typeString": "bool[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_array$_t_bool_$dyn_memory_ptr", - "typeString": "bool[] memory" - } - ], - "expression": { - "id": 5939, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "3829:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5940, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3832:13:8", - "memberName": "serializeBool", - "nodeType": "MemberAccess", - "referencedDeclaration": 8815, - "src": "3829:16:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_array$_t_bool_$dyn_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory,string memory,bool[] memory) external returns (string memory)" - } - }, - "id": 5944, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3829:37:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 5938, - "id": 5945, - "nodeType": "Return", - "src": "3822:44:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "serialize", - "nameLocation": "3686:9:8", - "parameters": { - "id": 5935, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5929, - "mutability": "mutable", - "name": "jsonKey", - "nameLocation": "3710:7:8", - "nodeType": "VariableDeclaration", - "scope": 5947, - "src": "3696:21:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5928, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3696:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5931, - "mutability": "mutable", - "name": "key", - "nameLocation": "3733:3:8", - "nodeType": "VariableDeclaration", - "scope": 5947, - "src": "3719:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5930, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3719:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5934, - "mutability": "mutable", - "name": "value", - "nameLocation": "3752:5:8", - "nodeType": "VariableDeclaration", - "scope": 5947, - "src": "3738:19:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_memory_ptr", - "typeString": "bool[]" - }, - "typeName": { - "baseType": { - "id": 5932, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3738:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5933, - "nodeType": "ArrayTypeName", - "src": "3738:6:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_storage_ptr", - "typeString": "bool[]" - } - }, - "visibility": "internal" - } - ], - "src": "3695:63:8" - }, - "returnParameters": { - "id": 5938, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5937, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5947, - "src": "3793:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5936, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3793:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3792:15:8" - }, - "scope": 6215, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5966, - "nodeType": "FunctionDefinition", - "src": "3879:170:8", - "nodes": [], - "body": { - "id": 5965, - "nodeType": "Block", - "src": "3988:61:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5960, - "name": "jsonKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5949, - "src": "4022:7:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5961, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5951, - "src": "4031:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5962, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5953, - "src": "4036:5:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5958, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "4005:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5959, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4008:13:8", - "memberName": "serializeUint", - "nodeType": "MemberAccess", - "referencedDeclaration": 8748, - "src": "4005:16:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory,string memory,uint256) external returns (string memory)" - } - }, - "id": 5963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4005:37:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 5957, - "id": 5964, - "nodeType": "Return", - "src": "3998:44:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "serialize", - "nameLocation": "3888:9:8", - "parameters": { - "id": 5954, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5949, - "mutability": "mutable", - "name": "jsonKey", - "nameLocation": "3912:7:8", - "nodeType": "VariableDeclaration", - "scope": 5966, - "src": "3898:21:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5948, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3898:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5951, - "mutability": "mutable", - "name": "key", - "nameLocation": "3935:3:8", - "nodeType": "VariableDeclaration", - "scope": 5966, - "src": "3921:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5950, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3921:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5953, - "mutability": "mutable", - "name": "value", - "nameLocation": "3948:5:8", - "nodeType": "VariableDeclaration", - "scope": 5966, - "src": "3940:13:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5952, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3940:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3897:57:8" - }, - "returnParameters": { - "id": 5957, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5956, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5966, - "src": "3973:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5955, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3973:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3972:15:8" - }, - "scope": 6215, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5986, - "nodeType": "FunctionDefinition", - "src": "4055:199:8", - "nodes": [], - "body": { - "id": 5985, - "nodeType": "Block", - "src": "4193:61:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5980, - "name": "jsonKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5968, - "src": "4227:7:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5981, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5970, - "src": "4236:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5982, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5973, - "src": "4241:5:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - ], - "expression": { - "id": 5978, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "4210:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4213:13:8", - "memberName": "serializeUint", - "nodeType": "MemberAccess", - "referencedDeclaration": 8827, - "src": "4210:16:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_array$_t_uint256_$dyn_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory,string memory,uint256[] memory) external returns (string memory)" - } - }, - "id": 5983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4210:37:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 5977, - "id": 5984, - "nodeType": "Return", - "src": "4203:44:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "serialize", - "nameLocation": "4064:9:8", - "parameters": { - "id": 5974, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5968, - "mutability": "mutable", - "name": "jsonKey", - "nameLocation": "4088:7:8", - "nodeType": "VariableDeclaration", - "scope": 5986, - "src": "4074:21:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5967, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4074:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5970, - "mutability": "mutable", - "name": "key", - "nameLocation": "4111:3:8", - "nodeType": "VariableDeclaration", - "scope": 5986, - "src": "4097:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5969, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4097:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5973, - "mutability": "mutable", - "name": "value", - "nameLocation": "4133:5:8", - "nodeType": "VariableDeclaration", - "scope": 5986, - "src": "4116:22:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 5971, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4116:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5972, - "nodeType": "ArrayTypeName", - "src": "4116:9:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "4073:66:8" - }, - "returnParameters": { - "id": 5977, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5976, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5986, - "src": "4174:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5975, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4174:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4173:15:8" - }, - "scope": 6215, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6005, - "nodeType": "FunctionDefinition", - "src": "4260:168:8", - "nodes": [], - "body": { - "id": 6004, - "nodeType": "Block", - "src": "4368:60:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 5999, - "name": "jsonKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5988, - "src": "4401:7:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6000, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5990, - "src": "4410:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6001, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5992, - "src": "4415:5:8", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 5997, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "4385:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 5998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4388:12:8", - "memberName": "serializeInt", - "nodeType": "MemberAccess", - "referencedDeclaration": 8759, - "src": "4385:15:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_int256_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory,string memory,int256) external returns (string memory)" - } - }, - "id": 6002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4385:36:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 5996, - "id": 6003, - "nodeType": "Return", - "src": "4378:43:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "serialize", - "nameLocation": "4269:9:8", - "parameters": { - "id": 5993, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5988, - "mutability": "mutable", - "name": "jsonKey", - "nameLocation": "4293:7:8", - "nodeType": "VariableDeclaration", - "scope": 6005, - "src": "4279:21:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5987, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4279:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5990, - "mutability": "mutable", - "name": "key", - "nameLocation": "4316:3:8", - "nodeType": "VariableDeclaration", - "scope": 6005, - "src": "4302:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5989, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4302:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5992, - "mutability": "mutable", - "name": "value", - "nameLocation": "4328:5:8", - "nodeType": "VariableDeclaration", - "scope": 6005, - "src": "4321:12:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 5991, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "4321:6:8", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "4278:56:8" - }, - "returnParameters": { - "id": 5996, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5995, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6005, - "src": "4353:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5994, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4353:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4352:15:8" - }, - "scope": 6215, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6025, - "nodeType": "FunctionDefinition", - "src": "4434:197:8", - "nodes": [], - "body": { - "id": 6024, - "nodeType": "Block", - "src": "4571:60:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6019, - "name": "jsonKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6007, - "src": "4604:7:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6020, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6009, - "src": "4613:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6021, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6012, - "src": "4618:5:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - ], - "expression": { - "id": 6017, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "4588:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 6018, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4591:12:8", - "memberName": "serializeInt", - "nodeType": "MemberAccess", - "referencedDeclaration": 8839, - "src": "4588:15:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_array$_t_int256_$dyn_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory,string memory,int256[] memory) external returns (string memory)" - } - }, - "id": 6022, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4588:36:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 6016, - "id": 6023, - "nodeType": "Return", - "src": "4581:43:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "serialize", - "nameLocation": "4443:9:8", - "parameters": { - "id": 6013, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6007, - "mutability": "mutable", - "name": "jsonKey", - "nameLocation": "4467:7:8", - "nodeType": "VariableDeclaration", - "scope": 6025, - "src": "4453:21:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6006, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4453:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6009, - "mutability": "mutable", - "name": "key", - "nameLocation": "4490:3:8", - "nodeType": "VariableDeclaration", - "scope": 6025, - "src": "4476:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6008, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4476:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6012, - "mutability": "mutable", - "name": "value", - "nameLocation": "4511:5:8", - "nodeType": "VariableDeclaration", - "scope": 6025, - "src": "4495:21:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 6010, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "4495:6:8", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 6011, - "nodeType": "ArrayTypeName", - "src": "4495:8:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "4452:65:8" - }, - "returnParameters": { - "id": 6016, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6015, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6025, - "src": "4552:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6014, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4552:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4551:15:8" - }, - "scope": 6215, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6044, - "nodeType": "FunctionDefinition", - "src": "4637:173:8", - "nodes": [], - "body": { - "id": 6043, - "nodeType": "Block", - "src": "4746:64:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6038, - "name": "jsonKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6027, - "src": "4783:7:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6039, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6029, - "src": "4792:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6040, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6031, - "src": "4797:5:8", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 6036, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "4763:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 6037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4766:16:8", - "memberName": "serializeAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 8770, - "src": "4763:19:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_address_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory,string memory,address) external returns (string memory)" - } - }, - "id": 6041, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4763:40:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 6035, - "id": 6042, - "nodeType": "Return", - "src": "4756:47:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "serialize", - "nameLocation": "4646:9:8", - "parameters": { - "id": 6032, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6027, - "mutability": "mutable", - "name": "jsonKey", - "nameLocation": "4670:7:8", - "nodeType": "VariableDeclaration", - "scope": 6044, - "src": "4656:21:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6026, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4656:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6029, - "mutability": "mutable", - "name": "key", - "nameLocation": "4693:3:8", - "nodeType": "VariableDeclaration", - "scope": 6044, - "src": "4679:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6028, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4679:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6031, - "mutability": "mutable", - "name": "value", - "nameLocation": "4706:5:8", - "nodeType": "VariableDeclaration", - "scope": 6044, - "src": "4698:13:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6030, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4698:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4655:57:8" - }, - "returnParameters": { - "id": 6035, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6034, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6044, - "src": "4731:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6033, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4731:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4730:15:8" - }, - "scope": 6215, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6064, - "nodeType": "FunctionDefinition", - "src": "4816:202:8", - "nodes": [], - "body": { - "id": 6063, - "nodeType": "Block", - "src": "4954:64:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6058, - "name": "jsonKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6046, - "src": "4991:7:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6059, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6048, - "src": "5000:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6060, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6051, - "src": "5005:5:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "expression": { - "id": 6056, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "4971:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 6057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4974:16:8", - "memberName": "serializeAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 8851, - "src": "4971:19:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory,string memory,address[] memory) external returns (string memory)" - } - }, - "id": 6061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4971:40:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 6055, - "id": 6062, - "nodeType": "Return", - "src": "4964:47:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "serialize", - "nameLocation": "4825:9:8", - "parameters": { - "id": 6052, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6046, - "mutability": "mutable", - "name": "jsonKey", - "nameLocation": "4849:7:8", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "4835:21:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6045, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4835:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6048, - "mutability": "mutable", - "name": "key", - "nameLocation": "4872:3:8", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "4858:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6047, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4858:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6051, - "mutability": "mutable", - "name": "value", - "nameLocation": "4894:5:8", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "4877:22:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 6049, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4877:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6050, - "nodeType": "ArrayTypeName", - "src": "4877:9:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "4834:66:8" - }, - "returnParameters": { - "id": 6055, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6054, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "4935:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6053, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4935:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4934:15:8" - }, - "scope": 6215, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6083, - "nodeType": "FunctionDefinition", - "src": "5024:173:8", - "nodes": [], - "body": { - "id": 6082, - "nodeType": "Block", - "src": "5133:64:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6077, - "name": "jsonKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6066, - "src": "5170:7:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6078, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6068, - "src": "5179:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6079, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6070, - "src": "5184:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6075, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "5150:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 6076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5153:16:8", - "memberName": "serializeBytes32", - "nodeType": "MemberAccess", - "referencedDeclaration": 8781, - "src": "5150:19:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes32_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes32) external returns (string memory)" - } - }, - "id": 6080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5150:40:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 6074, - "id": 6081, - "nodeType": "Return", - "src": "5143:47:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "serialize", - "nameLocation": "5033:9:8", - "parameters": { - "id": 6071, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6066, - "mutability": "mutable", - "name": "jsonKey", - "nameLocation": "5057:7:8", - "nodeType": "VariableDeclaration", - "scope": 6083, - "src": "5043:21:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6065, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5043:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6068, - "mutability": "mutable", - "name": "key", - "nameLocation": "5080:3:8", - "nodeType": "VariableDeclaration", - "scope": 6083, - "src": "5066:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6067, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5066:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6070, - "mutability": "mutable", - "name": "value", - "nameLocation": "5093:5:8", - "nodeType": "VariableDeclaration", - "scope": 6083, - "src": "5085:13:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6069, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5085:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "5042:57:8" - }, - "returnParameters": { - "id": 6074, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6073, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6083, - "src": "5118:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6072, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5118:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5117:15:8" - }, - "scope": 6215, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6103, - "nodeType": "FunctionDefinition", - "src": "5203:202:8", - "nodes": [], - "body": { - "id": 6102, - "nodeType": "Block", - "src": "5341:64:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6097, - "name": "jsonKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6085, - "src": "5378:7:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6098, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6087, - "src": "5387:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6099, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6090, - "src": "5392:5:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - ], - "expression": { - "id": 6095, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "5358:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 6096, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5361:16:8", - "memberName": "serializeBytes32", - "nodeType": "MemberAccess", - "referencedDeclaration": 8863, - "src": "5358:19:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes32[] memory) external returns (string memory)" - } - }, - "id": 6100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5358:40:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 6094, - "id": 6101, - "nodeType": "Return", - "src": "5351:47:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "serialize", - "nameLocation": "5212:9:8", - "parameters": { - "id": 6091, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6085, - "mutability": "mutable", - "name": "jsonKey", - "nameLocation": "5236:7:8", - "nodeType": "VariableDeclaration", - "scope": 6103, - "src": "5222:21:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6084, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5222:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6087, - "mutability": "mutable", - "name": "key", - "nameLocation": "5259:3:8", - "nodeType": "VariableDeclaration", - "scope": 6103, - "src": "5245:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6086, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5245:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6090, - "mutability": "mutable", - "name": "value", - "nameLocation": "5281:5:8", - "nodeType": "VariableDeclaration", - "scope": 6103, - "src": "5264:22:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 6088, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5264:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6089, - "nodeType": "ArrayTypeName", - "src": "5264:9:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "5221:66:8" - }, - "returnParameters": { - "id": 6094, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6093, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6103, - "src": "5322:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6092, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5322:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5321:15:8" - }, - "scope": 6215, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6122, - "nodeType": "FunctionDefinition", - "src": "5411:176:8", - "nodes": [], - "body": { - "id": 6121, - "nodeType": "Block", - "src": "5525:62:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6116, - "name": "jsonKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6105, - "src": "5560:7:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6117, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6107, - "src": "5569:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6118, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6109, - "src": "5574:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 6114, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "5542:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 6115, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5545:14:8", - "memberName": "serializeBytes", - "nodeType": "MemberAccess", - "referencedDeclaration": 8803, - "src": "5542:17:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory) external returns (string memory)" - } - }, - "id": 6119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5542:38:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 6113, - "id": 6120, - "nodeType": "Return", - "src": "5535:45:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "serialize", - "nameLocation": "5420:9:8", - "parameters": { - "id": 6110, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6105, - "mutability": "mutable", - "name": "jsonKey", - "nameLocation": "5444:7:8", - "nodeType": "VariableDeclaration", - "scope": 6122, - "src": "5430:21:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6104, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5430:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6107, - "mutability": "mutable", - "name": "key", - "nameLocation": "5467:3:8", - "nodeType": "VariableDeclaration", - "scope": 6122, - "src": "5453:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6106, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5453:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6109, - "mutability": "mutable", - "name": "value", - "nameLocation": "5485:5:8", - "nodeType": "VariableDeclaration", - "scope": 6122, - "src": "5472:18:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6108, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5472:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5429:62:8" - }, - "returnParameters": { - "id": 6113, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6112, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6122, - "src": "5510:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6111, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5510:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5509:15:8" - }, - "scope": 6215, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6142, - "nodeType": "FunctionDefinition", - "src": "5593:198:8", - "nodes": [], - "body": { - "id": 6141, - "nodeType": "Block", - "src": "5729:62:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6136, - "name": "jsonKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6124, - "src": "5764:7:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6137, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6126, - "src": "5773:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6138, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6129, - "src": "5778:5:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_ptr_$dyn_memory_ptr", - "typeString": "bytes memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_array$_t_bytes_memory_ptr_$dyn_memory_ptr", - "typeString": "bytes memory[] memory" - } - ], - "expression": { - "id": 6134, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "5746:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 6135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5749:14:8", - "memberName": "serializeBytes", - "nodeType": "MemberAccess", - "referencedDeclaration": 8887, - "src": "5746:17:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_array$_t_bytes_memory_ptr_$dyn_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory[] memory) external returns (string memory)" - } - }, - "id": 6139, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5746:38:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 6133, - "id": 6140, - "nodeType": "Return", - "src": "5739:45:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "serialize", - "nameLocation": "5602:9:8", - "parameters": { - "id": 6130, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6124, - "mutability": "mutable", - "name": "jsonKey", - "nameLocation": "5626:7:8", - "nodeType": "VariableDeclaration", - "scope": 6142, - "src": "5612:21:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6123, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5612:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6126, - "mutability": "mutable", - "name": "key", - "nameLocation": "5649:3:8", - "nodeType": "VariableDeclaration", - "scope": 6142, - "src": "5635:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6125, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5635:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6129, - "mutability": "mutable", - "name": "value", - "nameLocation": "5669:5:8", - "nodeType": "VariableDeclaration", - "scope": 6142, - "src": "5654:20:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_ptr_$dyn_memory_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 6127, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5654:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 6128, - "nodeType": "ArrayTypeName", - "src": "5654:7:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "visibility": "internal" - } - ], - "src": "5611:64:8" - }, - "returnParameters": { - "id": 6133, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6132, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6142, - "src": "5710:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6131, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5710:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5709:15:8" - }, - "scope": 6215, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6161, - "nodeType": "FunctionDefinition", - "src": "5797:198:8", - "nodes": [], - "body": { - "id": 6160, - "nodeType": "Block", - "src": "5932:63:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6155, - "name": "jsonKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6144, - "src": "5968:7:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6156, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6146, - "src": "5977:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6157, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6148, - "src": "5982:5:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 6153, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "5949:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 6154, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5952:15:8", - "memberName": "serializeString", - "nodeType": "MemberAccess", - "referencedDeclaration": 8792, - "src": "5949:18:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory,string memory,string memory) external returns (string memory)" - } - }, - "id": 6158, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5949:39:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 6152, - "id": 6159, - "nodeType": "Return", - "src": "5942:46:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "serialize", - "nameLocation": "5806:9:8", - "parameters": { - "id": 6149, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6144, - "mutability": "mutable", - "name": "jsonKey", - "nameLocation": "5830:7:8", - "nodeType": "VariableDeclaration", - "scope": 6161, - "src": "5816:21:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6143, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5816:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6146, - "mutability": "mutable", - "name": "key", - "nameLocation": "5853:3:8", - "nodeType": "VariableDeclaration", - "scope": 6161, - "src": "5839:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6145, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5839:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6148, - "mutability": "mutable", - "name": "value", - "nameLocation": "5872:5:8", - "nodeType": "VariableDeclaration", - "scope": 6161, - "src": "5858:19:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6147, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5858:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5815:63:8" - }, - "returnParameters": { - "id": 6152, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6151, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6161, - "src": "5913:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6150, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5913:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5912:15:8" - }, - "scope": 6215, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6181, - "nodeType": "FunctionDefinition", - "src": "6001:200:8", - "nodes": [], - "body": { - "id": 6180, - "nodeType": "Block", - "src": "6138:63:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6175, - "name": "jsonKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6163, - "src": "6174:7:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6176, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6165, - "src": "6183:3:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6177, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6168, - "src": "6188:5:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "expression": { - "id": 6173, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "6155:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 6174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6158:15:8", - "memberName": "serializeString", - "nodeType": "MemberAccess", - "referencedDeclaration": 8875, - "src": "6155:18:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory,string memory,string memory[] memory) external returns (string memory)" - } - }, - "id": 6178, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6155:39:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 6172, - "id": 6179, - "nodeType": "Return", - "src": "6148:46:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "serialize", - "nameLocation": "6010:9:8", - "parameters": { - "id": 6169, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6163, - "mutability": "mutable", - "name": "jsonKey", - "nameLocation": "6034:7:8", - "nodeType": "VariableDeclaration", - "scope": 6181, - "src": "6020:21:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6162, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6020:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6165, - "mutability": "mutable", - "name": "key", - "nameLocation": "6057:3:8", - "nodeType": "VariableDeclaration", - "scope": 6181, - "src": "6043:17:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6164, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6043:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6168, - "mutability": "mutable", - "name": "value", - "nameLocation": "6078:5:8", - "nodeType": "VariableDeclaration", - "scope": 6181, - "src": "6062:21:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 6166, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6062:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 6167, - "nodeType": "ArrayTypeName", - "src": "6062:8:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "6019:65:8" - }, - "returnParameters": { - "id": 6172, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6171, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6181, - "src": "6119:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6170, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6119:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6118:15:8" - }, - "scope": 6215, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6196, - "nodeType": "FunctionDefinition", - "src": "6207:111:8", - "nodes": [], - "body": { - "id": 6195, - "nodeType": "Block", - "src": "6274:44:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6191, - "name": "jsonKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6183, - "src": "6297:7:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6192, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6185, - "src": "6306:4:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 6188, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "6284:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 6190, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6287:9:8", - "memberName": "writeJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8894, - "src": "6284:12:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory) external" - } - }, - "id": 6193, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6284:27:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6194, - "nodeType": "ExpressionStatement", - "src": "6284:27:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "write", - "nameLocation": "6216:5:8", - "parameters": { - "id": 6186, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6183, - "mutability": "mutable", - "name": "jsonKey", - "nameLocation": "6236:7:8", - "nodeType": "VariableDeclaration", - "scope": 6196, - "src": "6222:21:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6182, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6222:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6185, - "mutability": "mutable", - "name": "path", - "nameLocation": "6259:4:8", - "nodeType": "VariableDeclaration", - "scope": 6196, - "src": "6245:18:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6184, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6245:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6221:43:8" - }, - "returnParameters": { - "id": 6187, - "nodeType": "ParameterList", - "parameters": [], - "src": "6274:0:8" - }, - "scope": 6215, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6214, - "nodeType": "FunctionDefinition", - "src": "6324:145:8", - "nodes": [], - "body": { - "id": 6213, - "nodeType": "Block", - "src": "6415:54:8", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6208, - "name": "jsonKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6198, - "src": "6438:7:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6209, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6200, - "src": "6447:4:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6210, - "name": "valueKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6202, - "src": "6453:8:8", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 6205, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5570, - "src": "6425:2:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_VmSafe_$8931", - "typeString": "contract VmSafe" - } - }, - "id": 6207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6428:9:8", - "memberName": "writeJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 8903, - "src": "6425:12:8", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory,string memory) external" - } - }, - "id": 6211, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6425:37:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6212, - "nodeType": "ExpressionStatement", - "src": "6425:37:8" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "write", - "nameLocation": "6333:5:8", - "parameters": { - "id": 6203, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6198, - "mutability": "mutable", - "name": "jsonKey", - "nameLocation": "6353:7:8", - "nodeType": "VariableDeclaration", - "scope": 6214, - "src": "6339:21:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6197, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6339:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6200, - "mutability": "mutable", - "name": "path", - "nameLocation": "6376:4:8", - "nodeType": "VariableDeclaration", - "scope": 6214, - "src": "6362:18:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6199, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6362:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6202, - "mutability": "mutable", - "name": "valueKey", - "nameLocation": "6396:8:8", - "nodeType": "VariableDeclaration", - "scope": 6214, - "src": "6382:22:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6201, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6382:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6338:67:8" - }, - "returnParameters": { - "id": 6204, - "nodeType": "ParameterList", - "parameters": [], - "src": "6415:0:8" - }, - "scope": 6215, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "stdJson", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 6215 - ], - "name": "stdJson", - "nameLocation": "824:7:8", - "scope": 6216, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 8 -} \ No newline at end of file diff --git a/out/StdMath.sol/stdMath.json b/out/StdMath.sol/stdMath.json deleted file mode 100644 index 0914e41..0000000 --- a/out/StdMath.sol/stdMath.json +++ /dev/null @@ -1,1959 +0,0 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea26469706673582212204625f8e5581a749b446de5a73e627d46848d6bf1b27fdb703ee5c5ec14c675f864736f6c63430008110033", - "sourceMap": "65:1294:9:-:0;;;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x600080fdfea26469706673582212204625f8e5581a749b446de5a73e627d46848d6bf1b27fdb703ee5c5ec14c675f864736f6c63430008110033", - "sourceMap": "65:1294:9:-:0;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/StdMath.sol\":\"stdMath\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"lib/forge-std/src/StdMath.sol\":{\"keccak256\":\"0xd90ad4fd8aeaeb8929964e686e769fdedd5eded3fc3815df194a0ab9f91a3fb2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7919b70f636c7b805223992f28ad1ad0145d6c1385b5931a3589aface5fe6c92\",\"dweb:/ipfs/QmY7FRaULwoGgFteF8GawjQJRfasNgpWnU2aiMsFrYpuTC\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/StdMath.sol": "stdMath" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "lib/forge-std/src/StdMath.sol": { - "keccak256": "0xd90ad4fd8aeaeb8929964e686e769fdedd5eded3fc3815df194a0ab9f91a3fb2", - "urls": [ - "bzz-raw://7919b70f636c7b805223992f28ad1ad0145d6c1385b5931a3589aface5fe6c92", - "dweb:/ipfs/QmY7FRaULwoGgFteF8GawjQJRfasNgpWnU2aiMsFrYpuTC" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/StdMath.sol", - "id": 6358, - "exportedSymbols": { - "stdMath": [ - 6357 - ] - }, - "nodeType": "SourceUnit", - "src": "32:1328:9", - "nodes": [ - { - "id": 6217, - "nodeType": "PragmaDirective", - "src": "32:31:9", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.6", - ".2", - "<", - "0.9", - ".0" - ] - }, - { - "id": 6357, - "nodeType": "ContractDefinition", - "src": "65:1294:9", - "nodes": [ - { - "id": 6221, - "nodeType": "VariableDeclaration", - "src": "87:115:9", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "INT256_MIN", - "nameLocation": "111:10:9", - "scope": 6357, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6218, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "87:6:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "value": { - "id": 6220, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "-", - "prefix": true, - "src": "124:78:9", - "subExpression": { - "hexValue": "3537383936303434363138363538303937373131373835343932353034333433393533393236363334393932333332383230323832303139373238373932303033393536353634383139393638", - "id": 6219, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "125:77:9", - "typeDescriptions": { - "typeIdentifier": "t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819968_by_1", - "typeString": "int_const 5789...(69 digits omitted)...9968" - }, - "value": "57896044618658097711785492504343953926634992332820282019728792003956564819968" - }, - "typeDescriptions": { - "typeIdentifier": "t_rational_minus_57896044618658097711785492504343953926634992332820282019728792003956564819968_by_1", - "typeString": "int_const -578...(70 digits omitted)...9968" - } - }, - "visibility": "private" - }, - { - "id": 6247, - "nodeType": "FunctionDefinition", - "src": "209:306:9", - "nodes": [], - "body": { - "id": 6246, - "nodeType": "Block", - "src": "264:251:9", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6230, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6228, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6223, - "src": "342:1:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 6229, - "name": "INT256_MIN", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6221, - "src": "347:10:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "342:15:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6234, - "nodeType": "IfStatement", - "src": "338:130:9", - "trueBody": { - "id": 6233, - "nodeType": "Block", - "src": "359:109:9", - "statements": [ - { - "expression": { - "hexValue": "3537383936303434363138363538303937373131373835343932353034333433393533393236363334393932333332383230323832303139373238373932303033393536353634383139393638", - "id": 6231, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "380:77:9", - "typeDescriptions": { - "typeIdentifier": "t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819968_by_1", - "typeString": "int_const 5789...(69 digits omitted)...9968" - }, - "value": "57896044618658097711785492504343953926634992332820282019728792003956564819968" - }, - "functionReturnParameters": 6227, - "id": 6232, - "nodeType": "Return", - "src": "373:84:9" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6239, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6237, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6223, - "src": "493:1:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 6238, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "497:1:9", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "493:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "id": 6242, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "-", - "prefix": true, - "src": "505:2:9", - "subExpression": { - "id": 6241, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6223, - "src": "506:1:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 6243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "493:14:9", - "trueExpression": { - "id": 6240, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6223, - "src": "501:1:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6236, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "485:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6235, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "485:7:9", - "typeDescriptions": {} - } - }, - "id": 6244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "485:23:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6227, - "id": 6245, - "nodeType": "Return", - "src": "478:30:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "abs", - "nameLocation": "218:3:9", - "parameters": { - "id": 6224, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6223, - "mutability": "mutable", - "name": "a", - "nameLocation": "229:1:9", - "nodeType": "VariableDeclaration", - "scope": 6247, - "src": "222:8:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6222, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "222:6:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "221:10:9" - }, - "returnParameters": { - "id": 6227, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6226, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6247, - "src": "255:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6225, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "255:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "254:9:9" - }, - "scope": 6357, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6268, - "nodeType": "FunctionDefinition", - "src": "521:114:9", - "nodes": [], - "body": { - "id": 6267, - "nodeType": "Block", - "src": "590:45:9", - "nodes": [], - "statements": [ - { - "expression": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6258, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6256, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6249, - "src": "607:1:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 6257, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6251, - "src": "611:1:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "607:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6264, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6262, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6251, - "src": "623:1:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 6263, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6249, - "src": "627:1:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "623:5:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6265, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "607:21:9", - "trueExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6261, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6259, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6249, - "src": "615:1:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 6260, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6251, - "src": "619:1:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "615:5:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6255, - "id": 6266, - "nodeType": "Return", - "src": "600:28:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delta", - "nameLocation": "530:5:9", - "parameters": { - "id": 6252, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6249, - "mutability": "mutable", - "name": "a", - "nameLocation": "544:1:9", - "nodeType": "VariableDeclaration", - "scope": 6268, - "src": "536:9:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6248, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "536:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6251, - "mutability": "mutable", - "name": "b", - "nameLocation": "555:1:9", - "nodeType": "VariableDeclaration", - "scope": 6268, - "src": "547:9:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6250, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "547:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "535:22:9" - }, - "returnParameters": { - "id": 6255, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6254, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6268, - "src": "581:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6253, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "581:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "580:9:9" - }, - "scope": 6357, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6304, - "nodeType": "FunctionDefinition", - "src": "641:352:9", - "nodes": [], - "body": { - "id": 6303, - "nodeType": "Block", - "src": "708:285:9", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6283, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6279, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6277, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6270, - "src": "847:1:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "^", - "rightExpression": { - "id": 6278, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6272, - "src": "851:1:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "847:5:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "id": 6280, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "846:7:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 6282, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "-", - "prefix": true, - "src": "856:2:9", - "subExpression": { - "hexValue": "31", - "id": 6281, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "857:1:9", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "typeDescriptions": { - "typeIdentifier": "t_rational_minus_1_by_1", - "typeString": "int_const -1" - } - }, - "src": "846:12:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6294, - "nodeType": "IfStatement", - "src": "842:71:9", - "trueBody": { - "id": 6293, - "nodeType": "Block", - "src": "860:53:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6286, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6270, - "src": "891:1:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6285, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6247, - "src": "887:3:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6287, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "887:6:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "arguments": [ - { - "id": 6289, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6272, - "src": "899:1:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6288, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6247, - "src": "895:3:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "895:6:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6284, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6268, - 6304 - ], - "referencedDeclaration": 6268, - "src": "881:5:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "881:21:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6276, - "id": 6292, - "nodeType": "Return", - "src": "874:28:9" - } - ] - } - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6301, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 6296, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6270, - "src": "975:1:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6295, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6247, - "src": "971:3:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6297, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "971:6:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "arguments": [ - { - "id": 6299, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6272, - "src": "984:1:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6298, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6247, - "src": "980:3:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6300, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "980:6:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "971:15:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6276, - "id": 6302, - "nodeType": "Return", - "src": "964:22:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delta", - "nameLocation": "650:5:9", - "parameters": { - "id": 6273, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6270, - "mutability": "mutable", - "name": "a", - "nameLocation": "663:1:9", - "nodeType": "VariableDeclaration", - "scope": 6304, - "src": "656:8:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6269, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "656:6:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6272, - "mutability": "mutable", - "name": "b", - "nameLocation": "673:1:9", - "nodeType": "VariableDeclaration", - "scope": 6304, - "src": "666:8:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6271, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "666:6:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "655:20:9" - }, - "returnParameters": { - "id": 6276, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6275, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6304, - "src": "699:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6274, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "699:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "698:9:9" - }, - "scope": 6357, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6327, - "nodeType": "FunctionDefinition", - "src": "999:160:9", - "nodes": [], - "body": { - "id": 6326, - "nodeType": "Block", - "src": "1075:84:9", - "nodes": [], - "statements": [ - { - "assignments": [ - 6314 - ], - "declarations": [ - { - "constant": false, - "id": 6314, - "mutability": "mutable", - "name": "absDelta", - "nameLocation": "1093:8:9", - "nodeType": "VariableDeclaration", - "scope": 6326, - "src": "1085:16:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6313, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1085:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6319, - "initialValue": { - "arguments": [ - { - "id": 6316, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6306, - "src": "1110:1:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6317, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6308, - "src": "1113:1:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6315, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6268, - 6304 - ], - "referencedDeclaration": 6268, - "src": "1104:5:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6318, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1104:11:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1085:30:9" - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6320, - "name": "absDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6314, - "src": "1133:8:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "31653138", - "id": 6321, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1144:4:9", - "typeDescriptions": { - "typeIdentifier": "t_rational_1000000000000000000_by_1", - "typeString": "int_const 1000000000000000000" - }, - "value": "1e18" - }, - "src": "1133:15:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 6323, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6308, - "src": "1151:1:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1133:19:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6312, - "id": 6325, - "nodeType": "Return", - "src": "1126:26:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "percentDelta", - "nameLocation": "1008:12:9", - "parameters": { - "id": 6309, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6306, - "mutability": "mutable", - "name": "a", - "nameLocation": "1029:1:9", - "nodeType": "VariableDeclaration", - "scope": 6327, - "src": "1021:9:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6305, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1021:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6308, - "mutability": "mutable", - "name": "b", - "nameLocation": "1040:1:9", - "nodeType": "VariableDeclaration", - "scope": 6327, - "src": "1032:9:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6307, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1032:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1020:22:9" - }, - "returnParameters": { - "id": 6312, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6311, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6327, - "src": "1066:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6310, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1066:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1065:9:9" - }, - "scope": 6357, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6356, - "nodeType": "FunctionDefinition", - "src": "1165:192:9", - "nodes": [], - "body": { - "id": 6355, - "nodeType": "Block", - "src": "1239:118:9", - "nodes": [], - "statements": [ - { - "assignments": [ - 6337 - ], - "declarations": [ - { - "constant": false, - "id": 6337, - "mutability": "mutable", - "name": "absDelta", - "nameLocation": "1257:8:9", - "nodeType": "VariableDeclaration", - "scope": 6355, - "src": "1249:16:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6336, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1249:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6342, - "initialValue": { - "arguments": [ - { - "id": 6339, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6329, - "src": "1274:1:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 6340, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6331, - "src": "1277:1:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6338, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6268, - 6304 - ], - "referencedDeclaration": 6304, - "src": "1268:5:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 6341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1268:11:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1249:30:9" - }, - { - "assignments": [ - 6344 - ], - "declarations": [ - { - "constant": false, - "id": 6344, - "mutability": "mutable", - "name": "absB", - "nameLocation": "1297:4:9", - "nodeType": "VariableDeclaration", - "scope": 6355, - "src": "1289:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6343, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1289:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6348, - "initialValue": { - "arguments": [ - { - "id": 6346, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6331, - "src": "1308:1:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6345, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6247, - "src": "1304:3:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1304:6:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1289:21:9" - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6353, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6351, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6349, - "name": "absDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6337, - "src": "1328:8:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "31653138", - "id": 6350, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1339:4:9", - "typeDescriptions": { - "typeIdentifier": "t_rational_1000000000000000000_by_1", - "typeString": "int_const 1000000000000000000" - }, - "value": "1e18" - }, - "src": "1328:15:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 6352, - "name": "absB", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6344, - "src": "1346:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1328:22:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6335, - "id": 6354, - "nodeType": "Return", - "src": "1321:29:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "percentDelta", - "nameLocation": "1174:12:9", - "parameters": { - "id": 6332, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6329, - "mutability": "mutable", - "name": "a", - "nameLocation": "1194:1:9", - "nodeType": "VariableDeclaration", - "scope": 6356, - "src": "1187:8:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6328, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "1187:6:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6331, - "mutability": "mutable", - "name": "b", - "nameLocation": "1204:1:9", - "nodeType": "VariableDeclaration", - "scope": 6356, - "src": "1197:8:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6330, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "1197:6:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "1186:20:9" - }, - "returnParameters": { - "id": 6335, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6334, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6356, - "src": "1230:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6333, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1230:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1229:9:9" - }, - "scope": 6357, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "stdMath", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 6357 - ], - "name": "stdMath", - "nameLocation": "73:7:9", - "scope": 6358, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 9 -} \ No newline at end of file diff --git a/out/StdStorage.sol/stdStorage.json b/out/StdStorage.sol/stdStorage.json deleted file mode 100644 index 5c5d337..0000000 --- a/out/StdStorage.sol/stdStorage.json +++ /dev/null @@ -1,19234 +0,0 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea26469706673582212205581c535544c158320c8398f1937d944fced3aaad1bc6f68ab88b7ef7301dcf264736f6c63430008110033", - "sourceMap": "7337:4527:10:-:0;;;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x600080fdfea26469706673582212205581c535544c158320c8398f1937d944fced3aaad1bc6f68ab88b7ef7301dcf264736f6c63430008110033", - "sourceMap": "7337:4527:10:-:0;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/StdStorage.sol\":\"stdStorage\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"lib/forge-std/src/StdStorage.sol\":{\"keccak256\":\"0xb0da85ce6999940eba6190a26c15b9bc7aede57123891287e1b30f80333a9cf5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d287fd41de40ef992588f7a9531e66d1e9f8e4f3f194b9e721ac576d4613964a\",\"dweb:/ipfs/QmbFYYjoc8WGLKVfDe4rscYPwdGq48incbwRQNoLtcMMjn\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69\",\"dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/StdStorage.sol": "stdStorage" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "lib/forge-std/src/StdStorage.sol": { - "keccak256": "0xb0da85ce6999940eba6190a26c15b9bc7aede57123891287e1b30f80333a9cf5", - "urls": [ - "bzz-raw://d287fd41de40ef992588f7a9531e66d1e9f8e4f3f194b9e721ac576d4613964a", - "dweb:/ipfs/QmbFYYjoc8WGLKVfDe4rscYPwdGq48incbwRQNoLtcMMjn" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7", - "urls": [ - "bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69", - "dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/StdStorage.sol", - "id": 7823, - "exportedSymbols": { - "StdStorage": [ - 6388 - ], - "Vm": [ - 9256 - ], - "VmSafe": [ - 8931 - ], - "stdStorage": [ - 7822 - ], - "stdStorageSafe": [ - 7281 - ] - }, - "nodeType": "SourceUnit", - "src": "32:11833:10", - "nodes": [ - { - "id": 6359, - "nodeType": "PragmaDirective", - "src": "32:31:10", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.6", - ".2", - "<", - "0.9", - ".0" - ] - }, - { - "id": 6360, - "nodeType": "ImportDirective", - "src": "65:18:10", - "nodes": [], - "absolutePath": "lib/forge-std/src/Vm.sol", - "file": "./Vm.sol", - "nameLocation": "-1:-1:-1", - "scope": 7823, - "sourceUnit": 9257, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 6388, - "nodeType": "StructDefinition", - "src": "85:271:10", - "nodes": [], - "canonicalName": "StdStorage", - "members": [ - { - "constant": false, - "id": 6368, - "mutability": "mutable", - "name": "slots", - "nameLocation": "176:5:10", - "nodeType": "VariableDeclaration", - "scope": 6388, - "src": "109:72:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => uint256)))" - }, - "typeName": { - "id": 6367, - "keyType": { - "id": 6361, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "117:7:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "109:66:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => uint256)))" - }, - "valueType": { - "id": 6366, - "keyType": { - "id": 6362, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "136:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "128:46:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - }, - "valueType": { - "id": 6365, - "keyType": { - "id": 6363, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "154:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "146:27:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "valueType": { - "id": 6364, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "165:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - } - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6376, - "mutability": "mutable", - "name": "finds", - "nameLocation": "251:5:10", - "nodeType": "VariableDeclaration", - "scope": 6388, - "src": "187:69:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => bool)))" - }, - "typeName": { - "id": 6375, - "keyType": { - "id": 6369, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "195:7:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "187:63:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => bool)))" - }, - "valueType": { - "id": 6374, - "keyType": { - "id": 6370, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "214:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "206:43:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - }, - "valueType": { - "id": 6373, - "keyType": { - "id": 6371, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "232:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "224:24:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - }, - "valueType": { - "id": 6372, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "243:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - } - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6379, - "mutability": "mutable", - "name": "_keys", - "nameLocation": "272:5:10", - "nodeType": "VariableDeclaration", - "scope": 6388, - "src": "262:15:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 6377, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "262:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6378, - "nodeType": "ArrayTypeName", - "src": "262:9:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6381, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "290:4:10", - "nodeType": "VariableDeclaration", - "scope": 6388, - "src": "283:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6380, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "283:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6383, - "mutability": "mutable", - "name": "_depth", - "nameLocation": "308:6:10", - "nodeType": "VariableDeclaration", - "scope": 6388, - "src": "300:14:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6382, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "300:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6385, - "mutability": "mutable", - "name": "_target", - "nameLocation": "328:7:10", - "nodeType": "VariableDeclaration", - "scope": 6388, - "src": "320:15:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6384, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "320:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6387, - "mutability": "mutable", - "name": "_set", - "nameLocation": "349:4:10", - "nodeType": "VariableDeclaration", - "scope": 6388, - "src": "341:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6386, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "341:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "name": "StdStorage", - "nameLocation": "92:10:10", - "scope": 7823, - "visibility": "public" - }, - { - "id": 7281, - "nodeType": "ContractDefinition", - "src": "358:6977:10", - "nodes": [ - { - "id": 6398, - "nodeType": "EventDefinition", - "src": "387:74:10", - "nodes": [], - "anonymous": false, - "eventSelector": "9c9555b1e3102e3cf48f427d79cb678f5d9bd1ed0ad574389461e255f95170ed", - "name": "SlotFound", - "nameLocation": "393:9:10", - "parameters": { - "id": 6397, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6390, - "indexed": false, - "mutability": "mutable", - "name": "who", - "nameLocation": "411:3:10", - "nodeType": "VariableDeclaration", - "scope": 6398, - "src": "403:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6389, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "403:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6392, - "indexed": false, - "mutability": "mutable", - "name": "fsig", - "nameLocation": "423:4:10", - "nodeType": "VariableDeclaration", - "scope": 6398, - "src": "416:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6391, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "416:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6394, - "indexed": false, - "mutability": "mutable", - "name": "keysHash", - "nameLocation": "437:8:10", - "nodeType": "VariableDeclaration", - "scope": 6398, - "src": "429:16:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6393, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "429:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6396, - "indexed": false, - "mutability": "mutable", - "name": "slot", - "nameLocation": "455:4:10", - "nodeType": "VariableDeclaration", - "scope": 6398, - "src": "447:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6395, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "447:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "402:58:10" - } - }, - { - "id": 6404, - "nodeType": "EventDefinition", - "src": "466:54:10", - "nodes": [], - "anonymous": false, - "eventSelector": "080fc4a96620c4462e705b23f346413fe3796bb63c6f8d8591baec0e231577a5", - "name": "WARNING_UninitedSlot", - "nameLocation": "472:20:10", - "parameters": { - "id": 6403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6400, - "indexed": false, - "mutability": "mutable", - "name": "who", - "nameLocation": "501:3:10", - "nodeType": "VariableDeclaration", - "scope": 6404, - "src": "493:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6399, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "493:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6402, - "indexed": false, - "mutability": "mutable", - "name": "slot", - "nameLocation": "514:4:10", - "nodeType": "VariableDeclaration", - "scope": 6404, - "src": "506:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6401, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "506:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "492:27:10" - } - }, - { - "id": 6421, - "nodeType": "VariableDeclaration", - "src": "526:84:10", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "vm", - "nameLocation": "546:2:10", - "scope": 7281, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - }, - "typeName": { - "id": 6406, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6405, - "name": "Vm", - "nameLocations": [ - "526:2:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 9256, - "src": "526:2:10" - }, - "referencedDeclaration": 9256, - "src": "526:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6865766d20636865617420636f6465", - "id": 6415, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "588:17:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - }, - "value": "hevm cheat code" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - } - ], - "id": 6414, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "578:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6416, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "578:28:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6413, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "570:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6412, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "570:7:10", - "typeDescriptions": {} - } - }, - "id": 6417, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "570:37:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6411, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "562:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 6410, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "562:7:10", - "typeDescriptions": {} - } - }, - "id": 6418, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "562:46:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 6409, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "554:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6408, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "554:7:10", - "typeDescriptions": {} - } - }, - "id": 6419, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "554:55:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6407, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9256, - "src": "551:2:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Vm_$9256_$", - "typeString": "type(contract Vm)" - } - }, - "id": 6420, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "551:59:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "visibility": "private" - }, - { - "id": 6439, - "nodeType": "FunctionDefinition", - "src": "617:123:10", - "nodes": [], - "body": { - "id": 6438, - "nodeType": "Block", - "src": "684:56:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 6433, - "name": "sigStr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6423, - "src": "724:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 6432, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "718:5:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 6431, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "718:5:10", - "typeDescriptions": {} - } - }, - "id": 6434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "718:13:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6430, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "708:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "708:24:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6429, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "701:6:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": { - "id": 6428, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "701:6:10", - "typeDescriptions": {} - } - }, - "id": 6436, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "701:32:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "functionReturnParameters": 6427, - "id": 6437, - "nodeType": "Return", - "src": "694:39:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sigs", - "nameLocation": "626:4:10", - "parameters": { - "id": 6424, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6423, - "mutability": "mutable", - "name": "sigStr", - "nameLocation": "645:6:10", - "nodeType": "VariableDeclaration", - "scope": 6439, - "src": "631:20:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6422, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "631:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "630:22:10" - }, - "returnParameters": { - "id": 6427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6426, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6439, - "src": "676:6:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6425, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "676:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "675:8:10" - }, - "scope": 7281, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6884, - "nodeType": "FunctionDefinition", - "src": "1254:3205:10", - "nodes": [], - "body": { - "id": 6883, - "nodeType": "Block", - "src": "1320:3139:10", - "nodes": [], - "statements": [ - { - "assignments": [ - 6449 - ], - "declarations": [ - { - "constant": false, - "id": 6449, - "mutability": "mutable", - "name": "who", - "nameLocation": "1338:3:10", - "nodeType": "VariableDeclaration", - "scope": 6883, - "src": "1330:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1330:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 6452, - "initialValue": { - "expression": { - "id": 6450, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "1344:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6451, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1349:7:10", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6385, - "src": "1344:12:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1330:26:10" - }, - { - "assignments": [ - 6454 - ], - "declarations": [ - { - "constant": false, - "id": 6454, - "mutability": "mutable", - "name": "fsig", - "nameLocation": "1373:4:10", - "nodeType": "VariableDeclaration", - "scope": 6883, - "src": "1366:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6453, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1366:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "id": 6457, - "initialValue": { - "expression": { - "id": 6455, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "1380:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6456, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1385:4:10", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6381, - "src": "1380:9:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1366:23:10" - }, - { - "assignments": [ - 6459 - ], - "declarations": [ - { - "constant": false, - "id": 6459, - "mutability": "mutable", - "name": "field_depth", - "nameLocation": "1407:11:10", - "nodeType": "VariableDeclaration", - "scope": 6883, - "src": "1399:19:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6458, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1399:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6462, - "initialValue": { - "expression": { - "id": 6460, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "1421:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6461, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1426:6:10", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 6383, - "src": "1421:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1399:33:10" - }, - { - "assignments": [ - 6467 - ], - "declarations": [ - { - "constant": false, - "id": 6467, - "mutability": "mutable", - "name": "ins", - "nameLocation": "1459:3:10", - "nodeType": "VariableDeclaration", - "scope": 6883, - "src": "1442:20:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 6465, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1442:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6466, - "nodeType": "ArrayTypeName", - "src": "1442:9:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "id": 6470, - "initialValue": { - "expression": { - "id": 6468, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "1465:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6469, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1470:5:10", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 6379, - "src": "1465:10:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1442:33:10" - }, - { - "condition": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6471, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "1526:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6472, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1531:5:10", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 6376, - "src": "1526:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => bool)))" - } - }, - "id": 6474, - "indexExpression": { - "id": 6473, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "1537:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1526:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 6476, - "indexExpression": { - "id": 6475, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "1542:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1526:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 6484, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6480, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "1575:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6481, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "1580:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6478, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1558:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6479, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1562:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "1558:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6482, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1558:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6477, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1548:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6483, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1548:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1526:68:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6501, - "nodeType": "IfStatement", - "src": "1522:174:10", - "trueBody": { - "id": 6500, - "nodeType": "Block", - "src": "1596:100:10", - "statements": [ - { - "expression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6485, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "1617:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6486, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1622:5:10", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 6368, - "src": "1617:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => uint256)))" - } - }, - "id": 6488, - "indexExpression": { - "id": 6487, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "1628:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1617:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 6490, - "indexExpression": { - "id": 6489, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "1633:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1617:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6498, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6494, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "1666:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6495, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "1671:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6492, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1649:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6493, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1653:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "1649:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6496, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1649:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6491, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1639:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6497, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1639:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1617:68:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6447, - "id": 6499, - "nodeType": "Return", - "src": "1610:75:10" - } - ] - } - }, - { - "assignments": [ - 6503 - ], - "declarations": [ - { - "constant": false, - "id": 6503, - "mutability": "mutable", - "name": "cald", - "nameLocation": "1718:4:10", - "nodeType": "VariableDeclaration", - "scope": 6883, - "src": "1705:17:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6502, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1705:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 6511, - "initialValue": { - "arguments": [ - { - "id": 6506, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "1742:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 6508, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "1756:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - ], - "id": 6507, - "name": "flatten", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7280, - "src": "1748:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32[] memory) pure returns (bytes memory)" - } - }, - "id": 6509, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1748:12:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 6504, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1725:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6505, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1729:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "1725:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1725:36:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1705:56:10" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 6512, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6421, - "src": "1771:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 6514, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1774:6:10", - "memberName": "record", - "nodeType": "MemberAccess", - "referencedDeclaration": 8471, - "src": "1771:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", - "typeString": "function () external" - } - }, - "id": 6515, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1771:11:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6516, - "nodeType": "ExpressionStatement", - "src": "1771:11:10" - }, - { - "assignments": [ - 6518 - ], - "declarations": [ - { - "constant": false, - "id": 6518, - "mutability": "mutable", - "name": "fdat", - "nameLocation": "1800:4:10", - "nodeType": "VariableDeclaration", - "scope": 6883, - "src": "1792:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6517, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1792:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6519, - "nodeType": "VariableDeclarationStatement", - "src": "1792:12:10" - }, - { - "id": 6536, - "nodeType": "Block", - "src": "1814:128:10", - "statements": [ - { - "assignments": [ - null, - 6521 - ], - "declarations": [ - null, - { - "constant": false, - "id": 6521, - "mutability": "mutable", - "name": "rdat", - "nameLocation": "1844:4:10", - "nodeType": "VariableDeclaration", - "scope": 6536, - "src": "1831:17:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6520, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1831:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 6526, - "initialValue": { - "arguments": [ - { - "id": 6524, - "name": "cald", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6503, - "src": "1867:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 6522, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "1852:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6523, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1856:10:10", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "1852:14:10", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 6525, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1852:20:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1828:44:10" - }, - { - "expression": { - "id": 6534, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 6527, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6518, - "src": "1886:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 6529, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6521, - "src": "1908:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 6530, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1914:2:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 6531, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "1919:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1914:16:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6528, - "name": "bytesToBytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7239, - "src": "1893:14:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes memory,uint256) pure returns (bytes32)" - } - }, - "id": 6533, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1893:38:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "1886:45:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6535, - "nodeType": "ExpressionStatement", - "src": "1886:45:10" - } - ] - }, - { - "assignments": [ - 6541, - null - ], - "declarations": [ - { - "constant": false, - "id": 6541, - "mutability": "mutable", - "name": "reads", - "nameLocation": "1970:5:10", - "nodeType": "VariableDeclaration", - "scope": 6883, - "src": "1953:22:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 6539, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1953:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6540, - "nodeType": "ArrayTypeName", - "src": "1953:9:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - null - ], - "id": 6549, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 6546, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "2000:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6545, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1992:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6544, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1992:7:10", - "typeDescriptions": {} - } - }, - "id": 6547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1992:12:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 6542, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6421, - "src": "1980:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 6543, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1983:8:10", - "memberName": "accesses", - "nodeType": "MemberAccess", - "referencedDeclaration": 8482, - "src": "1980:11:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_array$_t_bytes32_$dyn_memory_ptr_$", - "typeString": "function (address) external returns (bytes32[] memory,bytes32[] memory)" - } - }, - "id": 6548, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1980:25:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_array$_t_bytes32_$dyn_memory_ptr_$", - "typeString": "tuple(bytes32[] memory,bytes32[] memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1952:53:10" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 6550, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "2019:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2025:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "2019:12:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "31", - "id": 6552, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2035:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2019:17:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6655, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 6652, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "2776:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6653, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2782:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "2776:12:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "31", - "id": 6654, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2791:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2776:16:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 6831, - "nodeType": "Block", - "src": "3976:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "66616c7365", - "id": 6827, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3998:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a204e6f2073746f726167652075736520646574656374656420666f72207461726765742e", - "id": 6828, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4005:66:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_328ff448bebe6b9a52a670e66989b0a23c94fd0cbd86c30e5432c6ddc5340283", - "typeString": "literal_string \"stdStorage find(StdStorage): No storage use detected for target.\"" - }, - "value": "stdStorage find(StdStorage): No storage use detected for target." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_328ff448bebe6b9a52a670e66989b0a23c94fd0cbd86c30e5432c6ddc5340283", - "typeString": "literal_string \"stdStorage find(StdStorage): No storage use detected for target.\"" - } - ], - "id": 6826, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3990:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6829, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3990:82:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6830, - "nodeType": "ExpressionStatement", - "src": "3990:82:10" - } - ] - }, - "id": 6832, - "nodeType": "IfStatement", - "src": "2772:1311:10", - "trueBody": { - "id": 6825, - "nodeType": "Block", - "src": "2794:1176:10", - "statements": [ - { - "body": { - "id": 6823, - "nodeType": "Block", - "src": "2851:1109:10", - "statements": [ - { - "assignments": [ - 6668 - ], - "declarations": [ - { - "constant": false, - "id": 6668, - "mutability": "mutable", - "name": "prev", - "nameLocation": "2877:4:10", - "nodeType": "VariableDeclaration", - "scope": 6823, - "src": "2869:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6667, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2869:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6676, - "initialValue": { - "arguments": [ - { - "id": 6671, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "2892:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 6672, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "2897:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6674, - "indexExpression": { - "id": 6673, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6657, - "src": "2903:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2897:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6669, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6421, - "src": "2884:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 6670, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2887:4:10", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 8307, - "src": "2884:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) view external returns (bytes32)" - } - }, - "id": 6675, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2884:22:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2869:37:10" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 6682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6677, - "name": "prev", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6668, - "src": "2928:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 6680, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2944:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 6679, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2936:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6678, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2936:7:10", - "typeDescriptions": {} - } - }, - "id": 6681, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2936:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2928:18:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6694, - "nodeType": "IfStatement", - "src": "2924:114:10", - "trueBody": { - "id": 6693, - "nodeType": "Block", - "src": "2948:90:10", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "id": 6684, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "2996:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 6687, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "3009:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6689, - "indexExpression": { - "id": 6688, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6657, - "src": "3015:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3009:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6686, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3001:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6685, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3001:7:10", - "typeDescriptions": {} - } - }, - "id": 6690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3001:17:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6683, - "name": "WARNING_UninitedSlot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6404, - "src": "2975:20:10", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 6691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2975:44:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6692, - "nodeType": "EmitStatement", - "src": "2970:49:10" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 6698, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "3089:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 6699, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "3094:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6701, - "indexExpression": { - "id": 6700, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6657, - "src": "3100:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3094:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "hexValue": "1337", - "id": 6704, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "hexString", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3112:9:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - }, - "value": "\u00137" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - } - ], - "id": 6703, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3104:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6702, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3104:7:10", - "typeDescriptions": {} - } - }, - "id": 6705, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3104:18:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6695, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6421, - "src": "3080:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 6697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3083:5:10", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 8967, - "src": "3080:8:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 6706, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3080:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6707, - "nodeType": "ExpressionStatement", - "src": "3080:43:10" - }, - { - "assignments": [ - 6709 - ], - "declarations": [ - { - "constant": false, - "id": 6709, - "mutability": "mutable", - "name": "success", - "nameLocation": "3146:7:10", - "nodeType": "VariableDeclaration", - "scope": 6823, - "src": "3141:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6708, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3141:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "id": 6710, - "nodeType": "VariableDeclarationStatement", - "src": "3141:12:10" - }, - { - "assignments": [ - 6712 - ], - "declarations": [ - { - "constant": false, - "id": 6712, - "mutability": "mutable", - "name": "rdat", - "nameLocation": "3184:4:10", - "nodeType": "VariableDeclaration", - "scope": 6823, - "src": "3171:17:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6711, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3171:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 6713, - "nodeType": "VariableDeclarationStatement", - "src": "3171:17:10" - }, - { - "id": 6732, - "nodeType": "Block", - "src": "3206:146:10", - "statements": [ - { - "expression": { - "id": 6721, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "components": [ - { - "id": 6714, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6709, - "src": "3229:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6715, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6712, - "src": "3238:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 6716, - "isConstant": false, - "isInlineArray": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "TupleExpression", - "src": "3228:15:10", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 6719, - "name": "cald", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6503, - "src": "3261:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 6717, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "3246:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6718, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3250:10:10", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "3246:14:10", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 6720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3246:20:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "src": "3228:38:10", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6722, - "nodeType": "ExpressionStatement", - "src": "3228:38:10" - }, - { - "expression": { - "id": 6730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 6723, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6518, - "src": "3288:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 6725, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6712, - "src": "3310:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 6726, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3316:2:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 6727, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "3321:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3316:16:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6724, - "name": "bytesToBytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7239, - "src": "3295:14:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes memory,uint256) pure returns (bytes32)" - } - }, - "id": 6729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3295:38:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "3288:45:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6731, - "nodeType": "ExpressionStatement", - "src": "3288:45:10" - } - ] - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 6740, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6733, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6709, - "src": "3374:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 6739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6734, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6518, - "src": "3385:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "1337", - "id": 6737, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "hexString", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3401:9:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - }, - "value": "\u00137" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - } - ], - "id": 6736, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3393:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6735, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3393:7:10", - "typeDescriptions": {} - } - }, - "id": 6738, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3393:18:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "3385:26:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3374:37:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6812, - "nodeType": "IfStatement", - "src": "3370:529:10", - "trueBody": { - "id": 6811, - "nodeType": "Block", - "src": "3413:486:10", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "id": 6742, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "3519:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6743, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "3524:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 6747, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "3557:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6748, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "3562:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6745, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3540:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6746, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3544:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "3540:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3540:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6744, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "3530:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3530:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 6753, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "3585:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6755, - "indexExpression": { - "id": 6754, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6657, - "src": "3591:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3585:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6752, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3577:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6751, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3577:7:10", - "typeDescriptions": {} - } - }, - "id": 6756, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3577:17:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6741, - "name": "SlotFound", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6398, - "src": "3509:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes4_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (address,bytes4,bytes32,uint256)" - } - }, - "id": 6757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3509:86:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6758, - "nodeType": "EmitStatement", - "src": "3504:91:10" - }, - { - "expression": { - "id": 6780, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6759, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "3617:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6770, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3622:5:10", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 6368, - "src": "3617:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => uint256)))" - } - }, - "id": 6771, - "indexExpression": { - "id": 6761, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "3628:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3617:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 6772, - "indexExpression": { - "id": 6762, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "3633:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3617:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6773, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6766, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "3666:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6767, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "3671:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6764, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3649:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6765, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3653:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "3649:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6768, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3649:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6763, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "3639:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3639:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3617:68:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 6776, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "3696:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6778, - "indexExpression": { - "id": 6777, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6657, - "src": "3702:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3696:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6775, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3688:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6774, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3688:7:10", - "typeDescriptions": {} - } - }, - "id": 6779, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3688:17:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3617:88:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6781, - "nodeType": "ExpressionStatement", - "src": "3617:88:10" - }, - { - "expression": { - "id": 6798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6782, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "3727:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6793, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3732:5:10", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 6376, - "src": "3727:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => bool)))" - } - }, - "id": 6794, - "indexExpression": { - "id": 6784, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "3738:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3727:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 6795, - "indexExpression": { - "id": 6785, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "3743:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3727:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 6796, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6789, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "3776:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6790, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "3781:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6787, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3759:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6788, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3763:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "3759:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6791, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3759:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6786, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "3749:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6792, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3749:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3727:68:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "74727565", - "id": 6797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3798:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "3727:75:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6799, - "nodeType": "ExpressionStatement", - "src": "3727:75:10" - }, - { - "expression": { - "arguments": [ - { - "id": 6803, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "3833:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 6804, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "3838:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6806, - "indexExpression": { - "id": 6805, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6657, - "src": "3844:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3838:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 6807, - "name": "prev", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6668, - "src": "3848:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6800, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6421, - "src": "3824:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 6802, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3827:5:10", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 8967, - "src": "3824:8:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 6808, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3824:29:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6809, - "nodeType": "ExpressionStatement", - "src": "3824:29:10" - }, - { - "id": 6810, - "nodeType": "Break", - "src": "3875:5:10" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 6816, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "3925:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 6817, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "3930:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6819, - "indexExpression": { - "id": 6818, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6657, - "src": "3936:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3930:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 6820, - "name": "prev", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6668, - "src": "3940:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6813, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6421, - "src": "3916:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 6815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3919:5:10", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 8967, - "src": "3916:8:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 6821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3916:29:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6822, - "nodeType": "ExpressionStatement", - "src": "3916:29:10" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6663, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6660, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6657, - "src": "2828:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 6661, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "2832:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2838:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "2832:12:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2828:16:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6824, - "initializationExpression": { - "assignments": [ - 6657 - ], - "declarations": [ - { - "constant": false, - "id": 6657, - "mutability": "mutable", - "name": "i", - "nameLocation": "2821:1:10", - "nodeType": "VariableDeclaration", - "scope": 6824, - "src": "2813:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6656, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2813:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6659, - "initialValue": { - "hexValue": "30", - "id": 6658, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2825:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2813:13:10" - }, - "loopExpression": { - "expression": { - "id": 6665, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "2846:3:10", - "subExpression": { - "id": 6664, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6657, - "src": "2846:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6666, - "nodeType": "ExpressionStatement", - "src": "2846:3:10" - }, - "nodeType": "ForStatement", - "src": "2808:1152:10" - } - ] - } - }, - "id": 6833, - "nodeType": "IfStatement", - "src": "2015:2068:10", - "trueBody": { - "id": 6651, - "nodeType": "Block", - "src": "2038:728:10", - "statements": [ - { - "assignments": [ - 6555 - ], - "declarations": [ - { - "constant": false, - "id": 6555, - "mutability": "mutable", - "name": "curr", - "nameLocation": "2060:4:10", - "nodeType": "VariableDeclaration", - "scope": 6651, - "src": "2052:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6554, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2052:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6563, - "initialValue": { - "arguments": [ - { - "id": 6558, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "2075:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 6559, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "2080:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6561, - "indexExpression": { - "hexValue": "30", - "id": 6560, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2086:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2080:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6556, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6421, - "src": "2067:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 6557, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2070:4:10", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 8307, - "src": "2067:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) view external returns (bytes32)" - } - }, - "id": 6562, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2067:22:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2052:37:10" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 6569, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6564, - "name": "curr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6555, - "src": "2107:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 6567, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2123:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 6566, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2115:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6565, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2115:7:10", - "typeDescriptions": {} - } - }, - "id": 6568, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2115:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2107:18:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6581, - "nodeType": "IfStatement", - "src": "2103:106:10", - "trueBody": { - "id": 6580, - "nodeType": "Block", - "src": "2127:82:10", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "id": 6571, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "2171:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 6574, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "2184:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6576, - "indexExpression": { - "hexValue": "30", - "id": 6575, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2190:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2184:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6573, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2176:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6572, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2176:7:10", - "typeDescriptions": {} - } - }, - "id": 6577, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2176:17:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6570, - "name": "WARNING_UninitedSlot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6404, - "src": "2150:20:10", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 6578, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2150:44:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6579, - "nodeType": "EmitStatement", - "src": "2145:49:10" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 6584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6582, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6518, - "src": "2226:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 6583, - "name": "curr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6555, - "src": "2234:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2226:12:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6591, - "nodeType": "IfStatement", - "src": "2222:238:10", - "trueBody": { - "id": 6590, - "nodeType": "Block", - "src": "2240:220:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "66616c7365", - "id": 6586, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2287:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a205061636b656420736c6f742e205468697320776f756c642063617573652064616e6765726f7573206f76657277726974696e6720616e642063757272656e746c792069736e277420737570706f727465642e", - "id": 6587, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2314:113:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4bfa78e02b745efea2b29d358f6dc28382f5209b1d2b2dbeb8ef0862e74440b3", - "typeString": "literal_string \"stdStorage find(StdStorage): Packed slot. This would cause dangerous overwriting and currently isn't supported.\"" - }, - "value": "stdStorage find(StdStorage): Packed slot. This would cause dangerous overwriting and currently isn't supported." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_4bfa78e02b745efea2b29d358f6dc28382f5209b1d2b2dbeb8ef0862e74440b3", - "typeString": "literal_string \"stdStorage find(StdStorage): Packed slot. This would cause dangerous overwriting and currently isn't supported.\"" - } - ], - "id": 6585, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2258:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2258:187:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6589, - "nodeType": "ExpressionStatement", - "src": "2258:187:10" - } - ] - } - }, - { - "eventCall": { - "arguments": [ - { - "id": 6593, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "2488:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6594, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "2493:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 6598, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "2526:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6599, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "2531:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6596, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2509:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6597, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2513:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "2509:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2509:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6595, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2499:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2499:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 6604, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "2554:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6606, - "indexExpression": { - "hexValue": "30", - "id": 6605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2560:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2554:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6603, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2546:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6602, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2546:7:10", - "typeDescriptions": {} - } - }, - "id": 6607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2546:17:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6592, - "name": "SlotFound", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6398, - "src": "2478:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes4_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (address,bytes4,bytes32,uint256)" - } - }, - "id": 6608, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2478:86:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6609, - "nodeType": "EmitStatement", - "src": "2473:91:10" - }, - { - "expression": { - "id": 6631, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6610, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "2578:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6621, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2583:5:10", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 6368, - "src": "2578:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => uint256)))" - } - }, - "id": 6622, - "indexExpression": { - "id": 6612, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "2589:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2578:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 6623, - "indexExpression": { - "id": 6613, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "2594:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2578:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6624, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6617, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "2627:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6618, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "2632:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6615, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2610:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6616, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2614:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "2610:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6619, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2610:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6614, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2600:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6620, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2600:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2578:68:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 6627, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "2657:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6629, - "indexExpression": { - "hexValue": "30", - "id": 6628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2663:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2657:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6626, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2649:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6625, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2649:7:10", - "typeDescriptions": {} - } - }, - "id": 6630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2649:17:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2578:88:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6632, - "nodeType": "ExpressionStatement", - "src": "2578:88:10" - }, - { - "expression": { - "id": 6649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6633, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "2680:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6644, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2685:5:10", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 6376, - "src": "2680:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => bool)))" - } - }, - "id": 6645, - "indexExpression": { - "id": 6635, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "2691:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2680:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 6646, - "indexExpression": { - "id": 6636, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "2696:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2680:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 6647, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6640, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "2729:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6641, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "2734:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6638, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2712:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6639, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2716:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "2712:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6642, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2712:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6637, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2702:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6643, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2702:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2680:68:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "74727565", - "id": 6648, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2751:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "2680:75:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6650, - "nodeType": "ExpressionStatement", - "src": "2680:75:10" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6835, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "4114:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6836, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4119:5:10", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 6376, - "src": "4114:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => bool)))" - } - }, - "id": 6838, - "indexExpression": { - "id": 6837, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "4125:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4114:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 6840, - "indexExpression": { - "id": 6839, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "4130:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4114:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 6848, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6844, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "4163:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6845, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "4168:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6842, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4146:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6843, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4150:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "4146:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6846, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4146:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6841, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "4136:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6847, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4136:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4114:68:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a20536c6f74287329206e6f7420666f756e642e", - "id": 6849, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4196:49:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_47c274d4780c7bff83310cd576005a97888a2b2935c22f84e1e5282c1bfb39a8", - "typeString": "literal_string \"stdStorage find(StdStorage): Slot(s) not found.\"" - }, - "value": "stdStorage find(StdStorage): Slot(s) not found." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_47c274d4780c7bff83310cd576005a97888a2b2935c22f84e1e5282c1bfb39a8", - "typeString": "literal_string \"stdStorage find(StdStorage): Slot(s) not found.\"" - } - ], - "id": 6834, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4093:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6850, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4093:162:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6851, - "nodeType": "ExpressionStatement", - "src": "4093:162:10" - }, - { - "expression": { - "id": 6854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "4266:19:10", - "subExpression": { - "expression": { - "id": 6852, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "4273:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6853, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "4278:7:10", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6385, - "src": "4273:12:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6855, - "nodeType": "ExpressionStatement", - "src": "4266:19:10" - }, - { - "expression": { - "id": 6858, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "4295:16:10", - "subExpression": { - "expression": { - "id": 6856, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "4302:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6857, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "4307:4:10", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6381, - "src": "4302:9:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6859, - "nodeType": "ExpressionStatement", - "src": "4295:16:10" - }, - { - "expression": { - "id": 6862, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "4321:17:10", - "subExpression": { - "expression": { - "id": 6860, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "4328:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6861, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "4333:5:10", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 6379, - "src": "4328:10:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6863, - "nodeType": "ExpressionStatement", - "src": "4321:17:10" - }, - { - "expression": { - "id": 6866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "4348:18:10", - "subExpression": { - "expression": { - "id": 6864, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "4355:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6865, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "4360:6:10", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 6383, - "src": "4355:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6867, - "nodeType": "ExpressionStatement", - "src": "4348:18:10" - }, - { - "expression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6868, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "4384:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6869, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4389:5:10", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 6368, - "src": "4384:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => uint256)))" - } - }, - "id": 6871, - "indexExpression": { - "id": 6870, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "4395:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4384:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 6873, - "indexExpression": { - "id": 6872, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "4400:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4384:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6881, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6877, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "4433:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6878, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "4438:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6875, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4416:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6876, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4420:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "4416:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6879, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4416:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6874, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "4406:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4406:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4384:68:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6447, - "id": 6882, - "nodeType": "Return", - "src": "4377:75:10" - } - ] - }, - "documentation": { - "id": 6440, - "nodeType": "StructuredDocumentation", - "src": "746:129:10", - "text": "@notice find an arbitrary storage slot given a function sig, input data, address of the contract and a value to check against" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "find", - "nameLocation": "1263:4:10", - "parameters": { - "id": 6444, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6443, - "mutability": "mutable", - "name": "self", - "nameLocation": "1287:4:10", - "nodeType": "VariableDeclaration", - "scope": 6884, - "src": "1268:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6442, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6441, - "name": "StdStorage", - "nameLocations": [ - "1268:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "1268:10:10" - }, - "referencedDeclaration": 6388, - "src": "1268:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "1267:25:10" - }, - "returnParameters": { - "id": 6447, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6446, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6884, - "src": "1311:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6445, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1311:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1310:9:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6904, - "nodeType": "FunctionDefinition", - "src": "4465:156:10", - "nodes": [], - "body": { - "id": 6903, - "nodeType": "Block", - "src": "4561:60:10", - "nodes": [], - "statements": [ - { - "expression": { - "id": 6899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6895, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6887, - "src": "4571:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6897, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "4576:7:10", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6385, - "src": "4571:12:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 6898, - "name": "_target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6889, - "src": "4586:7:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4571:22:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6900, - "nodeType": "ExpressionStatement", - "src": "4571:22:10" - }, - { - "expression": { - "id": 6901, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6887, - "src": "4610:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6894, - "id": 6902, - "nodeType": "Return", - "src": "4603:11:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "target", - "nameLocation": "4474:6:10", - "parameters": { - "id": 6890, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6887, - "mutability": "mutable", - "name": "self", - "nameLocation": "4500:4:10", - "nodeType": "VariableDeclaration", - "scope": 6904, - "src": "4481:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6886, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6885, - "name": "StdStorage", - "nameLocations": [ - "4481:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "4481:10:10" - }, - "referencedDeclaration": 6388, - "src": "4481:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6889, - "mutability": "mutable", - "name": "_target", - "nameLocation": "4514:7:10", - "nodeType": "VariableDeclaration", - "scope": 6904, - "src": "4506:15:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6888, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4506:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4480:42:10" - }, - "returnParameters": { - "id": 6894, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6893, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6904, - "src": "4541:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6892, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6891, - "name": "StdStorage", - "nameLocations": [ - "4541:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "4541:10:10" - }, - "referencedDeclaration": 6388, - "src": "4541:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "4540:20:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6924, - "nodeType": "FunctionDefinition", - "src": "4627:143:10", - "nodes": [], - "body": { - "id": 6923, - "nodeType": "Block", - "src": "4716:54:10", - "nodes": [], - "statements": [ - { - "expression": { - "id": 6919, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6915, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "4726:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6917, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "4731:4:10", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6381, - "src": "4726:9:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 6918, - "name": "_sig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6909, - "src": "4738:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "4726:16:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 6920, - "nodeType": "ExpressionStatement", - "src": "4726:16:10" - }, - { - "expression": { - "id": 6921, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "4759:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6914, - "id": 6922, - "nodeType": "Return", - "src": "4752:11:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sig", - "nameLocation": "4636:3:10", - "parameters": { - "id": 6910, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6907, - "mutability": "mutable", - "name": "self", - "nameLocation": "4659:4:10", - "nodeType": "VariableDeclaration", - "scope": 6924, - "src": "4640:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6906, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6905, - "name": "StdStorage", - "nameLocations": [ - "4640:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "4640:10:10" - }, - "referencedDeclaration": 6388, - "src": "4640:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6909, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "4672:4:10", - "nodeType": "VariableDeclaration", - "scope": 6924, - "src": "4665:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6908, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "4665:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "4639:38:10" - }, - "returnParameters": { - "id": 6914, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6913, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6924, - "src": "4696:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6912, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6911, - "name": "StdStorage", - "nameLocations": [ - "4696:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "4696:10:10" - }, - "referencedDeclaration": 6388, - "src": "4696:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "4695:20:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6946, - "nodeType": "FunctionDefinition", - "src": "4776:156:10", - "nodes": [], - "body": { - "id": 6945, - "nodeType": "Block", - "src": "4872:60:10", - "nodes": [], - "statements": [ - { - "expression": { - "id": 6941, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6935, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6927, - "src": "4882:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6937, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "4887:4:10", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6381, - "src": "4882:9:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 6939, - "name": "_sig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6929, - "src": "4899:4:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 6938, - "name": "sigs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6439, - "src": "4894:4:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (string memory) pure returns (bytes4)" - } - }, - "id": 6940, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4894:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "4882:22:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 6942, - "nodeType": "ExpressionStatement", - "src": "4882:22:10" - }, - { - "expression": { - "id": 6943, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6927, - "src": "4921:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6934, - "id": 6944, - "nodeType": "Return", - "src": "4914:11:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sig", - "nameLocation": "4785:3:10", - "parameters": { - "id": 6930, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6927, - "mutability": "mutable", - "name": "self", - "nameLocation": "4808:4:10", - "nodeType": "VariableDeclaration", - "scope": 6946, - "src": "4789:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6926, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6925, - "name": "StdStorage", - "nameLocations": [ - "4789:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "4789:10:10" - }, - "referencedDeclaration": 6388, - "src": "4789:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6929, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "4828:4:10", - "nodeType": "VariableDeclaration", - "scope": 6946, - "src": "4814:18:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6928, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4814:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4788:45:10" - }, - "returnParameters": { - "id": 6934, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6933, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6946, - "src": "4852:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6932, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6931, - "name": "StdStorage", - "nameLocations": [ - "4852:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "4852:10:10" - }, - "referencedDeclaration": 6388, - "src": "4852:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "4851:20:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6977, - "nodeType": "FunctionDefinition", - "src": "4938:179:10", - "nodes": [], - "body": { - "id": 6976, - "nodeType": "Block", - "src": "5032:85:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 6968, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6951, - "src": "5082:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6967, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5074:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 6966, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "5074:7:10", - "typeDescriptions": {} - } - }, - "id": 6969, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5074:12:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 6965, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5066:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6964, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5066:7:10", - "typeDescriptions": {} - } - }, - "id": 6970, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5066:21:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6963, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5058:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6962, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5058:7:10", - "typeDescriptions": {} - } - }, - "id": 6971, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5058:30:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "expression": { - "id": 6957, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6949, - "src": "5042:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6960, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5047:5:10", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 6379, - "src": "5042:10:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 6961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5053:4:10", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "5042:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_bytes32_$dyn_storage_ptr_$_t_bytes32_$returns$__$bound_to$_t_array$_t_bytes32_$dyn_storage_ptr_$", - "typeString": "function (bytes32[] storage pointer,bytes32)" - } - }, - "id": 6972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5042:47:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6973, - "nodeType": "ExpressionStatement", - "src": "5042:47:10" - }, - { - "expression": { - "id": 6974, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6949, - "src": "5106:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6956, - "id": 6975, - "nodeType": "Return", - "src": "5099:11:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "4947:8:10", - "parameters": { - "id": 6952, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6949, - "mutability": "mutable", - "name": "self", - "nameLocation": "4975:4:10", - "nodeType": "VariableDeclaration", - "scope": 6977, - "src": "4956:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6948, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6947, - "name": "StdStorage", - "nameLocations": [ - "4956:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "4956:10:10" - }, - "referencedDeclaration": 6388, - "src": "4956:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6951, - "mutability": "mutable", - "name": "who", - "nameLocation": "4989:3:10", - "nodeType": "VariableDeclaration", - "scope": 6977, - "src": "4981:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6950, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4981:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4955:38:10" - }, - "returnParameters": { - "id": 6956, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6955, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6977, - "src": "5012:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6954, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6953, - "name": "StdStorage", - "nameLocations": [ - "5012:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5012:10:10" - }, - "referencedDeclaration": 6388, - "src": "5012:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "5011:20:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7002, - "nodeType": "FunctionDefinition", - "src": "5123:161:10", - "nodes": [], - "body": { - "id": 7001, - "nodeType": "Block", - "src": "5217:67:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6995, - "name": "amt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6982, - "src": "5251:3:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6994, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5243:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6993, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5243:7:10", - "typeDescriptions": {} - } - }, - "id": 6996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5243:12:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "expression": { - "id": 6988, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6980, - "src": "5227:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6991, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5232:5:10", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 6379, - "src": "5227:10:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 6992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5238:4:10", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "5227:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_bytes32_$dyn_storage_ptr_$_t_bytes32_$returns$__$bound_to$_t_array$_t_bytes32_$dyn_storage_ptr_$", - "typeString": "function (bytes32[] storage pointer,bytes32)" - } - }, - "id": 6997, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5227:29:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6998, - "nodeType": "ExpressionStatement", - "src": "5227:29:10" - }, - { - "expression": { - "id": 6999, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6980, - "src": "5273:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6987, - "id": 7000, - "nodeType": "Return", - "src": "5266:11:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "5132:8:10", - "parameters": { - "id": 6983, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6980, - "mutability": "mutable", - "name": "self", - "nameLocation": "5160:4:10", - "nodeType": "VariableDeclaration", - "scope": 7002, - "src": "5141:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6979, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6978, - "name": "StdStorage", - "nameLocations": [ - "5141:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5141:10:10" - }, - "referencedDeclaration": 6388, - "src": "5141:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6982, - "mutability": "mutable", - "name": "amt", - "nameLocation": "5174:3:10", - "nodeType": "VariableDeclaration", - "scope": 7002, - "src": "5166:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6981, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5166:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5140:38:10" - }, - "returnParameters": { - "id": 6987, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6986, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7002, - "src": "5197:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6985, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6984, - "name": "StdStorage", - "nameLocations": [ - "5197:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5197:10:10" - }, - "referencedDeclaration": 6388, - "src": "5197:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "5196:20:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7024, - "nodeType": "FunctionDefinition", - "src": "5290:152:10", - "nodes": [], - "body": { - "id": 7023, - "nodeType": "Block", - "src": "5384:58:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7018, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7007, - "src": "5410:3:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "expression": { - "id": 7013, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7005, - "src": "5394:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7016, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5399:5:10", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 6379, - "src": "5394:10:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 7017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5405:4:10", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "5394:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_bytes32_$dyn_storage_ptr_$_t_bytes32_$returns$__$bound_to$_t_array$_t_bytes32_$dyn_storage_ptr_$", - "typeString": "function (bytes32[] storage pointer,bytes32)" - } - }, - "id": 7019, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5394:20:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7020, - "nodeType": "ExpressionStatement", - "src": "5394:20:10" - }, - { - "expression": { - "id": 7021, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7005, - "src": "5431:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 7012, - "id": 7022, - "nodeType": "Return", - "src": "5424:11:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "5299:8:10", - "parameters": { - "id": 7008, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7005, - "mutability": "mutable", - "name": "self", - "nameLocation": "5327:4:10", - "nodeType": "VariableDeclaration", - "scope": 7024, - "src": "5308:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7004, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7003, - "name": "StdStorage", - "nameLocations": [ - "5308:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5308:10:10" - }, - "referencedDeclaration": 6388, - "src": "5308:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7007, - "mutability": "mutable", - "name": "key", - "nameLocation": "5341:3:10", - "nodeType": "VariableDeclaration", - "scope": 7024, - "src": "5333:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7006, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5333:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "5307:38:10" - }, - "returnParameters": { - "id": 7012, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7011, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7024, - "src": "5364:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7010, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7009, - "name": "StdStorage", - "nameLocations": [ - "5364:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5364:10:10" - }, - "referencedDeclaration": 6388, - "src": "5364:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "5363:20:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7044, - "nodeType": "FunctionDefinition", - "src": "5448:152:10", - "nodes": [], - "body": { - "id": 7043, - "nodeType": "Block", - "src": "5542:58:10", - "nodes": [], - "statements": [ - { - "expression": { - "id": 7039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 7035, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7027, - "src": "5552:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7037, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "5557:6:10", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 6383, - "src": "5552:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 7038, - "name": "_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7029, - "src": "5566:6:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5552:20:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7040, - "nodeType": "ExpressionStatement", - "src": "5552:20:10" - }, - { - "expression": { - "id": 7041, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7027, - "src": "5589:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 7034, - "id": 7042, - "nodeType": "Return", - "src": "5582:11:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depth", - "nameLocation": "5457:5:10", - "parameters": { - "id": 7030, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7027, - "mutability": "mutable", - "name": "self", - "nameLocation": "5482:4:10", - "nodeType": "VariableDeclaration", - "scope": 7044, - "src": "5463:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7026, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7025, - "name": "StdStorage", - "nameLocations": [ - "5463:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5463:10:10" - }, - "referencedDeclaration": 6388, - "src": "5463:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7029, - "mutability": "mutable", - "name": "_depth", - "nameLocation": "5496:6:10", - "nodeType": "VariableDeclaration", - "scope": 7044, - "src": "5488:14:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7028, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5488:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5462:41:10" - }, - "returnParameters": { - "id": 7034, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7033, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7044, - "src": "5522:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7032, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7031, - "name": "StdStorage", - "nameLocations": [ - "5522:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5522:10:10" - }, - "referencedDeclaration": 6388, - "src": "5522:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "5521:20:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7076, - "nodeType": "FunctionDefinition", - "src": "5606:194:10", - "nodes": [], - "body": { - "id": 7075, - "nodeType": "Block", - "src": "5676:124:10", - "nodes": [], - "statements": [ - { - "assignments": [ - 7053 - ], - "declarations": [ - { - "constant": false, - "id": 7053, - "mutability": "mutable", - "name": "t", - "nameLocation": "5694:1:10", - "nodeType": "VariableDeclaration", - "scope": 7075, - "src": "5686:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7052, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5686:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 7056, - "initialValue": { - "expression": { - "id": 7054, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7047, - "src": "5698:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7055, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5703:7:10", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6385, - "src": "5698:12:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5686:24:10" - }, - { - "assignments": [ - 7058 - ], - "declarations": [ - { - "constant": false, - "id": 7058, - "mutability": "mutable", - "name": "s", - "nameLocation": "5728:1:10", - "nodeType": "VariableDeclaration", - "scope": 7075, - "src": "5720:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7057, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5720:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7062, - "initialValue": { - "arguments": [ - { - "id": 7060, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7047, - "src": "5737:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 7059, - "name": "find", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6884, - "src": "5732:4:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct StdStorage storage pointer) returns (uint256)" - } - }, - "id": 7061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5732:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5720:22:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 7067, - "name": "t", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7053, - "src": "5778:1:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "id": 7070, - "name": "s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7058, - "src": "5789:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7069, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5781:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 7068, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5781:7:10", - "typeDescriptions": {} - } - }, - "id": 7071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5781:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 7065, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6421, - "src": "5770:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 7066, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5773:4:10", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 8307, - "src": "5770:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) view external returns (bytes32)" - } - }, - "id": 7072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5770:22:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 7063, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5759:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7064, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5763:6:10", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "5759:10:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 7073, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5759:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 7051, - "id": 7074, - "nodeType": "Return", - "src": "5752:41:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read", - "nameLocation": "5615:4:10", - "parameters": { - "id": 7048, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7047, - "mutability": "mutable", - "name": "self", - "nameLocation": "5639:4:10", - "nodeType": "VariableDeclaration", - "scope": 7076, - "src": "5620:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7046, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7045, - "name": "StdStorage", - "nameLocations": [ - "5620:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5620:10:10" - }, - "referencedDeclaration": 6388, - "src": "5620:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "5619:25:10" - }, - "returnParameters": { - "id": 7051, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7050, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7076, - "src": "5662:12:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7049, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5662:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5661:14:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "id": 7095, - "nodeType": "FunctionDefinition", - "src": "5806:131:10", - "nodes": [], - "body": { - "id": 7094, - "nodeType": "Block", - "src": "5880:57:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 7087, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7079, - "src": "5913:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 7086, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7076, - "src": "5908:4:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 7088, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5908:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 7090, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5921:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 7089, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5921:7:10", - "typeDescriptions": {} - } - } - ], - "id": 7091, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "5920:9:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - } - ], - "expression": { - "id": 7084, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5897:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7085, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5901:6:10", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "5897:10:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 7092, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5897:33:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 7083, - "id": 7093, - "nodeType": "Return", - "src": "5890:40:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_bytes32", - "nameLocation": "5815:12:10", - "parameters": { - "id": 7080, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7079, - "mutability": "mutable", - "name": "self", - "nameLocation": "5847:4:10", - "nodeType": "VariableDeclaration", - "scope": 7095, - "src": "5828:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7078, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7077, - "name": "StdStorage", - "nameLocations": [ - "5828:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5828:10:10" - }, - "referencedDeclaration": 6388, - "src": "5828:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "5827:25:10" - }, - "returnParameters": { - "id": 7083, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7082, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7095, - "src": "5871:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7081, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5871:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "5870:9:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7126, - "nodeType": "FunctionDefinition", - "src": "5943:279:10", - "nodes": [], - "body": { - "id": 7125, - "nodeType": "Block", - "src": "6011:211:10", - "nodes": [], - "statements": [ - { - "assignments": [ - 7104 - ], - "declarations": [ - { - "constant": false, - "id": 7104, - "mutability": "mutable", - "name": "v", - "nameLocation": "6028:1:10", - "nodeType": "VariableDeclaration", - "scope": 7125, - "src": "6021:8:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 7103, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "6021:6:10", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "id": 7108, - "initialValue": { - "arguments": [ - { - "id": 7106, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7098, - "src": "6041:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 7105, - "name": "read_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7183, - "src": "6032:8:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_int256_$", - "typeString": "function (struct StdStorage storage pointer) returns (int256)" - } - }, - "id": 7107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6032:14:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6021:25:10" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 7111, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7109, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7104, - "src": "6060:1:10", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 7110, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6065:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "6060:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7114, - "nodeType": "IfStatement", - "src": "6056:24:10", - "trueBody": { - "expression": { - "hexValue": "66616c7365", - "id": 7112, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6075:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 7102, - "id": 7113, - "nodeType": "Return", - "src": "6068:12:10" - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 7117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7115, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7104, - "src": "6094:1:10", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "31", - "id": 7116, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6099:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "6094:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7120, - "nodeType": "IfStatement", - "src": "6090:23:10", - "trueBody": { - "expression": { - "hexValue": "74727565", - "id": 7118, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6109:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 7102, - "id": 7119, - "nodeType": "Return", - "src": "6102:11:10" - } - }, - { - "expression": { - "arguments": [ - { - "hexValue": "73746453746f7261676520726561645f626f6f6c2853746453746f72616765293a2043616e6e6f74206465636f64652e204d616b65207375726520796f75206172652072656164696e67206120626f6f6c2e", - "id": 7122, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6130:84:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_91e3b02d190bb3e407570bfe894974b331ad10ba40f732248485a8a79ed8e4f5", - "typeString": "literal_string \"stdStorage read_bool(StdStorage): Cannot decode. Make sure you are reading a bool.\"" - }, - "value": "stdStorage read_bool(StdStorage): Cannot decode. Make sure you are reading a bool." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_91e3b02d190bb3e407570bfe894974b331ad10ba40f732248485a8a79ed8e4f5", - "typeString": "literal_string \"stdStorage read_bool(StdStorage): Cannot decode. Make sure you are reading a bool.\"" - } - ], - "id": 7121, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "6123:6:10", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 7123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6123:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7124, - "nodeType": "ExpressionStatement", - "src": "6123:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_bool", - "nameLocation": "5952:9:10", - "parameters": { - "id": 7099, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7098, - "mutability": "mutable", - "name": "self", - "nameLocation": "5981:4:10", - "nodeType": "VariableDeclaration", - "scope": 7126, - "src": "5962:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7097, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7096, - "name": "StdStorage", - "nameLocations": [ - "5962:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5962:10:10" - }, - "referencedDeclaration": 6388, - "src": "5962:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "5961:25:10" - }, - "returnParameters": { - "id": 7102, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7101, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7126, - "src": "6005:4:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7100, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6005:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "6004:6:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7145, - "nodeType": "FunctionDefinition", - "src": "6228:131:10", - "nodes": [], - "body": { - "id": 7144, - "nodeType": "Block", - "src": "6302:57:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 7137, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7129, - "src": "6335:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 7136, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7076, - "src": "6330:4:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 7138, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6330:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 7140, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6343:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 7139, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6343:7:10", - "typeDescriptions": {} - } - } - ], - "id": 7141, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6342:9:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - } - ], - "expression": { - "id": 7134, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6319:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7135, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6323:6:10", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "6319:10:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 7142, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6319:33:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 7133, - "id": 7143, - "nodeType": "Return", - "src": "6312:40:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_address", - "nameLocation": "6237:12:10", - "parameters": { - "id": 7130, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7129, - "mutability": "mutable", - "name": "self", - "nameLocation": "6269:4:10", - "nodeType": "VariableDeclaration", - "scope": 7145, - "src": "6250:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7128, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7127, - "name": "StdStorage", - "nameLocations": [ - "6250:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "6250:10:10" - }, - "referencedDeclaration": 6388, - "src": "6250:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "6249:25:10" - }, - "returnParameters": { - "id": 7133, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7132, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7145, - "src": "6293:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7131, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6293:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6292:9:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7164, - "nodeType": "FunctionDefinition", - "src": "6365:128:10", - "nodes": [], - "body": { - "id": 7163, - "nodeType": "Block", - "src": "6436:57:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 7156, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7148, - "src": "6469:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 7155, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7076, - "src": "6464:4:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 7157, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6464:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 7159, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6477:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 7158, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6477:7:10", - "typeDescriptions": {} - } - } - ], - "id": 7160, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6476:9:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - ], - "expression": { - "id": 7153, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6453:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7154, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6457:6:10", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "6453:10:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 7161, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6453:33:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 7152, - "id": 7162, - "nodeType": "Return", - "src": "6446:40:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_uint", - "nameLocation": "6374:9:10", - "parameters": { - "id": 7149, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7148, - "mutability": "mutable", - "name": "self", - "nameLocation": "6403:4:10", - "nodeType": "VariableDeclaration", - "scope": 7164, - "src": "6384:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7147, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7146, - "name": "StdStorage", - "nameLocations": [ - "6384:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "6384:10:10" - }, - "referencedDeclaration": 6388, - "src": "6384:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "6383:25:10" - }, - "returnParameters": { - "id": 7152, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7151, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7164, - "src": "6427:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7150, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6427:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6426:9:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7183, - "nodeType": "FunctionDefinition", - "src": "6499:125:10", - "nodes": [], - "body": { - "id": 7182, - "nodeType": "Block", - "src": "6568:56:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 7175, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7167, - "src": "6601:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 7174, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7076, - "src": "6596:4:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 7176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6596:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 7178, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6609:6:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - }, - "typeName": { - "id": 7177, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "6609:6:10", - "typeDescriptions": {} - } - } - ], - "id": 7179, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6608:8:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - } - ], - "expression": { - "id": 7172, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6585:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7173, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6589:6:10", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "6585:10:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 7180, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6585:32:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "functionReturnParameters": 7171, - "id": 7181, - "nodeType": "Return", - "src": "6578:39:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_int", - "nameLocation": "6508:8:10", - "parameters": { - "id": 7168, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7167, - "mutability": "mutable", - "name": "self", - "nameLocation": "6536:4:10", - "nodeType": "VariableDeclaration", - "scope": 7183, - "src": "6517:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7166, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7165, - "name": "StdStorage", - "nameLocations": [ - "6517:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "6517:10:10" - }, - "referencedDeclaration": 6388, - "src": "6517:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "6516:25:10" - }, - "returnParameters": { - "id": 7171, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7170, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7183, - "src": "6560:6:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 7169, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "6560:6:10", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "6559:8:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7239, - "nodeType": "FunctionDefinition", - "src": "6630:304:10", - "nodes": [], - "body": { - "id": 7238, - "nodeType": "Block", - "src": "6717:217:10", - "nodes": [], - "statements": [ - { - "assignments": [ - 7193 - ], - "declarations": [ - { - "constant": false, - "id": 7193, - "mutability": "mutable", - "name": "out", - "nameLocation": "6735:3:10", - "nodeType": "VariableDeclaration", - "scope": 7238, - "src": "6727:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7192, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6727:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 7194, - "nodeType": "VariableDeclarationStatement", - "src": "6727:11:10" - }, - { - "assignments": [ - 7196 - ], - "declarations": [ - { - "constant": false, - "id": 7196, - "mutability": "mutable", - "name": "max", - "nameLocation": "6757:3:10", - "nodeType": "VariableDeclaration", - "scope": 7238, - "src": "6749:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7195, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6749:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7205, - "initialValue": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 7197, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7185, - "src": "6763:1:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 7198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6765:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6763:8:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "3332", - "id": 7199, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6774:2:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "6763:13:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "expression": { - "id": 7202, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7185, - "src": "6784:1:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 7203, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6786:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6784:8:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7204, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "6763:29:10", - "trueExpression": { - "hexValue": "3332", - "id": 7201, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6779:2:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6749:43:10" - }, - { - "body": { - "id": 7234, - "nodeType": "Block", - "src": "6836:72:10", - "statements": [ - { - "expression": { - "id": 7232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 7216, - "name": "out", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7193, - "src": "6850:3:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "|=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7231, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 7225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "id": 7219, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7185, - "src": "6865:1:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 7223, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7220, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7187, - "src": "6867:6:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 7221, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7207, - "src": "6876:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6867:10:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6865:13:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "hexValue": "30784646", - "id": 7224, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6881:4:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - }, - "value": "0xFF" - }, - "src": "6865:20:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "id": 7218, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6857:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 7217, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6857:7:10", - "typeDescriptions": {} - } - }, - "id": 7226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6857:29:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7229, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7227, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7207, - "src": "6891:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "38", - "id": 7228, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6895:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "6891:5:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 7230, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6890:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6857:40:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "6850:47:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7233, - "nodeType": "ExpressionStatement", - "src": "6850:47:10" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7212, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7210, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7207, - "src": "6822:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 7211, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7196, - "src": "6826:3:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6822:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7235, - "initializationExpression": { - "assignments": [ - 7207 - ], - "declarations": [ - { - "constant": false, - "id": 7207, - "mutability": "mutable", - "name": "i", - "nameLocation": "6815:1:10", - "nodeType": "VariableDeclaration", - "scope": 7235, - "src": "6807:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7206, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6807:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7209, - "initialValue": { - "hexValue": "30", - "id": 7208, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6819:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "6807:13:10" - }, - "loopExpression": { - "expression": { - "id": 7214, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "6831:3:10", - "subExpression": { - "id": 7213, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7207, - "src": "6831:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7215, - "nodeType": "ExpressionStatement", - "src": "6831:3:10" - }, - "nodeType": "ForStatement", - "src": "6802:106:10" - }, - { - "expression": { - "id": 7236, - "name": "out", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7193, - "src": "6924:3:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 7191, - "id": 7237, - "nodeType": "Return", - "src": "6917:10:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "bytesToBytes32", - "nameLocation": "6639:14:10", - "parameters": { - "id": 7188, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7185, - "mutability": "mutable", - "name": "b", - "nameLocation": "6667:1:10", - "nodeType": "VariableDeclaration", - "scope": 7239, - "src": "6654:14:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7184, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6654:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7187, - "mutability": "mutable", - "name": "offset", - "nameLocation": "6678:6:10", - "nodeType": "VariableDeclaration", - "scope": 7239, - "src": "6670:14:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7186, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6670:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6653:32:10" - }, - "returnParameters": { - "id": 7191, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7190, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7239, - "src": "6708:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7189, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6708:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "6707:9:10" - }, - "scope": 7281, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - }, - { - "id": 7280, - "nodeType": "FunctionDefinition", - "src": "6940:393:10", - "nodes": [], - "body": { - "id": 7279, - "nodeType": "Block", - "src": "7013:320:10", - "nodes": [], - "statements": [ - { - "assignments": [ - 7248 - ], - "declarations": [ - { - "constant": false, - "id": 7248, - "mutability": "mutable", - "name": "result", - "nameLocation": "7036:6:10", - "nodeType": "VariableDeclaration", - "scope": 7279, - "src": "7023:19:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7247, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7023:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 7256, - "initialValue": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7254, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 7251, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7242, - "src": "7055:1:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 7252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7057:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7055:8:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "3332", - "id": 7253, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7066:2:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "7055:13:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7250, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7045:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 7249, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7049:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 7255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7045:24:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7023:46:10" - }, - { - "body": { - "id": 7275, - "nodeType": "Block", - "src": "7118:185:10", - "statements": [ - { - "assignments": [ - 7269 - ], - "declarations": [ - { - "constant": false, - "id": 7269, - "mutability": "mutable", - "name": "k", - "nameLocation": "7140:1:10", - "nodeType": "VariableDeclaration", - "scope": 7275, - "src": "7132:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7268, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7132:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 7273, - "initialValue": { - "baseExpression": { - "id": 7270, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7242, - "src": "7144:1:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 7272, - "indexExpression": { - "id": 7271, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7258, - "src": "7146:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7144:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7132:16:10" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "7218:75:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "result", - "nodeType": "YulIdentifier", - "src": "7247:6:10" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7259:2:10", - "type": "", - "value": "32" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7267:2:10", - "type": "", - "value": "32" - }, - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "7271:1:10" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "7263:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "7263:10:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7255:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "7255:19:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7243:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "7243:32:10" - }, - { - "name": "k", - "nodeType": "YulIdentifier", - "src": "7277:1:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "7236:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "7236:43:10" - }, - "nodeType": "YulExpressionStatement", - "src": "7236:43:10" - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 7258, - "isOffset": false, - "isSlot": false, - "src": "7271:1:10", - "valueSize": 1 - }, - { - "declaration": 7269, - "isOffset": false, - "isSlot": false, - "src": "7277:1:10", - "valueSize": 1 - }, - { - "declaration": 7248, - "isOffset": false, - "isSlot": false, - "src": "7247:6:10", - "valueSize": 1 - } - ], - "id": 7274, - "nodeType": "InlineAssembly", - "src": "7209:84:10" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7264, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7261, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7258, - "src": "7099:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 7262, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7242, - "src": "7103:1:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 7263, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7105:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7103:8:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7099:12:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7276, - "initializationExpression": { - "assignments": [ - 7258 - ], - "declarations": [ - { - "constant": false, - "id": 7258, - "mutability": "mutable", - "name": "i", - "nameLocation": "7092:1:10", - "nodeType": "VariableDeclaration", - "scope": 7276, - "src": "7084:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7257, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7084:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7260, - "initialValue": { - "hexValue": "30", - "id": 7259, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7096:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7084:13:10" - }, - "loopExpression": { - "expression": { - "id": 7266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7113:3:10", - "subExpression": { - "id": 7265, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7258, - "src": "7113:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7267, - "nodeType": "ExpressionStatement", - "src": "7113:3:10" - }, - "nodeType": "ForStatement", - "src": "7079:224:10" - }, - { - "expression": { - "id": 7277, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7248, - "src": "7320:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 7246, - "id": 7278, - "nodeType": "Return", - "src": "7313:13:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "flatten", - "nameLocation": "6949:7:10", - "parameters": { - "id": 7243, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7242, - "mutability": "mutable", - "name": "b", - "nameLocation": "6974:1:10", - "nodeType": "VariableDeclaration", - "scope": 7280, - "src": "6957:18:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 7240, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6957:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7241, - "nodeType": "ArrayTypeName", - "src": "6957:9:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "6956:20:10" - }, - "returnParameters": { - "id": 7246, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7245, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7280, - "src": "6999:12:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7244, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6999:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6998:14:10" - }, - "scope": 7281, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "stdStorageSafe", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 7281 - ], - "name": "stdStorageSafe", - "nameLocation": "366:14:10", - "scope": 7823, - "usedErrors": [] - }, - { - "id": 7822, - "nodeType": "ContractDefinition", - "src": "7337:4527:10", - "nodes": [ - { - "id": 7298, - "nodeType": "VariableDeclaration", - "src": "7362:84:10", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "vm", - "nameLocation": "7382:2:10", - "scope": 7822, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - }, - "typeName": { - "id": 7283, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7282, - "name": "Vm", - "nameLocations": [ - "7362:2:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 9256, - "src": "7362:2:10" - }, - "referencedDeclaration": 9256, - "src": "7362:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6865766d20636865617420636f6465", - "id": 7292, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7424:17:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - }, - "value": "hevm cheat code" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - } - ], - "id": 7291, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7414:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 7293, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7414:28:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7290, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7406:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 7289, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7406:7:10", - "typeDescriptions": {} - } - }, - "id": 7294, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7406:37:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7398:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 7287, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "7398:7:10", - "typeDescriptions": {} - } - }, - "id": 7295, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7398:46:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 7286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7390:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 7285, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7390:7:10", - "typeDescriptions": {} - } - }, - "id": 7296, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7390:55:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 7284, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9256, - "src": "7387:2:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Vm_$9256_$", - "typeString": "type(contract Vm)" - } - }, - "id": 7297, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7387:59:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "visibility": "private" - }, - { - "id": 7311, - "nodeType": "FunctionDefinition", - "src": "7453:118:10", - "nodes": [], - "body": { - "id": 7310, - "nodeType": "Block", - "src": "7520:51:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7307, - "name": "sigStr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7300, - "src": "7557:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 7305, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "7537:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7306, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7552:4:10", - "memberName": "sigs", - "nodeType": "MemberAccess", - "referencedDeclaration": 6439, - "src": "7537:19:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (string memory) pure returns (bytes4)" - } - }, - "id": 7308, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7537:27:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "functionReturnParameters": 7304, - "id": 7309, - "nodeType": "Return", - "src": "7530:34:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sigs", - "nameLocation": "7462:4:10", - "parameters": { - "id": 7301, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7300, - "mutability": "mutable", - "name": "sigStr", - "nameLocation": "7481:6:10", - "nodeType": "VariableDeclaration", - "scope": 7311, - "src": "7467:20:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7299, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7467:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7466:22:10" - }, - "returnParameters": { - "id": 7304, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7303, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7311, - "src": "7512:6:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 7302, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "7512:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "7511:8:10" - }, - "scope": 7822, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7325, - "nodeType": "FunctionDefinition", - "src": "7577:115:10", - "nodes": [], - "body": { - "id": 7324, - "nodeType": "Block", - "src": "7643:49:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7321, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7314, - "src": "7680:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "expression": { - "id": 7319, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "7660:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7675:4:10", - "memberName": "find", - "nodeType": "MemberAccess", - "referencedDeclaration": 6884, - "src": "7660:19:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct StdStorage storage pointer) returns (uint256)" - } - }, - "id": 7322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7660:25:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 7318, - "id": 7323, - "nodeType": "Return", - "src": "7653:32:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "find", - "nameLocation": "7586:4:10", - "parameters": { - "id": 7315, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7314, - "mutability": "mutable", - "name": "self", - "nameLocation": "7610:4:10", - "nodeType": "VariableDeclaration", - "scope": 7325, - "src": "7591:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7313, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7312, - "name": "StdStorage", - "nameLocations": [ - "7591:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "7591:10:10" - }, - "referencedDeclaration": 6388, - "src": "7591:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "7590:25:10" - }, - "returnParameters": { - "id": 7318, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7317, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7325, - "src": "7634:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7316, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7634:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7633:9:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7343, - "nodeType": "FunctionDefinition", - "src": "7698:156:10", - "nodes": [], - "body": { - "id": 7342, - "nodeType": "Block", - "src": "7794:60:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7338, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7328, - "src": "7833:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 7339, - "name": "_target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7330, - "src": "7839:7:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 7336, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "7811:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7826:6:10", - "memberName": "target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6904, - "src": "7811:21:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 7340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7811:36:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 7335, - "id": 7341, - "nodeType": "Return", - "src": "7804:43:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "target", - "nameLocation": "7707:6:10", - "parameters": { - "id": 7331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7328, - "mutability": "mutable", - "name": "self", - "nameLocation": "7733:4:10", - "nodeType": "VariableDeclaration", - "scope": 7343, - "src": "7714:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7327, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7326, - "name": "StdStorage", - "nameLocations": [ - "7714:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "7714:10:10" - }, - "referencedDeclaration": 6388, - "src": "7714:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7330, - "mutability": "mutable", - "name": "_target", - "nameLocation": "7747:7:10", - "nodeType": "VariableDeclaration", - "scope": 7343, - "src": "7739:15:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7329, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7739:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7713:42:10" - }, - "returnParameters": { - "id": 7335, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7334, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7343, - "src": "7774:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7333, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7332, - "name": "StdStorage", - "nameLocations": [ - "7774:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "7774:10:10" - }, - "referencedDeclaration": 6388, - "src": "7774:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "7773:20:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7361, - "nodeType": "FunctionDefinition", - "src": "7860:143:10", - "nodes": [], - "body": { - "id": 7360, - "nodeType": "Block", - "src": "7949:54:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7356, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7346, - "src": "7985:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 7357, - "name": "_sig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7348, - "src": "7991:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "id": 7354, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "7966:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7355, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7981:3:10", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6924, - "src": "7966:18:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" - } - }, - "id": 7358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7966:30:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 7353, - "id": 7359, - "nodeType": "Return", - "src": "7959:37:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sig", - "nameLocation": "7869:3:10", - "parameters": { - "id": 7349, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7346, - "mutability": "mutable", - "name": "self", - "nameLocation": "7892:4:10", - "nodeType": "VariableDeclaration", - "scope": 7361, - "src": "7873:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7345, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7344, - "name": "StdStorage", - "nameLocations": [ - "7873:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "7873:10:10" - }, - "referencedDeclaration": 6388, - "src": "7873:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7348, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "7905:4:10", - "nodeType": "VariableDeclaration", - "scope": 7361, - "src": "7898:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 7347, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "7898:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "7872:38:10" - }, - "returnParameters": { - "id": 7353, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7352, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7361, - "src": "7929:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7351, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7350, - "name": "StdStorage", - "nameLocations": [ - "7929:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "7929:10:10" - }, - "referencedDeclaration": 6388, - "src": "7929:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "7928:20:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7379, - "nodeType": "FunctionDefinition", - "src": "8009:150:10", - "nodes": [], - "body": { - "id": 7378, - "nodeType": "Block", - "src": "8105:54:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7374, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7364, - "src": "8141:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 7375, - "name": "_sig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7366, - "src": "8147:4:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 7372, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "8122:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7373, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8137:3:10", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6946, - "src": "8122:18:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_string_memory_ptr_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,string memory) returns (struct StdStorage storage pointer)" - } - }, - "id": 7376, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8122:30:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 7371, - "id": 7377, - "nodeType": "Return", - "src": "8115:37:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sig", - "nameLocation": "8018:3:10", - "parameters": { - "id": 7367, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7364, - "mutability": "mutable", - "name": "self", - "nameLocation": "8041:4:10", - "nodeType": "VariableDeclaration", - "scope": 7379, - "src": "8022:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7363, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7362, - "name": "StdStorage", - "nameLocations": [ - "8022:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8022:10:10" - }, - "referencedDeclaration": 6388, - "src": "8022:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7366, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "8061:4:10", - "nodeType": "VariableDeclaration", - "scope": 7379, - "src": "8047:18:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7365, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8047:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8021:45:10" - }, - "returnParameters": { - "id": 7371, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7370, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7379, - "src": "8085:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7369, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7368, - "name": "StdStorage", - "nameLocations": [ - "8085:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8085:10:10" - }, - "referencedDeclaration": 6388, - "src": "8085:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "8084:20:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7397, - "nodeType": "FunctionDefinition", - "src": "8165:152:10", - "nodes": [], - "body": { - "id": 7396, - "nodeType": "Block", - "src": "8259:58:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7392, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7382, - "src": "8300:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 7393, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7384, - "src": "8306:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 7390, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "8276:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8291:8:10", - "memberName": "with_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 6977, - "src": "8276:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 7394, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8276:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 7389, - "id": 7395, - "nodeType": "Return", - "src": "8269:41:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "8174:8:10", - "parameters": { - "id": 7385, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7382, - "mutability": "mutable", - "name": "self", - "nameLocation": "8202:4:10", - "nodeType": "VariableDeclaration", - "scope": 7397, - "src": "8183:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7381, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7380, - "name": "StdStorage", - "nameLocations": [ - "8183:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8183:10:10" - }, - "referencedDeclaration": 6388, - "src": "8183:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7384, - "mutability": "mutable", - "name": "who", - "nameLocation": "8216:3:10", - "nodeType": "VariableDeclaration", - "scope": 7397, - "src": "8208:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7383, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8208:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8182:38:10" - }, - "returnParameters": { - "id": 7389, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7388, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7397, - "src": "8239:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7387, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7386, - "name": "StdStorage", - "nameLocations": [ - "8239:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8239:10:10" - }, - "referencedDeclaration": 6388, - "src": "8239:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "8238:20:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7415, - "nodeType": "FunctionDefinition", - "src": "8323:152:10", - "nodes": [], - "body": { - "id": 7414, - "nodeType": "Block", - "src": "8417:58:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7410, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7400, - "src": "8458:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 7411, - "name": "amt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7402, - "src": "8464:3:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7408, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "8434:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8449:8:10", - "memberName": "with_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 7002, - "src": "8434:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_uint256_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256) returns (struct StdStorage storage pointer)" - } - }, - "id": 7412, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8434:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 7407, - "id": 7413, - "nodeType": "Return", - "src": "8427:41:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "8332:8:10", - "parameters": { - "id": 7403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7400, - "mutability": "mutable", - "name": "self", - "nameLocation": "8360:4:10", - "nodeType": "VariableDeclaration", - "scope": 7415, - "src": "8341:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7399, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7398, - "name": "StdStorage", - "nameLocations": [ - "8341:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8341:10:10" - }, - "referencedDeclaration": 6388, - "src": "8341:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7402, - "mutability": "mutable", - "name": "amt", - "nameLocation": "8374:3:10", - "nodeType": "VariableDeclaration", - "scope": 7415, - "src": "8366:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7401, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8366:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8340:38:10" - }, - "returnParameters": { - "id": 7407, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7406, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7415, - "src": "8397:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7405, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7404, - "name": "StdStorage", - "nameLocations": [ - "8397:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8397:10:10" - }, - "referencedDeclaration": 6388, - "src": "8397:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "8396:20:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7433, - "nodeType": "FunctionDefinition", - "src": "8481:152:10", - "nodes": [], - "body": { - "id": 7432, - "nodeType": "Block", - "src": "8575:58:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7428, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7418, - "src": "8616:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 7429, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7420, - "src": "8622:3:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 7426, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "8592:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8607:8:10", - "memberName": "with_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 7024, - "src": "8592:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_bytes32_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes32) returns (struct StdStorage storage pointer)" - } - }, - "id": 7430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8592:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 7425, - "id": 7431, - "nodeType": "Return", - "src": "8585:41:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "8490:8:10", - "parameters": { - "id": 7421, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7418, - "mutability": "mutable", - "name": "self", - "nameLocation": "8518:4:10", - "nodeType": "VariableDeclaration", - "scope": 7433, - "src": "8499:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7417, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7416, - "name": "StdStorage", - "nameLocations": [ - "8499:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8499:10:10" - }, - "referencedDeclaration": 6388, - "src": "8499:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7420, - "mutability": "mutable", - "name": "key", - "nameLocation": "8532:3:10", - "nodeType": "VariableDeclaration", - "scope": 7433, - "src": "8524:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7419, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8524:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "8498:38:10" - }, - "returnParameters": { - "id": 7425, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7424, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7433, - "src": "8555:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7423, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7422, - "name": "StdStorage", - "nameLocations": [ - "8555:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8555:10:10" - }, - "referencedDeclaration": 6388, - "src": "8555:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "8554:20:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7451, - "nodeType": "FunctionDefinition", - "src": "8639:152:10", - "nodes": [], - "body": { - "id": 7450, - "nodeType": "Block", - "src": "8733:58:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7446, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7436, - "src": "8771:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 7447, - "name": "_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7438, - "src": "8777:6:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7444, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "8750:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8765:5:10", - "memberName": "depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 7044, - "src": "8750:20:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_uint256_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256) returns (struct StdStorage storage pointer)" - } - }, - "id": 7448, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8750:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 7443, - "id": 7449, - "nodeType": "Return", - "src": "8743:41:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depth", - "nameLocation": "8648:5:10", - "parameters": { - "id": 7439, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7436, - "mutability": "mutable", - "name": "self", - "nameLocation": "8673:4:10", - "nodeType": "VariableDeclaration", - "scope": 7451, - "src": "8654:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7435, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7434, - "name": "StdStorage", - "nameLocations": [ - "8654:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8654:10:10" - }, - "referencedDeclaration": 6388, - "src": "8654:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7438, - "mutability": "mutable", - "name": "_depth", - "nameLocation": "8687:6:10", - "nodeType": "VariableDeclaration", - "scope": 7451, - "src": "8679:14:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7437, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8679:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8653:41:10" - }, - "returnParameters": { - "id": 7443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7442, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7451, - "src": "8713:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7441, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7440, - "name": "StdStorage", - "nameLocations": [ - "8713:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8713:10:10" - }, - "referencedDeclaration": 6388, - "src": "8713:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "8712:20:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7474, - "nodeType": "FunctionDefinition", - "src": "8797:138:10", - "nodes": [], - "body": { - "id": 7473, - "nodeType": "Block", - "src": "8867:68:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7460, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7454, - "src": "8891:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 7467, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7456, - "src": "8921:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 7466, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8913:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 7465, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "8913:7:10", - "typeDescriptions": {} - } - }, - "id": 7468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8913:12:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 7464, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8905:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 7463, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8905:7:10", - "typeDescriptions": {} - } - }, - "id": 7469, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8905:21:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7462, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8897:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 7461, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8897:7:10", - "typeDescriptions": {} - } - }, - "id": 7470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8897:30:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7459, - "name": "checked_write", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 7474, - 7491, - 7509, - 7654 - ], - "referencedDeclaration": 7654, - "src": "8877:13:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (struct StdStorage storage pointer,bytes32)" - } - }, - "id": 7471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8877:51:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7472, - "nodeType": "ExpressionStatement", - "src": "8877:51:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "8806:13:10", - "parameters": { - "id": 7457, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7454, - "mutability": "mutable", - "name": "self", - "nameLocation": "8839:4:10", - "nodeType": "VariableDeclaration", - "scope": 7474, - "src": "8820:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7453, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7452, - "name": "StdStorage", - "nameLocations": [ - "8820:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8820:10:10" - }, - "referencedDeclaration": 6388, - "src": "8820:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7456, - "mutability": "mutable", - "name": "who", - "nameLocation": "8853:3:10", - "nodeType": "VariableDeclaration", - "scope": 7474, - "src": "8845:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7455, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8845:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8819:38:10" - }, - "returnParameters": { - "id": 7458, - "nodeType": "ParameterList", - "parameters": [], - "src": "8867:0:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7491, - "nodeType": "FunctionDefinition", - "src": "8941:120:10", - "nodes": [], - "body": { - "id": 7490, - "nodeType": "Block", - "src": "9011:50:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7483, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7477, - "src": "9035:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "arguments": [ - { - "id": 7486, - "name": "amt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7479, - "src": "9049:3:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7485, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9041:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 7484, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9041:7:10", - "typeDescriptions": {} - } - }, - "id": 7487, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9041:12:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7482, - "name": "checked_write", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 7474, - 7491, - 7509, - 7654 - ], - "referencedDeclaration": 7654, - "src": "9021:13:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (struct StdStorage storage pointer,bytes32)" - } - }, - "id": 7488, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9021:33:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7489, - "nodeType": "ExpressionStatement", - "src": "9021:33:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "8950:13:10", - "parameters": { - "id": 7480, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7477, - "mutability": "mutable", - "name": "self", - "nameLocation": "8983:4:10", - "nodeType": "VariableDeclaration", - "scope": 7491, - "src": "8964:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7476, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7475, - "name": "StdStorage", - "nameLocations": [ - "8964:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8964:10:10" - }, - "referencedDeclaration": 6388, - "src": "8964:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7479, - "mutability": "mutable", - "name": "amt", - "nameLocation": "8997:3:10", - "nodeType": "VariableDeclaration", - "scope": 7491, - "src": "8989:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7478, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8989:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8963:38:10" - }, - "returnParameters": { - "id": 7481, - "nodeType": "ParameterList", - "parameters": [], - "src": "9011:0:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7509, - "nodeType": "FunctionDefinition", - "src": "9067:222:10", - "nodes": [], - "body": { - "id": 7508, - "nodeType": "Block", - "src": "9136:153:10", - "nodes": [], - "statements": [ - { - "assignments": [ - 7500 - ], - "declarations": [ - { - "constant": false, - "id": 7500, - "mutability": "mutable", - "name": "t", - "nameLocation": "9154:1:10", - "nodeType": "VariableDeclaration", - "scope": 7508, - "src": "9146:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7499, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9146:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 7501, - "nodeType": "VariableDeclarationStatement", - "src": "9146:9:10" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "9217:34:10", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "9231:10:10", - "value": { - "name": "write", - "nodeType": "YulIdentifier", - "src": "9236:5:10" - }, - "variableNames": [ - { - "name": "t", - "nodeType": "YulIdentifier", - "src": "9231:1:10" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 7500, - "isOffset": false, - "isSlot": false, - "src": "9231:1:10", - "valueSize": 1 - }, - { - "declaration": 7496, - "isOffset": false, - "isSlot": false, - "src": "9236:5:10", - "valueSize": 1 - } - ], - "id": 7502, - "nodeType": "InlineAssembly", - "src": "9208:43:10" - }, - { - "expression": { - "arguments": [ - { - "id": 7504, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7494, - "src": "9274:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 7505, - "name": "t", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7500, - "src": "9280:1:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7503, - "name": "checked_write", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 7474, - 7491, - 7509, - 7654 - ], - "referencedDeclaration": 7654, - "src": "9260:13:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (struct StdStorage storage pointer,bytes32)" - } - }, - "id": 7506, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9260:22:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7507, - "nodeType": "ExpressionStatement", - "src": "9260:22:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "9076:13:10", - "parameters": { - "id": 7497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7494, - "mutability": "mutable", - "name": "self", - "nameLocation": "9109:4:10", - "nodeType": "VariableDeclaration", - "scope": 7509, - "src": "9090:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7493, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7492, - "name": "StdStorage", - "nameLocations": [ - "9090:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "9090:10:10" - }, - "referencedDeclaration": 6388, - "src": "9090:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7496, - "mutability": "mutable", - "name": "write", - "nameLocation": "9120:5:10", - "nodeType": "VariableDeclaration", - "scope": 7509, - "src": "9115:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7495, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9115:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "9089:37:10" - }, - "returnParameters": { - "id": 7498, - "nodeType": "ParameterList", - "parameters": [], - "src": "9136:0:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7654, - "nodeType": "FunctionDefinition", - "src": "9295:1095:10", - "nodes": [], - "body": { - "id": 7653, - "nodeType": "Block", - "src": "9365:1025:10", - "nodes": [], - "statements": [ - { - "assignments": [ - 7518 - ], - "declarations": [ - { - "constant": false, - "id": 7518, - "mutability": "mutable", - "name": "who", - "nameLocation": "9383:3:10", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "9375:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7517, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9375:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 7521, - "initialValue": { - "expression": { - "id": 7519, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "9389:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7520, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9394:7:10", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6385, - "src": "9389:12:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9375:26:10" - }, - { - "assignments": [ - 7523 - ], - "declarations": [ - { - "constant": false, - "id": 7523, - "mutability": "mutable", - "name": "fsig", - "nameLocation": "9418:4:10", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "9411:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 7522, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "9411:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "id": 7526, - "initialValue": { - "expression": { - "id": 7524, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "9425:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7525, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9430:4:10", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6381, - "src": "9425:9:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9411:23:10" - }, - { - "assignments": [ - 7528 - ], - "declarations": [ - { - "constant": false, - "id": 7528, - "mutability": "mutable", - "name": "field_depth", - "nameLocation": "9452:11:10", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "9444:19:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7527, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9444:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7531, - "initialValue": { - "expression": { - "id": 7529, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "9466:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7530, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9471:6:10", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 6383, - "src": "9466:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9444:33:10" - }, - { - "assignments": [ - 7536 - ], - "declarations": [ - { - "constant": false, - "id": 7536, - "mutability": "mutable", - "name": "ins", - "nameLocation": "9504:3:10", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "9487:20:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 7534, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9487:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7535, - "nodeType": "ArrayTypeName", - "src": "9487:9:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "id": 7539, - "initialValue": { - "expression": { - "id": 7537, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "9510:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7538, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9515:5:10", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 6379, - "src": "9510:10:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9487:33:10" - }, - { - "assignments": [ - 7541 - ], - "declarations": [ - { - "constant": false, - "id": 7541, - "mutability": "mutable", - "name": "cald", - "nameLocation": "9544:4:10", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "9531:17:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7540, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9531:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 7549, - "initialValue": { - "arguments": [ - { - "id": 7544, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7523, - "src": "9568:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 7546, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7536, - "src": "9582:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - ], - "id": 7545, - "name": "flatten", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7821, - "src": "9574:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32[] memory) pure returns (bytes memory)" - } - }, - "id": 7547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9574:12:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 7542, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9551:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7543, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9555:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "9551:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 7548, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9551:36:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9531:56:10" - }, - { - "condition": { - "id": 7564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "9601:69:10", - "subExpression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 7550, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "9602:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7551, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9607:5:10", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 6376, - "src": "9602:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => bool)))" - } - }, - "id": 7553, - "indexExpression": { - "id": 7552, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7518, - "src": "9613:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9602:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 7555, - "indexExpression": { - "id": 7554, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7523, - "src": "9618:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9602:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 7563, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 7559, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7536, - "src": "9651:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 7560, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7528, - "src": "9656:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7557, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9634:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7558, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9638:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "9634:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 7561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9634:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7556, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9624:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 7562, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9624:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9602:68:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7570, - "nodeType": "IfStatement", - "src": "9597:110:10", - "trueBody": { - "id": 7569, - "nodeType": "Block", - "src": "9672:35:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7566, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "9691:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 7565, - "name": "find", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7325, - "src": "9686:4:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct StdStorage storage pointer) returns (uint256)" - } - }, - "id": 7567, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9686:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7568, - "nodeType": "ExpressionStatement", - "src": "9686:10:10" - } - ] - } - }, - { - "assignments": [ - 7572 - ], - "declarations": [ - { - "constant": false, - "id": 7572, - "mutability": "mutable", - "name": "slot", - "nameLocation": "9724:4:10", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "9716:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7571, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9716:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 7590, - "initialValue": { - "arguments": [ - { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 7575, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "9739:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7576, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9744:5:10", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 6368, - "src": "9739:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => uint256)))" - } - }, - "id": 7578, - "indexExpression": { - "id": 7577, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7518, - "src": "9750:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9739:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 7580, - "indexExpression": { - "id": 7579, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7523, - "src": "9755:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9739:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 7588, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 7584, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7536, - "src": "9788:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 7585, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7528, - "src": "9793:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7582, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9771:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7583, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9775:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "9771:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 7586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9771:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7581, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9761:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 7587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9761:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9739:68:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7574, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9731:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 7573, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9731:7:10", - "typeDescriptions": {} - } - }, - "id": 7589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9731:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9716:92:10" - }, - { - "assignments": [ - 7592 - ], - "declarations": [ - { - "constant": false, - "id": 7592, - "mutability": "mutable", - "name": "fdat", - "nameLocation": "9827:4:10", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "9819:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7591, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9819:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 7593, - "nodeType": "VariableDeclarationStatement", - "src": "9819:12:10" - }, - { - "id": 7610, - "nodeType": "Block", - "src": "9841:128:10", - "statements": [ - { - "assignments": [ - null, - 7595 - ], - "declarations": [ - null, - { - "constant": false, - "id": 7595, - "mutability": "mutable", - "name": "rdat", - "nameLocation": "9871:4:10", - "nodeType": "VariableDeclaration", - "scope": 7610, - "src": "9858:17:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7594, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9858:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 7600, - "initialValue": { - "arguments": [ - { - "id": 7598, - "name": "cald", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7541, - "src": "9894:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 7596, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7518, - "src": "9879:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 7597, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9883:10:10", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "9879:14:10", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 7599, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9879:20:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9855:44:10" - }, - { - "expression": { - "id": 7608, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 7601, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7592, - "src": "9913:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 7603, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7595, - "src": "9935:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7606, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 7604, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9941:2:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 7605, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7528, - "src": "9946:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9941:16:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7602, - "name": "bytesToBytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7780, - "src": "9920:14:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes memory,uint256) pure returns (bytes32)" - } - }, - "id": 7607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9920:38:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9913:45:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7609, - "nodeType": "ExpressionStatement", - "src": "9913:45:10" - } - ] - }, - { - "assignments": [ - 7612 - ], - "declarations": [ - { - "constant": false, - "id": 7612, - "mutability": "mutable", - "name": "curr", - "nameLocation": "9986:4:10", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "9978:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7611, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9978:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 7618, - "initialValue": { - "arguments": [ - { - "id": 7615, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7518, - "src": "10001:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7616, - "name": "slot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7572, - "src": "10006:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 7613, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7298, - "src": "9993:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 7614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9996:4:10", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 8307, - "src": "9993:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) view external returns (bytes32)" - } - }, - "id": 7617, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9993:18:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9978:33:10" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7619, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7592, - "src": "10026:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 7620, - "name": "curr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7612, - "src": "10034:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "10026:12:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7628, - "nodeType": "IfStatement", - "src": "10022:218:10", - "trueBody": { - "id": 7627, - "nodeType": "Block", - "src": "10040:200:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "66616c7365", - "id": 7623, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10079:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a205061636b656420736c6f742e205468697320776f756c642063617573652064616e6765726f7573206f76657277726974696e6720616e642063757272656e746c792069736e277420737570706f727465642e", - "id": 7624, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10102:113:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4bfa78e02b745efea2b29d358f6dc28382f5209b1d2b2dbeb8ef0862e74440b3", - "typeString": "literal_string \"stdStorage find(StdStorage): Packed slot. This would cause dangerous overwriting and currently isn't supported.\"" - }, - "value": "stdStorage find(StdStorage): Packed slot. This would cause dangerous overwriting and currently isn't supported." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_4bfa78e02b745efea2b29d358f6dc28382f5209b1d2b2dbeb8ef0862e74440b3", - "typeString": "literal_string \"stdStorage find(StdStorage): Packed slot. This would cause dangerous overwriting and currently isn't supported.\"" - } - ], - "id": 7622, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "10054:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7625, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10054:175:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7626, - "nodeType": "ExpressionStatement", - "src": "10054:175:10" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 7632, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7518, - "src": "10258:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7633, - "name": "slot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7572, - "src": "10263:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 7634, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7514, - "src": "10269:3:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 7629, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7298, - "src": "10249:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 7631, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10252:5:10", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 8967, - "src": "10249:8:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 7635, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10249:24:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7636, - "nodeType": "ExpressionStatement", - "src": "10249:24:10" - }, - { - "expression": { - "id": 7639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "10283:19:10", - "subExpression": { - "expression": { - "id": 7637, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "10290:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7638, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10295:7:10", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6385, - "src": "10290:12:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7640, - "nodeType": "ExpressionStatement", - "src": "10283:19:10" - }, - { - "expression": { - "id": 7643, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "10312:16:10", - "subExpression": { - "expression": { - "id": 7641, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "10319:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7642, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10324:4:10", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6381, - "src": "10319:9:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7644, - "nodeType": "ExpressionStatement", - "src": "10312:16:10" - }, - { - "expression": { - "id": 7647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "10338:17:10", - "subExpression": { - "expression": { - "id": 7645, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "10345:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7646, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10350:5:10", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 6379, - "src": "10345:10:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7648, - "nodeType": "ExpressionStatement", - "src": "10338:17:10" - }, - { - "expression": { - "id": 7651, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "10365:18:10", - "subExpression": { - "expression": { - "id": 7649, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "10372:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7650, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10377:6:10", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 6383, - "src": "10372:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7652, - "nodeType": "ExpressionStatement", - "src": "10365:18:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "9304:13:10", - "parameters": { - "id": 7515, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7512, - "mutability": "mutable", - "name": "self", - "nameLocation": "9337:4:10", - "nodeType": "VariableDeclaration", - "scope": 7654, - "src": "9318:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7511, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7510, - "name": "StdStorage", - "nameLocations": [ - "9318:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "9318:10:10" - }, - "referencedDeclaration": 6388, - "src": "9318:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7514, - "mutability": "mutable", - "name": "set", - "nameLocation": "9351:3:10", - "nodeType": "VariableDeclaration", - "scope": 7654, - "src": "9343:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7513, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9343:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "9317:38:10" - }, - "returnParameters": { - "id": 7516, - "nodeType": "ParameterList", - "parameters": [], - "src": "9365:0:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7668, - "nodeType": "FunctionDefinition", - "src": "10396:131:10", - "nodes": [], - "body": { - "id": 7667, - "nodeType": "Block", - "src": "10470:57:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7664, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7657, - "src": "10515:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "expression": { - "id": 7662, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "10487:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7663, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10502:12:10", - "memberName": "read_bytes32", - "nodeType": "MemberAccess", - "referencedDeclaration": 7095, - "src": "10487:27:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_bytes32_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes32)" - } - }, - "id": 7665, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10487:33:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 7661, - "id": 7666, - "nodeType": "Return", - "src": "10480:40:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_bytes32", - "nameLocation": "10405:12:10", - "parameters": { - "id": 7658, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7657, - "mutability": "mutable", - "name": "self", - "nameLocation": "10437:4:10", - "nodeType": "VariableDeclaration", - "scope": 7668, - "src": "10418:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7656, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7655, - "name": "StdStorage", - "nameLocations": [ - "10418:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "10418:10:10" - }, - "referencedDeclaration": 6388, - "src": "10418:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "10417:25:10" - }, - "returnParameters": { - "id": 7661, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7660, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7668, - "src": "10461:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7659, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "10461:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "10460:9:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7682, - "nodeType": "FunctionDefinition", - "src": "10533:122:10", - "nodes": [], - "body": { - "id": 7681, - "nodeType": "Block", - "src": "10601:54:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7678, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7671, - "src": "10643:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "expression": { - "id": 7676, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "10618:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10633:9:10", - "memberName": "read_bool", - "nodeType": "MemberAccess", - "referencedDeclaration": 7126, - "src": "10618:24:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_bool_$", - "typeString": "function (struct StdStorage storage pointer) returns (bool)" - } - }, - "id": 7679, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10618:30:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 7675, - "id": 7680, - "nodeType": "Return", - "src": "10611:37:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_bool", - "nameLocation": "10542:9:10", - "parameters": { - "id": 7672, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7671, - "mutability": "mutable", - "name": "self", - "nameLocation": "10571:4:10", - "nodeType": "VariableDeclaration", - "scope": 7682, - "src": "10552:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7670, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7669, - "name": "StdStorage", - "nameLocations": [ - "10552:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "10552:10:10" - }, - "referencedDeclaration": 6388, - "src": "10552:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "10551:25:10" - }, - "returnParameters": { - "id": 7675, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7674, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7682, - "src": "10595:4:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7673, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10595:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "10594:6:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7696, - "nodeType": "FunctionDefinition", - "src": "10661:131:10", - "nodes": [], - "body": { - "id": 7695, - "nodeType": "Block", - "src": "10735:57:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7692, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7685, - "src": "10780:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "expression": { - "id": 7690, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "10752:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10767:12:10", - "memberName": "read_address", - "nodeType": "MemberAccess", - "referencedDeclaration": 7145, - "src": "10752:27:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_address_$", - "typeString": "function (struct StdStorage storage pointer) returns (address)" - } - }, - "id": 7693, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10752:33:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 7689, - "id": 7694, - "nodeType": "Return", - "src": "10745:40:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_address", - "nameLocation": "10670:12:10", - "parameters": { - "id": 7686, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7685, - "mutability": "mutable", - "name": "self", - "nameLocation": "10702:4:10", - "nodeType": "VariableDeclaration", - "scope": 7696, - "src": "10683:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7684, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7683, - "name": "StdStorage", - "nameLocations": [ - "10683:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "10683:10:10" - }, - "referencedDeclaration": 6388, - "src": "10683:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "10682:25:10" - }, - "returnParameters": { - "id": 7689, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7688, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7696, - "src": "10726:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7687, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10726:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "10725:9:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7710, - "nodeType": "FunctionDefinition", - "src": "10798:125:10", - "nodes": [], - "body": { - "id": 7709, - "nodeType": "Block", - "src": "10869:54:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7706, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7699, - "src": "10911:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "expression": { - "id": 7704, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "10886:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10901:9:10", - "memberName": "read_uint", - "nodeType": "MemberAccess", - "referencedDeclaration": 7164, - "src": "10886:24:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct StdStorage storage pointer) returns (uint256)" - } - }, - "id": 7707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10886:30:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 7703, - "id": 7708, - "nodeType": "Return", - "src": "10879:37:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_uint", - "nameLocation": "10807:9:10", - "parameters": { - "id": 7700, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7699, - "mutability": "mutable", - "name": "self", - "nameLocation": "10836:4:10", - "nodeType": "VariableDeclaration", - "scope": 7710, - "src": "10817:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7698, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7697, - "name": "StdStorage", - "nameLocations": [ - "10817:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "10817:10:10" - }, - "referencedDeclaration": 6388, - "src": "10817:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "10816:25:10" - }, - "returnParameters": { - "id": 7703, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7702, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7710, - "src": "10860:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7701, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10860:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10859:9:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7724, - "nodeType": "FunctionDefinition", - "src": "10929:122:10", - "nodes": [], - "body": { - "id": 7723, - "nodeType": "Block", - "src": "10998:53:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7720, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7713, - "src": "11039:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "expression": { - "id": 7718, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "11015:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7719, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11030:8:10", - "memberName": "read_int", - "nodeType": "MemberAccess", - "referencedDeclaration": 7183, - "src": "11015:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_int256_$", - "typeString": "function (struct StdStorage storage pointer) returns (int256)" - } - }, - "id": 7721, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11015:29:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "functionReturnParameters": 7717, - "id": 7722, - "nodeType": "Return", - "src": "11008:36:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_int", - "nameLocation": "10938:8:10", - "parameters": { - "id": 7714, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7713, - "mutability": "mutable", - "name": "self", - "nameLocation": "10966:4:10", - "nodeType": "VariableDeclaration", - "scope": 7724, - "src": "10947:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7712, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7711, - "name": "StdStorage", - "nameLocations": [ - "10947:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "10947:10:10" - }, - "referencedDeclaration": 6388, - "src": "10947:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "10946:25:10" - }, - "returnParameters": { - "id": 7717, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7716, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7724, - "src": "10990:6:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 7715, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "10990:6:10", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "10989:8:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7780, - "nodeType": "FunctionDefinition", - "src": "11108:304:10", - "nodes": [], - "body": { - "id": 7779, - "nodeType": "Block", - "src": "11195:217:10", - "nodes": [], - "statements": [ - { - "assignments": [ - 7734 - ], - "declarations": [ - { - "constant": false, - "id": 7734, - "mutability": "mutable", - "name": "out", - "nameLocation": "11213:3:10", - "nodeType": "VariableDeclaration", - "scope": 7779, - "src": "11205:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7733, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "11205:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 7735, - "nodeType": "VariableDeclarationStatement", - "src": "11205:11:10" - }, - { - "assignments": [ - 7737 - ], - "declarations": [ - { - "constant": false, - "id": 7737, - "mutability": "mutable", - "name": "max", - "nameLocation": "11235:3:10", - "nodeType": "VariableDeclaration", - "scope": 7779, - "src": "11227:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7736, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11227:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7746, - "initialValue": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 7738, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7726, - "src": "11241:1:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 7739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11243:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "11241:8:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "3332", - "id": 7740, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11252:2:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "11241:13:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "expression": { - "id": 7743, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7726, - "src": "11262:1:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 7744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11264:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "11262:8:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "11241:29:10", - "trueExpression": { - "hexValue": "3332", - "id": 7742, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11257:2:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11227:43:10" - }, - { - "body": { - "id": 7775, - "nodeType": "Block", - "src": "11314:72:10", - "statements": [ - { - "expression": { - "id": 7773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 7757, - "name": "out", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7734, - "src": "11328:3:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "|=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7772, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 7766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "id": 7760, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7726, - "src": "11343:1:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 7764, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7761, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7728, - "src": "11345:6:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 7762, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7748, - "src": "11354:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11345:10:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11343:13:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "hexValue": "30784646", - "id": 7765, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11359:4:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - }, - "value": "0xFF" - }, - "src": "11343:20:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "id": 7759, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11335:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 7758, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "11335:7:10", - "typeDescriptions": {} - } - }, - "id": 7767, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11335:29:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7768, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7748, - "src": "11369:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "38", - "id": 7769, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11373:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "11369:5:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 7771, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "11368:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11335:40:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "11328:47:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7774, - "nodeType": "ExpressionStatement", - "src": "11328:47:10" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7751, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7748, - "src": "11300:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 7752, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7737, - "src": "11304:3:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11300:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7776, - "initializationExpression": { - "assignments": [ - 7748 - ], - "declarations": [ - { - "constant": false, - "id": 7748, - "mutability": "mutable", - "name": "i", - "nameLocation": "11293:1:10", - "nodeType": "VariableDeclaration", - "scope": 7776, - "src": "11285:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7747, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11285:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7750, - "initialValue": { - "hexValue": "30", - "id": 7749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11297:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "11285:13:10" - }, - "loopExpression": { - "expression": { - "id": 7755, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "11309:3:10", - "subExpression": { - "id": 7754, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7748, - "src": "11309:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7756, - "nodeType": "ExpressionStatement", - "src": "11309:3:10" - }, - "nodeType": "ForStatement", - "src": "11280:106:10" - }, - { - "expression": { - "id": 7777, - "name": "out", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7734, - "src": "11402:3:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 7732, - "id": 7778, - "nodeType": "Return", - "src": "11395:10:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "bytesToBytes32", - "nameLocation": "11117:14:10", - "parameters": { - "id": 7729, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7726, - "mutability": "mutable", - "name": "b", - "nameLocation": "11145:1:10", - "nodeType": "VariableDeclaration", - "scope": 7780, - "src": "11132:14:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7725, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11132:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7728, - "mutability": "mutable", - "name": "offset", - "nameLocation": "11156:6:10", - "nodeType": "VariableDeclaration", - "scope": 7780, - "src": "11148:14:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7727, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11148:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11131:32:10" - }, - "returnParameters": { - "id": 7732, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7731, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7780, - "src": "11186:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7730, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "11186:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "11185:9:10" - }, - "scope": 7822, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - }, - { - "id": 7821, - "nodeType": "FunctionDefinition", - "src": "11469:393:10", - "nodes": [], - "body": { - "id": 7820, - "nodeType": "Block", - "src": "11542:320:10", - "nodes": [], - "statements": [ - { - "assignments": [ - 7789 - ], - "declarations": [ - { - "constant": false, - "id": 7789, - "mutability": "mutable", - "name": "result", - "nameLocation": "11565:6:10", - "nodeType": "VariableDeclaration", - "scope": 7820, - "src": "11552:19:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7788, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11552:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 7797, - "initialValue": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 7792, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7783, - "src": "11584:1:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 7793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11586:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "11584:8:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "3332", - "id": 7794, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11595:2:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "11584:13:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7791, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "11574:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 7790, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11578:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 7796, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11574:24:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11552:46:10" - }, - { - "body": { - "id": 7816, - "nodeType": "Block", - "src": "11647:185:10", - "statements": [ - { - "assignments": [ - 7810 - ], - "declarations": [ - { - "constant": false, - "id": 7810, - "mutability": "mutable", - "name": "k", - "nameLocation": "11669:1:10", - "nodeType": "VariableDeclaration", - "scope": 7816, - "src": "11661:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7809, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "11661:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 7814, - "initialValue": { - "baseExpression": { - "id": 7811, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7783, - "src": "11673:1:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 7813, - "indexExpression": { - "id": 7812, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7799, - "src": "11675:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11673:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11661:16:10" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "11747:75:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "result", - "nodeType": "YulIdentifier", - "src": "11776:6:10" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "11788:2:10", - "type": "", - "value": "32" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "11796:2:10", - "type": "", - "value": "32" - }, - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "11800:1:10" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "11792:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "11792:10:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "11784:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "11784:19:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "11772:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "11772:32:10" - }, - { - "name": "k", - "nodeType": "YulIdentifier", - "src": "11806:1:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "11765:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "11765:43:10" - }, - "nodeType": "YulExpressionStatement", - "src": "11765:43:10" - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 7799, - "isOffset": false, - "isSlot": false, - "src": "11800:1:10", - "valueSize": 1 - }, - { - "declaration": 7810, - "isOffset": false, - "isSlot": false, - "src": "11806:1:10", - "valueSize": 1 - }, - { - "declaration": 7789, - "isOffset": false, - "isSlot": false, - "src": "11776:6:10", - "valueSize": 1 - } - ], - "id": 7815, - "nodeType": "InlineAssembly", - "src": "11738:84:10" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7802, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7799, - "src": "11628:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 7803, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7783, - "src": "11632:1:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 7804, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11634:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "11632:8:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11628:12:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7817, - "initializationExpression": { - "assignments": [ - 7799 - ], - "declarations": [ - { - "constant": false, - "id": 7799, - "mutability": "mutable", - "name": "i", - "nameLocation": "11621:1:10", - "nodeType": "VariableDeclaration", - "scope": 7817, - "src": "11613:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7798, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11613:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7801, - "initialValue": { - "hexValue": "30", - "id": 7800, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11625:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "11613:13:10" - }, - "loopExpression": { - "expression": { - "id": 7807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "11642:3:10", - "subExpression": { - "id": 7806, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7799, - "src": "11642:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7808, - "nodeType": "ExpressionStatement", - "src": "11642:3:10" - }, - "nodeType": "ForStatement", - "src": "11608:224:10" - }, - { - "expression": { - "id": 7818, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7789, - "src": "11849:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 7787, - "id": 7819, - "nodeType": "Return", - "src": "11842:13:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "flatten", - "nameLocation": "11478:7:10", - "parameters": { - "id": 7784, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7783, - "mutability": "mutable", - "name": "b", - "nameLocation": "11503:1:10", - "nodeType": "VariableDeclaration", - "scope": 7821, - "src": "11486:18:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 7781, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "11486:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7782, - "nodeType": "ArrayTypeName", - "src": "11486:9:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "11485:20:10" - }, - "returnParameters": { - "id": 7787, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7786, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7821, - "src": "11528:12:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7785, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11528:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "11527:14:10" - }, - "scope": 7822, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "stdStorage", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 7822 - ], - "name": "stdStorage", - "nameLocation": "7345:10:10", - "scope": 7823, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 10 -} \ No newline at end of file diff --git a/out/StdStorage.sol/stdStorageSafe.json b/out/StdStorage.sol/stdStorageSafe.json deleted file mode 100644 index adf8395..0000000 --- a/out/StdStorage.sol/stdStorageSafe.json +++ /dev/null @@ -1,19336 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "who", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes4", - "name": "fsig", - "type": "bytes4" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "keysHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "slot", - "type": "uint256" - } - ], - "name": "SlotFound", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "who", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "slot", - "type": "uint256" - } - ], - "name": "WARNING_UninitedSlot", - "type": "event" - } - ], - "bytecode": { - "object": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea26469706673582212209640656d885d6dbc4825aa064108a665df056715bda25211a99fb7d6fc936fed64736f6c63430008110033", - "sourceMap": "358:6977:10:-:0;;;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x600080fdfea26469706673582212209640656d885d6dbc4825aa064108a665df056715bda25211a99fb7d6fc936fed64736f6c63430008110033", - "sourceMap": "358:6977:10:-:0;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"who\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes4\",\"name\":\"fsig\",\"type\":\"bytes4\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"keysHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"slot\",\"type\":\"uint256\"}],\"name\":\"SlotFound\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"who\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"slot\",\"type\":\"uint256\"}],\"name\":\"WARNING_UninitedSlot\",\"type\":\"event\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/StdStorage.sol\":\"stdStorageSafe\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"lib/forge-std/src/StdStorage.sol\":{\"keccak256\":\"0xb0da85ce6999940eba6190a26c15b9bc7aede57123891287e1b30f80333a9cf5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d287fd41de40ef992588f7a9531e66d1e9f8e4f3f194b9e721ac576d4613964a\",\"dweb:/ipfs/QmbFYYjoc8WGLKVfDe4rscYPwdGq48incbwRQNoLtcMMjn\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69\",\"dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "who", - "type": "address", - "indexed": false - }, - { - "internalType": "bytes4", - "name": "fsig", - "type": "bytes4", - "indexed": false - }, - { - "internalType": "bytes32", - "name": "keysHash", - "type": "bytes32", - "indexed": false - }, - { - "internalType": "uint256", - "name": "slot", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "SlotFound", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "who", - "type": "address", - "indexed": false - }, - { - "internalType": "uint256", - "name": "slot", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "WARNING_UninitedSlot", - "anonymous": false - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/StdStorage.sol": "stdStorageSafe" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "lib/forge-std/src/StdStorage.sol": { - "keccak256": "0xb0da85ce6999940eba6190a26c15b9bc7aede57123891287e1b30f80333a9cf5", - "urls": [ - "bzz-raw://d287fd41de40ef992588f7a9531e66d1e9f8e4f3f194b9e721ac576d4613964a", - "dweb:/ipfs/QmbFYYjoc8WGLKVfDe4rscYPwdGq48incbwRQNoLtcMMjn" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7", - "urls": [ - "bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69", - "dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/StdStorage.sol", - "id": 7823, - "exportedSymbols": { - "StdStorage": [ - 6388 - ], - "Vm": [ - 9256 - ], - "VmSafe": [ - 8931 - ], - "stdStorage": [ - 7822 - ], - "stdStorageSafe": [ - 7281 - ] - }, - "nodeType": "SourceUnit", - "src": "32:11833:10", - "nodes": [ - { - "id": 6359, - "nodeType": "PragmaDirective", - "src": "32:31:10", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.6", - ".2", - "<", - "0.9", - ".0" - ] - }, - { - "id": 6360, - "nodeType": "ImportDirective", - "src": "65:18:10", - "nodes": [], - "absolutePath": "lib/forge-std/src/Vm.sol", - "file": "./Vm.sol", - "nameLocation": "-1:-1:-1", - "scope": 7823, - "sourceUnit": 9257, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 6388, - "nodeType": "StructDefinition", - "src": "85:271:10", - "nodes": [], - "canonicalName": "StdStorage", - "members": [ - { - "constant": false, - "id": 6368, - "mutability": "mutable", - "name": "slots", - "nameLocation": "176:5:10", - "nodeType": "VariableDeclaration", - "scope": 6388, - "src": "109:72:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => uint256)))" - }, - "typeName": { - "id": 6367, - "keyType": { - "id": 6361, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "117:7:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "109:66:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => uint256)))" - }, - "valueType": { - "id": 6366, - "keyType": { - "id": 6362, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "136:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "128:46:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - }, - "valueType": { - "id": 6365, - "keyType": { - "id": 6363, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "154:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "146:27:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "valueType": { - "id": 6364, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "165:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - } - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6376, - "mutability": "mutable", - "name": "finds", - "nameLocation": "251:5:10", - "nodeType": "VariableDeclaration", - "scope": 6388, - "src": "187:69:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => bool)))" - }, - "typeName": { - "id": 6375, - "keyType": { - "id": 6369, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "195:7:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "187:63:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => bool)))" - }, - "valueType": { - "id": 6374, - "keyType": { - "id": 6370, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "214:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "206:43:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - }, - "valueType": { - "id": 6373, - "keyType": { - "id": 6371, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "232:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "224:24:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - }, - "valueType": { - "id": 6372, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "243:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - } - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6379, - "mutability": "mutable", - "name": "_keys", - "nameLocation": "272:5:10", - "nodeType": "VariableDeclaration", - "scope": 6388, - "src": "262:15:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 6377, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "262:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6378, - "nodeType": "ArrayTypeName", - "src": "262:9:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6381, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "290:4:10", - "nodeType": "VariableDeclaration", - "scope": 6388, - "src": "283:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6380, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "283:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6383, - "mutability": "mutable", - "name": "_depth", - "nameLocation": "308:6:10", - "nodeType": "VariableDeclaration", - "scope": 6388, - "src": "300:14:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6382, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "300:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6385, - "mutability": "mutable", - "name": "_target", - "nameLocation": "328:7:10", - "nodeType": "VariableDeclaration", - "scope": 6388, - "src": "320:15:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6384, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "320:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6387, - "mutability": "mutable", - "name": "_set", - "nameLocation": "349:4:10", - "nodeType": "VariableDeclaration", - "scope": 6388, - "src": "341:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6386, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "341:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "name": "StdStorage", - "nameLocation": "92:10:10", - "scope": 7823, - "visibility": "public" - }, - { - "id": 7281, - "nodeType": "ContractDefinition", - "src": "358:6977:10", - "nodes": [ - { - "id": 6398, - "nodeType": "EventDefinition", - "src": "387:74:10", - "nodes": [], - "anonymous": false, - "eventSelector": "9c9555b1e3102e3cf48f427d79cb678f5d9bd1ed0ad574389461e255f95170ed", - "name": "SlotFound", - "nameLocation": "393:9:10", - "parameters": { - "id": 6397, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6390, - "indexed": false, - "mutability": "mutable", - "name": "who", - "nameLocation": "411:3:10", - "nodeType": "VariableDeclaration", - "scope": 6398, - "src": "403:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6389, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "403:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6392, - "indexed": false, - "mutability": "mutable", - "name": "fsig", - "nameLocation": "423:4:10", - "nodeType": "VariableDeclaration", - "scope": 6398, - "src": "416:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6391, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "416:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6394, - "indexed": false, - "mutability": "mutable", - "name": "keysHash", - "nameLocation": "437:8:10", - "nodeType": "VariableDeclaration", - "scope": 6398, - "src": "429:16:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6393, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "429:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6396, - "indexed": false, - "mutability": "mutable", - "name": "slot", - "nameLocation": "455:4:10", - "nodeType": "VariableDeclaration", - "scope": 6398, - "src": "447:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6395, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "447:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "402:58:10" - } - }, - { - "id": 6404, - "nodeType": "EventDefinition", - "src": "466:54:10", - "nodes": [], - "anonymous": false, - "eventSelector": "080fc4a96620c4462e705b23f346413fe3796bb63c6f8d8591baec0e231577a5", - "name": "WARNING_UninitedSlot", - "nameLocation": "472:20:10", - "parameters": { - "id": 6403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6400, - "indexed": false, - "mutability": "mutable", - "name": "who", - "nameLocation": "501:3:10", - "nodeType": "VariableDeclaration", - "scope": 6404, - "src": "493:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6399, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "493:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6402, - "indexed": false, - "mutability": "mutable", - "name": "slot", - "nameLocation": "514:4:10", - "nodeType": "VariableDeclaration", - "scope": 6404, - "src": "506:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6401, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "506:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "492:27:10" - } - }, - { - "id": 6421, - "nodeType": "VariableDeclaration", - "src": "526:84:10", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "vm", - "nameLocation": "546:2:10", - "scope": 7281, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - }, - "typeName": { - "id": 6406, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6405, - "name": "Vm", - "nameLocations": [ - "526:2:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 9256, - "src": "526:2:10" - }, - "referencedDeclaration": 9256, - "src": "526:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6865766d20636865617420636f6465", - "id": 6415, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "588:17:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - }, - "value": "hevm cheat code" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - } - ], - "id": 6414, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "578:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6416, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "578:28:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6413, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "570:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6412, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "570:7:10", - "typeDescriptions": {} - } - }, - "id": 6417, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "570:37:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6411, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "562:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 6410, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "562:7:10", - "typeDescriptions": {} - } - }, - "id": 6418, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "562:46:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 6409, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "554:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6408, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "554:7:10", - "typeDescriptions": {} - } - }, - "id": 6419, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "554:55:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6407, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9256, - "src": "551:2:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Vm_$9256_$", - "typeString": "type(contract Vm)" - } - }, - "id": 6420, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "551:59:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "visibility": "private" - }, - { - "id": 6439, - "nodeType": "FunctionDefinition", - "src": "617:123:10", - "nodes": [], - "body": { - "id": 6438, - "nodeType": "Block", - "src": "684:56:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 6433, - "name": "sigStr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6423, - "src": "724:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 6432, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "718:5:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 6431, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "718:5:10", - "typeDescriptions": {} - } - }, - "id": 6434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "718:13:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6430, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "708:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "708:24:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6429, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "701:6:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": { - "id": 6428, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "701:6:10", - "typeDescriptions": {} - } - }, - "id": 6436, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "701:32:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "functionReturnParameters": 6427, - "id": 6437, - "nodeType": "Return", - "src": "694:39:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sigs", - "nameLocation": "626:4:10", - "parameters": { - "id": 6424, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6423, - "mutability": "mutable", - "name": "sigStr", - "nameLocation": "645:6:10", - "nodeType": "VariableDeclaration", - "scope": 6439, - "src": "631:20:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6422, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "631:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "630:22:10" - }, - "returnParameters": { - "id": 6427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6426, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6439, - "src": "676:6:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6425, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "676:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "675:8:10" - }, - "scope": 7281, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6884, - "nodeType": "FunctionDefinition", - "src": "1254:3205:10", - "nodes": [], - "body": { - "id": 6883, - "nodeType": "Block", - "src": "1320:3139:10", - "nodes": [], - "statements": [ - { - "assignments": [ - 6449 - ], - "declarations": [ - { - "constant": false, - "id": 6449, - "mutability": "mutable", - "name": "who", - "nameLocation": "1338:3:10", - "nodeType": "VariableDeclaration", - "scope": 6883, - "src": "1330:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1330:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 6452, - "initialValue": { - "expression": { - "id": 6450, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "1344:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6451, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1349:7:10", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6385, - "src": "1344:12:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1330:26:10" - }, - { - "assignments": [ - 6454 - ], - "declarations": [ - { - "constant": false, - "id": 6454, - "mutability": "mutable", - "name": "fsig", - "nameLocation": "1373:4:10", - "nodeType": "VariableDeclaration", - "scope": 6883, - "src": "1366:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6453, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1366:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "id": 6457, - "initialValue": { - "expression": { - "id": 6455, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "1380:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6456, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1385:4:10", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6381, - "src": "1380:9:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1366:23:10" - }, - { - "assignments": [ - 6459 - ], - "declarations": [ - { - "constant": false, - "id": 6459, - "mutability": "mutable", - "name": "field_depth", - "nameLocation": "1407:11:10", - "nodeType": "VariableDeclaration", - "scope": 6883, - "src": "1399:19:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6458, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1399:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6462, - "initialValue": { - "expression": { - "id": 6460, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "1421:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6461, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1426:6:10", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 6383, - "src": "1421:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1399:33:10" - }, - { - "assignments": [ - 6467 - ], - "declarations": [ - { - "constant": false, - "id": 6467, - "mutability": "mutable", - "name": "ins", - "nameLocation": "1459:3:10", - "nodeType": "VariableDeclaration", - "scope": 6883, - "src": "1442:20:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 6465, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1442:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6466, - "nodeType": "ArrayTypeName", - "src": "1442:9:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "id": 6470, - "initialValue": { - "expression": { - "id": 6468, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "1465:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6469, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1470:5:10", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 6379, - "src": "1465:10:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1442:33:10" - }, - { - "condition": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6471, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "1526:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6472, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1531:5:10", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 6376, - "src": "1526:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => bool)))" - } - }, - "id": 6474, - "indexExpression": { - "id": 6473, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "1537:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1526:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 6476, - "indexExpression": { - "id": 6475, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "1542:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1526:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 6484, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6480, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "1575:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6481, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "1580:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6478, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1558:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6479, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1562:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "1558:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6482, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1558:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6477, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1548:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6483, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1548:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1526:68:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6501, - "nodeType": "IfStatement", - "src": "1522:174:10", - "trueBody": { - "id": 6500, - "nodeType": "Block", - "src": "1596:100:10", - "statements": [ - { - "expression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6485, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "1617:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6486, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1622:5:10", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 6368, - "src": "1617:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => uint256)))" - } - }, - "id": 6488, - "indexExpression": { - "id": 6487, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "1628:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1617:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 6490, - "indexExpression": { - "id": 6489, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "1633:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1617:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6498, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6494, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "1666:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6495, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "1671:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6492, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1649:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6493, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1653:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "1649:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6496, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1649:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6491, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1639:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6497, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1639:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1617:68:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6447, - "id": 6499, - "nodeType": "Return", - "src": "1610:75:10" - } - ] - } - }, - { - "assignments": [ - 6503 - ], - "declarations": [ - { - "constant": false, - "id": 6503, - "mutability": "mutable", - "name": "cald", - "nameLocation": "1718:4:10", - "nodeType": "VariableDeclaration", - "scope": 6883, - "src": "1705:17:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6502, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1705:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 6511, - "initialValue": { - "arguments": [ - { - "id": 6506, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "1742:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 6508, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "1756:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - ], - "id": 6507, - "name": "flatten", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7280, - "src": "1748:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32[] memory) pure returns (bytes memory)" - } - }, - "id": 6509, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1748:12:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 6504, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1725:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6505, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1729:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "1725:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1725:36:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1705:56:10" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 6512, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6421, - "src": "1771:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 6514, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1774:6:10", - "memberName": "record", - "nodeType": "MemberAccess", - "referencedDeclaration": 8471, - "src": "1771:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", - "typeString": "function () external" - } - }, - "id": 6515, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1771:11:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6516, - "nodeType": "ExpressionStatement", - "src": "1771:11:10" - }, - { - "assignments": [ - 6518 - ], - "declarations": [ - { - "constant": false, - "id": 6518, - "mutability": "mutable", - "name": "fdat", - "nameLocation": "1800:4:10", - "nodeType": "VariableDeclaration", - "scope": 6883, - "src": "1792:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6517, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1792:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6519, - "nodeType": "VariableDeclarationStatement", - "src": "1792:12:10" - }, - { - "id": 6536, - "nodeType": "Block", - "src": "1814:128:10", - "statements": [ - { - "assignments": [ - null, - 6521 - ], - "declarations": [ - null, - { - "constant": false, - "id": 6521, - "mutability": "mutable", - "name": "rdat", - "nameLocation": "1844:4:10", - "nodeType": "VariableDeclaration", - "scope": 6536, - "src": "1831:17:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6520, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1831:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 6526, - "initialValue": { - "arguments": [ - { - "id": 6524, - "name": "cald", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6503, - "src": "1867:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 6522, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "1852:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6523, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1856:10:10", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "1852:14:10", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 6525, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1852:20:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1828:44:10" - }, - { - "expression": { - "id": 6534, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 6527, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6518, - "src": "1886:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 6529, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6521, - "src": "1908:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 6530, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1914:2:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 6531, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "1919:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1914:16:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6528, - "name": "bytesToBytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7239, - "src": "1893:14:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes memory,uint256) pure returns (bytes32)" - } - }, - "id": 6533, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1893:38:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "1886:45:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6535, - "nodeType": "ExpressionStatement", - "src": "1886:45:10" - } - ] - }, - { - "assignments": [ - 6541, - null - ], - "declarations": [ - { - "constant": false, - "id": 6541, - "mutability": "mutable", - "name": "reads", - "nameLocation": "1970:5:10", - "nodeType": "VariableDeclaration", - "scope": 6883, - "src": "1953:22:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 6539, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1953:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6540, - "nodeType": "ArrayTypeName", - "src": "1953:9:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - null - ], - "id": 6549, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 6546, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "2000:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6545, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1992:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6544, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1992:7:10", - "typeDescriptions": {} - } - }, - "id": 6547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1992:12:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 6542, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6421, - "src": "1980:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 6543, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1983:8:10", - "memberName": "accesses", - "nodeType": "MemberAccess", - "referencedDeclaration": 8482, - "src": "1980:11:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_array$_t_bytes32_$dyn_memory_ptr_$", - "typeString": "function (address) external returns (bytes32[] memory,bytes32[] memory)" - } - }, - "id": 6548, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1980:25:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_array$_t_bytes32_$dyn_memory_ptr_$", - "typeString": "tuple(bytes32[] memory,bytes32[] memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1952:53:10" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 6550, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "2019:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2025:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "2019:12:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "31", - "id": 6552, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2035:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2019:17:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6655, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 6652, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "2776:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6653, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2782:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "2776:12:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "31", - "id": 6654, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2791:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2776:16:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 6831, - "nodeType": "Block", - "src": "3976:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "66616c7365", - "id": 6827, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3998:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a204e6f2073746f726167652075736520646574656374656420666f72207461726765742e", - "id": 6828, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4005:66:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_328ff448bebe6b9a52a670e66989b0a23c94fd0cbd86c30e5432c6ddc5340283", - "typeString": "literal_string \"stdStorage find(StdStorage): No storage use detected for target.\"" - }, - "value": "stdStorage find(StdStorage): No storage use detected for target." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_328ff448bebe6b9a52a670e66989b0a23c94fd0cbd86c30e5432c6ddc5340283", - "typeString": "literal_string \"stdStorage find(StdStorage): No storage use detected for target.\"" - } - ], - "id": 6826, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3990:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6829, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3990:82:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6830, - "nodeType": "ExpressionStatement", - "src": "3990:82:10" - } - ] - }, - "id": 6832, - "nodeType": "IfStatement", - "src": "2772:1311:10", - "trueBody": { - "id": 6825, - "nodeType": "Block", - "src": "2794:1176:10", - "statements": [ - { - "body": { - "id": 6823, - "nodeType": "Block", - "src": "2851:1109:10", - "statements": [ - { - "assignments": [ - 6668 - ], - "declarations": [ - { - "constant": false, - "id": 6668, - "mutability": "mutable", - "name": "prev", - "nameLocation": "2877:4:10", - "nodeType": "VariableDeclaration", - "scope": 6823, - "src": "2869:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6667, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2869:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6676, - "initialValue": { - "arguments": [ - { - "id": 6671, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "2892:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 6672, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "2897:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6674, - "indexExpression": { - "id": 6673, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6657, - "src": "2903:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2897:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6669, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6421, - "src": "2884:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 6670, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2887:4:10", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 8307, - "src": "2884:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) view external returns (bytes32)" - } - }, - "id": 6675, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2884:22:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2869:37:10" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 6682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6677, - "name": "prev", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6668, - "src": "2928:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 6680, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2944:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 6679, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2936:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6678, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2936:7:10", - "typeDescriptions": {} - } - }, - "id": 6681, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2936:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2928:18:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6694, - "nodeType": "IfStatement", - "src": "2924:114:10", - "trueBody": { - "id": 6693, - "nodeType": "Block", - "src": "2948:90:10", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "id": 6684, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "2996:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 6687, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "3009:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6689, - "indexExpression": { - "id": 6688, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6657, - "src": "3015:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3009:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6686, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3001:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6685, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3001:7:10", - "typeDescriptions": {} - } - }, - "id": 6690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3001:17:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6683, - "name": "WARNING_UninitedSlot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6404, - "src": "2975:20:10", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 6691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2975:44:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6692, - "nodeType": "EmitStatement", - "src": "2970:49:10" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 6698, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "3089:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 6699, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "3094:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6701, - "indexExpression": { - "id": 6700, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6657, - "src": "3100:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3094:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "hexValue": "1337", - "id": 6704, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "hexString", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3112:9:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - }, - "value": "\u00137" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - } - ], - "id": 6703, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3104:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6702, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3104:7:10", - "typeDescriptions": {} - } - }, - "id": 6705, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3104:18:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6695, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6421, - "src": "3080:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 6697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3083:5:10", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 8967, - "src": "3080:8:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 6706, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3080:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6707, - "nodeType": "ExpressionStatement", - "src": "3080:43:10" - }, - { - "assignments": [ - 6709 - ], - "declarations": [ - { - "constant": false, - "id": 6709, - "mutability": "mutable", - "name": "success", - "nameLocation": "3146:7:10", - "nodeType": "VariableDeclaration", - "scope": 6823, - "src": "3141:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6708, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3141:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "id": 6710, - "nodeType": "VariableDeclarationStatement", - "src": "3141:12:10" - }, - { - "assignments": [ - 6712 - ], - "declarations": [ - { - "constant": false, - "id": 6712, - "mutability": "mutable", - "name": "rdat", - "nameLocation": "3184:4:10", - "nodeType": "VariableDeclaration", - "scope": 6823, - "src": "3171:17:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6711, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3171:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 6713, - "nodeType": "VariableDeclarationStatement", - "src": "3171:17:10" - }, - { - "id": 6732, - "nodeType": "Block", - "src": "3206:146:10", - "statements": [ - { - "expression": { - "id": 6721, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "components": [ - { - "id": 6714, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6709, - "src": "3229:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6715, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6712, - "src": "3238:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 6716, - "isConstant": false, - "isInlineArray": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "TupleExpression", - "src": "3228:15:10", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 6719, - "name": "cald", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6503, - "src": "3261:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 6717, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "3246:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6718, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3250:10:10", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "3246:14:10", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 6720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3246:20:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "src": "3228:38:10", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6722, - "nodeType": "ExpressionStatement", - "src": "3228:38:10" - }, - { - "expression": { - "id": 6730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 6723, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6518, - "src": "3288:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 6725, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6712, - "src": "3310:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 6726, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3316:2:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 6727, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "3321:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3316:16:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6724, - "name": "bytesToBytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7239, - "src": "3295:14:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes memory,uint256) pure returns (bytes32)" - } - }, - "id": 6729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3295:38:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "3288:45:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6731, - "nodeType": "ExpressionStatement", - "src": "3288:45:10" - } - ] - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 6740, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6733, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6709, - "src": "3374:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 6739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6734, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6518, - "src": "3385:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "1337", - "id": 6737, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "hexString", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3401:9:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - }, - "value": "\u00137" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - } - ], - "id": 6736, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3393:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6735, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3393:7:10", - "typeDescriptions": {} - } - }, - "id": 6738, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3393:18:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "3385:26:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3374:37:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6812, - "nodeType": "IfStatement", - "src": "3370:529:10", - "trueBody": { - "id": 6811, - "nodeType": "Block", - "src": "3413:486:10", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "id": 6742, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "3519:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6743, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "3524:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 6747, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "3557:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6748, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "3562:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6745, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3540:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6746, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3544:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "3540:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3540:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6744, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "3530:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3530:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 6753, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "3585:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6755, - "indexExpression": { - "id": 6754, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6657, - "src": "3591:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3585:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6752, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3577:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6751, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3577:7:10", - "typeDescriptions": {} - } - }, - "id": 6756, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3577:17:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6741, - "name": "SlotFound", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6398, - "src": "3509:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes4_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (address,bytes4,bytes32,uint256)" - } - }, - "id": 6757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3509:86:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6758, - "nodeType": "EmitStatement", - "src": "3504:91:10" - }, - { - "expression": { - "id": 6780, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6759, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "3617:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6770, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3622:5:10", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 6368, - "src": "3617:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => uint256)))" - } - }, - "id": 6771, - "indexExpression": { - "id": 6761, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "3628:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3617:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 6772, - "indexExpression": { - "id": 6762, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "3633:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3617:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6773, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6766, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "3666:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6767, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "3671:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6764, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3649:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6765, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3653:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "3649:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6768, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3649:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6763, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "3639:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3639:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3617:68:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 6776, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "3696:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6778, - "indexExpression": { - "id": 6777, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6657, - "src": "3702:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3696:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6775, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3688:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6774, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3688:7:10", - "typeDescriptions": {} - } - }, - "id": 6779, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3688:17:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3617:88:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6781, - "nodeType": "ExpressionStatement", - "src": "3617:88:10" - }, - { - "expression": { - "id": 6798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6782, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "3727:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6793, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3732:5:10", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 6376, - "src": "3727:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => bool)))" - } - }, - "id": 6794, - "indexExpression": { - "id": 6784, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "3738:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3727:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 6795, - "indexExpression": { - "id": 6785, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "3743:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3727:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 6796, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6789, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "3776:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6790, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "3781:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6787, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3759:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6788, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3763:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "3759:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6791, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3759:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6786, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "3749:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6792, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3749:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3727:68:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "74727565", - "id": 6797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3798:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "3727:75:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6799, - "nodeType": "ExpressionStatement", - "src": "3727:75:10" - }, - { - "expression": { - "arguments": [ - { - "id": 6803, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "3833:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 6804, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "3838:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6806, - "indexExpression": { - "id": 6805, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6657, - "src": "3844:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3838:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 6807, - "name": "prev", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6668, - "src": "3848:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6800, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6421, - "src": "3824:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 6802, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3827:5:10", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 8967, - "src": "3824:8:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 6808, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3824:29:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6809, - "nodeType": "ExpressionStatement", - "src": "3824:29:10" - }, - { - "id": 6810, - "nodeType": "Break", - "src": "3875:5:10" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 6816, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "3925:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 6817, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "3930:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6819, - "indexExpression": { - "id": 6818, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6657, - "src": "3936:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3930:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 6820, - "name": "prev", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6668, - "src": "3940:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6813, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6421, - "src": "3916:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 6815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3919:5:10", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 8967, - "src": "3916:8:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 6821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3916:29:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6822, - "nodeType": "ExpressionStatement", - "src": "3916:29:10" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6663, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6660, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6657, - "src": "2828:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 6661, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "2832:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2838:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "2832:12:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2828:16:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6824, - "initializationExpression": { - "assignments": [ - 6657 - ], - "declarations": [ - { - "constant": false, - "id": 6657, - "mutability": "mutable", - "name": "i", - "nameLocation": "2821:1:10", - "nodeType": "VariableDeclaration", - "scope": 6824, - "src": "2813:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6656, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2813:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6659, - "initialValue": { - "hexValue": "30", - "id": 6658, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2825:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2813:13:10" - }, - "loopExpression": { - "expression": { - "id": 6665, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "2846:3:10", - "subExpression": { - "id": 6664, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6657, - "src": "2846:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6666, - "nodeType": "ExpressionStatement", - "src": "2846:3:10" - }, - "nodeType": "ForStatement", - "src": "2808:1152:10" - } - ] - } - }, - "id": 6833, - "nodeType": "IfStatement", - "src": "2015:2068:10", - "trueBody": { - "id": 6651, - "nodeType": "Block", - "src": "2038:728:10", - "statements": [ - { - "assignments": [ - 6555 - ], - "declarations": [ - { - "constant": false, - "id": 6555, - "mutability": "mutable", - "name": "curr", - "nameLocation": "2060:4:10", - "nodeType": "VariableDeclaration", - "scope": 6651, - "src": "2052:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6554, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2052:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6563, - "initialValue": { - "arguments": [ - { - "id": 6558, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "2075:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 6559, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "2080:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6561, - "indexExpression": { - "hexValue": "30", - "id": 6560, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2086:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2080:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6556, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6421, - "src": "2067:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 6557, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2070:4:10", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 8307, - "src": "2067:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) view external returns (bytes32)" - } - }, - "id": 6562, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2067:22:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2052:37:10" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 6569, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6564, - "name": "curr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6555, - "src": "2107:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 6567, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2123:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 6566, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2115:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6565, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2115:7:10", - "typeDescriptions": {} - } - }, - "id": 6568, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2115:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2107:18:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6581, - "nodeType": "IfStatement", - "src": "2103:106:10", - "trueBody": { - "id": 6580, - "nodeType": "Block", - "src": "2127:82:10", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "id": 6571, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "2171:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 6574, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "2184:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6576, - "indexExpression": { - "hexValue": "30", - "id": 6575, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2190:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2184:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6573, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2176:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6572, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2176:7:10", - "typeDescriptions": {} - } - }, - "id": 6577, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2176:17:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6570, - "name": "WARNING_UninitedSlot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6404, - "src": "2150:20:10", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 6578, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2150:44:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6579, - "nodeType": "EmitStatement", - "src": "2145:49:10" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 6584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6582, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6518, - "src": "2226:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 6583, - "name": "curr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6555, - "src": "2234:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2226:12:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6591, - "nodeType": "IfStatement", - "src": "2222:238:10", - "trueBody": { - "id": 6590, - "nodeType": "Block", - "src": "2240:220:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "66616c7365", - "id": 6586, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2287:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a205061636b656420736c6f742e205468697320776f756c642063617573652064616e6765726f7573206f76657277726974696e6720616e642063757272656e746c792069736e277420737570706f727465642e", - "id": 6587, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2314:113:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4bfa78e02b745efea2b29d358f6dc28382f5209b1d2b2dbeb8ef0862e74440b3", - "typeString": "literal_string \"stdStorage find(StdStorage): Packed slot. This would cause dangerous overwriting and currently isn't supported.\"" - }, - "value": "stdStorage find(StdStorage): Packed slot. This would cause dangerous overwriting and currently isn't supported." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_4bfa78e02b745efea2b29d358f6dc28382f5209b1d2b2dbeb8ef0862e74440b3", - "typeString": "literal_string \"stdStorage find(StdStorage): Packed slot. This would cause dangerous overwriting and currently isn't supported.\"" - } - ], - "id": 6585, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2258:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2258:187:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6589, - "nodeType": "ExpressionStatement", - "src": "2258:187:10" - } - ] - } - }, - { - "eventCall": { - "arguments": [ - { - "id": 6593, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "2488:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6594, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "2493:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 6598, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "2526:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6599, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "2531:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6596, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2509:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6597, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2513:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "2509:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2509:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6595, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2499:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2499:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 6604, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "2554:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6606, - "indexExpression": { - "hexValue": "30", - "id": 6605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2560:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2554:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6603, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2546:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6602, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2546:7:10", - "typeDescriptions": {} - } - }, - "id": 6607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2546:17:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6592, - "name": "SlotFound", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6398, - "src": "2478:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes4_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (address,bytes4,bytes32,uint256)" - } - }, - "id": 6608, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2478:86:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6609, - "nodeType": "EmitStatement", - "src": "2473:91:10" - }, - { - "expression": { - "id": 6631, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6610, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "2578:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6621, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2583:5:10", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 6368, - "src": "2578:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => uint256)))" - } - }, - "id": 6622, - "indexExpression": { - "id": 6612, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "2589:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2578:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 6623, - "indexExpression": { - "id": 6613, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "2594:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2578:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6624, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6617, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "2627:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6618, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "2632:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6615, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2610:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6616, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2614:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "2610:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6619, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2610:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6614, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2600:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6620, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2600:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2578:68:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 6627, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "2657:5:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6629, - "indexExpression": { - "hexValue": "30", - "id": 6628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2663:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2657:8:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6626, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2649:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6625, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2649:7:10", - "typeDescriptions": {} - } - }, - "id": 6630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2649:17:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2578:88:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6632, - "nodeType": "ExpressionStatement", - "src": "2578:88:10" - }, - { - "expression": { - "id": 6649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6633, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "2680:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6644, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2685:5:10", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 6376, - "src": "2680:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => bool)))" - } - }, - "id": 6645, - "indexExpression": { - "id": 6635, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "2691:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2680:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 6646, - "indexExpression": { - "id": 6636, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "2696:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2680:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 6647, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6640, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "2729:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6641, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "2734:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6638, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2712:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6639, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2716:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "2712:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6642, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2712:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6637, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2702:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6643, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2702:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2680:68:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "74727565", - "id": 6648, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2751:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "2680:75:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6650, - "nodeType": "ExpressionStatement", - "src": "2680:75:10" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6835, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "4114:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6836, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4119:5:10", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 6376, - "src": "4114:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => bool)))" - } - }, - "id": 6838, - "indexExpression": { - "id": 6837, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "4125:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4114:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 6840, - "indexExpression": { - "id": 6839, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "4130:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4114:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 6848, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6844, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "4163:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6845, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "4168:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6842, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4146:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6843, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4150:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "4146:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6846, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4146:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6841, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "4136:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6847, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4136:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4114:68:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a20536c6f74287329206e6f7420666f756e642e", - "id": 6849, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4196:49:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_47c274d4780c7bff83310cd576005a97888a2b2935c22f84e1e5282c1bfb39a8", - "typeString": "literal_string \"stdStorage find(StdStorage): Slot(s) not found.\"" - }, - "value": "stdStorage find(StdStorage): Slot(s) not found." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_47c274d4780c7bff83310cd576005a97888a2b2935c22f84e1e5282c1bfb39a8", - "typeString": "literal_string \"stdStorage find(StdStorage): Slot(s) not found.\"" - } - ], - "id": 6834, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4093:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6850, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4093:162:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6851, - "nodeType": "ExpressionStatement", - "src": "4093:162:10" - }, - { - "expression": { - "id": 6854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "4266:19:10", - "subExpression": { - "expression": { - "id": 6852, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "4273:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6853, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "4278:7:10", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6385, - "src": "4273:12:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6855, - "nodeType": "ExpressionStatement", - "src": "4266:19:10" - }, - { - "expression": { - "id": 6858, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "4295:16:10", - "subExpression": { - "expression": { - "id": 6856, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "4302:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6857, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "4307:4:10", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6381, - "src": "4302:9:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6859, - "nodeType": "ExpressionStatement", - "src": "4295:16:10" - }, - { - "expression": { - "id": 6862, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "4321:17:10", - "subExpression": { - "expression": { - "id": 6860, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "4328:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6861, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "4333:5:10", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 6379, - "src": "4328:10:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6863, - "nodeType": "ExpressionStatement", - "src": "4321:17:10" - }, - { - "expression": { - "id": 6866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "4348:18:10", - "subExpression": { - "expression": { - "id": 6864, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "4355:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6865, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "4360:6:10", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 6383, - "src": "4355:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6867, - "nodeType": "ExpressionStatement", - "src": "4348:18:10" - }, - { - "expression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6868, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6443, - "src": "4384:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6869, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4389:5:10", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 6368, - "src": "4384:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => uint256)))" - } - }, - "id": 6871, - "indexExpression": { - "id": 6870, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "4395:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4384:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 6873, - "indexExpression": { - "id": 6872, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6454, - "src": "4400:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4384:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6881, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6877, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6467, - "src": "4433:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6878, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6459, - "src": "4438:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6875, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4416:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6876, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4420:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "4416:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6879, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4416:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6874, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "4406:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4406:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4384:68:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6447, - "id": 6882, - "nodeType": "Return", - "src": "4377:75:10" - } - ] - }, - "documentation": { - "id": 6440, - "nodeType": "StructuredDocumentation", - "src": "746:129:10", - "text": "@notice find an arbitrary storage slot given a function sig, input data, address of the contract and a value to check against" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "find", - "nameLocation": "1263:4:10", - "parameters": { - "id": 6444, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6443, - "mutability": "mutable", - "name": "self", - "nameLocation": "1287:4:10", - "nodeType": "VariableDeclaration", - "scope": 6884, - "src": "1268:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6442, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6441, - "name": "StdStorage", - "nameLocations": [ - "1268:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "1268:10:10" - }, - "referencedDeclaration": 6388, - "src": "1268:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "1267:25:10" - }, - "returnParameters": { - "id": 6447, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6446, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6884, - "src": "1311:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6445, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1311:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1310:9:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6904, - "nodeType": "FunctionDefinition", - "src": "4465:156:10", - "nodes": [], - "body": { - "id": 6903, - "nodeType": "Block", - "src": "4561:60:10", - "nodes": [], - "statements": [ - { - "expression": { - "id": 6899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6895, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6887, - "src": "4571:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6897, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "4576:7:10", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6385, - "src": "4571:12:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 6898, - "name": "_target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6889, - "src": "4586:7:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4571:22:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6900, - "nodeType": "ExpressionStatement", - "src": "4571:22:10" - }, - { - "expression": { - "id": 6901, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6887, - "src": "4610:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6894, - "id": 6902, - "nodeType": "Return", - "src": "4603:11:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "target", - "nameLocation": "4474:6:10", - "parameters": { - "id": 6890, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6887, - "mutability": "mutable", - "name": "self", - "nameLocation": "4500:4:10", - "nodeType": "VariableDeclaration", - "scope": 6904, - "src": "4481:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6886, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6885, - "name": "StdStorage", - "nameLocations": [ - "4481:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "4481:10:10" - }, - "referencedDeclaration": 6388, - "src": "4481:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6889, - "mutability": "mutable", - "name": "_target", - "nameLocation": "4514:7:10", - "nodeType": "VariableDeclaration", - "scope": 6904, - "src": "4506:15:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6888, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4506:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4480:42:10" - }, - "returnParameters": { - "id": 6894, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6893, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6904, - "src": "4541:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6892, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6891, - "name": "StdStorage", - "nameLocations": [ - "4541:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "4541:10:10" - }, - "referencedDeclaration": 6388, - "src": "4541:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "4540:20:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6924, - "nodeType": "FunctionDefinition", - "src": "4627:143:10", - "nodes": [], - "body": { - "id": 6923, - "nodeType": "Block", - "src": "4716:54:10", - "nodes": [], - "statements": [ - { - "expression": { - "id": 6919, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6915, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "4726:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6917, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "4731:4:10", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6381, - "src": "4726:9:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 6918, - "name": "_sig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6909, - "src": "4738:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "4726:16:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 6920, - "nodeType": "ExpressionStatement", - "src": "4726:16:10" - }, - { - "expression": { - "id": 6921, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "4759:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6914, - "id": 6922, - "nodeType": "Return", - "src": "4752:11:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sig", - "nameLocation": "4636:3:10", - "parameters": { - "id": 6910, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6907, - "mutability": "mutable", - "name": "self", - "nameLocation": "4659:4:10", - "nodeType": "VariableDeclaration", - "scope": 6924, - "src": "4640:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6906, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6905, - "name": "StdStorage", - "nameLocations": [ - "4640:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "4640:10:10" - }, - "referencedDeclaration": 6388, - "src": "4640:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6909, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "4672:4:10", - "nodeType": "VariableDeclaration", - "scope": 6924, - "src": "4665:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6908, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "4665:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "4639:38:10" - }, - "returnParameters": { - "id": 6914, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6913, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6924, - "src": "4696:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6912, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6911, - "name": "StdStorage", - "nameLocations": [ - "4696:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "4696:10:10" - }, - "referencedDeclaration": 6388, - "src": "4696:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "4695:20:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6946, - "nodeType": "FunctionDefinition", - "src": "4776:156:10", - "nodes": [], - "body": { - "id": 6945, - "nodeType": "Block", - "src": "4872:60:10", - "nodes": [], - "statements": [ - { - "expression": { - "id": 6941, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6935, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6927, - "src": "4882:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6937, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "4887:4:10", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6381, - "src": "4882:9:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 6939, - "name": "_sig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6929, - "src": "4899:4:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 6938, - "name": "sigs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6439, - "src": "4894:4:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (string memory) pure returns (bytes4)" - } - }, - "id": 6940, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4894:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "4882:22:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 6942, - "nodeType": "ExpressionStatement", - "src": "4882:22:10" - }, - { - "expression": { - "id": 6943, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6927, - "src": "4921:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6934, - "id": 6944, - "nodeType": "Return", - "src": "4914:11:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sig", - "nameLocation": "4785:3:10", - "parameters": { - "id": 6930, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6927, - "mutability": "mutable", - "name": "self", - "nameLocation": "4808:4:10", - "nodeType": "VariableDeclaration", - "scope": 6946, - "src": "4789:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6926, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6925, - "name": "StdStorage", - "nameLocations": [ - "4789:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "4789:10:10" - }, - "referencedDeclaration": 6388, - "src": "4789:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6929, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "4828:4:10", - "nodeType": "VariableDeclaration", - "scope": 6946, - "src": "4814:18:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6928, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4814:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4788:45:10" - }, - "returnParameters": { - "id": 6934, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6933, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6946, - "src": "4852:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6932, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6931, - "name": "StdStorage", - "nameLocations": [ - "4852:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "4852:10:10" - }, - "referencedDeclaration": 6388, - "src": "4852:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "4851:20:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6977, - "nodeType": "FunctionDefinition", - "src": "4938:179:10", - "nodes": [], - "body": { - "id": 6976, - "nodeType": "Block", - "src": "5032:85:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 6968, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6951, - "src": "5082:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6967, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5074:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 6966, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "5074:7:10", - "typeDescriptions": {} - } - }, - "id": 6969, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5074:12:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 6965, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5066:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6964, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5066:7:10", - "typeDescriptions": {} - } - }, - "id": 6970, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5066:21:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6963, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5058:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6962, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5058:7:10", - "typeDescriptions": {} - } - }, - "id": 6971, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5058:30:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "expression": { - "id": 6957, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6949, - "src": "5042:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6960, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5047:5:10", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 6379, - "src": "5042:10:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 6961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5053:4:10", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "5042:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_bytes32_$dyn_storage_ptr_$_t_bytes32_$returns$__$bound_to$_t_array$_t_bytes32_$dyn_storage_ptr_$", - "typeString": "function (bytes32[] storage pointer,bytes32)" - } - }, - "id": 6972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5042:47:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6973, - "nodeType": "ExpressionStatement", - "src": "5042:47:10" - }, - { - "expression": { - "id": 6974, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6949, - "src": "5106:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6956, - "id": 6975, - "nodeType": "Return", - "src": "5099:11:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "4947:8:10", - "parameters": { - "id": 6952, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6949, - "mutability": "mutable", - "name": "self", - "nameLocation": "4975:4:10", - "nodeType": "VariableDeclaration", - "scope": 6977, - "src": "4956:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6948, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6947, - "name": "StdStorage", - "nameLocations": [ - "4956:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "4956:10:10" - }, - "referencedDeclaration": 6388, - "src": "4956:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6951, - "mutability": "mutable", - "name": "who", - "nameLocation": "4989:3:10", - "nodeType": "VariableDeclaration", - "scope": 6977, - "src": "4981:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6950, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4981:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4955:38:10" - }, - "returnParameters": { - "id": 6956, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6955, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6977, - "src": "5012:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6954, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6953, - "name": "StdStorage", - "nameLocations": [ - "5012:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5012:10:10" - }, - "referencedDeclaration": 6388, - "src": "5012:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "5011:20:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7002, - "nodeType": "FunctionDefinition", - "src": "5123:161:10", - "nodes": [], - "body": { - "id": 7001, - "nodeType": "Block", - "src": "5217:67:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6995, - "name": "amt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6982, - "src": "5251:3:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6994, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5243:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6993, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5243:7:10", - "typeDescriptions": {} - } - }, - "id": 6996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5243:12:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "expression": { - "id": 6988, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6980, - "src": "5227:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6991, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5232:5:10", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 6379, - "src": "5227:10:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 6992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5238:4:10", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "5227:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_bytes32_$dyn_storage_ptr_$_t_bytes32_$returns$__$bound_to$_t_array$_t_bytes32_$dyn_storage_ptr_$", - "typeString": "function (bytes32[] storage pointer,bytes32)" - } - }, - "id": 6997, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5227:29:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6998, - "nodeType": "ExpressionStatement", - "src": "5227:29:10" - }, - { - "expression": { - "id": 6999, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6980, - "src": "5273:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6987, - "id": 7000, - "nodeType": "Return", - "src": "5266:11:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "5132:8:10", - "parameters": { - "id": 6983, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6980, - "mutability": "mutable", - "name": "self", - "nameLocation": "5160:4:10", - "nodeType": "VariableDeclaration", - "scope": 7002, - "src": "5141:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6979, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6978, - "name": "StdStorage", - "nameLocations": [ - "5141:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5141:10:10" - }, - "referencedDeclaration": 6388, - "src": "5141:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6982, - "mutability": "mutable", - "name": "amt", - "nameLocation": "5174:3:10", - "nodeType": "VariableDeclaration", - "scope": 7002, - "src": "5166:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6981, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5166:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5140:38:10" - }, - "returnParameters": { - "id": 6987, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6986, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7002, - "src": "5197:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6985, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6984, - "name": "StdStorage", - "nameLocations": [ - "5197:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5197:10:10" - }, - "referencedDeclaration": 6388, - "src": "5197:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "5196:20:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7024, - "nodeType": "FunctionDefinition", - "src": "5290:152:10", - "nodes": [], - "body": { - "id": 7023, - "nodeType": "Block", - "src": "5384:58:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7018, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7007, - "src": "5410:3:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "expression": { - "id": 7013, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7005, - "src": "5394:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7016, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5399:5:10", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 6379, - "src": "5394:10:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 7017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5405:4:10", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "5394:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_bytes32_$dyn_storage_ptr_$_t_bytes32_$returns$__$bound_to$_t_array$_t_bytes32_$dyn_storage_ptr_$", - "typeString": "function (bytes32[] storage pointer,bytes32)" - } - }, - "id": 7019, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5394:20:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7020, - "nodeType": "ExpressionStatement", - "src": "5394:20:10" - }, - { - "expression": { - "id": 7021, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7005, - "src": "5431:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 7012, - "id": 7022, - "nodeType": "Return", - "src": "5424:11:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "5299:8:10", - "parameters": { - "id": 7008, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7005, - "mutability": "mutable", - "name": "self", - "nameLocation": "5327:4:10", - "nodeType": "VariableDeclaration", - "scope": 7024, - "src": "5308:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7004, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7003, - "name": "StdStorage", - "nameLocations": [ - "5308:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5308:10:10" - }, - "referencedDeclaration": 6388, - "src": "5308:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7007, - "mutability": "mutable", - "name": "key", - "nameLocation": "5341:3:10", - "nodeType": "VariableDeclaration", - "scope": 7024, - "src": "5333:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7006, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5333:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "5307:38:10" - }, - "returnParameters": { - "id": 7012, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7011, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7024, - "src": "5364:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7010, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7009, - "name": "StdStorage", - "nameLocations": [ - "5364:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5364:10:10" - }, - "referencedDeclaration": 6388, - "src": "5364:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "5363:20:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7044, - "nodeType": "FunctionDefinition", - "src": "5448:152:10", - "nodes": [], - "body": { - "id": 7043, - "nodeType": "Block", - "src": "5542:58:10", - "nodes": [], - "statements": [ - { - "expression": { - "id": 7039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 7035, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7027, - "src": "5552:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7037, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "5557:6:10", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 6383, - "src": "5552:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 7038, - "name": "_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7029, - "src": "5566:6:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5552:20:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7040, - "nodeType": "ExpressionStatement", - "src": "5552:20:10" - }, - { - "expression": { - "id": 7041, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7027, - "src": "5589:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 7034, - "id": 7042, - "nodeType": "Return", - "src": "5582:11:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depth", - "nameLocation": "5457:5:10", - "parameters": { - "id": 7030, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7027, - "mutability": "mutable", - "name": "self", - "nameLocation": "5482:4:10", - "nodeType": "VariableDeclaration", - "scope": 7044, - "src": "5463:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7026, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7025, - "name": "StdStorage", - "nameLocations": [ - "5463:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5463:10:10" - }, - "referencedDeclaration": 6388, - "src": "5463:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7029, - "mutability": "mutable", - "name": "_depth", - "nameLocation": "5496:6:10", - "nodeType": "VariableDeclaration", - "scope": 7044, - "src": "5488:14:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7028, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5488:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5462:41:10" - }, - "returnParameters": { - "id": 7034, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7033, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7044, - "src": "5522:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7032, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7031, - "name": "StdStorage", - "nameLocations": [ - "5522:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5522:10:10" - }, - "referencedDeclaration": 6388, - "src": "5522:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "5521:20:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7076, - "nodeType": "FunctionDefinition", - "src": "5606:194:10", - "nodes": [], - "body": { - "id": 7075, - "nodeType": "Block", - "src": "5676:124:10", - "nodes": [], - "statements": [ - { - "assignments": [ - 7053 - ], - "declarations": [ - { - "constant": false, - "id": 7053, - "mutability": "mutable", - "name": "t", - "nameLocation": "5694:1:10", - "nodeType": "VariableDeclaration", - "scope": 7075, - "src": "5686:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7052, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5686:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 7056, - "initialValue": { - "expression": { - "id": 7054, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7047, - "src": "5698:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7055, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5703:7:10", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6385, - "src": "5698:12:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5686:24:10" - }, - { - "assignments": [ - 7058 - ], - "declarations": [ - { - "constant": false, - "id": 7058, - "mutability": "mutable", - "name": "s", - "nameLocation": "5728:1:10", - "nodeType": "VariableDeclaration", - "scope": 7075, - "src": "5720:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7057, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5720:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7062, - "initialValue": { - "arguments": [ - { - "id": 7060, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7047, - "src": "5737:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 7059, - "name": "find", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6884, - "src": "5732:4:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct StdStorage storage pointer) returns (uint256)" - } - }, - "id": 7061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5732:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5720:22:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 7067, - "name": "t", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7053, - "src": "5778:1:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "id": 7070, - "name": "s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7058, - "src": "5789:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7069, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5781:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 7068, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5781:7:10", - "typeDescriptions": {} - } - }, - "id": 7071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5781:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 7065, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6421, - "src": "5770:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 7066, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5773:4:10", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 8307, - "src": "5770:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) view external returns (bytes32)" - } - }, - "id": 7072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5770:22:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 7063, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5759:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7064, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5763:6:10", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "5759:10:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 7073, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5759:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 7051, - "id": 7074, - "nodeType": "Return", - "src": "5752:41:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read", - "nameLocation": "5615:4:10", - "parameters": { - "id": 7048, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7047, - "mutability": "mutable", - "name": "self", - "nameLocation": "5639:4:10", - "nodeType": "VariableDeclaration", - "scope": 7076, - "src": "5620:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7046, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7045, - "name": "StdStorage", - "nameLocations": [ - "5620:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5620:10:10" - }, - "referencedDeclaration": 6388, - "src": "5620:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "5619:25:10" - }, - "returnParameters": { - "id": 7051, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7050, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7076, - "src": "5662:12:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7049, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5662:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5661:14:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "id": 7095, - "nodeType": "FunctionDefinition", - "src": "5806:131:10", - "nodes": [], - "body": { - "id": 7094, - "nodeType": "Block", - "src": "5880:57:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 7087, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7079, - "src": "5913:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 7086, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7076, - "src": "5908:4:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 7088, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5908:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 7090, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5921:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 7089, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5921:7:10", - "typeDescriptions": {} - } - } - ], - "id": 7091, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "5920:9:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - } - ], - "expression": { - "id": 7084, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5897:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7085, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5901:6:10", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "5897:10:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 7092, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5897:33:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 7083, - "id": 7093, - "nodeType": "Return", - "src": "5890:40:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_bytes32", - "nameLocation": "5815:12:10", - "parameters": { - "id": 7080, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7079, - "mutability": "mutable", - "name": "self", - "nameLocation": "5847:4:10", - "nodeType": "VariableDeclaration", - "scope": 7095, - "src": "5828:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7078, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7077, - "name": "StdStorage", - "nameLocations": [ - "5828:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5828:10:10" - }, - "referencedDeclaration": 6388, - "src": "5828:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "5827:25:10" - }, - "returnParameters": { - "id": 7083, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7082, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7095, - "src": "5871:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7081, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5871:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "5870:9:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7126, - "nodeType": "FunctionDefinition", - "src": "5943:279:10", - "nodes": [], - "body": { - "id": 7125, - "nodeType": "Block", - "src": "6011:211:10", - "nodes": [], - "statements": [ - { - "assignments": [ - 7104 - ], - "declarations": [ - { - "constant": false, - "id": 7104, - "mutability": "mutable", - "name": "v", - "nameLocation": "6028:1:10", - "nodeType": "VariableDeclaration", - "scope": 7125, - "src": "6021:8:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 7103, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "6021:6:10", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "id": 7108, - "initialValue": { - "arguments": [ - { - "id": 7106, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7098, - "src": "6041:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 7105, - "name": "read_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7183, - "src": "6032:8:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_int256_$", - "typeString": "function (struct StdStorage storage pointer) returns (int256)" - } - }, - "id": 7107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6032:14:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6021:25:10" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 7111, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7109, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7104, - "src": "6060:1:10", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 7110, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6065:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "6060:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7114, - "nodeType": "IfStatement", - "src": "6056:24:10", - "trueBody": { - "expression": { - "hexValue": "66616c7365", - "id": 7112, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6075:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 7102, - "id": 7113, - "nodeType": "Return", - "src": "6068:12:10" - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 7117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7115, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7104, - "src": "6094:1:10", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "31", - "id": 7116, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6099:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "6094:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7120, - "nodeType": "IfStatement", - "src": "6090:23:10", - "trueBody": { - "expression": { - "hexValue": "74727565", - "id": 7118, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6109:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 7102, - "id": 7119, - "nodeType": "Return", - "src": "6102:11:10" - } - }, - { - "expression": { - "arguments": [ - { - "hexValue": "73746453746f7261676520726561645f626f6f6c2853746453746f72616765293a2043616e6e6f74206465636f64652e204d616b65207375726520796f75206172652072656164696e67206120626f6f6c2e", - "id": 7122, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6130:84:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_91e3b02d190bb3e407570bfe894974b331ad10ba40f732248485a8a79ed8e4f5", - "typeString": "literal_string \"stdStorage read_bool(StdStorage): Cannot decode. Make sure you are reading a bool.\"" - }, - "value": "stdStorage read_bool(StdStorage): Cannot decode. Make sure you are reading a bool." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_91e3b02d190bb3e407570bfe894974b331ad10ba40f732248485a8a79ed8e4f5", - "typeString": "literal_string \"stdStorage read_bool(StdStorage): Cannot decode. Make sure you are reading a bool.\"" - } - ], - "id": 7121, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "6123:6:10", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 7123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6123:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7124, - "nodeType": "ExpressionStatement", - "src": "6123:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_bool", - "nameLocation": "5952:9:10", - "parameters": { - "id": 7099, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7098, - "mutability": "mutable", - "name": "self", - "nameLocation": "5981:4:10", - "nodeType": "VariableDeclaration", - "scope": 7126, - "src": "5962:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7097, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7096, - "name": "StdStorage", - "nameLocations": [ - "5962:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "5962:10:10" - }, - "referencedDeclaration": 6388, - "src": "5962:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "5961:25:10" - }, - "returnParameters": { - "id": 7102, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7101, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7126, - "src": "6005:4:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7100, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6005:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "6004:6:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7145, - "nodeType": "FunctionDefinition", - "src": "6228:131:10", - "nodes": [], - "body": { - "id": 7144, - "nodeType": "Block", - "src": "6302:57:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 7137, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7129, - "src": "6335:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 7136, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7076, - "src": "6330:4:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 7138, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6330:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 7140, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6343:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 7139, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6343:7:10", - "typeDescriptions": {} - } - } - ], - "id": 7141, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6342:9:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - } - ], - "expression": { - "id": 7134, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6319:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7135, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6323:6:10", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "6319:10:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 7142, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6319:33:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 7133, - "id": 7143, - "nodeType": "Return", - "src": "6312:40:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_address", - "nameLocation": "6237:12:10", - "parameters": { - "id": 7130, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7129, - "mutability": "mutable", - "name": "self", - "nameLocation": "6269:4:10", - "nodeType": "VariableDeclaration", - "scope": 7145, - "src": "6250:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7128, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7127, - "name": "StdStorage", - "nameLocations": [ - "6250:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "6250:10:10" - }, - "referencedDeclaration": 6388, - "src": "6250:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "6249:25:10" - }, - "returnParameters": { - "id": 7133, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7132, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7145, - "src": "6293:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7131, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6293:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6292:9:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7164, - "nodeType": "FunctionDefinition", - "src": "6365:128:10", - "nodes": [], - "body": { - "id": 7163, - "nodeType": "Block", - "src": "6436:57:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 7156, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7148, - "src": "6469:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 7155, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7076, - "src": "6464:4:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 7157, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6464:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 7159, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6477:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 7158, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6477:7:10", - "typeDescriptions": {} - } - } - ], - "id": 7160, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6476:9:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - ], - "expression": { - "id": 7153, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6453:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7154, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6457:6:10", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "6453:10:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 7161, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6453:33:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 7152, - "id": 7162, - "nodeType": "Return", - "src": "6446:40:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_uint", - "nameLocation": "6374:9:10", - "parameters": { - "id": 7149, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7148, - "mutability": "mutable", - "name": "self", - "nameLocation": "6403:4:10", - "nodeType": "VariableDeclaration", - "scope": 7164, - "src": "6384:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7147, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7146, - "name": "StdStorage", - "nameLocations": [ - "6384:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "6384:10:10" - }, - "referencedDeclaration": 6388, - "src": "6384:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "6383:25:10" - }, - "returnParameters": { - "id": 7152, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7151, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7164, - "src": "6427:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7150, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6427:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6426:9:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7183, - "nodeType": "FunctionDefinition", - "src": "6499:125:10", - "nodes": [], - "body": { - "id": 7182, - "nodeType": "Block", - "src": "6568:56:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 7175, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7167, - "src": "6601:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 7174, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7076, - "src": "6596:4:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 7176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6596:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 7178, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6609:6:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - }, - "typeName": { - "id": 7177, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "6609:6:10", - "typeDescriptions": {} - } - } - ], - "id": 7179, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6608:8:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - } - ], - "expression": { - "id": 7172, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6585:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7173, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6589:6:10", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "6585:10:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 7180, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6585:32:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "functionReturnParameters": 7171, - "id": 7181, - "nodeType": "Return", - "src": "6578:39:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_int", - "nameLocation": "6508:8:10", - "parameters": { - "id": 7168, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7167, - "mutability": "mutable", - "name": "self", - "nameLocation": "6536:4:10", - "nodeType": "VariableDeclaration", - "scope": 7183, - "src": "6517:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7166, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7165, - "name": "StdStorage", - "nameLocations": [ - "6517:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "6517:10:10" - }, - "referencedDeclaration": 6388, - "src": "6517:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "6516:25:10" - }, - "returnParameters": { - "id": 7171, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7170, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7183, - "src": "6560:6:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 7169, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "6560:6:10", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "6559:8:10" - }, - "scope": 7281, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7239, - "nodeType": "FunctionDefinition", - "src": "6630:304:10", - "nodes": [], - "body": { - "id": 7238, - "nodeType": "Block", - "src": "6717:217:10", - "nodes": [], - "statements": [ - { - "assignments": [ - 7193 - ], - "declarations": [ - { - "constant": false, - "id": 7193, - "mutability": "mutable", - "name": "out", - "nameLocation": "6735:3:10", - "nodeType": "VariableDeclaration", - "scope": 7238, - "src": "6727:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7192, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6727:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 7194, - "nodeType": "VariableDeclarationStatement", - "src": "6727:11:10" - }, - { - "assignments": [ - 7196 - ], - "declarations": [ - { - "constant": false, - "id": 7196, - "mutability": "mutable", - "name": "max", - "nameLocation": "6757:3:10", - "nodeType": "VariableDeclaration", - "scope": 7238, - "src": "6749:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7195, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6749:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7205, - "initialValue": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 7197, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7185, - "src": "6763:1:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 7198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6765:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6763:8:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "3332", - "id": 7199, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6774:2:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "6763:13:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "expression": { - "id": 7202, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7185, - "src": "6784:1:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 7203, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6786:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6784:8:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7204, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "6763:29:10", - "trueExpression": { - "hexValue": "3332", - "id": 7201, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6779:2:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6749:43:10" - }, - { - "body": { - "id": 7234, - "nodeType": "Block", - "src": "6836:72:10", - "statements": [ - { - "expression": { - "id": 7232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 7216, - "name": "out", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7193, - "src": "6850:3:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "|=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7231, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 7225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "id": 7219, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7185, - "src": "6865:1:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 7223, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7220, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7187, - "src": "6867:6:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 7221, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7207, - "src": "6876:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6867:10:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6865:13:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "hexValue": "30784646", - "id": 7224, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6881:4:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - }, - "value": "0xFF" - }, - "src": "6865:20:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "id": 7218, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6857:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 7217, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6857:7:10", - "typeDescriptions": {} - } - }, - "id": 7226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6857:29:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7229, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7227, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7207, - "src": "6891:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "38", - "id": 7228, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6895:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "6891:5:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 7230, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6890:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6857:40:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "6850:47:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7233, - "nodeType": "ExpressionStatement", - "src": "6850:47:10" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7212, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7210, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7207, - "src": "6822:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 7211, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7196, - "src": "6826:3:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6822:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7235, - "initializationExpression": { - "assignments": [ - 7207 - ], - "declarations": [ - { - "constant": false, - "id": 7207, - "mutability": "mutable", - "name": "i", - "nameLocation": "6815:1:10", - "nodeType": "VariableDeclaration", - "scope": 7235, - "src": "6807:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7206, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6807:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7209, - "initialValue": { - "hexValue": "30", - "id": 7208, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6819:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "6807:13:10" - }, - "loopExpression": { - "expression": { - "id": 7214, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "6831:3:10", - "subExpression": { - "id": 7213, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7207, - "src": "6831:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7215, - "nodeType": "ExpressionStatement", - "src": "6831:3:10" - }, - "nodeType": "ForStatement", - "src": "6802:106:10" - }, - { - "expression": { - "id": 7236, - "name": "out", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7193, - "src": "6924:3:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 7191, - "id": 7237, - "nodeType": "Return", - "src": "6917:10:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "bytesToBytes32", - "nameLocation": "6639:14:10", - "parameters": { - "id": 7188, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7185, - "mutability": "mutable", - "name": "b", - "nameLocation": "6667:1:10", - "nodeType": "VariableDeclaration", - "scope": 7239, - "src": "6654:14:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7184, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6654:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7187, - "mutability": "mutable", - "name": "offset", - "nameLocation": "6678:6:10", - "nodeType": "VariableDeclaration", - "scope": 7239, - "src": "6670:14:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7186, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6670:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6653:32:10" - }, - "returnParameters": { - "id": 7191, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7190, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7239, - "src": "6708:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7189, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6708:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "6707:9:10" - }, - "scope": 7281, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - }, - { - "id": 7280, - "nodeType": "FunctionDefinition", - "src": "6940:393:10", - "nodes": [], - "body": { - "id": 7279, - "nodeType": "Block", - "src": "7013:320:10", - "nodes": [], - "statements": [ - { - "assignments": [ - 7248 - ], - "declarations": [ - { - "constant": false, - "id": 7248, - "mutability": "mutable", - "name": "result", - "nameLocation": "7036:6:10", - "nodeType": "VariableDeclaration", - "scope": 7279, - "src": "7023:19:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7247, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7023:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 7256, - "initialValue": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7254, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 7251, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7242, - "src": "7055:1:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 7252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7057:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7055:8:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "3332", - "id": 7253, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7066:2:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "7055:13:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7250, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7045:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 7249, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7049:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 7255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7045:24:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7023:46:10" - }, - { - "body": { - "id": 7275, - "nodeType": "Block", - "src": "7118:185:10", - "statements": [ - { - "assignments": [ - 7269 - ], - "declarations": [ - { - "constant": false, - "id": 7269, - "mutability": "mutable", - "name": "k", - "nameLocation": "7140:1:10", - "nodeType": "VariableDeclaration", - "scope": 7275, - "src": "7132:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7268, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7132:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 7273, - "initialValue": { - "baseExpression": { - "id": 7270, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7242, - "src": "7144:1:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 7272, - "indexExpression": { - "id": 7271, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7258, - "src": "7146:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7144:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7132:16:10" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "7218:75:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "result", - "nodeType": "YulIdentifier", - "src": "7247:6:10" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7259:2:10", - "type": "", - "value": "32" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7267:2:10", - "type": "", - "value": "32" - }, - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "7271:1:10" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "7263:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "7263:10:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7255:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "7255:19:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7243:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "7243:32:10" - }, - { - "name": "k", - "nodeType": "YulIdentifier", - "src": "7277:1:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "7236:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "7236:43:10" - }, - "nodeType": "YulExpressionStatement", - "src": "7236:43:10" - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 7258, - "isOffset": false, - "isSlot": false, - "src": "7271:1:10", - "valueSize": 1 - }, - { - "declaration": 7269, - "isOffset": false, - "isSlot": false, - "src": "7277:1:10", - "valueSize": 1 - }, - { - "declaration": 7248, - "isOffset": false, - "isSlot": false, - "src": "7247:6:10", - "valueSize": 1 - } - ], - "id": 7274, - "nodeType": "InlineAssembly", - "src": "7209:84:10" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7264, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7261, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7258, - "src": "7099:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 7262, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7242, - "src": "7103:1:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 7263, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7105:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7103:8:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7099:12:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7276, - "initializationExpression": { - "assignments": [ - 7258 - ], - "declarations": [ - { - "constant": false, - "id": 7258, - "mutability": "mutable", - "name": "i", - "nameLocation": "7092:1:10", - "nodeType": "VariableDeclaration", - "scope": 7276, - "src": "7084:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7257, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7084:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7260, - "initialValue": { - "hexValue": "30", - "id": 7259, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7096:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7084:13:10" - }, - "loopExpression": { - "expression": { - "id": 7266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7113:3:10", - "subExpression": { - "id": 7265, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7258, - "src": "7113:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7267, - "nodeType": "ExpressionStatement", - "src": "7113:3:10" - }, - "nodeType": "ForStatement", - "src": "7079:224:10" - }, - { - "expression": { - "id": 7277, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7248, - "src": "7320:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 7246, - "id": 7278, - "nodeType": "Return", - "src": "7313:13:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "flatten", - "nameLocation": "6949:7:10", - "parameters": { - "id": 7243, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7242, - "mutability": "mutable", - "name": "b", - "nameLocation": "6974:1:10", - "nodeType": "VariableDeclaration", - "scope": 7280, - "src": "6957:18:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 7240, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6957:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7241, - "nodeType": "ArrayTypeName", - "src": "6957:9:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "6956:20:10" - }, - "returnParameters": { - "id": 7246, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7245, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7280, - "src": "6999:12:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7244, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6999:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6998:14:10" - }, - "scope": 7281, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "stdStorageSafe", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 7281 - ], - "name": "stdStorageSafe", - "nameLocation": "366:14:10", - "scope": 7823, - "usedErrors": [] - }, - { - "id": 7822, - "nodeType": "ContractDefinition", - "src": "7337:4527:10", - "nodes": [ - { - "id": 7298, - "nodeType": "VariableDeclaration", - "src": "7362:84:10", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "vm", - "nameLocation": "7382:2:10", - "scope": 7822, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - }, - "typeName": { - "id": 7283, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7282, - "name": "Vm", - "nameLocations": [ - "7362:2:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 9256, - "src": "7362:2:10" - }, - "referencedDeclaration": 9256, - "src": "7362:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6865766d20636865617420636f6465", - "id": 7292, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7424:17:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - }, - "value": "hevm cheat code" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - } - ], - "id": 7291, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7414:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 7293, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7414:28:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7290, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7406:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 7289, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7406:7:10", - "typeDescriptions": {} - } - }, - "id": 7294, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7406:37:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7398:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 7287, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "7398:7:10", - "typeDescriptions": {} - } - }, - "id": 7295, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7398:46:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 7286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7390:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 7285, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7390:7:10", - "typeDescriptions": {} - } - }, - "id": 7296, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7390:55:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 7284, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9256, - "src": "7387:2:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Vm_$9256_$", - "typeString": "type(contract Vm)" - } - }, - "id": 7297, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7387:59:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "visibility": "private" - }, - { - "id": 7311, - "nodeType": "FunctionDefinition", - "src": "7453:118:10", - "nodes": [], - "body": { - "id": 7310, - "nodeType": "Block", - "src": "7520:51:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7307, - "name": "sigStr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7300, - "src": "7557:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 7305, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "7537:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7306, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7552:4:10", - "memberName": "sigs", - "nodeType": "MemberAccess", - "referencedDeclaration": 6439, - "src": "7537:19:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (string memory) pure returns (bytes4)" - } - }, - "id": 7308, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7537:27:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "functionReturnParameters": 7304, - "id": 7309, - "nodeType": "Return", - "src": "7530:34:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sigs", - "nameLocation": "7462:4:10", - "parameters": { - "id": 7301, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7300, - "mutability": "mutable", - "name": "sigStr", - "nameLocation": "7481:6:10", - "nodeType": "VariableDeclaration", - "scope": 7311, - "src": "7467:20:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7299, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7467:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7466:22:10" - }, - "returnParameters": { - "id": 7304, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7303, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7311, - "src": "7512:6:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 7302, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "7512:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "7511:8:10" - }, - "scope": 7822, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7325, - "nodeType": "FunctionDefinition", - "src": "7577:115:10", - "nodes": [], - "body": { - "id": 7324, - "nodeType": "Block", - "src": "7643:49:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7321, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7314, - "src": "7680:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "expression": { - "id": 7319, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "7660:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7675:4:10", - "memberName": "find", - "nodeType": "MemberAccess", - "referencedDeclaration": 6884, - "src": "7660:19:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct StdStorage storage pointer) returns (uint256)" - } - }, - "id": 7322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7660:25:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 7318, - "id": 7323, - "nodeType": "Return", - "src": "7653:32:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "find", - "nameLocation": "7586:4:10", - "parameters": { - "id": 7315, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7314, - "mutability": "mutable", - "name": "self", - "nameLocation": "7610:4:10", - "nodeType": "VariableDeclaration", - "scope": 7325, - "src": "7591:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7313, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7312, - "name": "StdStorage", - "nameLocations": [ - "7591:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "7591:10:10" - }, - "referencedDeclaration": 6388, - "src": "7591:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "7590:25:10" - }, - "returnParameters": { - "id": 7318, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7317, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7325, - "src": "7634:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7316, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7634:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7633:9:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7343, - "nodeType": "FunctionDefinition", - "src": "7698:156:10", - "nodes": [], - "body": { - "id": 7342, - "nodeType": "Block", - "src": "7794:60:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7338, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7328, - "src": "7833:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 7339, - "name": "_target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7330, - "src": "7839:7:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 7336, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "7811:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7826:6:10", - "memberName": "target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6904, - "src": "7811:21:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 7340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7811:36:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 7335, - "id": 7341, - "nodeType": "Return", - "src": "7804:43:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "target", - "nameLocation": "7707:6:10", - "parameters": { - "id": 7331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7328, - "mutability": "mutable", - "name": "self", - "nameLocation": "7733:4:10", - "nodeType": "VariableDeclaration", - "scope": 7343, - "src": "7714:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7327, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7326, - "name": "StdStorage", - "nameLocations": [ - "7714:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "7714:10:10" - }, - "referencedDeclaration": 6388, - "src": "7714:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7330, - "mutability": "mutable", - "name": "_target", - "nameLocation": "7747:7:10", - "nodeType": "VariableDeclaration", - "scope": 7343, - "src": "7739:15:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7329, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7739:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7713:42:10" - }, - "returnParameters": { - "id": 7335, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7334, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7343, - "src": "7774:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7333, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7332, - "name": "StdStorage", - "nameLocations": [ - "7774:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "7774:10:10" - }, - "referencedDeclaration": 6388, - "src": "7774:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "7773:20:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7361, - "nodeType": "FunctionDefinition", - "src": "7860:143:10", - "nodes": [], - "body": { - "id": 7360, - "nodeType": "Block", - "src": "7949:54:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7356, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7346, - "src": "7985:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 7357, - "name": "_sig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7348, - "src": "7991:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "id": 7354, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "7966:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7355, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7981:3:10", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6924, - "src": "7966:18:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" - } - }, - "id": 7358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7966:30:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 7353, - "id": 7359, - "nodeType": "Return", - "src": "7959:37:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sig", - "nameLocation": "7869:3:10", - "parameters": { - "id": 7349, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7346, - "mutability": "mutable", - "name": "self", - "nameLocation": "7892:4:10", - "nodeType": "VariableDeclaration", - "scope": 7361, - "src": "7873:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7345, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7344, - "name": "StdStorage", - "nameLocations": [ - "7873:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "7873:10:10" - }, - "referencedDeclaration": 6388, - "src": "7873:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7348, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "7905:4:10", - "nodeType": "VariableDeclaration", - "scope": 7361, - "src": "7898:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 7347, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "7898:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "7872:38:10" - }, - "returnParameters": { - "id": 7353, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7352, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7361, - "src": "7929:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7351, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7350, - "name": "StdStorage", - "nameLocations": [ - "7929:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "7929:10:10" - }, - "referencedDeclaration": 6388, - "src": "7929:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "7928:20:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7379, - "nodeType": "FunctionDefinition", - "src": "8009:150:10", - "nodes": [], - "body": { - "id": 7378, - "nodeType": "Block", - "src": "8105:54:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7374, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7364, - "src": "8141:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 7375, - "name": "_sig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7366, - "src": "8147:4:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 7372, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "8122:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7373, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8137:3:10", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6946, - "src": "8122:18:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_string_memory_ptr_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,string memory) returns (struct StdStorage storage pointer)" - } - }, - "id": 7376, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8122:30:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 7371, - "id": 7377, - "nodeType": "Return", - "src": "8115:37:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sig", - "nameLocation": "8018:3:10", - "parameters": { - "id": 7367, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7364, - "mutability": "mutable", - "name": "self", - "nameLocation": "8041:4:10", - "nodeType": "VariableDeclaration", - "scope": 7379, - "src": "8022:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7363, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7362, - "name": "StdStorage", - "nameLocations": [ - "8022:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8022:10:10" - }, - "referencedDeclaration": 6388, - "src": "8022:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7366, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "8061:4:10", - "nodeType": "VariableDeclaration", - "scope": 7379, - "src": "8047:18:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7365, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8047:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8021:45:10" - }, - "returnParameters": { - "id": 7371, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7370, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7379, - "src": "8085:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7369, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7368, - "name": "StdStorage", - "nameLocations": [ - "8085:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8085:10:10" - }, - "referencedDeclaration": 6388, - "src": "8085:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "8084:20:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7397, - "nodeType": "FunctionDefinition", - "src": "8165:152:10", - "nodes": [], - "body": { - "id": 7396, - "nodeType": "Block", - "src": "8259:58:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7392, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7382, - "src": "8300:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 7393, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7384, - "src": "8306:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 7390, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "8276:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8291:8:10", - "memberName": "with_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 6977, - "src": "8276:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 7394, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8276:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 7389, - "id": 7395, - "nodeType": "Return", - "src": "8269:41:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "8174:8:10", - "parameters": { - "id": 7385, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7382, - "mutability": "mutable", - "name": "self", - "nameLocation": "8202:4:10", - "nodeType": "VariableDeclaration", - "scope": 7397, - "src": "8183:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7381, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7380, - "name": "StdStorage", - "nameLocations": [ - "8183:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8183:10:10" - }, - "referencedDeclaration": 6388, - "src": "8183:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7384, - "mutability": "mutable", - "name": "who", - "nameLocation": "8216:3:10", - "nodeType": "VariableDeclaration", - "scope": 7397, - "src": "8208:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7383, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8208:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8182:38:10" - }, - "returnParameters": { - "id": 7389, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7388, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7397, - "src": "8239:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7387, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7386, - "name": "StdStorage", - "nameLocations": [ - "8239:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8239:10:10" - }, - "referencedDeclaration": 6388, - "src": "8239:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "8238:20:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7415, - "nodeType": "FunctionDefinition", - "src": "8323:152:10", - "nodes": [], - "body": { - "id": 7414, - "nodeType": "Block", - "src": "8417:58:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7410, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7400, - "src": "8458:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 7411, - "name": "amt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7402, - "src": "8464:3:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7408, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "8434:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8449:8:10", - "memberName": "with_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 7002, - "src": "8434:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_uint256_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256) returns (struct StdStorage storage pointer)" - } - }, - "id": 7412, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8434:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 7407, - "id": 7413, - "nodeType": "Return", - "src": "8427:41:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "8332:8:10", - "parameters": { - "id": 7403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7400, - "mutability": "mutable", - "name": "self", - "nameLocation": "8360:4:10", - "nodeType": "VariableDeclaration", - "scope": 7415, - "src": "8341:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7399, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7398, - "name": "StdStorage", - "nameLocations": [ - "8341:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8341:10:10" - }, - "referencedDeclaration": 6388, - "src": "8341:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7402, - "mutability": "mutable", - "name": "amt", - "nameLocation": "8374:3:10", - "nodeType": "VariableDeclaration", - "scope": 7415, - "src": "8366:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7401, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8366:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8340:38:10" - }, - "returnParameters": { - "id": 7407, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7406, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7415, - "src": "8397:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7405, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7404, - "name": "StdStorage", - "nameLocations": [ - "8397:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8397:10:10" - }, - "referencedDeclaration": 6388, - "src": "8397:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "8396:20:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7433, - "nodeType": "FunctionDefinition", - "src": "8481:152:10", - "nodes": [], - "body": { - "id": 7432, - "nodeType": "Block", - "src": "8575:58:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7428, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7418, - "src": "8616:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 7429, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7420, - "src": "8622:3:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 7426, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "8592:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8607:8:10", - "memberName": "with_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 7024, - "src": "8592:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_bytes32_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes32) returns (struct StdStorage storage pointer)" - } - }, - "id": 7430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8592:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 7425, - "id": 7431, - "nodeType": "Return", - "src": "8585:41:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "8490:8:10", - "parameters": { - "id": 7421, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7418, - "mutability": "mutable", - "name": "self", - "nameLocation": "8518:4:10", - "nodeType": "VariableDeclaration", - "scope": 7433, - "src": "8499:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7417, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7416, - "name": "StdStorage", - "nameLocations": [ - "8499:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8499:10:10" - }, - "referencedDeclaration": 6388, - "src": "8499:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7420, - "mutability": "mutable", - "name": "key", - "nameLocation": "8532:3:10", - "nodeType": "VariableDeclaration", - "scope": 7433, - "src": "8524:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7419, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8524:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "8498:38:10" - }, - "returnParameters": { - "id": 7425, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7424, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7433, - "src": "8555:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7423, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7422, - "name": "StdStorage", - "nameLocations": [ - "8555:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8555:10:10" - }, - "referencedDeclaration": 6388, - "src": "8555:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "8554:20:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7451, - "nodeType": "FunctionDefinition", - "src": "8639:152:10", - "nodes": [], - "body": { - "id": 7450, - "nodeType": "Block", - "src": "8733:58:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7446, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7436, - "src": "8771:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 7447, - "name": "_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7438, - "src": "8777:6:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7444, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "8750:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8765:5:10", - "memberName": "depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 7044, - "src": "8750:20:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_uint256_$returns$_t_struct$_StdStorage_$6388_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256) returns (struct StdStorage storage pointer)" - } - }, - "id": 7448, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8750:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 7443, - "id": 7449, - "nodeType": "Return", - "src": "8743:41:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depth", - "nameLocation": "8648:5:10", - "parameters": { - "id": 7439, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7436, - "mutability": "mutable", - "name": "self", - "nameLocation": "8673:4:10", - "nodeType": "VariableDeclaration", - "scope": 7451, - "src": "8654:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7435, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7434, - "name": "StdStorage", - "nameLocations": [ - "8654:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8654:10:10" - }, - "referencedDeclaration": 6388, - "src": "8654:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7438, - "mutability": "mutable", - "name": "_depth", - "nameLocation": "8687:6:10", - "nodeType": "VariableDeclaration", - "scope": 7451, - "src": "8679:14:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7437, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8679:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8653:41:10" - }, - "returnParameters": { - "id": 7443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7442, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7451, - "src": "8713:18:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7441, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7440, - "name": "StdStorage", - "nameLocations": [ - "8713:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8713:10:10" - }, - "referencedDeclaration": 6388, - "src": "8713:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "8712:20:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7474, - "nodeType": "FunctionDefinition", - "src": "8797:138:10", - "nodes": [], - "body": { - "id": 7473, - "nodeType": "Block", - "src": "8867:68:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7460, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7454, - "src": "8891:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 7467, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7456, - "src": "8921:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 7466, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8913:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 7465, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "8913:7:10", - "typeDescriptions": {} - } - }, - "id": 7468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8913:12:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 7464, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8905:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 7463, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8905:7:10", - "typeDescriptions": {} - } - }, - "id": 7469, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8905:21:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7462, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8897:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 7461, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8897:7:10", - "typeDescriptions": {} - } - }, - "id": 7470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8897:30:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7459, - "name": "checked_write", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 7474, - 7491, - 7509, - 7654 - ], - "referencedDeclaration": 7654, - "src": "8877:13:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (struct StdStorage storage pointer,bytes32)" - } - }, - "id": 7471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8877:51:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7472, - "nodeType": "ExpressionStatement", - "src": "8877:51:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "8806:13:10", - "parameters": { - "id": 7457, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7454, - "mutability": "mutable", - "name": "self", - "nameLocation": "8839:4:10", - "nodeType": "VariableDeclaration", - "scope": 7474, - "src": "8820:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7453, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7452, - "name": "StdStorage", - "nameLocations": [ - "8820:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8820:10:10" - }, - "referencedDeclaration": 6388, - "src": "8820:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7456, - "mutability": "mutable", - "name": "who", - "nameLocation": "8853:3:10", - "nodeType": "VariableDeclaration", - "scope": 7474, - "src": "8845:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7455, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8845:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8819:38:10" - }, - "returnParameters": { - "id": 7458, - "nodeType": "ParameterList", - "parameters": [], - "src": "8867:0:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7491, - "nodeType": "FunctionDefinition", - "src": "8941:120:10", - "nodes": [], - "body": { - "id": 7490, - "nodeType": "Block", - "src": "9011:50:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7483, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7477, - "src": "9035:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "arguments": [ - { - "id": 7486, - "name": "amt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7479, - "src": "9049:3:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7485, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9041:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 7484, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9041:7:10", - "typeDescriptions": {} - } - }, - "id": 7487, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9041:12:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7482, - "name": "checked_write", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 7474, - 7491, - 7509, - 7654 - ], - "referencedDeclaration": 7654, - "src": "9021:13:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (struct StdStorage storage pointer,bytes32)" - } - }, - "id": 7488, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9021:33:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7489, - "nodeType": "ExpressionStatement", - "src": "9021:33:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "8950:13:10", - "parameters": { - "id": 7480, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7477, - "mutability": "mutable", - "name": "self", - "nameLocation": "8983:4:10", - "nodeType": "VariableDeclaration", - "scope": 7491, - "src": "8964:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7476, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7475, - "name": "StdStorage", - "nameLocations": [ - "8964:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "8964:10:10" - }, - "referencedDeclaration": 6388, - "src": "8964:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7479, - "mutability": "mutable", - "name": "amt", - "nameLocation": "8997:3:10", - "nodeType": "VariableDeclaration", - "scope": 7491, - "src": "8989:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7478, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8989:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8963:38:10" - }, - "returnParameters": { - "id": 7481, - "nodeType": "ParameterList", - "parameters": [], - "src": "9011:0:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7509, - "nodeType": "FunctionDefinition", - "src": "9067:222:10", - "nodes": [], - "body": { - "id": 7508, - "nodeType": "Block", - "src": "9136:153:10", - "nodes": [], - "statements": [ - { - "assignments": [ - 7500 - ], - "declarations": [ - { - "constant": false, - "id": 7500, - "mutability": "mutable", - "name": "t", - "nameLocation": "9154:1:10", - "nodeType": "VariableDeclaration", - "scope": 7508, - "src": "9146:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7499, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9146:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 7501, - "nodeType": "VariableDeclarationStatement", - "src": "9146:9:10" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "9217:34:10", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "9231:10:10", - "value": { - "name": "write", - "nodeType": "YulIdentifier", - "src": "9236:5:10" - }, - "variableNames": [ - { - "name": "t", - "nodeType": "YulIdentifier", - "src": "9231:1:10" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 7500, - "isOffset": false, - "isSlot": false, - "src": "9231:1:10", - "valueSize": 1 - }, - { - "declaration": 7496, - "isOffset": false, - "isSlot": false, - "src": "9236:5:10", - "valueSize": 1 - } - ], - "id": 7502, - "nodeType": "InlineAssembly", - "src": "9208:43:10" - }, - { - "expression": { - "arguments": [ - { - "id": 7504, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7494, - "src": "9274:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 7505, - "name": "t", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7500, - "src": "9280:1:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7503, - "name": "checked_write", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 7474, - 7491, - 7509, - 7654 - ], - "referencedDeclaration": 7654, - "src": "9260:13:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (struct StdStorage storage pointer,bytes32)" - } - }, - "id": 7506, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9260:22:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7507, - "nodeType": "ExpressionStatement", - "src": "9260:22:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "9076:13:10", - "parameters": { - "id": 7497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7494, - "mutability": "mutable", - "name": "self", - "nameLocation": "9109:4:10", - "nodeType": "VariableDeclaration", - "scope": 7509, - "src": "9090:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7493, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7492, - "name": "StdStorage", - "nameLocations": [ - "9090:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "9090:10:10" - }, - "referencedDeclaration": 6388, - "src": "9090:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7496, - "mutability": "mutable", - "name": "write", - "nameLocation": "9120:5:10", - "nodeType": "VariableDeclaration", - "scope": 7509, - "src": "9115:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7495, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9115:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "9089:37:10" - }, - "returnParameters": { - "id": 7498, - "nodeType": "ParameterList", - "parameters": [], - "src": "9136:0:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7654, - "nodeType": "FunctionDefinition", - "src": "9295:1095:10", - "nodes": [], - "body": { - "id": 7653, - "nodeType": "Block", - "src": "9365:1025:10", - "nodes": [], - "statements": [ - { - "assignments": [ - 7518 - ], - "declarations": [ - { - "constant": false, - "id": 7518, - "mutability": "mutable", - "name": "who", - "nameLocation": "9383:3:10", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "9375:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7517, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9375:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 7521, - "initialValue": { - "expression": { - "id": 7519, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "9389:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7520, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9394:7:10", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6385, - "src": "9389:12:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9375:26:10" - }, - { - "assignments": [ - 7523 - ], - "declarations": [ - { - "constant": false, - "id": 7523, - "mutability": "mutable", - "name": "fsig", - "nameLocation": "9418:4:10", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "9411:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 7522, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "9411:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "id": 7526, - "initialValue": { - "expression": { - "id": 7524, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "9425:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7525, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9430:4:10", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6381, - "src": "9425:9:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9411:23:10" - }, - { - "assignments": [ - 7528 - ], - "declarations": [ - { - "constant": false, - "id": 7528, - "mutability": "mutable", - "name": "field_depth", - "nameLocation": "9452:11:10", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "9444:19:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7527, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9444:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7531, - "initialValue": { - "expression": { - "id": 7529, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "9466:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7530, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9471:6:10", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 6383, - "src": "9466:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9444:33:10" - }, - { - "assignments": [ - 7536 - ], - "declarations": [ - { - "constant": false, - "id": 7536, - "mutability": "mutable", - "name": "ins", - "nameLocation": "9504:3:10", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "9487:20:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 7534, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9487:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7535, - "nodeType": "ArrayTypeName", - "src": "9487:9:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "id": 7539, - "initialValue": { - "expression": { - "id": 7537, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "9510:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7538, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9515:5:10", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 6379, - "src": "9510:10:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9487:33:10" - }, - { - "assignments": [ - 7541 - ], - "declarations": [ - { - "constant": false, - "id": 7541, - "mutability": "mutable", - "name": "cald", - "nameLocation": "9544:4:10", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "9531:17:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7540, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9531:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 7549, - "initialValue": { - "arguments": [ - { - "id": 7544, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7523, - "src": "9568:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 7546, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7536, - "src": "9582:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - ], - "id": 7545, - "name": "flatten", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7821, - "src": "9574:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32[] memory) pure returns (bytes memory)" - } - }, - "id": 7547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9574:12:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 7542, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9551:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7543, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9555:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "9551:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 7548, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9551:36:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9531:56:10" - }, - { - "condition": { - "id": 7564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "9601:69:10", - "subExpression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 7550, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "9602:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7551, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9607:5:10", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 6376, - "src": "9602:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => bool)))" - } - }, - "id": 7553, - "indexExpression": { - "id": 7552, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7518, - "src": "9613:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9602:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 7555, - "indexExpression": { - "id": 7554, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7523, - "src": "9618:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9602:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 7563, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 7559, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7536, - "src": "9651:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 7560, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7528, - "src": "9656:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7557, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9634:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7558, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9638:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "9634:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 7561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9634:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7556, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9624:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 7562, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9624:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9602:68:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7570, - "nodeType": "IfStatement", - "src": "9597:110:10", - "trueBody": { - "id": 7569, - "nodeType": "Block", - "src": "9672:35:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7566, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "9691:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 7565, - "name": "find", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7325, - "src": "9686:4:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct StdStorage storage pointer) returns (uint256)" - } - }, - "id": 7567, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9686:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7568, - "nodeType": "ExpressionStatement", - "src": "9686:10:10" - } - ] - } - }, - { - "assignments": [ - 7572 - ], - "declarations": [ - { - "constant": false, - "id": 7572, - "mutability": "mutable", - "name": "slot", - "nameLocation": "9724:4:10", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "9716:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7571, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9716:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 7590, - "initialValue": { - "arguments": [ - { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 7575, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "9739:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7576, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9744:5:10", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 6368, - "src": "9739:10:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(bytes4 => mapping(bytes32 => uint256)))" - } - }, - "id": 7578, - "indexExpression": { - "id": 7577, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7518, - "src": "9750:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9739:15:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 7580, - "indexExpression": { - "id": 7579, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7523, - "src": "9755:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9739:21:10", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 7588, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 7584, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7536, - "src": "9788:3:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 7585, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7528, - "src": "9793:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7582, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9771:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7583, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9775:12:10", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "9771:16:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 7586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9771:34:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7581, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9761:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 7587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9761:45:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9739:68:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7574, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9731:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 7573, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9731:7:10", - "typeDescriptions": {} - } - }, - "id": 7589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9731:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9716:92:10" - }, - { - "assignments": [ - 7592 - ], - "declarations": [ - { - "constant": false, - "id": 7592, - "mutability": "mutable", - "name": "fdat", - "nameLocation": "9827:4:10", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "9819:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7591, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9819:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 7593, - "nodeType": "VariableDeclarationStatement", - "src": "9819:12:10" - }, - { - "id": 7610, - "nodeType": "Block", - "src": "9841:128:10", - "statements": [ - { - "assignments": [ - null, - 7595 - ], - "declarations": [ - null, - { - "constant": false, - "id": 7595, - "mutability": "mutable", - "name": "rdat", - "nameLocation": "9871:4:10", - "nodeType": "VariableDeclaration", - "scope": 7610, - "src": "9858:17:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7594, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9858:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 7600, - "initialValue": { - "arguments": [ - { - "id": 7598, - "name": "cald", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7541, - "src": "9894:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 7596, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7518, - "src": "9879:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 7597, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9883:10:10", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "9879:14:10", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 7599, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9879:20:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9855:44:10" - }, - { - "expression": { - "id": 7608, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 7601, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7592, - "src": "9913:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 7603, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7595, - "src": "9935:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7606, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 7604, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9941:2:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 7605, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7528, - "src": "9946:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9941:16:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7602, - "name": "bytesToBytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7780, - "src": "9920:14:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes memory,uint256) pure returns (bytes32)" - } - }, - "id": 7607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9920:38:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9913:45:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7609, - "nodeType": "ExpressionStatement", - "src": "9913:45:10" - } - ] - }, - { - "assignments": [ - 7612 - ], - "declarations": [ - { - "constant": false, - "id": 7612, - "mutability": "mutable", - "name": "curr", - "nameLocation": "9986:4:10", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "9978:12:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7611, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9978:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 7618, - "initialValue": { - "arguments": [ - { - "id": 7615, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7518, - "src": "10001:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7616, - "name": "slot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7572, - "src": "10006:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 7613, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7298, - "src": "9993:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 7614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9996:4:10", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 8307, - "src": "9993:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) view external returns (bytes32)" - } - }, - "id": 7617, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9993:18:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9978:33:10" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7619, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7592, - "src": "10026:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 7620, - "name": "curr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7612, - "src": "10034:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "10026:12:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7628, - "nodeType": "IfStatement", - "src": "10022:218:10", - "trueBody": { - "id": 7627, - "nodeType": "Block", - "src": "10040:200:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "66616c7365", - "id": 7623, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10079:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a205061636b656420736c6f742e205468697320776f756c642063617573652064616e6765726f7573206f76657277726974696e6720616e642063757272656e746c792069736e277420737570706f727465642e", - "id": 7624, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10102:113:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4bfa78e02b745efea2b29d358f6dc28382f5209b1d2b2dbeb8ef0862e74440b3", - "typeString": "literal_string \"stdStorage find(StdStorage): Packed slot. This would cause dangerous overwriting and currently isn't supported.\"" - }, - "value": "stdStorage find(StdStorage): Packed slot. This would cause dangerous overwriting and currently isn't supported." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_4bfa78e02b745efea2b29d358f6dc28382f5209b1d2b2dbeb8ef0862e74440b3", - "typeString": "literal_string \"stdStorage find(StdStorage): Packed slot. This would cause dangerous overwriting and currently isn't supported.\"" - } - ], - "id": 7622, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "10054:7:10", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7625, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10054:175:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7626, - "nodeType": "ExpressionStatement", - "src": "10054:175:10" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 7632, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7518, - "src": "10258:3:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7633, - "name": "slot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7572, - "src": "10263:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 7634, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7514, - "src": "10269:3:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 7629, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7298, - "src": "10249:2:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$9256", - "typeString": "contract Vm" - } - }, - "id": 7631, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10252:5:10", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 8967, - "src": "10249:8:10", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 7635, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10249:24:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7636, - "nodeType": "ExpressionStatement", - "src": "10249:24:10" - }, - { - "expression": { - "id": 7639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "10283:19:10", - "subExpression": { - "expression": { - "id": 7637, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "10290:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7638, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10295:7:10", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6385, - "src": "10290:12:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7640, - "nodeType": "ExpressionStatement", - "src": "10283:19:10" - }, - { - "expression": { - "id": 7643, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "10312:16:10", - "subExpression": { - "expression": { - "id": 7641, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "10319:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7642, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10324:4:10", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6381, - "src": "10319:9:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7644, - "nodeType": "ExpressionStatement", - "src": "10312:16:10" - }, - { - "expression": { - "id": 7647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "10338:17:10", - "subExpression": { - "expression": { - "id": 7645, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "10345:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7646, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10350:5:10", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 6379, - "src": "10345:10:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7648, - "nodeType": "ExpressionStatement", - "src": "10338:17:10" - }, - { - "expression": { - "id": 7651, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "10365:18:10", - "subExpression": { - "expression": { - "id": 7649, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7512, - "src": "10372:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 7650, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "10377:6:10", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 6383, - "src": "10372:11:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7652, - "nodeType": "ExpressionStatement", - "src": "10365:18:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "9304:13:10", - "parameters": { - "id": 7515, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7512, - "mutability": "mutable", - "name": "self", - "nameLocation": "9337:4:10", - "nodeType": "VariableDeclaration", - "scope": 7654, - "src": "9318:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7511, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7510, - "name": "StdStorage", - "nameLocations": [ - "9318:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "9318:10:10" - }, - "referencedDeclaration": 6388, - "src": "9318:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7514, - "mutability": "mutable", - "name": "set", - "nameLocation": "9351:3:10", - "nodeType": "VariableDeclaration", - "scope": 7654, - "src": "9343:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7513, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9343:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "9317:38:10" - }, - "returnParameters": { - "id": 7516, - "nodeType": "ParameterList", - "parameters": [], - "src": "9365:0:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7668, - "nodeType": "FunctionDefinition", - "src": "10396:131:10", - "nodes": [], - "body": { - "id": 7667, - "nodeType": "Block", - "src": "10470:57:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7664, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7657, - "src": "10515:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "expression": { - "id": 7662, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "10487:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7663, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10502:12:10", - "memberName": "read_bytes32", - "nodeType": "MemberAccess", - "referencedDeclaration": 7095, - "src": "10487:27:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_bytes32_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes32)" - } - }, - "id": 7665, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10487:33:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 7661, - "id": 7666, - "nodeType": "Return", - "src": "10480:40:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_bytes32", - "nameLocation": "10405:12:10", - "parameters": { - "id": 7658, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7657, - "mutability": "mutable", - "name": "self", - "nameLocation": "10437:4:10", - "nodeType": "VariableDeclaration", - "scope": 7668, - "src": "10418:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7656, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7655, - "name": "StdStorage", - "nameLocations": [ - "10418:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "10418:10:10" - }, - "referencedDeclaration": 6388, - "src": "10418:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "10417:25:10" - }, - "returnParameters": { - "id": 7661, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7660, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7668, - "src": "10461:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7659, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "10461:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "10460:9:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7682, - "nodeType": "FunctionDefinition", - "src": "10533:122:10", - "nodes": [], - "body": { - "id": 7681, - "nodeType": "Block", - "src": "10601:54:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7678, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7671, - "src": "10643:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "expression": { - "id": 7676, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "10618:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10633:9:10", - "memberName": "read_bool", - "nodeType": "MemberAccess", - "referencedDeclaration": 7126, - "src": "10618:24:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_bool_$", - "typeString": "function (struct StdStorage storage pointer) returns (bool)" - } - }, - "id": 7679, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10618:30:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 7675, - "id": 7680, - "nodeType": "Return", - "src": "10611:37:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_bool", - "nameLocation": "10542:9:10", - "parameters": { - "id": 7672, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7671, - "mutability": "mutable", - "name": "self", - "nameLocation": "10571:4:10", - "nodeType": "VariableDeclaration", - "scope": 7682, - "src": "10552:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7670, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7669, - "name": "StdStorage", - "nameLocations": [ - "10552:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "10552:10:10" - }, - "referencedDeclaration": 6388, - "src": "10552:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "10551:25:10" - }, - "returnParameters": { - "id": 7675, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7674, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7682, - "src": "10595:4:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7673, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10595:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "10594:6:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7696, - "nodeType": "FunctionDefinition", - "src": "10661:131:10", - "nodes": [], - "body": { - "id": 7695, - "nodeType": "Block", - "src": "10735:57:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7692, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7685, - "src": "10780:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "expression": { - "id": 7690, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "10752:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10767:12:10", - "memberName": "read_address", - "nodeType": "MemberAccess", - "referencedDeclaration": 7145, - "src": "10752:27:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_address_$", - "typeString": "function (struct StdStorage storage pointer) returns (address)" - } - }, - "id": 7693, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10752:33:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 7689, - "id": 7694, - "nodeType": "Return", - "src": "10745:40:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_address", - "nameLocation": "10670:12:10", - "parameters": { - "id": 7686, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7685, - "mutability": "mutable", - "name": "self", - "nameLocation": "10702:4:10", - "nodeType": "VariableDeclaration", - "scope": 7696, - "src": "10683:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7684, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7683, - "name": "StdStorage", - "nameLocations": [ - "10683:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "10683:10:10" - }, - "referencedDeclaration": 6388, - "src": "10683:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "10682:25:10" - }, - "returnParameters": { - "id": 7689, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7688, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7696, - "src": "10726:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7687, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10726:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "10725:9:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7710, - "nodeType": "FunctionDefinition", - "src": "10798:125:10", - "nodes": [], - "body": { - "id": 7709, - "nodeType": "Block", - "src": "10869:54:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7706, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7699, - "src": "10911:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "expression": { - "id": 7704, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "10886:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10901:9:10", - "memberName": "read_uint", - "nodeType": "MemberAccess", - "referencedDeclaration": 7164, - "src": "10886:24:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct StdStorage storage pointer) returns (uint256)" - } - }, - "id": 7707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10886:30:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 7703, - "id": 7708, - "nodeType": "Return", - "src": "10879:37:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_uint", - "nameLocation": "10807:9:10", - "parameters": { - "id": 7700, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7699, - "mutability": "mutable", - "name": "self", - "nameLocation": "10836:4:10", - "nodeType": "VariableDeclaration", - "scope": 7710, - "src": "10817:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7698, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7697, - "name": "StdStorage", - "nameLocations": [ - "10817:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "10817:10:10" - }, - "referencedDeclaration": 6388, - "src": "10817:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "10816:25:10" - }, - "returnParameters": { - "id": 7703, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7702, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7710, - "src": "10860:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7701, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10860:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10859:9:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7724, - "nodeType": "FunctionDefinition", - "src": "10929:122:10", - "nodes": [], - "body": { - "id": 7723, - "nodeType": "Block", - "src": "10998:53:10", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 7720, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7713, - "src": "11039:4:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "expression": { - "id": 7718, - "name": "stdStorageSafe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7281, - "src": "11015:14:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdStorageSafe_$7281_$", - "typeString": "type(library stdStorageSafe)" - } - }, - "id": 7719, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11030:8:10", - "memberName": "read_int", - "nodeType": "MemberAccess", - "referencedDeclaration": 7183, - "src": "11015:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$6388_storage_ptr_$returns$_t_int256_$", - "typeString": "function (struct StdStorage storage pointer) returns (int256)" - } - }, - "id": 7721, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11015:29:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "functionReturnParameters": 7717, - "id": 7722, - "nodeType": "Return", - "src": "11008:36:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_int", - "nameLocation": "10938:8:10", - "parameters": { - "id": 7714, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7713, - "mutability": "mutable", - "name": "self", - "nameLocation": "10966:4:10", - "nodeType": "VariableDeclaration", - "scope": 7724, - "src": "10947:23:10", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 7712, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7711, - "name": "StdStorage", - "nameLocations": [ - "10947:10:10" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6388, - "src": "10947:10:10" - }, - "referencedDeclaration": 6388, - "src": "10947:10:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$6388_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "10946:25:10" - }, - "returnParameters": { - "id": 7717, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7716, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7724, - "src": "10990:6:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 7715, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "10990:6:10", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "10989:8:10" - }, - "scope": 7822, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7780, - "nodeType": "FunctionDefinition", - "src": "11108:304:10", - "nodes": [], - "body": { - "id": 7779, - "nodeType": "Block", - "src": "11195:217:10", - "nodes": [], - "statements": [ - { - "assignments": [ - 7734 - ], - "declarations": [ - { - "constant": false, - "id": 7734, - "mutability": "mutable", - "name": "out", - "nameLocation": "11213:3:10", - "nodeType": "VariableDeclaration", - "scope": 7779, - "src": "11205:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7733, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "11205:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 7735, - "nodeType": "VariableDeclarationStatement", - "src": "11205:11:10" - }, - { - "assignments": [ - 7737 - ], - "declarations": [ - { - "constant": false, - "id": 7737, - "mutability": "mutable", - "name": "max", - "nameLocation": "11235:3:10", - "nodeType": "VariableDeclaration", - "scope": 7779, - "src": "11227:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7736, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11227:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7746, - "initialValue": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 7738, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7726, - "src": "11241:1:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 7739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11243:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "11241:8:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "3332", - "id": 7740, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11252:2:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "11241:13:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "expression": { - "id": 7743, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7726, - "src": "11262:1:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 7744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11264:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "11262:8:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "11241:29:10", - "trueExpression": { - "hexValue": "3332", - "id": 7742, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11257:2:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11227:43:10" - }, - { - "body": { - "id": 7775, - "nodeType": "Block", - "src": "11314:72:10", - "statements": [ - { - "expression": { - "id": 7773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 7757, - "name": "out", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7734, - "src": "11328:3:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "|=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7772, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 7766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "id": 7760, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7726, - "src": "11343:1:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 7764, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7761, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7728, - "src": "11345:6:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 7762, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7748, - "src": "11354:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11345:10:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11343:13:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "hexValue": "30784646", - "id": 7765, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11359:4:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - }, - "value": "0xFF" - }, - "src": "11343:20:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "id": 7759, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11335:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 7758, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "11335:7:10", - "typeDescriptions": {} - } - }, - "id": 7767, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11335:29:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7768, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7748, - "src": "11369:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "38", - "id": 7769, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11373:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "11369:5:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 7771, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "11368:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11335:40:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "11328:47:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7774, - "nodeType": "ExpressionStatement", - "src": "11328:47:10" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7751, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7748, - "src": "11300:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 7752, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7737, - "src": "11304:3:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11300:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7776, - "initializationExpression": { - "assignments": [ - 7748 - ], - "declarations": [ - { - "constant": false, - "id": 7748, - "mutability": "mutable", - "name": "i", - "nameLocation": "11293:1:10", - "nodeType": "VariableDeclaration", - "scope": 7776, - "src": "11285:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7747, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11285:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7750, - "initialValue": { - "hexValue": "30", - "id": 7749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11297:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "11285:13:10" - }, - "loopExpression": { - "expression": { - "id": 7755, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "11309:3:10", - "subExpression": { - "id": 7754, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7748, - "src": "11309:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7756, - "nodeType": "ExpressionStatement", - "src": "11309:3:10" - }, - "nodeType": "ForStatement", - "src": "11280:106:10" - }, - { - "expression": { - "id": 7777, - "name": "out", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7734, - "src": "11402:3:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 7732, - "id": 7778, - "nodeType": "Return", - "src": "11395:10:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "bytesToBytes32", - "nameLocation": "11117:14:10", - "parameters": { - "id": 7729, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7726, - "mutability": "mutable", - "name": "b", - "nameLocation": "11145:1:10", - "nodeType": "VariableDeclaration", - "scope": 7780, - "src": "11132:14:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7725, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11132:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7728, - "mutability": "mutable", - "name": "offset", - "nameLocation": "11156:6:10", - "nodeType": "VariableDeclaration", - "scope": 7780, - "src": "11148:14:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7727, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11148:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11131:32:10" - }, - "returnParameters": { - "id": 7732, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7731, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7780, - "src": "11186:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7730, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "11186:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "11185:9:10" - }, - "scope": 7822, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - }, - { - "id": 7821, - "nodeType": "FunctionDefinition", - "src": "11469:393:10", - "nodes": [], - "body": { - "id": 7820, - "nodeType": "Block", - "src": "11542:320:10", - "nodes": [], - "statements": [ - { - "assignments": [ - 7789 - ], - "declarations": [ - { - "constant": false, - "id": 7789, - "mutability": "mutable", - "name": "result", - "nameLocation": "11565:6:10", - "nodeType": "VariableDeclaration", - "scope": 7820, - "src": "11552:19:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7788, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11552:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 7797, - "initialValue": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 7792, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7783, - "src": "11584:1:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 7793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11586:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "11584:8:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "3332", - "id": 7794, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11595:2:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "11584:13:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7791, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "11574:9:10", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 7790, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11578:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 7796, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11574:24:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11552:46:10" - }, - { - "body": { - "id": 7816, - "nodeType": "Block", - "src": "11647:185:10", - "statements": [ - { - "assignments": [ - 7810 - ], - "declarations": [ - { - "constant": false, - "id": 7810, - "mutability": "mutable", - "name": "k", - "nameLocation": "11669:1:10", - "nodeType": "VariableDeclaration", - "scope": 7816, - "src": "11661:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7809, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "11661:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 7814, - "initialValue": { - "baseExpression": { - "id": 7811, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7783, - "src": "11673:1:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 7813, - "indexExpression": { - "id": 7812, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7799, - "src": "11675:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11673:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11661:16:10" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "11747:75:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "result", - "nodeType": "YulIdentifier", - "src": "11776:6:10" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "11788:2:10", - "type": "", - "value": "32" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "11796:2:10", - "type": "", - "value": "32" - }, - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "11800:1:10" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "11792:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "11792:10:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "11784:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "11784:19:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "11772:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "11772:32:10" - }, - { - "name": "k", - "nodeType": "YulIdentifier", - "src": "11806:1:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "11765:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "11765:43:10" - }, - "nodeType": "YulExpressionStatement", - "src": "11765:43:10" - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 7799, - "isOffset": false, - "isSlot": false, - "src": "11800:1:10", - "valueSize": 1 - }, - { - "declaration": 7810, - "isOffset": false, - "isSlot": false, - "src": "11806:1:10", - "valueSize": 1 - }, - { - "declaration": 7789, - "isOffset": false, - "isSlot": false, - "src": "11776:6:10", - "valueSize": 1 - } - ], - "id": 7815, - "nodeType": "InlineAssembly", - "src": "11738:84:10" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7802, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7799, - "src": "11628:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 7803, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7783, - "src": "11632:1:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 7804, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11634:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "11632:8:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11628:12:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7817, - "initializationExpression": { - "assignments": [ - 7799 - ], - "declarations": [ - { - "constant": false, - "id": 7799, - "mutability": "mutable", - "name": "i", - "nameLocation": "11621:1:10", - "nodeType": "VariableDeclaration", - "scope": 7817, - "src": "11613:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7798, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11613:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7801, - "initialValue": { - "hexValue": "30", - "id": 7800, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11625:1:10", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "11613:13:10" - }, - "loopExpression": { - "expression": { - "id": 7807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "11642:3:10", - "subExpression": { - "id": 7806, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7799, - "src": "11642:1:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7808, - "nodeType": "ExpressionStatement", - "src": "11642:3:10" - }, - "nodeType": "ForStatement", - "src": "11608:224:10" - }, - { - "expression": { - "id": 7818, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7789, - "src": "11849:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 7787, - "id": 7819, - "nodeType": "Return", - "src": "11842:13:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "flatten", - "nameLocation": "11478:7:10", - "parameters": { - "id": 7784, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7783, - "mutability": "mutable", - "name": "b", - "nameLocation": "11503:1:10", - "nodeType": "VariableDeclaration", - "scope": 7821, - "src": "11486:18:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 7781, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "11486:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7782, - "nodeType": "ArrayTypeName", - "src": "11486:9:10", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "11485:20:10" - }, - "returnParameters": { - "id": 7787, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7786, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7821, - "src": "11528:12:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7785, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11528:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "11527:14:10" - }, - "scope": 7822, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "stdStorage", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 7822 - ], - "name": "stdStorage", - "nameLocation": "7345:10:10", - "scope": 7823, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 10 -} \ No newline at end of file diff --git a/out/StdUtils.sol/StdUtils.json b/out/StdUtils.sol/StdUtils.json deleted file mode 100644 index d9a1fc3..0000000 --- a/out/StdUtils.sol/StdUtils.json +++ /dev/null @@ -1,6207 +0,0 @@ -{ - "abi": [], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/StdUtils.sol\":\"StdUtils\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"lib/forge-std/src/StdUtils.sol\":{\"keccak256\":\"0x216818221765c43713791708d7dc83fcd5ada81766c9d4ce54551528c191a59f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3f03d0ef065ce600e5922f3e9c92f0f54ff7c12895a250fa97d83e9ee38e7e2b\",\"dweb:/ipfs/QmX59m9mNRNEhjhEZnxbDirniesi26pnDaNzF5hPB4A3E8\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0x225cc1ec33efd35c90e78aec0792ed9751cd6217e646271172421e96e2e2cc0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c6adbd216e40ca2387835b8618c82e7153cb826023d38943bbb0c2e992644aa\",\"dweb:/ipfs/QmZeejwEkm7iH9NHih7dPbuNqivuFn27EkgJesgByzS9wD\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/StdUtils.sol": "StdUtils" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "lib/forge-std/src/StdUtils.sol": { - "keccak256": "0x216818221765c43713791708d7dc83fcd5ada81766c9d4ce54551528c191a59f", - "urls": [ - "bzz-raw://3f03d0ef065ce600e5922f3e9c92f0f54ff7c12895a250fa97d83e9ee38e7e2b", - "dweb:/ipfs/QmX59m9mNRNEhjhEZnxbDirniesi26pnDaNzF5hPB4A3E8" - ], - "license": "MIT" - }, - "lib/forge-std/src/console2.sol": { - "keccak256": "0x225cc1ec33efd35c90e78aec0792ed9751cd6217e646271172421e96e2e2cc0f", - "urls": [ - "bzz-raw://6c6adbd216e40ca2387835b8618c82e7153cb826023d38943bbb0c2e992644aa", - "dweb:/ipfs/QmZeejwEkm7iH9NHih7dPbuNqivuFn27EkgJesgByzS9wD" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/StdUtils.sol", - "id": 8252, - "exportedSymbols": { - "StdUtils": [ - 8251 - ], - "console2": [ - 25385 - ] - }, - "nodeType": "SourceUnit", - "src": "32:4585:11", - "nodes": [ - { - "id": 7824, - "nodeType": "PragmaDirective", - "src": "32:31:11", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.6", - ".2", - "<", - "0.9", - ".0" - ] - }, - { - "id": 7825, - "nodeType": "ImportDirective", - "src": "65:24:11", - "nodes": [], - "absolutePath": "lib/forge-std/src/console2.sol", - "file": "./console2.sol", - "nameLocation": "-1:-1:-1", - "scope": 8252, - "sourceUnit": 25386, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 8251, - "nodeType": "ContractDefinition", - "src": "91:4525:11", - "nodes": [ - { - "id": 7828, - "nodeType": "VariableDeclaration", - "src": "124:125:11", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "UINT256_MAX", - "nameLocation": "149:11:11", - "scope": 8251, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7826, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "124:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "313135373932303839323337333136313935343233353730393835303038363837393037383533323639393834363635363430353634303339343537353834303037393133313239363339393335", - "id": 7827, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "171:78:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_115792089237316195423570985008687907853269984665640564039457584007913129639935_by_1", - "typeString": "int_const 1157...(70 digits omitted)...9935" - }, - "value": "115792089237316195423570985008687907853269984665640564039457584007913129639935" - }, - "visibility": "private" - }, - { - "id": 7958, - "nodeType": "FunctionDefinition", - "src": "256:1264:11", - "nodes": [], - "body": { - "id": 7957, - "nodeType": "Block", - "src": "356:1164:11", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7840, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7832, - "src": "374:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 7841, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7834, - "src": "381:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "374:10:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "5374645574696c7320626f756e642875696e743235362c75696e743235362c75696e74323536293a204d6178206973206c657373207468616e206d696e2e", - "id": 7843, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "386:64:11", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_16c21f4eccdbbd49e5dc1331f271d929c25cafaf25207892b67e15553a16c5f2", - "typeString": "literal_string \"StdUtils bound(uint256,uint256,uint256): Max is less than min.\"" - }, - "value": "StdUtils bound(uint256,uint256,uint256): Max is less than min." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_16c21f4eccdbbd49e5dc1331f271d929c25cafaf25207892b67e15553a16c5f2", - "typeString": "literal_string \"StdUtils bound(uint256,uint256,uint256): Max is less than min.\"" - } - ], - "id": 7839, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "366:7:11", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7844, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "366:85:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7845, - "nodeType": "ExpressionStatement", - "src": "366:85:11" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7848, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7846, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7830, - "src": "681:1:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 7847, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7832, - "src": "686:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "681:8:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7851, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7849, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7830, - "src": "693:1:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 7850, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7834, - "src": "698:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "693:8:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "681:20:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7855, - "nodeType": "IfStatement", - "src": "677:34:11", - "trueBody": { - "expression": { - "id": 7853, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7830, - "src": "710:1:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 7838, - "id": 7854, - "nodeType": "Return", - "src": "703:8:11" - } - }, - { - "assignments": [ - 7857 - ], - "declarations": [ - { - "constant": false, - "id": 7857, - "mutability": "mutable", - "name": "size", - "nameLocation": "730:4:11", - "nodeType": "VariableDeclaration", - "scope": 7957, - "src": "722:12:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7856, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "722:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7863, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7862, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7858, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7834, - "src": "737:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 7859, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7832, - "src": "743:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "737:9:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 7861, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "749:1:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "737:13:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "722:28:11" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7870, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7864, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7830, - "src": "940:1:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "hexValue": "33", - "id": 7865, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "945:1:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - }, - "src": "940:6:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7869, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7867, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7857, - "src": "950:4:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 7868, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7830, - "src": "957:1:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "950:8:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "940:18:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7875, - "nodeType": "IfStatement", - "src": "936:38:11", - "trueBody": { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7871, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7832, - "src": "967:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 7872, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7830, - "src": "973:1:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "967:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 7838, - "id": 7874, - "nodeType": "Return", - "src": "960:14:11" - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7876, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7830, - "src": "988:1:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7879, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "id": 7877, - "name": "UINT256_MAX", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7828, - "src": "993:11:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "33", - "id": 7878, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1007:1:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - }, - "src": "993:15:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "988:20:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7881, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7857, - "src": "1012:4:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7884, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7882, - "name": "UINT256_MAX", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7828, - "src": "1019:11:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 7883, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7830, - "src": "1033:1:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1019:15:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1012:22:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "988:46:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7894, - "nodeType": "IfStatement", - "src": "984:82:11", - "trueBody": { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7887, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7834, - "src": "1043:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7890, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7888, - "name": "UINT256_MAX", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7828, - "src": "1050:11:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 7889, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7830, - "src": "1064:1:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1050:15:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 7891, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1049:17:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1043:23:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 7838, - "id": 7893, - "nodeType": "Return", - "src": "1036:30:11" - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7897, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7895, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7830, - "src": "1166:1:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 7896, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7834, - "src": "1170:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1166:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7927, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7925, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7830, - "src": "1345:1:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 7926, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7832, - "src": "1349:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1345:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7955, - "nodeType": "IfStatement", - "src": "1341:173:11", - "trueBody": { - "id": 7954, - "nodeType": "Block", - "src": "1354:160:11", - "statements": [ - { - "assignments": [ - 7929 - ], - "declarations": [ - { - "constant": false, - "id": 7929, - "mutability": "mutable", - "name": "diff", - "nameLocation": "1376:4:11", - "nodeType": "VariableDeclaration", - "scope": 7954, - "src": "1368:12:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7928, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1368:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7933, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7932, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7930, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7832, - "src": "1383:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 7931, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7830, - "src": "1389:1:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1383:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1368:22:11" - }, - { - "assignments": [ - 7935 - ], - "declarations": [ - { - "constant": false, - "id": 7935, - "mutability": "mutable", - "name": "rem", - "nameLocation": "1412:3:11", - "nodeType": "VariableDeclaration", - "scope": 7954, - "src": "1404:11:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7934, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1404:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7939, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7936, - "name": "diff", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7929, - "src": "1418:4:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "%", - "rightExpression": { - "id": 7937, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7857, - "src": "1425:4:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1418:11:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1404:25:11" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7942, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7940, - "name": "rem", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7935, - "src": "1447:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 7941, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1454:1:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1447:8:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7945, - "nodeType": "IfStatement", - "src": "1443:24:11", - "trueBody": { - "expression": { - "id": 7943, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7832, - "src": "1464:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 7838, - "id": 7944, - "nodeType": "Return", - "src": "1457:10:11" - } - }, - { - "expression": { - "id": 7952, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 7946, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7837, - "src": "1481:6:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7951, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7949, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7947, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7834, - "src": "1490:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 7948, - "name": "rem", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7935, - "src": "1496:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1490:9:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 7950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1502:1:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1490:13:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1481:22:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7953, - "nodeType": "ExpressionStatement", - "src": "1481:22:11" - } - ] - } - }, - "id": 7956, - "nodeType": "IfStatement", - "src": "1162:352:11", - "trueBody": { - "id": 7924, - "nodeType": "Block", - "src": "1175:160:11", - "statements": [ - { - "assignments": [ - 7899 - ], - "declarations": [ - { - "constant": false, - "id": 7899, - "mutability": "mutable", - "name": "diff", - "nameLocation": "1197:4:11", - "nodeType": "VariableDeclaration", - "scope": 7924, - "src": "1189:12:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7898, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1189:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7903, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7902, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7900, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7830, - "src": "1204:1:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 7901, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7834, - "src": "1208:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1204:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1189:22:11" - }, - { - "assignments": [ - 7905 - ], - "declarations": [ - { - "constant": false, - "id": 7905, - "mutability": "mutable", - "name": "rem", - "nameLocation": "1233:3:11", - "nodeType": "VariableDeclaration", - "scope": 7924, - "src": "1225:11:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7904, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1225:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7909, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7906, - "name": "diff", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7899, - "src": "1239:4:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "%", - "rightExpression": { - "id": 7907, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7857, - "src": "1246:4:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1239:11:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1225:25:11" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7912, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7910, - "name": "rem", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7905, - "src": "1268:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 7911, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1275:1:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1268:8:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7915, - "nodeType": "IfStatement", - "src": "1264:24:11", - "trueBody": { - "expression": { - "id": 7913, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7834, - "src": "1285:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 7838, - "id": 7914, - "nodeType": "Return", - "src": "1278:10:11" - } - }, - { - "expression": { - "id": 7922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 7916, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7837, - "src": "1302:6:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7919, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7917, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7832, - "src": "1311:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 7918, - "name": "rem", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7905, - "src": "1317:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1311:9:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 7920, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1323:1:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1311:13:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1302:22:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7923, - "nodeType": "ExpressionStatement", - "src": "1302:22:11" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_bound", - "nameLocation": "265:6:11", - "parameters": { - "id": 7835, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7830, - "mutability": "mutable", - "name": "x", - "nameLocation": "280:1:11", - "nodeType": "VariableDeclaration", - "scope": 7958, - "src": "272:9:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7829, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "272:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7832, - "mutability": "mutable", - "name": "min", - "nameLocation": "291:3:11", - "nodeType": "VariableDeclaration", - "scope": 7958, - "src": "283:11:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7831, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "283:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7834, - "mutability": "mutable", - "name": "max", - "nameLocation": "304:3:11", - "nodeType": "VariableDeclaration", - "scope": 7958, - "src": "296:11:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7833, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "296:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "271:37:11" - }, - "returnParameters": { - "id": 7838, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7837, - "mutability": "mutable", - "name": "result", - "nameLocation": "348:6:11", - "nodeType": "VariableDeclaration", - "scope": 7958, - "src": "340:14:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7836, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "340:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "339:16:11" - }, - "scope": 8251, - "stateMutability": "pure", - "virtual": true, - "visibility": "internal" - }, - { - "id": 7985, - "nodeType": "FunctionDefinition", - "src": "1526:190:11", - "nodes": [], - "body": { - "id": 7984, - "nodeType": "Block", - "src": "1625:91:11", - "nodes": [], - "statements": [ - { - "expression": { - "id": 7975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 7969, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7967, - "src": "1635:6:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 7971, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7960, - "src": "1651:1:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 7972, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7962, - "src": "1654:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 7973, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7964, - "src": "1659:3:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7970, - "name": "_bound", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7958, - "src": "1644:6:11", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256,uint256) pure returns (uint256)" - } - }, - "id": 7974, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1644:19:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1635:28:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7976, - "nodeType": "ExpressionStatement", - "src": "1635:28:11" - }, - { - "expression": { - "arguments": [ - { - "hexValue": "426f756e6420526573756c74", - "id": 7980, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1686:14:11", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_237b64d156191d73cf174e4433495e27feb7a7083e87d06235be591548fb5c52", - "typeString": "literal_string \"Bound Result\"" - }, - "value": "Bound Result" - }, - { - "id": 7981, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7967, - "src": "1702:6:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_237b64d156191d73cf174e4433495e27feb7a7083e87d06235be591548fb5c52", - "typeString": "literal_string \"Bound Result\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7977, - "name": "console2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25385, - "src": "1673:8:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_console2_$25385_$", - "typeString": "type(library console2)" - } - }, - "id": 7979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1682:3:11", - "memberName": "log", - "nodeType": "MemberAccess", - "referencedDeclaration": 18029, - "src": "1673:12:11", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256) view" - } - }, - "id": 7982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1673:36:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7983, - "nodeType": "ExpressionStatement", - "src": "1673:36:11" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "bound", - "nameLocation": "1535:5:11", - "parameters": { - "id": 7965, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7960, - "mutability": "mutable", - "name": "x", - "nameLocation": "1549:1:11", - "nodeType": "VariableDeclaration", - "scope": 7985, - "src": "1541:9:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7959, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1541:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7962, - "mutability": "mutable", - "name": "min", - "nameLocation": "1560:3:11", - "nodeType": "VariableDeclaration", - "scope": 7985, - "src": "1552:11:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7961, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1552:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7964, - "mutability": "mutable", - "name": "max", - "nameLocation": "1573:3:11", - "nodeType": "VariableDeclaration", - "scope": 7985, - "src": "1565:11:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7963, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1565:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1540:37:11" - }, - "returnParameters": { - "id": 7968, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7967, - "mutability": "mutable", - "name": "result", - "nameLocation": "1617:6:11", - "nodeType": "VariableDeclaration", - "scope": 7985, - "src": "1609:14:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7966, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1609:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1608:16:11" - }, - "scope": 8251, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 8170, - "nodeType": "FunctionDefinition", - "src": "1951:1962:11", - "nodes": [], - "body": { - "id": 8169, - "nodeType": "Block", - "src": "2054:1859:11", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7997, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 7995, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7990, - "src": "2380:5:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30783030", - "id": 7996, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2389:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x00" - }, - "src": "2380:13:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8019, - "nodeType": "IfStatement", - "src": "2376:134:11", - "trueBody": { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30786436", - "id": 8004, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2464:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_214_by_1", - "typeString": "int_const 214" - }, - "value": "0xd6" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_214_by_1", - "typeString": "int_const 214" - } - ], - "id": 8003, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2457:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 8002, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "2457:6:11", - "typeDescriptions": {} - } - }, - "id": 8005, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2457:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "hexValue": "30783934", - "id": 8008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2478:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_148_by_1", - "typeString": "int_const 148" - }, - "value": "0x94" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_148_by_1", - "typeString": "int_const 148" - } - ], - "id": 8007, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2471:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 8006, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "2471:6:11", - "typeDescriptions": {} - } - }, - "id": 8009, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2471:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "id": 8010, - "name": "deployer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7988, - "src": "2485:8:11", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "30783830", - "id": 8013, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2502:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "0x80" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - } - ], - "id": 8012, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2495:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 8011, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "2495:6:11", - "typeDescriptions": {} - } - }, - "id": 8014, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2495:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "expression": { - "id": 8000, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2440:3:11", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8001, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2444:12:11", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "2440:16:11", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 8015, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2440:68:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7999, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2430:9:11", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 8016, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2430:79:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7998, - "name": "addressFromLast20Bytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8250, - "src": "2407:22:11", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) pure returns (address)" - } - }, - "id": 8017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2407:103:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 7994, - "id": 8018, - "nodeType": "Return", - "src": "2400:110:11" - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8022, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 8020, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7990, - "src": "2524:5:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "hexValue": "30783766", - "id": 8021, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2533:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_127_by_1", - "typeString": "int_const 127" - }, - "value": "0x7f" - }, - "src": "2524:13:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8044, - "nodeType": "IfStatement", - "src": "2520:134:11", - "trueBody": { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30786436", - "id": 8029, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2608:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_214_by_1", - "typeString": "int_const 214" - }, - "value": "0xd6" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_214_by_1", - "typeString": "int_const 214" - } - ], - "id": 8028, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2601:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 8027, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "2601:6:11", - "typeDescriptions": {} - } - }, - "id": 8030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2601:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "hexValue": "30783934", - "id": 8033, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2622:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_148_by_1", - "typeString": "int_const 148" - }, - "value": "0x94" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_148_by_1", - "typeString": "int_const 148" - } - ], - "id": 8032, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2615:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 8031, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "2615:6:11", - "typeDescriptions": {} - } - }, - "id": 8034, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2615:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "id": 8035, - "name": "deployer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7988, - "src": "2629:8:11", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "id": 8038, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7990, - "src": "2645:5:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8037, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2639:5:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - }, - "typeName": { - "id": 8036, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "2639:5:11", - "typeDescriptions": {} - } - }, - "id": 8039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2639:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - ], - "expression": { - "id": 8025, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2584:3:11", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8026, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2588:12:11", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "2584:16:11", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 8040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2584:68:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8024, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2574:9:11", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 8041, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2574:79:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8023, - "name": "addressFromLast20Bytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8250, - "src": "2551:22:11", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) pure returns (address)" - } - }, - "id": 8042, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2551:103:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 7994, - "id": 8043, - "nodeType": "Return", - "src": "2544:110:11" - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8051, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 8045, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7990, - "src": "2807:5:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - }, - "id": 8050, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_rational_256_by_1", - "typeString": "int_const 256" - }, - "id": 8048, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 8046, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2816:1:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "38", - "id": 8047, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2819:1:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "2816:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_256_by_1", - "typeString": "int_const 256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 8049, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2823:1:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2816:8:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - } - }, - "src": "2807:17:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8077, - "nodeType": "IfStatement", - "src": "2803:148:11", - "trueBody": { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30786437", - "id": 8058, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2891:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_215_by_1", - "typeString": "int_const 215" - }, - "value": "0xd7" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_215_by_1", - "typeString": "int_const 215" - } - ], - "id": 8057, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2884:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 8056, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "2884:6:11", - "typeDescriptions": {} - } - }, - "id": 8059, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2884:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "hexValue": "30783934", - "id": 8062, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2905:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_148_by_1", - "typeString": "int_const 148" - }, - "value": "0x94" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_148_by_1", - "typeString": "int_const 148" - } - ], - "id": 8061, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2898:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 8060, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "2898:6:11", - "typeDescriptions": {} - } - }, - "id": 8063, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2898:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "id": 8064, - "name": "deployer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7988, - "src": "2912:8:11", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "30783831", - "id": 8067, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2929:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_129_by_1", - "typeString": "int_const 129" - }, - "value": "0x81" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_129_by_1", - "typeString": "int_const 129" - } - ], - "id": 8066, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2922:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 8065, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "2922:6:11", - "typeDescriptions": {} - } - }, - "id": 8068, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2922:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "id": 8071, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7990, - "src": "2942:5:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8070, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2936:5:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - }, - "typeName": { - "id": 8069, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "2936:5:11", - "typeDescriptions": {} - } - }, - "id": 8072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2936:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - ], - "expression": { - "id": 8054, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2867:3:11", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8055, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2871:12:11", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "2867:16:11", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 8073, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2867:82:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8053, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2857:9:11", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 8074, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2857:93:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8052, - "name": "addressFromLast20Bytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8250, - "src": "2834:22:11", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) pure returns (address)" - } - }, - "id": 8075, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2834:117:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 7994, - "id": 8076, - "nodeType": "Return", - "src": "2827:124:11" - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8084, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 8078, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7990, - "src": "2965:5:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_rational_65535_by_1", - "typeString": "int_const 65535" - }, - "id": 8083, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_rational_65536_by_1", - "typeString": "int_const 65536" - }, - "id": 8081, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 8079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2974:1:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "3136", - "id": 8080, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2977:2:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_16_by_1", - "typeString": "int_const 16" - }, - "value": "16" - }, - "src": "2974:5:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_65536_by_1", - "typeString": "int_const 65536" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 8082, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2982:1:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2974:9:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_65535_by_1", - "typeString": "int_const 65535" - } - }, - "src": "2965:18:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8110, - "nodeType": "IfStatement", - "src": "2961:149:11", - "trueBody": { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30786438", - "id": 8091, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3049:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_216_by_1", - "typeString": "int_const 216" - }, - "value": "0xd8" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_216_by_1", - "typeString": "int_const 216" - } - ], - "id": 8090, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3042:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 8089, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "3042:6:11", - "typeDescriptions": {} - } - }, - "id": 8092, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3042:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "hexValue": "30783934", - "id": 8095, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3063:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_148_by_1", - "typeString": "int_const 148" - }, - "value": "0x94" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_148_by_1", - "typeString": "int_const 148" - } - ], - "id": 8094, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3056:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 8093, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "3056:6:11", - "typeDescriptions": {} - } - }, - "id": 8096, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3056:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "id": 8097, - "name": "deployer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7988, - "src": "3070:8:11", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "30783832", - "id": 8100, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3087:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_130_by_1", - "typeString": "int_const 130" - }, - "value": "0x82" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_130_by_1", - "typeString": "int_const 130" - } - ], - "id": 8099, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3080:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 8098, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "3080:6:11", - "typeDescriptions": {} - } - }, - "id": 8101, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3080:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "id": 8104, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7990, - "src": "3101:5:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8103, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3094:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint16_$", - "typeString": "type(uint16)" - }, - "typeName": { - "id": 8102, - "name": "uint16", - "nodeType": "ElementaryTypeName", - "src": "3094:6:11", - "typeDescriptions": {} - } - }, - "id": 8105, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3094:13:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint16", - "typeString": "uint16" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_uint16", - "typeString": "uint16" - } - ], - "expression": { - "id": 8087, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3025:3:11", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3029:12:11", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "3025:16:11", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 8106, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3025:83:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8086, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "3015:9:11", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 8107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3015:94:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8085, - "name": "addressFromLast20Bytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8250, - "src": "2992:22:11", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) pure returns (address)" - } - }, - "id": 8108, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2992:118:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 7994, - "id": 8109, - "nodeType": "Return", - "src": "2985:125:11" - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 8111, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7990, - "src": "3124:5:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_rational_16777215_by_1", - "typeString": "int_const 16777215" - }, - "id": 8116, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_rational_16777216_by_1", - "typeString": "int_const 16777216" - }, - "id": 8114, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 8112, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3133:1:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "3234", - "id": 8113, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3136:2:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_24_by_1", - "typeString": "int_const 24" - }, - "value": "24" - }, - "src": "3133:5:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_16777216_by_1", - "typeString": "int_const 16777216" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 8115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3141:1:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "3133:9:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_16777215_by_1", - "typeString": "int_const 16777215" - } - }, - "src": "3124:18:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8143, - "nodeType": "IfStatement", - "src": "3120:149:11", - "trueBody": { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30786439", - "id": 8124, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3208:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_217_by_1", - "typeString": "int_const 217" - }, - "value": "0xd9" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_217_by_1", - "typeString": "int_const 217" - } - ], - "id": 8123, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3201:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 8122, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "3201:6:11", - "typeDescriptions": {} - } - }, - "id": 8125, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3201:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "hexValue": "30783934", - "id": 8128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3222:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_148_by_1", - "typeString": "int_const 148" - }, - "value": "0x94" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_148_by_1", - "typeString": "int_const 148" - } - ], - "id": 8127, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3215:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 8126, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "3215:6:11", - "typeDescriptions": {} - } - }, - "id": 8129, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3215:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "id": 8130, - "name": "deployer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7988, - "src": "3229:8:11", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "30783833", - "id": 8133, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3246:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_131_by_1", - "typeString": "int_const 131" - }, - "value": "0x83" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_131_by_1", - "typeString": "int_const 131" - } - ], - "id": 8132, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3239:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 8131, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "3239:6:11", - "typeDescriptions": {} - } - }, - "id": 8134, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3239:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "id": 8137, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7990, - "src": "3260:5:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8136, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3253:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint24_$", - "typeString": "type(uint24)" - }, - "typeName": { - "id": 8135, - "name": "uint24", - "nodeType": "ElementaryTypeName", - "src": "3253:6:11", - "typeDescriptions": {} - } - }, - "id": 8138, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3253:13:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint24", - "typeString": "uint24" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_uint24", - "typeString": "uint24" - } - ], - "expression": { - "id": 8120, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3184:3:11", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8121, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3188:12:11", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "3184:16:11", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 8139, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3184:83:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8119, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "3174:9:11", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 8140, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3174:94:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8118, - "name": "addressFromLast20Bytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8250, - "src": "3151:22:11", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) pure returns (address)" - } - }, - "id": 8141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3151:118:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 7994, - "id": 8142, - "nodeType": "Return", - "src": "3144:125:11" - } - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30786461", - "id": 8150, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3836:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_218_by_1", - "typeString": "int_const 218" - }, - "value": "0xda" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_218_by_1", - "typeString": "int_const 218" - } - ], - "id": 8149, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3829:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 8148, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "3829:6:11", - "typeDescriptions": {} - } - }, - "id": 8151, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3829:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "hexValue": "30783934", - "id": 8154, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3850:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_148_by_1", - "typeString": "int_const 148" - }, - "value": "0x94" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_148_by_1", - "typeString": "int_const 148" - } - ], - "id": 8153, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3843:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 8152, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "3843:6:11", - "typeDescriptions": {} - } - }, - "id": 8155, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3843:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "id": 8156, - "name": "deployer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7988, - "src": "3857:8:11", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "30783834", - "id": 8159, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3874:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_132_by_1", - "typeString": "int_const 132" - }, - "value": "0x84" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_132_by_1", - "typeString": "int_const 132" - } - ], - "id": 8158, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3867:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 8157, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "3867:6:11", - "typeDescriptions": {} - } - }, - "id": 8160, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3867:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "id": 8163, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7990, - "src": "3888:5:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8162, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3881:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint32_$", - "typeString": "type(uint32)" - }, - "typeName": { - "id": 8161, - "name": "uint32", - "nodeType": "ElementaryTypeName", - "src": "3881:6:11", - "typeDescriptions": {} - } - }, - "id": 8164, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3881:13:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - ], - "expression": { - "id": 8146, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3812:3:11", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8147, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3816:12:11", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "3812:16:11", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 8165, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3812:83:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8145, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "3802:9:11", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 8166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3802:94:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8144, - "name": "addressFromLast20Bytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8250, - "src": "3766:22:11", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) pure returns (address)" - } - }, - "id": 8167, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3766:140:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 7994, - "id": 8168, - "nodeType": "Return", - "src": "3759:147:11" - } - ] - }, - "documentation": { - "id": 7986, - "nodeType": "StructuredDocumentation", - "src": "1722:224:11", - "text": "@dev Compute the address a contract will be deployed at for a given deployer address and nonce\n @notice adapated from Solmate implementation (https://github.com/Rari-Capital/solmate/blob/main/src/utils/LibRLP.sol)" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "computeCreateAddress", - "nameLocation": "1960:20:11", - "parameters": { - "id": 7991, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7988, - "mutability": "mutable", - "name": "deployer", - "nameLocation": "1989:8:11", - "nodeType": "VariableDeclaration", - "scope": 8170, - "src": "1981:16:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7987, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1981:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7990, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "2007:5:11", - "nodeType": "VariableDeclaration", - "scope": 8170, - "src": "1999:13:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7989, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1999:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1980:33:11" - }, - "returnParameters": { - "id": 7994, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7993, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8170, - "src": "2045:7:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7992, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2045:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2044:9:11" - }, - "scope": 8251, - "stateMutability": "pure", - "virtual": true, - "visibility": "internal" - }, - { - "id": 8197, - "nodeType": "FunctionDefinition", - "src": "3919:280:11", - "nodes": [], - "body": { - "id": 8196, - "nodeType": "Block", - "src": "4080:119:11", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30786666", - "id": 8187, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4154:4:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - }, - "value": "0xff" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - } - ], - "id": 8186, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4147:6:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 8185, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "4147:6:11", - "typeDescriptions": {} - } - }, - "id": 8188, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4147:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "id": 8189, - "name": "deployer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8176, - "src": "4161:8:11", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8190, - "name": "salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8172, - "src": "4171:4:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 8191, - "name": "initcodeHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8174, - "src": "4177:12:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 8183, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4130:3:11", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8184, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4134:12:11", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "4130:16:11", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 8192, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4130:60:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8182, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "4120:9:11", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 8193, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4120:71:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8181, - "name": "addressFromLast20Bytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8250, - "src": "4097:22:11", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) pure returns (address)" - } - }, - "id": 8194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4097:95:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 8180, - "id": 8195, - "nodeType": "Return", - "src": "4090:102:11" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "computeCreate2Address", - "nameLocation": "3928:21:11", - "parameters": { - "id": 8177, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8172, - "mutability": "mutable", - "name": "salt", - "nameLocation": "3958:4:11", - "nodeType": "VariableDeclaration", - "scope": 8197, - "src": "3950:12:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8171, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3950:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8174, - "mutability": "mutable", - "name": "initcodeHash", - "nameLocation": "3972:12:11", - "nodeType": "VariableDeclaration", - "scope": 8197, - "src": "3964:20:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8173, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3964:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8176, - "mutability": "mutable", - "name": "deployer", - "nameLocation": "3994:8:11", - "nodeType": "VariableDeclaration", - "scope": 8197, - "src": "3986:16:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8175, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3986:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3949:54:11" - }, - "returnParameters": { - "id": 8180, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8179, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8197, - "src": "4067:7:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8178, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4067:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4066:9:11" - }, - "scope": 8251, - "stateMutability": "pure", - "virtual": true, - "visibility": "internal" - }, - { - "id": 8231, - "nodeType": "FunctionDefinition", - "src": "4205:259:11", - "nodes": [], - "body": { - "id": 8230, - "nodeType": "Block", - "src": "4282:182:11", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 8205, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8199, - "src": "4300:1:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 8206, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4302:6:11", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "4300:8:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "hexValue": "3332", - "id": 8207, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4312:2:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "4300:14:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "5374645574696c73206279746573546f55696e74286279746573293a204279746573206c656e67746820657863656564732033322e", - "id": 8209, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4316:55:11", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_15bc16f8ce72c26d4fbf91f28e31f7cbe900e6386b04cf90f353bff0f5b2da88", - "typeString": "literal_string \"StdUtils bytesToUint(bytes): Bytes length exceeds 32.\"" - }, - "value": "StdUtils bytesToUint(bytes): Bytes length exceeds 32." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_15bc16f8ce72c26d4fbf91f28e31f7cbe900e6386b04cf90f353bff0f5b2da88", - "typeString": "literal_string \"StdUtils bytesToUint(bytes): Bytes length exceeds 32.\"" - } - ], - "id": 8204, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4292:7:11", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 8210, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4292:80:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8211, - "nodeType": "ExpressionStatement", - "src": "4292:80:11" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8221, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 8218, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4427:2:11", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "expression": { - "id": 8219, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8199, - "src": "4432:1:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 8220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4434:6:11", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "4432:8:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4427:13:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8217, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "4417:9:11", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 8216, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4421:5:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 8222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4417:24:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 8223, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8199, - "src": "4443:1:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 8214, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4400:3:11", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8215, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4404:12:11", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "4400:16:11", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 8224, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4400:45:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 8226, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4448:7:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 8225, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4448:7:11", - "typeDescriptions": {} - } - } - ], - "id": 8227, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4447:9:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - } - ], - "expression": { - "id": 8212, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4389:3:11", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8213, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4393:6:11", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "4389:10:11", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 8228, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4389:68:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 8203, - "id": 8229, - "nodeType": "Return", - "src": "4382:75:11" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "bytesToUint", - "nameLocation": "4214:11:11", - "parameters": { - "id": 8200, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8199, - "mutability": "mutable", - "name": "b", - "nameLocation": "4239:1:11", - "nodeType": "VariableDeclaration", - "scope": 8231, - "src": "4226:14:11", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8198, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4226:5:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4225:16:11" - }, - "returnParameters": { - "id": 8203, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8202, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8231, - "src": "4273:7:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8201, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4273:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4272:9:11" - }, - "scope": 8251, - "stateMutability": "pure", - "virtual": true, - "visibility": "internal" - }, - { - "id": 8250, - "nodeType": "FunctionDefinition", - "src": "4470:144:11", - "nodes": [], - "body": { - "id": 8249, - "nodeType": "Block", - "src": "4553:61:11", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 8244, - "name": "bytesValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8233, - "src": "4594:10:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8243, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4586:7:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 8242, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4586:7:11", - "typeDescriptions": {} - } - }, - "id": 8245, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4586:19:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8241, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4578:7:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 8240, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "4578:7:11", - "typeDescriptions": {} - } - }, - "id": 8246, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4578:28:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 8239, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4570:7:11", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 8238, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4570:7:11", - "typeDescriptions": {} - } - }, - "id": 8247, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4570:37:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 8237, - "id": 8248, - "nodeType": "Return", - "src": "4563:44:11" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "addressFromLast20Bytes", - "nameLocation": "4479:22:11", - "parameters": { - "id": 8234, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8233, - "mutability": "mutable", - "name": "bytesValue", - "nameLocation": "4510:10:11", - "nodeType": "VariableDeclaration", - "scope": 8250, - "src": "4502:18:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8232, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4502:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "4501:20:11" - }, - "returnParameters": { - "id": 8237, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8236, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8250, - "src": "4544:7:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8235, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4544:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4543:9:11" - }, - "scope": 8251, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - } - ], - "abstract": true, - "baseContracts": [], - "canonicalName": "StdUtils", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 8251 - ], - "name": "StdUtils", - "nameLocation": "109:8:11", - "scope": 8252, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 11 -} \ No newline at end of file diff --git a/out/Strings.sol/Strings.json b/out/Strings.sol/Strings.json deleted file mode 100644 index 6d94e18..0000000 --- a/out/Strings.sol/Strings.json +++ /dev/null @@ -1,2494 +0,0 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea264697066735822122021561c4acc3afb629f12e9c487836d820d79d612a38846fff840ecbaf60ed3c564736f6c63430008110033", - "sourceMap": "188:2065:26:-:0;;;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x600080fdfea264697066735822122021561c4acc3afb629f12e9c487836d820d79d612a38846fff840ecbaf60ed3c564736f6c63430008110033", - "sourceMap": "188:2065:26:-:0;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"String operations.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":\"Strings\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634\",\"dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb\"]},\"node_modules/@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b\",\"dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/Strings.sol": "Strings" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "node_modules/@openzeppelin/contracts/utils/Strings.sol": { - "keccak256": "0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a", - "urls": [ - "bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634", - "dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/math/Math.sol": { - "keccak256": "0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6", - "urls": [ - "bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b", - "dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Strings.sol", - "id": 27529, - "exportedSymbols": { - "Math": [ - 28429 - ], - "Strings": [ - 27528 - ] - }, - "nodeType": "SourceUnit", - "src": "101:2153:26", - "nodes": [ - { - "id": 27355, - "nodeType": "PragmaDirective", - "src": "101:23:26", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 27356, - "nodeType": "ImportDirective", - "src": "126:25:26", - "nodes": [], - "absolutePath": "node_modules/@openzeppelin/contracts/utils/math/Math.sol", - "file": "./math/Math.sol", - "nameLocation": "-1:-1:-1", - "scope": 27529, - "sourceUnit": 28430, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 27528, - "nodeType": "ContractDefinition", - "src": "188:2065:26", - "nodes": [ - { - "id": 27360, - "nodeType": "VariableDeclaration", - "src": "210:54:26", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "_SYMBOLS", - "nameLocation": "235:8:26", - "scope": 27528, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - }, - "typeName": { - "id": 27358, - "name": "bytes16", - "nodeType": "ElementaryTypeName", - "src": "210:7:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "value": { - "hexValue": "30313233343536373839616263646566", - "id": 27359, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "246:18:26", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cb29997ed99ead0db59ce4d12b7d3723198c827273e5796737c926d78019c39f", - "typeString": "literal_string \"0123456789abcdef\"" - }, - "value": "0123456789abcdef" - }, - "visibility": "private" - }, - { - "id": 27363, - "nodeType": "VariableDeclaration", - "src": "270:43:26", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "_ADDRESS_LENGTH", - "nameLocation": "293:15:26", - "scope": 27528, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 27361, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "270:5:26", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": { - "hexValue": "3230", - "id": 27362, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "311:2:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_20_by_1", - "typeString": "int_const 20" - }, - "value": "20" - }, - "visibility": "private" - }, - { - "id": 27411, - "nodeType": "FunctionDefinition", - "src": "415:696:26", - "nodes": [], - "body": { - "id": 27410, - "nodeType": "Block", - "src": "486:625:26", - "nodes": [], - "statements": [ - { - "id": 27409, - "nodeType": "UncheckedBlock", - "src": "496:609:26", - "statements": [ - { - "assignments": [ - 27372 - ], - "declarations": [ - { - "constant": false, - "id": 27372, - "mutability": "mutable", - "name": "length", - "nameLocation": "528:6:26", - "nodeType": "VariableDeclaration", - "scope": 27409, - "src": "520:14:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27371, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "520:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 27379, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27378, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 27375, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27366, - "src": "548:5:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 27373, - "name": "Math", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28429, - "src": "537:4:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Math_$28429_$", - "typeString": "type(library Math)" - } - }, - "id": 27374, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "542:5:26", - "memberName": "log10", - "nodeType": "MemberAccess", - "referencedDeclaration": 28266, - "src": "537:10:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256) pure returns (uint256)" - } - }, - "id": 27376, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "537:17:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 27377, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "557:1:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "537:21:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "520:38:26" - }, - { - "assignments": [ - 27381 - ], - "declarations": [ - { - "constant": false, - "id": 27381, - "mutability": "mutable", - "name": "buffer", - "nameLocation": "586:6:26", - "nodeType": "VariableDeclaration", - "scope": 27409, - "src": "572:20:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 27380, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "572:6:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 27386, - "initialValue": { - "arguments": [ - { - "id": 27384, - "name": "length", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27372, - "src": "606:6:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27383, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "595:10:26", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory)" - }, - "typeName": { - "id": 27382, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "599:6:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - } - }, - "id": 27385, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "595:18:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "572:41:26" - }, - { - "assignments": [ - 27388 - ], - "declarations": [ - { - "constant": false, - "id": 27388, - "mutability": "mutable", - "name": "ptr", - "nameLocation": "635:3:26", - "nodeType": "VariableDeclaration", - "scope": 27409, - "src": "627:11:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27387, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "627:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 27389, - "nodeType": "VariableDeclarationStatement", - "src": "627:11:26" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "708:67:26", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "726:35:26", - "value": { - "arguments": [ - { - "name": "buffer", - "nodeType": "YulIdentifier", - "src": "737:6:26" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "749:2:26", - "type": "", - "value": "32" - }, - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "753:6:26" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "745:3:26" - }, - "nodeType": "YulFunctionCall", - "src": "745:15:26" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "733:3:26" - }, - "nodeType": "YulFunctionCall", - "src": "733:28:26" - }, - "variableNames": [ - { - "name": "ptr", - "nodeType": "YulIdentifier", - "src": "726:3:26" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 27381, - "isOffset": false, - "isSlot": false, - "src": "737:6:26", - "valueSize": 1 - }, - { - "declaration": 27372, - "isOffset": false, - "isSlot": false, - "src": "753:6:26", - "valueSize": 1 - }, - { - "declaration": 27388, - "isOffset": false, - "isSlot": false, - "src": "726:3:26", - "valueSize": 1 - } - ], - "id": 27390, - "nodeType": "InlineAssembly", - "src": "699:76:26" - }, - { - "body": { - "id": 27405, - "nodeType": "Block", - "src": "801:267:26", - "statements": [ - { - "expression": { - "id": 27393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": false, - "src": "819:5:26", - "subExpression": { - "id": 27392, - "name": "ptr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27388, - "src": "819:3:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27394, - "nodeType": "ExpressionStatement", - "src": "819:5:26" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "902:84:26", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "ptr", - "nodeType": "YulIdentifier", - "src": "932:3:26" - }, - { - "arguments": [ - { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "946:5:26" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "953:2:26", - "type": "", - "value": "10" - } - ], - "functionName": { - "name": "mod", - "nodeType": "YulIdentifier", - "src": "942:3:26" - }, - "nodeType": "YulFunctionCall", - "src": "942:14:26" - }, - { - "name": "_SYMBOLS", - "nodeType": "YulIdentifier", - "src": "958:8:26" - } - ], - "functionName": { - "name": "byte", - "nodeType": "YulIdentifier", - "src": "937:4:26" - }, - "nodeType": "YulFunctionCall", - "src": "937:30:26" - } - ], - "functionName": { - "name": "mstore8", - "nodeType": "YulIdentifier", - "src": "924:7:26" - }, - "nodeType": "YulFunctionCall", - "src": "924:44:26" - }, - "nodeType": "YulExpressionStatement", - "src": "924:44:26" - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 27360, - "isOffset": false, - "isSlot": false, - "src": "958:8:26", - "valueSize": 1 - }, - { - "declaration": 27388, - "isOffset": false, - "isSlot": false, - "src": "932:3:26", - "valueSize": 1 - }, - { - "declaration": 27366, - "isOffset": false, - "isSlot": false, - "src": "946:5:26", - "valueSize": 1 - } - ], - "id": 27395, - "nodeType": "InlineAssembly", - "src": "893:93:26" - }, - { - "expression": { - "id": 27398, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27396, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27366, - "src": "1003:5:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "/=", - "rightHandSide": { - "hexValue": "3130", - "id": 27397, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1012:2:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "src": "1003:11:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27399, - "nodeType": "ExpressionStatement", - "src": "1003:11:26" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27402, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27400, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27366, - "src": "1036:5:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 27401, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1045:1:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1036:10:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 27404, - "nodeType": "IfStatement", - "src": "1032:21:26", - "trueBody": { - "id": 27403, - "nodeType": "Break", - "src": "1048:5:26" - } - } - ] - }, - "condition": { - "hexValue": "74727565", - "id": 27391, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "795:4:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "id": 27406, - "nodeType": "WhileStatement", - "src": "788:280:26" - }, - { - "expression": { - "id": 27407, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27381, - "src": "1088:6:26", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 27370, - "id": 27408, - "nodeType": "Return", - "src": "1081:13:26" - } - ] - } - ] - }, - "documentation": { - "id": 27364, - "nodeType": "StructuredDocumentation", - "src": "320:90:26", - "text": " @dev Converts a `uint256` to its ASCII `string` decimal representation." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "424:8:26", - "parameters": { - "id": 27367, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27366, - "mutability": "mutable", - "name": "value", - "nameLocation": "441:5:26", - "nodeType": "VariableDeclaration", - "scope": 27411, - "src": "433:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27365, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "433:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "432:15:26" - }, - "returnParameters": { - "id": 27370, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27369, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27411, - "src": "471:13:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 27368, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "471:6:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "470:15:26" - }, - "scope": 27528, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27431, - "nodeType": "FunctionDefinition", - "src": "1216:174:26", - "nodes": [], - "body": { - "id": 27430, - "nodeType": "Block", - "src": "1290:100:26", - "nodes": [], - "statements": [ - { - "id": 27429, - "nodeType": "UncheckedBlock", - "src": "1300:84:26", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 27420, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27414, - "src": "1343:5:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 27423, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27414, - "src": "1362:5:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 27421, - "name": "Math", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28429, - "src": "1350:4:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Math_$28429_$", - "typeString": "type(library Math)" - } - }, - "id": 27422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1355:6:26", - "memberName": "log256", - "nodeType": "MemberAccess", - "referencedDeclaration": 28389, - "src": "1350:11:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256) pure returns (uint256)" - } - }, - "id": 27424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1350:18:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 27425, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1371:1:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1350:22:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27419, - "name": "toHexString", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 27431, - 27507, - 27527 - ], - "referencedDeclaration": 27507, - "src": "1331:11:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256,uint256) pure returns (string memory)" - } - }, - "id": 27427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1331:42:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 27418, - "id": 27428, - "nodeType": "Return", - "src": "1324:49:26" - } - ] - } - ] - }, - "documentation": { - "id": 27412, - "nodeType": "StructuredDocumentation", - "src": "1117:94:26", - "text": " @dev Converts a `uint256` to its ASCII `string` hexadecimal representation." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toHexString", - "nameLocation": "1225:11:26", - "parameters": { - "id": 27415, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27414, - "mutability": "mutable", - "name": "value", - "nameLocation": "1245:5:26", - "nodeType": "VariableDeclaration", - "scope": 27431, - "src": "1237:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27413, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1237:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1236:15:26" - }, - "returnParameters": { - "id": 27418, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27417, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27431, - "src": "1275:13:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 27416, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1275:6:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1274:15:26" - }, - "scope": 27528, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27507, - "nodeType": "FunctionDefinition", - "src": "1513:437:26", - "nodes": [], - "body": { - "id": 27506, - "nodeType": "Block", - "src": "1603:347:26", - "nodes": [], - "statements": [ - { - "assignments": [ - 27442 - ], - "declarations": [ - { - "constant": false, - "id": 27442, - "mutability": "mutable", - "name": "buffer", - "nameLocation": "1626:6:26", - "nodeType": "VariableDeclaration", - "scope": 27506, - "src": "1613:19:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27441, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1613:5:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 27451, - "initialValue": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 27445, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1645:1:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 27446, - "name": "length", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27436, - "src": "1649:6:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1645:10:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "32", - "id": 27448, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1658:1:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "1645:14:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27444, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "1635:9:26", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 27443, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1639:5:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 27450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1635:25:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1613:47:26" - }, - { - "expression": { - "id": 27456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 27452, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27442, - "src": "1670:6:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 27454, - "indexExpression": { - "hexValue": "30", - "id": 27453, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1677:1:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1670:9:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "30", - "id": 27455, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1682:3:26", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "typeString": "literal_string \"0\"" - }, - "value": "0" - }, - "src": "1670:15:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 27457, - "nodeType": "ExpressionStatement", - "src": "1670:15:26" - }, - { - "expression": { - "id": 27462, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 27458, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27442, - "src": "1695:6:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 27460, - "indexExpression": { - "hexValue": "31", - "id": 27459, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1702:1:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1695:9:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "78", - "id": 27461, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1707:3:26", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7521d1cadbcfa91eec65aa16715b94ffc1c9654ba57ea2ef1a2127bca1127a83", - "typeString": "literal_string \"x\"" - }, - "value": "x" - }, - "src": "1695:15:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 27463, - "nodeType": "ExpressionStatement", - "src": "1695:15:26" - }, - { - "body": { - "id": 27492, - "nodeType": "Block", - "src": "1765:83:26", - "statements": [ - { - "expression": { - "id": 27486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 27478, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27442, - "src": "1779:6:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 27480, - "indexExpression": { - "id": 27479, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27465, - "src": "1786:1:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1779:9:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 27481, - "name": "_SYMBOLS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27360, - "src": "1791:8:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "id": 27485, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27482, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27434, - "src": "1800:5:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "hexValue": "307866", - "id": 27483, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1808:3:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_15_by_1", - "typeString": "int_const 15" - }, - "value": "0xf" - }, - "src": "1800:11:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1791:21:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "1779:33:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 27487, - "nodeType": "ExpressionStatement", - "src": "1779:33:26" - }, - { - "expression": { - "id": 27490, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27488, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27434, - "src": "1826:5:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": ">>=", - "rightHandSide": { - "hexValue": "34", - "id": 27489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1836:1:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - }, - "src": "1826:11:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27491, - "nodeType": "ExpressionStatement", - "src": "1826:11:26" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27472, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27465, - "src": "1753:1:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "31", - "id": 27473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1757:1:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1753:5:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 27493, - "initializationExpression": { - "assignments": [ - 27465 - ], - "declarations": [ - { - "constant": false, - "id": 27465, - "mutability": "mutable", - "name": "i", - "nameLocation": "1733:1:26", - "nodeType": "VariableDeclaration", - "scope": 27493, - "src": "1725:9:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27464, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1725:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 27471, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 27466, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1737:1:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 27467, - "name": "length", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27436, - "src": "1741:6:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1737:10:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 27469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1750:1:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1737:14:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1725:26:26" - }, - "loopExpression": { - "expression": { - "id": 27476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": true, - "src": "1760:3:26", - "subExpression": { - "id": 27475, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27465, - "src": "1762:1:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27477, - "nodeType": "ExpressionStatement", - "src": "1760:3:26" - }, - "nodeType": "ForStatement", - "src": "1720:128:26" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27497, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27495, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27434, - "src": "1865:5:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 27496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1874:1:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1865:10:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "537472696e67733a20686578206c656e67746820696e73756666696369656e74", - "id": 27498, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1877:34:26", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2", - "typeString": "literal_string \"Strings: hex length insufficient\"" - }, - "value": "Strings: hex length insufficient" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2", - "typeString": "literal_string \"Strings: hex length insufficient\"" - } - ], - "id": 27494, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1857:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 27499, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1857:55:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27500, - "nodeType": "ExpressionStatement", - "src": "1857:55:26" - }, - { - "expression": { - "arguments": [ - { - "id": 27503, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27442, - "src": "1936:6:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 27502, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1929:6:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 27501, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1929:6:26", - "typeDescriptions": {} - } - }, - "id": 27504, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1929:14:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 27440, - "id": 27505, - "nodeType": "Return", - "src": "1922:21:26" - } - ] - }, - "documentation": { - "id": 27432, - "nodeType": "StructuredDocumentation", - "src": "1396:112:26", - "text": " @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toHexString", - "nameLocation": "1522:11:26", - "parameters": { - "id": 27437, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27434, - "mutability": "mutable", - "name": "value", - "nameLocation": "1542:5:26", - "nodeType": "VariableDeclaration", - "scope": 27507, - "src": "1534:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27433, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1534:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27436, - "mutability": "mutable", - "name": "length", - "nameLocation": "1557:6:26", - "nodeType": "VariableDeclaration", - "scope": 27507, - "src": "1549:14:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27435, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1549:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1533:31:26" - }, - "returnParameters": { - "id": 27440, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27439, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27507, - "src": "1588:13:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 27438, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1588:6:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1587:15:26" - }, - "scope": 27528, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27527, - "nodeType": "FunctionDefinition", - "src": "2102:149:26", - "nodes": [], - "body": { - "id": 27526, - "nodeType": "Block", - "src": "2175:76:26", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 27520, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27510, - "src": "2220:4:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 27519, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2212:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 27518, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "2212:7:26", - "typeDescriptions": {} - } - }, - "id": 27521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2212:13:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 27517, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2204:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 27516, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2204:7:26", - "typeDescriptions": {} - } - }, - "id": 27522, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2204:22:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 27523, - "name": "_ADDRESS_LENGTH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27363, - "src": "2228:15:26", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - ], - "id": 27515, - "name": "toHexString", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 27431, - 27507, - 27527 - ], - "referencedDeclaration": 27507, - "src": "2192:11:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256,uint256) pure returns (string memory)" - } - }, - "id": 27524, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2192:52:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 27514, - "id": 27525, - "nodeType": "Return", - "src": "2185:59:26" - } - ] - }, - "documentation": { - "id": 27508, - "nodeType": "StructuredDocumentation", - "src": "1956:141:26", - "text": " @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toHexString", - "nameLocation": "2111:11:26", - "parameters": { - "id": 27511, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27510, - "mutability": "mutable", - "name": "addr", - "nameLocation": "2131:4:26", - "nodeType": "VariableDeclaration", - "scope": 27527, - "src": "2123:12:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 27509, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2123:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2122:14:26" - }, - "returnParameters": { - "id": 27514, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27513, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27527, - "src": "2160:13:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 27512, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2160:6:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2159:15:26" - }, - "scope": 27528, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "Strings", - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 27357, - "nodeType": "StructuredDocumentation", - "src": "153:34:26", - "text": " @dev String operations." - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 27528 - ], - "name": "Strings", - "nameLocation": "196:7:26", - "scope": 27529, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 26 -} \ No newline at end of file diff --git a/out/Test.sol/Test.json b/out/Test.sol/Test.json deleted file mode 100644 index 6ca7133..0000000 --- a/out/Test.sol/Test.json +++ /dev/null @@ -1,1352 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "log", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "log_address", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256[]", - "name": "val", - "type": "uint256[]" - } - ], - "name": "log_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "int256[]", - "name": "val", - "type": "int256[]" - } - ], - "name": "log_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address[]", - "name": "val", - "type": "address[]" - } - ], - "name": "log_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "log_bytes", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "log_bytes32", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "name": "log_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "address", - "name": "val", - "type": "address" - } - ], - "name": "log_named_address", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256[]", - "name": "val", - "type": "uint256[]" - } - ], - "name": "log_named_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256[]", - "name": "val", - "type": "int256[]" - } - ], - "name": "log_named_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "address[]", - "name": "val", - "type": "address[]" - } - ], - "name": "log_named_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "val", - "type": "bytes" - } - ], - "name": "log_named_bytes", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "val", - "type": "bytes32" - } - ], - "name": "log_named_bytes32", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256", - "name": "val", - "type": "int256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "decimals", - "type": "uint256" - } - ], - "name": "log_named_decimal_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "val", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "decimals", - "type": "uint256" - } - ], - "name": "log_named_decimal_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256", - "name": "val", - "type": "int256" - } - ], - "name": "log_named_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "val", - "type": "string" - } - ], - "name": "log_named_string", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "val", - "type": "uint256" - } - ], - "name": "log_named_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "log_string", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "log_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "logs", - "type": "event" - }, - { - "inputs": [], - "name": "IS_TEST", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "failed", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "IS_TEST()": "fa7626d4", - "failed()": "ba414fa6" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"log\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"log_address\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"val\",\"type\":\"uint256[]\"}],\"name\":\"log_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int256[]\",\"name\":\"val\",\"type\":\"int256[]\"}],\"name\":\"log_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"val\",\"type\":\"address[]\"}],\"name\":\"log_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"log_bytes\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"log_bytes32\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"name\":\"log_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"val\",\"type\":\"address\"}],\"name\":\"log_named_address\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"val\",\"type\":\"uint256[]\"}],\"name\":\"log_named_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256[]\",\"name\":\"val\",\"type\":\"int256[]\"}],\"name\":\"log_named_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"val\",\"type\":\"address[]\"}],\"name\":\"log_named_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"val\",\"type\":\"bytes\"}],\"name\":\"log_named_bytes\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"val\",\"type\":\"bytes32\"}],\"name\":\"log_named_bytes32\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"val\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"}],\"name\":\"log_named_decimal_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"}],\"name\":\"log_named_decimal_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"val\",\"type\":\"int256\"}],\"name\":\"log_named_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"val\",\"type\":\"string\"}],\"name\":\"log_named_string\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"log_named_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"log_string\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"log_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"logs\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"IS_TEST\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"failed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/Test.sol\":\"Test\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"lib/forge-std/lib/ds-test/src/test.sol\":{\"keccak256\":\"0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5\",\"dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr\"]},\"lib/forge-std/src/Common.sol\":{\"keccak256\":\"0x3ed7f49e907eaf339c3bb0b79a81d303d0f9e37aa5b8a9854c0cbfc3ad9a3ef0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01c2532fb5fea32c6dc165518f2c4918af25d9139d17c11da330414c9797a70b\",\"dweb:/ipfs/QmV4r8a1e9Rgu2xoigVCuSv3fZ737wD2DXbV6ZmHXVUtDn\"]},\"lib/forge-std/src/Components.sol\":{\"keccak256\":\"0xd3b8ba6df58174d5d650a668dfa49eeee28b2b855514b9e793e1c0b69d747149\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cce2b2ca79d5ce993b91358ed3d588396295e0aba9bb923481c1ffa5058a0dcd\",\"dweb:/ipfs/QmPNymteQmLWk7SqQhNsF6Rbc3xFPY7xGb4fBKravHLXD3\"]},\"lib/forge-std/src/StdAssertions.sol\":{\"keccak256\":\"0xde2bdee8e0e530de3269da50ebba83f4f90dde817971488980b720281e3cde4d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cb3f05bb06b654db43f4ce38e22aa7e2296ee00615df5329623c08c9ac030f8d\",\"dweb:/ipfs/QmdKwTpFsTiDFmc8zGwbPRu8mDs4oiKdZvzSj3WpiiGaez\"]},\"lib/forge-std/src/StdCheats.sol\":{\"keccak256\":\"0xf0c5c17c4cdfd0de659cf5e58e0e1611b6ee53900d3ab8b07b871d71d0b37bc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://21ffda3891e7480d5fdbf7f5e9d539f0ed76204bca69738f8ee006395ef1e23e\",\"dweb:/ipfs/Qmbhbn8zVXrCyvhvoQ5AUSj3usVGqMbMSEHYkNPdbQKBxt\"]},\"lib/forge-std/src/StdError.sol\":{\"keccak256\":\"0xbf477b11a42d7611696956546bcfaa29317d1166bf65e402344599c05943fc77\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc2e117d1135e030862b96a6526a43feb38d396cc79857f1fb696d4eff0e5fd6\",\"dweb:/ipfs/QmdSuQ5RrQudTLsNmWXGEeVJX8gR5U9XPm6m4dwwuQnJrj\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x2291ee8f379552b86f34d98acb248d50442c7d4ab94aed03f1c8ddb6aea6852d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1ca6ca6fe35692428b507008b24e4ec4ba0cabaf58110fd0b4456a42e0166bdc\",\"dweb:/ipfs/QmUcSeXfYMyusrWxEdPRMeWFYhf9qD6YJaZXCVo29F4eus\"]},\"lib/forge-std/src/StdMath.sol\":{\"keccak256\":\"0xd90ad4fd8aeaeb8929964e686e769fdedd5eded3fc3815df194a0ab9f91a3fb2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7919b70f636c7b805223992f28ad1ad0145d6c1385b5931a3589aface5fe6c92\",\"dweb:/ipfs/QmY7FRaULwoGgFteF8GawjQJRfasNgpWnU2aiMsFrYpuTC\"]},\"lib/forge-std/src/StdStorage.sol\":{\"keccak256\":\"0xb0da85ce6999940eba6190a26c15b9bc7aede57123891287e1b30f80333a9cf5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d287fd41de40ef992588f7a9531e66d1e9f8e4f3f194b9e721ac576d4613964a\",\"dweb:/ipfs/QmbFYYjoc8WGLKVfDe4rscYPwdGq48incbwRQNoLtcMMjn\"]},\"lib/forge-std/src/StdUtils.sol\":{\"keccak256\":\"0x216818221765c43713791708d7dc83fcd5ada81766c9d4ce54551528c191a59f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3f03d0ef065ce600e5922f3e9c92f0f54ff7c12895a250fa97d83e9ee38e7e2b\",\"dweb:/ipfs/QmX59m9mNRNEhjhEZnxbDirniesi26pnDaNzF5hPB4A3E8\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x6dc670615c9d04adf786ed4f18095b2142311c93dfda6459732da919d9113c17\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4eb56f37ea1c9bb72d2064b5e8fd134dd871dd0a9a3e081995c0fa52dd82c74\",\"dweb:/ipfs/QmbQZeD1RfPWjUSZ8iEdUYoLBn1PuSHvSYzZ7V9rLrRK4T\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69\",\"dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0x225cc1ec33efd35c90e78aec0792ed9751cd6217e646271172421e96e2e2cc0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c6adbd216e40ca2387835b8618c82e7153cb826023d38943bbb0c2e992644aa\",\"dweb:/ipfs/QmZeejwEkm7iH9NHih7dPbuNqivuFn27EkgJesgByzS9wD\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string", - "indexed": false - } - ], - "type": "event", - "name": "log", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "log_address", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "val", - "type": "uint256[]", - "indexed": false - } - ], - "type": "event", - "name": "log_array", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "int256[]", - "name": "val", - "type": "int256[]", - "indexed": false - } - ], - "type": "event", - "name": "log_array", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "val", - "type": "address[]", - "indexed": false - } - ], - "type": "event", - "name": "log_array", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "log_bytes", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32", - "indexed": false - } - ], - "type": "event", - "name": "log_bytes32", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256", - "indexed": false - } - ], - "type": "event", - "name": "log_int", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "address", - "name": "val", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "log_named_address", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "uint256[]", - "name": "val", - "type": "uint256[]", - "indexed": false - } - ], - "type": "event", - "name": "log_named_array", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "int256[]", - "name": "val", - "type": "int256[]", - "indexed": false - } - ], - "type": "event", - "name": "log_named_array", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "address[]", - "name": "val", - "type": "address[]", - "indexed": false - } - ], - "type": "event", - "name": "log_named_array", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "bytes", - "name": "val", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "log_named_bytes", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "bytes32", - "name": "val", - "type": "bytes32", - "indexed": false - } - ], - "type": "event", - "name": "log_named_bytes32", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "int256", - "name": "val", - "type": "int256", - "indexed": false - }, - { - "internalType": "uint256", - "name": "decimals", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "log_named_decimal_int", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "uint256", - "name": "val", - "type": "uint256", - "indexed": false - }, - { - "internalType": "uint256", - "name": "decimals", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "log_named_decimal_uint", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "int256", - "name": "val", - "type": "int256", - "indexed": false - } - ], - "type": "event", - "name": "log_named_int", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "string", - "name": "val", - "type": "string", - "indexed": false - } - ], - "type": "event", - "name": "log_named_string", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "uint256", - "name": "val", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "log_named_uint", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string", - "indexed": false - } - ], - "type": "event", - "name": "log_string", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "log_uint", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "logs", - "anonymous": false - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "IS_TEST", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "failed", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/Test.sol": "Test" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "lib/forge-std/lib/ds-test/src/test.sol": { - "keccak256": "0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54", - "urls": [ - "bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5", - "dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr" - ], - "license": "GPL-3.0-or-later" - }, - "lib/forge-std/src/Common.sol": { - "keccak256": "0x3ed7f49e907eaf339c3bb0b79a81d303d0f9e37aa5b8a9854c0cbfc3ad9a3ef0", - "urls": [ - "bzz-raw://01c2532fb5fea32c6dc165518f2c4918af25d9139d17c11da330414c9797a70b", - "dweb:/ipfs/QmV4r8a1e9Rgu2xoigVCuSv3fZ737wD2DXbV6ZmHXVUtDn" - ], - "license": "MIT" - }, - "lib/forge-std/src/Components.sol": { - "keccak256": "0xd3b8ba6df58174d5d650a668dfa49eeee28b2b855514b9e793e1c0b69d747149", - "urls": [ - "bzz-raw://cce2b2ca79d5ce993b91358ed3d588396295e0aba9bb923481c1ffa5058a0dcd", - "dweb:/ipfs/QmPNymteQmLWk7SqQhNsF6Rbc3xFPY7xGb4fBKravHLXD3" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdAssertions.sol": { - "keccak256": "0xde2bdee8e0e530de3269da50ebba83f4f90dde817971488980b720281e3cde4d", - "urls": [ - "bzz-raw://cb3f05bb06b654db43f4ce38e22aa7e2296ee00615df5329623c08c9ac030f8d", - "dweb:/ipfs/QmdKwTpFsTiDFmc8zGwbPRu8mDs4oiKdZvzSj3WpiiGaez" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdCheats.sol": { - "keccak256": "0xf0c5c17c4cdfd0de659cf5e58e0e1611b6ee53900d3ab8b07b871d71d0b37bc6", - "urls": [ - "bzz-raw://21ffda3891e7480d5fdbf7f5e9d539f0ed76204bca69738f8ee006395ef1e23e", - "dweb:/ipfs/Qmbhbn8zVXrCyvhvoQ5AUSj3usVGqMbMSEHYkNPdbQKBxt" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdError.sol": { - "keccak256": "0xbf477b11a42d7611696956546bcfaa29317d1166bf65e402344599c05943fc77", - "urls": [ - "bzz-raw://bc2e117d1135e030862b96a6526a43feb38d396cc79857f1fb696d4eff0e5fd6", - "dweb:/ipfs/QmdSuQ5RrQudTLsNmWXGEeVJX8gR5U9XPm6m4dwwuQnJrj" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdJson.sol": { - "keccak256": "0x2291ee8f379552b86f34d98acb248d50442c7d4ab94aed03f1c8ddb6aea6852d", - "urls": [ - "bzz-raw://1ca6ca6fe35692428b507008b24e4ec4ba0cabaf58110fd0b4456a42e0166bdc", - "dweb:/ipfs/QmUcSeXfYMyusrWxEdPRMeWFYhf9qD6YJaZXCVo29F4eus" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdMath.sol": { - "keccak256": "0xd90ad4fd8aeaeb8929964e686e769fdedd5eded3fc3815df194a0ab9f91a3fb2", - "urls": [ - "bzz-raw://7919b70f636c7b805223992f28ad1ad0145d6c1385b5931a3589aface5fe6c92", - "dweb:/ipfs/QmY7FRaULwoGgFteF8GawjQJRfasNgpWnU2aiMsFrYpuTC" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdStorage.sol": { - "keccak256": "0xb0da85ce6999940eba6190a26c15b9bc7aede57123891287e1b30f80333a9cf5", - "urls": [ - "bzz-raw://d287fd41de40ef992588f7a9531e66d1e9f8e4f3f194b9e721ac576d4613964a", - "dweb:/ipfs/QmbFYYjoc8WGLKVfDe4rscYPwdGq48incbwRQNoLtcMMjn" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdUtils.sol": { - "keccak256": "0x216818221765c43713791708d7dc83fcd5ada81766c9d4ce54551528c191a59f", - "urls": [ - "bzz-raw://3f03d0ef065ce600e5922f3e9c92f0f54ff7c12895a250fa97d83e9ee38e7e2b", - "dweb:/ipfs/QmX59m9mNRNEhjhEZnxbDirniesi26pnDaNzF5hPB4A3E8" - ], - "license": "MIT" - }, - "lib/forge-std/src/Test.sol": { - "keccak256": "0x6dc670615c9d04adf786ed4f18095b2142311c93dfda6459732da919d9113c17", - "urls": [ - "bzz-raw://b4eb56f37ea1c9bb72d2064b5e8fd134dd871dd0a9a3e081995c0fa52dd82c74", - "dweb:/ipfs/QmbQZeD1RfPWjUSZ8iEdUYoLBn1PuSHvSYzZ7V9rLrRK4T" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7", - "urls": [ - "bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69", - "dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB" - ], - "license": "MIT" - }, - "lib/forge-std/src/console.sol": { - "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", - "urls": [ - "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", - "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" - ], - "license": "MIT" - }, - "lib/forge-std/src/console2.sol": { - "keccak256": "0x225cc1ec33efd35c90e78aec0792ed9751cd6217e646271172421e96e2e2cc0f", - "urls": [ - "bzz-raw://6c6adbd216e40ca2387835b8618c82e7153cb826023d38943bbb0c2e992644aa", - "dweb:/ipfs/QmZeejwEkm7iH9NHih7dPbuNqivuFn27EkgJesgByzS9wD" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/Test.sol", - "id": 8283, - "exportedSymbols": { - "CommonBase": [ - 2544 - ], - "DSTest": [ - 2512 - ], - "StdAssertions": [ - 3370 - ], - "StdCheats": [ - 5483 - ], - "StdStorage": [ - 6388 - ], - "StdUtils": [ - 8251 - ], - "Test": [ - 8282 - ], - "TestBase": [ - 8271 - ], - "Vm": [ - 9256 - ], - "console": [ - 17320 - ], - "console2": [ - 25385 - ], - "stdError": [ - 5549 - ], - "stdJson": [ - 6215 - ], - "stdMath": [ - 6357 - ], - "stdStorage": [ - 7822 - ] - }, - "nodeType": "SourceUnit", - "src": "32:404:12", - "nodes": [ - { - "id": 8253, - "nodeType": "PragmaDirective", - "src": "32:31:12", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.6", - ".2", - "<", - "0.9", - ".0" - ] - }, - { - "id": 8255, - "nodeType": "ImportDirective", - "src": "65:40:12", - "nodes": [], - "absolutePath": "lib/forge-std/src/Common.sol", - "file": "./Common.sol", - "nameLocation": "-1:-1:-1", - "scope": 8283, - "sourceUnit": 2545, - "symbolAliases": [ - { - "foreign": { - "id": 8254, - "name": "CommonBase", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2544, - "src": "73:10:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 8256, - "nodeType": "ImportDirective", - "src": "106:26:12", - "nodes": [], - "absolutePath": "lib/forge-std/lib/ds-test/src/test.sol", - "file": "ds-test/test.sol", - "nameLocation": "-1:-1:-1", - "scope": 8283, - "sourceUnit": 2513, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 8268, - "nodeType": "ImportDirective", - "src": "164:143:12", - "nodes": [], - "absolutePath": "lib/forge-std/src/Components.sol", - "file": "./Components.sol", - "nameLocation": "-1:-1:-1", - "scope": 8283, - "sourceUnit": 2557, - "symbolAliases": [ - { - "foreign": { - "id": 8257, - "name": "console", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17320, - "src": "172:7:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8258, - "name": "console2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25385, - "src": "181:8:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8259, - "name": "StdAssertions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3370, - "src": "191:13:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8260, - "name": "StdCheats", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5483, - "src": "206:9:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8261, - "name": "stdError", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5549, - "src": "217:8:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8262, - "name": "stdJson", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6215, - "src": "227:7:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8263, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6357, - "src": "236:7:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8264, - "name": "StdStorage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6388, - "src": "245:10:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8265, - "name": "stdStorage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7822, - "src": "257:10:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8266, - "name": "StdUtils", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8251, - "src": "269:8:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8267, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9256, - "src": "279:2:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 8271, - "nodeType": "ContractDefinition", - "src": "309:43:12", - "nodes": [], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 8269, - "name": "CommonBase", - "nameLocations": [ - "339:10:12" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 2544, - "src": "339:10:12" - }, - "id": 8270, - "nodeType": "InheritanceSpecifier", - "src": "339:10:12" - } - ], - "canonicalName": "TestBase", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 8271, - 2544 - ], - "name": "TestBase", - "nameLocation": "327:8:12", - "scope": 8283, - "usedErrors": [] - }, - { - "id": 8282, - "nodeType": "ContractDefinition", - "src": "354:81:12", - "nodes": [], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 8272, - "name": "TestBase", - "nameLocations": [ - "380:8:12" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 8271, - "src": "380:8:12" - }, - "id": 8273, - "nodeType": "InheritanceSpecifier", - "src": "380:8:12" - }, - { - "baseName": { - "id": 8274, - "name": "DSTest", - "nameLocations": [ - "390:6:12" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 2512, - "src": "390:6:12" - }, - "id": 8275, - "nodeType": "InheritanceSpecifier", - "src": "390:6:12" - }, - { - "baseName": { - "id": 8276, - "name": "StdAssertions", - "nameLocations": [ - "398:13:12" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3370, - "src": "398:13:12" - }, - "id": 8277, - "nodeType": "InheritanceSpecifier", - "src": "398:13:12" - }, - { - "baseName": { - "id": 8278, - "name": "StdCheats", - "nameLocations": [ - "413:9:12" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5483, - "src": "413:9:12" - }, - "id": 8279, - "nodeType": "InheritanceSpecifier", - "src": "413:9:12" - }, - { - "baseName": { - "id": 8280, - "name": "StdUtils", - "nameLocations": [ - "424:8:12" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 8251, - "src": "424:8:12" - }, - "id": 8281, - "nodeType": "InheritanceSpecifier", - "src": "424:8:12" - } - ], - "canonicalName": "Test", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 8282, - 8251, - 5483, - 5094, - 3370, - 2512, - 8271, - 2544 - ], - "name": "Test", - "nameLocation": "372:4:12", - "scope": 8283, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 12 -} \ No newline at end of file diff --git a/out/Test.sol/TestBase.json b/out/Test.sol/TestBase.json deleted file mode 100644 index 2cb3c40..0000000 --- a/out/Test.sol/TestBase.json +++ /dev/null @@ -1,567 +0,0 @@ -{ - "abi": [], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/Test.sol\":\"TestBase\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"lib/forge-std/lib/ds-test/src/test.sol\":{\"keccak256\":\"0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5\",\"dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr\"]},\"lib/forge-std/src/Common.sol\":{\"keccak256\":\"0x3ed7f49e907eaf339c3bb0b79a81d303d0f9e37aa5b8a9854c0cbfc3ad9a3ef0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01c2532fb5fea32c6dc165518f2c4918af25d9139d17c11da330414c9797a70b\",\"dweb:/ipfs/QmV4r8a1e9Rgu2xoigVCuSv3fZ737wD2DXbV6ZmHXVUtDn\"]},\"lib/forge-std/src/Components.sol\":{\"keccak256\":\"0xd3b8ba6df58174d5d650a668dfa49eeee28b2b855514b9e793e1c0b69d747149\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cce2b2ca79d5ce993b91358ed3d588396295e0aba9bb923481c1ffa5058a0dcd\",\"dweb:/ipfs/QmPNymteQmLWk7SqQhNsF6Rbc3xFPY7xGb4fBKravHLXD3\"]},\"lib/forge-std/src/StdAssertions.sol\":{\"keccak256\":\"0xde2bdee8e0e530de3269da50ebba83f4f90dde817971488980b720281e3cde4d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cb3f05bb06b654db43f4ce38e22aa7e2296ee00615df5329623c08c9ac030f8d\",\"dweb:/ipfs/QmdKwTpFsTiDFmc8zGwbPRu8mDs4oiKdZvzSj3WpiiGaez\"]},\"lib/forge-std/src/StdCheats.sol\":{\"keccak256\":\"0xf0c5c17c4cdfd0de659cf5e58e0e1611b6ee53900d3ab8b07b871d71d0b37bc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://21ffda3891e7480d5fdbf7f5e9d539f0ed76204bca69738f8ee006395ef1e23e\",\"dweb:/ipfs/Qmbhbn8zVXrCyvhvoQ5AUSj3usVGqMbMSEHYkNPdbQKBxt\"]},\"lib/forge-std/src/StdError.sol\":{\"keccak256\":\"0xbf477b11a42d7611696956546bcfaa29317d1166bf65e402344599c05943fc77\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc2e117d1135e030862b96a6526a43feb38d396cc79857f1fb696d4eff0e5fd6\",\"dweb:/ipfs/QmdSuQ5RrQudTLsNmWXGEeVJX8gR5U9XPm6m4dwwuQnJrj\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x2291ee8f379552b86f34d98acb248d50442c7d4ab94aed03f1c8ddb6aea6852d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1ca6ca6fe35692428b507008b24e4ec4ba0cabaf58110fd0b4456a42e0166bdc\",\"dweb:/ipfs/QmUcSeXfYMyusrWxEdPRMeWFYhf9qD6YJaZXCVo29F4eus\"]},\"lib/forge-std/src/StdMath.sol\":{\"keccak256\":\"0xd90ad4fd8aeaeb8929964e686e769fdedd5eded3fc3815df194a0ab9f91a3fb2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7919b70f636c7b805223992f28ad1ad0145d6c1385b5931a3589aface5fe6c92\",\"dweb:/ipfs/QmY7FRaULwoGgFteF8GawjQJRfasNgpWnU2aiMsFrYpuTC\"]},\"lib/forge-std/src/StdStorage.sol\":{\"keccak256\":\"0xb0da85ce6999940eba6190a26c15b9bc7aede57123891287e1b30f80333a9cf5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d287fd41de40ef992588f7a9531e66d1e9f8e4f3f194b9e721ac576d4613964a\",\"dweb:/ipfs/QmbFYYjoc8WGLKVfDe4rscYPwdGq48incbwRQNoLtcMMjn\"]},\"lib/forge-std/src/StdUtils.sol\":{\"keccak256\":\"0x216818221765c43713791708d7dc83fcd5ada81766c9d4ce54551528c191a59f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3f03d0ef065ce600e5922f3e9c92f0f54ff7c12895a250fa97d83e9ee38e7e2b\",\"dweb:/ipfs/QmX59m9mNRNEhjhEZnxbDirniesi26pnDaNzF5hPB4A3E8\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x6dc670615c9d04adf786ed4f18095b2142311c93dfda6459732da919d9113c17\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4eb56f37ea1c9bb72d2064b5e8fd134dd871dd0a9a3e081995c0fa52dd82c74\",\"dweb:/ipfs/QmbQZeD1RfPWjUSZ8iEdUYoLBn1PuSHvSYzZ7V9rLrRK4T\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69\",\"dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0x225cc1ec33efd35c90e78aec0792ed9751cd6217e646271172421e96e2e2cc0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c6adbd216e40ca2387835b8618c82e7153cb826023d38943bbb0c2e992644aa\",\"dweb:/ipfs/QmZeejwEkm7iH9NHih7dPbuNqivuFn27EkgJesgByzS9wD\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/Test.sol": "TestBase" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "lib/forge-std/lib/ds-test/src/test.sol": { - "keccak256": "0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54", - "urls": [ - "bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5", - "dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr" - ], - "license": "GPL-3.0-or-later" - }, - "lib/forge-std/src/Common.sol": { - "keccak256": "0x3ed7f49e907eaf339c3bb0b79a81d303d0f9e37aa5b8a9854c0cbfc3ad9a3ef0", - "urls": [ - "bzz-raw://01c2532fb5fea32c6dc165518f2c4918af25d9139d17c11da330414c9797a70b", - "dweb:/ipfs/QmV4r8a1e9Rgu2xoigVCuSv3fZ737wD2DXbV6ZmHXVUtDn" - ], - "license": "MIT" - }, - "lib/forge-std/src/Components.sol": { - "keccak256": "0xd3b8ba6df58174d5d650a668dfa49eeee28b2b855514b9e793e1c0b69d747149", - "urls": [ - "bzz-raw://cce2b2ca79d5ce993b91358ed3d588396295e0aba9bb923481c1ffa5058a0dcd", - "dweb:/ipfs/QmPNymteQmLWk7SqQhNsF6Rbc3xFPY7xGb4fBKravHLXD3" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdAssertions.sol": { - "keccak256": "0xde2bdee8e0e530de3269da50ebba83f4f90dde817971488980b720281e3cde4d", - "urls": [ - "bzz-raw://cb3f05bb06b654db43f4ce38e22aa7e2296ee00615df5329623c08c9ac030f8d", - "dweb:/ipfs/QmdKwTpFsTiDFmc8zGwbPRu8mDs4oiKdZvzSj3WpiiGaez" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdCheats.sol": { - "keccak256": "0xf0c5c17c4cdfd0de659cf5e58e0e1611b6ee53900d3ab8b07b871d71d0b37bc6", - "urls": [ - "bzz-raw://21ffda3891e7480d5fdbf7f5e9d539f0ed76204bca69738f8ee006395ef1e23e", - "dweb:/ipfs/Qmbhbn8zVXrCyvhvoQ5AUSj3usVGqMbMSEHYkNPdbQKBxt" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdError.sol": { - "keccak256": "0xbf477b11a42d7611696956546bcfaa29317d1166bf65e402344599c05943fc77", - "urls": [ - "bzz-raw://bc2e117d1135e030862b96a6526a43feb38d396cc79857f1fb696d4eff0e5fd6", - "dweb:/ipfs/QmdSuQ5RrQudTLsNmWXGEeVJX8gR5U9XPm6m4dwwuQnJrj" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdJson.sol": { - "keccak256": "0x2291ee8f379552b86f34d98acb248d50442c7d4ab94aed03f1c8ddb6aea6852d", - "urls": [ - "bzz-raw://1ca6ca6fe35692428b507008b24e4ec4ba0cabaf58110fd0b4456a42e0166bdc", - "dweb:/ipfs/QmUcSeXfYMyusrWxEdPRMeWFYhf9qD6YJaZXCVo29F4eus" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdMath.sol": { - "keccak256": "0xd90ad4fd8aeaeb8929964e686e769fdedd5eded3fc3815df194a0ab9f91a3fb2", - "urls": [ - "bzz-raw://7919b70f636c7b805223992f28ad1ad0145d6c1385b5931a3589aface5fe6c92", - "dweb:/ipfs/QmY7FRaULwoGgFteF8GawjQJRfasNgpWnU2aiMsFrYpuTC" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdStorage.sol": { - "keccak256": "0xb0da85ce6999940eba6190a26c15b9bc7aede57123891287e1b30f80333a9cf5", - "urls": [ - "bzz-raw://d287fd41de40ef992588f7a9531e66d1e9f8e4f3f194b9e721ac576d4613964a", - "dweb:/ipfs/QmbFYYjoc8WGLKVfDe4rscYPwdGq48incbwRQNoLtcMMjn" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdUtils.sol": { - "keccak256": "0x216818221765c43713791708d7dc83fcd5ada81766c9d4ce54551528c191a59f", - "urls": [ - "bzz-raw://3f03d0ef065ce600e5922f3e9c92f0f54ff7c12895a250fa97d83e9ee38e7e2b", - "dweb:/ipfs/QmX59m9mNRNEhjhEZnxbDirniesi26pnDaNzF5hPB4A3E8" - ], - "license": "MIT" - }, - "lib/forge-std/src/Test.sol": { - "keccak256": "0x6dc670615c9d04adf786ed4f18095b2142311c93dfda6459732da919d9113c17", - "urls": [ - "bzz-raw://b4eb56f37ea1c9bb72d2064b5e8fd134dd871dd0a9a3e081995c0fa52dd82c74", - "dweb:/ipfs/QmbQZeD1RfPWjUSZ8iEdUYoLBn1PuSHvSYzZ7V9rLrRK4T" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7", - "urls": [ - "bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69", - "dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB" - ], - "license": "MIT" - }, - "lib/forge-std/src/console.sol": { - "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", - "urls": [ - "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", - "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" - ], - "license": "MIT" - }, - "lib/forge-std/src/console2.sol": { - "keccak256": "0x225cc1ec33efd35c90e78aec0792ed9751cd6217e646271172421e96e2e2cc0f", - "urls": [ - "bzz-raw://6c6adbd216e40ca2387835b8618c82e7153cb826023d38943bbb0c2e992644aa", - "dweb:/ipfs/QmZeejwEkm7iH9NHih7dPbuNqivuFn27EkgJesgByzS9wD" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/Test.sol", - "id": 8283, - "exportedSymbols": { - "CommonBase": [ - 2544 - ], - "DSTest": [ - 2512 - ], - "StdAssertions": [ - 3370 - ], - "StdCheats": [ - 5483 - ], - "StdStorage": [ - 6388 - ], - "StdUtils": [ - 8251 - ], - "Test": [ - 8282 - ], - "TestBase": [ - 8271 - ], - "Vm": [ - 9256 - ], - "console": [ - 17320 - ], - "console2": [ - 25385 - ], - "stdError": [ - 5549 - ], - "stdJson": [ - 6215 - ], - "stdMath": [ - 6357 - ], - "stdStorage": [ - 7822 - ] - }, - "nodeType": "SourceUnit", - "src": "32:404:12", - "nodes": [ - { - "id": 8253, - "nodeType": "PragmaDirective", - "src": "32:31:12", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.6", - ".2", - "<", - "0.9", - ".0" - ] - }, - { - "id": 8255, - "nodeType": "ImportDirective", - "src": "65:40:12", - "nodes": [], - "absolutePath": "lib/forge-std/src/Common.sol", - "file": "./Common.sol", - "nameLocation": "-1:-1:-1", - "scope": 8283, - "sourceUnit": 2545, - "symbolAliases": [ - { - "foreign": { - "id": 8254, - "name": "CommonBase", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2544, - "src": "73:10:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 8256, - "nodeType": "ImportDirective", - "src": "106:26:12", - "nodes": [], - "absolutePath": "lib/forge-std/lib/ds-test/src/test.sol", - "file": "ds-test/test.sol", - "nameLocation": "-1:-1:-1", - "scope": 8283, - "sourceUnit": 2513, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 8268, - "nodeType": "ImportDirective", - "src": "164:143:12", - "nodes": [], - "absolutePath": "lib/forge-std/src/Components.sol", - "file": "./Components.sol", - "nameLocation": "-1:-1:-1", - "scope": 8283, - "sourceUnit": 2557, - "symbolAliases": [ - { - "foreign": { - "id": 8257, - "name": "console", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17320, - "src": "172:7:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8258, - "name": "console2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25385, - "src": "181:8:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8259, - "name": "StdAssertions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3370, - "src": "191:13:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8260, - "name": "StdCheats", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5483, - "src": "206:9:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8261, - "name": "stdError", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5549, - "src": "217:8:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8262, - "name": "stdJson", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6215, - "src": "227:7:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8263, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6357, - "src": "236:7:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8264, - "name": "StdStorage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6388, - "src": "245:10:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8265, - "name": "stdStorage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7822, - "src": "257:10:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8266, - "name": "StdUtils", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8251, - "src": "269:8:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - }, - { - "foreign": { - "id": 8267, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9256, - "src": "279:2:12", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 8271, - "nodeType": "ContractDefinition", - "src": "309:43:12", - "nodes": [], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 8269, - "name": "CommonBase", - "nameLocations": [ - "339:10:12" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 2544, - "src": "339:10:12" - }, - "id": 8270, - "nodeType": "InheritanceSpecifier", - "src": "339:10:12" - } - ], - "canonicalName": "TestBase", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 8271, - 2544 - ], - "name": "TestBase", - "nameLocation": "327:8:12", - "scope": 8283, - "usedErrors": [] - }, - { - "id": 8282, - "nodeType": "ContractDefinition", - "src": "354:81:12", - "nodes": [], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 8272, - "name": "TestBase", - "nameLocations": [ - "380:8:12" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 8271, - "src": "380:8:12" - }, - "id": 8273, - "nodeType": "InheritanceSpecifier", - "src": "380:8:12" - }, - { - "baseName": { - "id": 8274, - "name": "DSTest", - "nameLocations": [ - "390:6:12" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 2512, - "src": "390:6:12" - }, - "id": 8275, - "nodeType": "InheritanceSpecifier", - "src": "390:6:12" - }, - { - "baseName": { - "id": 8276, - "name": "StdAssertions", - "nameLocations": [ - "398:13:12" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 3370, - "src": "398:13:12" - }, - "id": 8277, - "nodeType": "InheritanceSpecifier", - "src": "398:13:12" - }, - { - "baseName": { - "id": 8278, - "name": "StdCheats", - "nameLocations": [ - "413:9:12" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5483, - "src": "413:9:12" - }, - "id": 8279, - "nodeType": "InheritanceSpecifier", - "src": "413:9:12" - }, - { - "baseName": { - "id": 8280, - "name": "StdUtils", - "nameLocations": [ - "424:8:12" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 8251, - "src": "424:8:12" - }, - "id": 8281, - "nodeType": "InheritanceSpecifier", - "src": "424:8:12" - } - ], - "canonicalName": "Test", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 8282, - 8251, - 5483, - 5094, - 3370, - 2512, - 8271, - 2544 - ], - "name": "Test", - "nameLocation": "372:4:12", - "scope": 8283, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 12 -} \ No newline at end of file diff --git a/out/Vm.sol/Vm.json b/out/Vm.sol/Vm.json deleted file mode 100644 index 5fd36fa..0000000 --- a/out/Vm.sol/Vm.json +++ /dev/null @@ -1,16731 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "accesses", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "reads", - "type": "bytes32[]" - }, - { - "internalType": "bytes32[]", - "name": "writes", - "type": "bytes32[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "activeFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "addr", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "allowCheatcodes", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "name": "assume", - "outputs": [], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "broadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "broadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "broadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "chainId", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "clearMockedCalls", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "closeFile", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "coinbase", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "createFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "createFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "createFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "createSelectFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "createSelectFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "createSelectFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "deal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "name": "deriveKey", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "name": "deriveKey", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "difficulty", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envAddress", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envAddress", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBool", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBool", - "outputs": [ - { - "internalType": "bool[]", - "name": "", - "type": "bool[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBytes", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBytes", - "outputs": [ - { - "internalType": "bytes[]", - "name": "", - "type": "bytes[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBytes32", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBytes32", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envInt", - "outputs": [ - { - "internalType": "int256[]", - "name": "", - "type": "int256[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envInt", - "outputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envString", - "outputs": [ - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envUint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envUint", - "outputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "etch", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "expectCall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "expectCall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "name": "expectEmit", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "expectEmit", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - } - ], - "name": "expectRevert", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "expectRevert", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "expectRevert", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "fee", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ], - "name": "ffi", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "getCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "getDeployedCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "getNonce", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getRecordedLogs", - "outputs": [ - { - "components": [ - { - "internalType": "bytes32[]", - "name": "topics", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "address", - "name": "emitter", - "type": "address" - } - ], - "internalType": "struct VmSafe.Log[]", - "name": "", - "type": "tuple[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "isPersistent", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "label", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "load", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "name": "makePersistent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "makePersistent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "makePersistent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "makePersistent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "mockCall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "mockCall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseAddress", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseBool", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseBytes", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseBytes32", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseInt", - "outputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseJson", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseJson", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseUint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "prank", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "prank", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "projectRoot", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "readFile", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "readFileBinary", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "readLine", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "record", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recordLogs", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "rememberKey", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "removeFile", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "revertTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "name": "revokePersistent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "revokePersistent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "roll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "rollFork", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "forkId", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "name": "rollFork", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "rollFork", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "forkId", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "transaction", - "type": "bytes32" - } - ], - "name": "rollFork", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "rpcUrl", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "rpcUrlStructs", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "url", - "type": "string" - } - ], - "internalType": "struct VmSafe.Rpc[]", - "name": "", - "type": "tuple[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "rpcUrls", - "outputs": [ - { - "internalType": "string[2][]", - "name": "", - "type": "string[2][]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "selectFork", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "name": "serializeAddress", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "serializeAddress", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bool[]", - "name": "", - "type": "bool[]" - } - ], - "name": "serializeBool", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "name": "serializeBool", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes[]", - "name": "", - "type": "bytes[]" - } - ], - "name": "serializeBytes", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "serializeBytes", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "name": "serializeBytes32", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "serializeBytes32", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "name": "serializeInt", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "int256[]", - "name": "", - "type": "int256[]" - } - ], - "name": "serializeInt", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ], - "name": "serializeString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "serializeString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "serializeUint", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "serializeUint", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "setEnv", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "name": "setNonce", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "sign", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "snapshot", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "startBroadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "startBroadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "startBroadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "startPrank", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "startPrank", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "stopBroadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "stopPrank", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "store", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "forkId", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "txHash", - "type": "bytes32" - } - ], - "name": "transact", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "txHash", - "type": "bytes32" - } - ], - "name": "transact", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "warp", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "writeFile", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "writeFileBinary", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "writeJson", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "writeJson", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "writeLine", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "accesses(address)": "65bc9481", - "activeFork()": "2f103f22", - "addr(uint256)": "ffa18649", - "allowCheatcodes(address)": "ea060291", - "assume(bool)": "4c63e562", - "broadcast()": "afc98040", - "broadcast(address)": "e6962cdb", - "broadcast(uint256)": "f67a965b", - "chainId(uint256)": "4049ddd2", - "clearMockedCalls()": "3fdf4e15", - "closeFile(string)": "48c3241f", - "coinbase(address)": "ff483c54", - "createFork(string)": "31ba3498", - "createFork(string,bytes32)": "7ca29682", - "createFork(string,uint256)": "6ba3ba2b", - "createSelectFork(string)": "98680034", - "createSelectFork(string,bytes32)": "84d52b7a", - "createSelectFork(string,uint256)": "71ee464d", - "deal(address,uint256)": "c88a5e6d", - "deriveKey(string,string,uint32)": "6bcb2c1b", - "deriveKey(string,uint32)": "6229498b", - "difficulty(uint256)": "46cc92d9", - "envAddress(string)": "350d56bf", - "envAddress(string,string)": "ad31b9fa", - "envBool(string)": "7ed1ec7d", - "envBool(string,string)": "aaaddeaf", - "envBytes(string)": "4d7baf06", - "envBytes(string,string)": "ddc2651b", - "envBytes32(string)": "97949042", - "envBytes32(string,string)": "5af231c1", - "envInt(string)": "892a0c61", - "envInt(string,string)": "42181150", - "envString(string)": "f877cb19", - "envString(string,string)": "14b02bc9", - "envUint(string)": "c1978d1f", - "envUint(string,string)": "f3dec099", - "etch(address,bytes)": "b4d6c782", - "expectCall(address,bytes)": "bd6af434", - "expectCall(address,uint256,bytes)": "f30c7ba3", - "expectEmit(bool,bool,bool,bool)": "491cc7c2", - "expectEmit(bool,bool,bool,bool,address)": "81bad6f3", - "expectRevert()": "f4844814", - "expectRevert(bytes)": "f28dceb3", - "expectRevert(bytes4)": "c31eb0e0", - "fee(uint256)": "39b37ab0", - "ffi(string[])": "89160467", - "getCode(string)": "8d1cc925", - "getDeployedCode(string)": "3ebf73b4", - "getNonce(address)": "2d0335ab", - "getRecordedLogs()": "191553a4", - "isPersistent(address)": "d92d8efd", - "label(address,string)": "c657c718", - "load(address,bytes32)": "667f9d70", - "makePersistent(address)": "57e22dde", - "makePersistent(address,address)": "4074e0a8", - "makePersistent(address,address,address)": "efb77a75", - "makePersistent(address[])": "1d9e269e", - "mockCall(address,bytes,bytes)": "b96213e4", - "mockCall(address,uint256,bytes,bytes)": "81409b91", - "parseAddress(string)": "c6ce059d", - "parseBool(string)": "974ef924", - "parseBytes(string)": "8f5d232d", - "parseBytes32(string)": "087e6e81", - "parseInt(string)": "42346c5e", - "parseJson(string)": "6a82600a", - "parseJson(string,string)": "85940ef1", - "parseUint(string)": "fa91454d", - "prank(address)": "ca669fa7", - "prank(address,address)": "47e50cce", - "projectRoot()": "d930a0e6", - "readFile(string)": "60f9bb11", - "readFileBinary(string)": "16ed7bc4", - "readLine(string)": "70f55728", - "record()": "266cf109", - "recordLogs()": "41af2f52", - "rememberKey(uint256)": "22100064", - "removeFile(string)": "f1afe04d", - "revertTo(uint256)": "44d7f0a4", - "revokePersistent(address)": "997a0222", - "revokePersistent(address[])": "3ce969e6", - "roll(uint256)": "1f7b4f30", - "rollFork(bytes32)": "0f29772b", - "rollFork(uint256)": "d9bbf3a1", - "rollFork(uint256,bytes32)": "f2830f7b", - "rollFork(uint256,uint256)": "d74c83a4", - "rpcUrl(string)": "975a6ce9", - "rpcUrlStructs()": "9d2ad72a", - "rpcUrls()": "a85a8418", - "selectFork(uint256)": "9ebf6827", - "serializeAddress(string,string,address)": "972c6062", - "serializeAddress(string,string,address[])": "1e356e1a", - "serializeBool(string,string,bool)": "ac22e971", - "serializeBool(string,string,bool[])": "92925aa1", - "serializeBytes(string,string,bytes)": "f21d52c7", - "serializeBytes(string,string,bytes[])": "9884b232", - "serializeBytes32(string,string,bytes32)": "2d812b44", - "serializeBytes32(string,string,bytes32[])": "201e43e2", - "serializeInt(string,string,int256)": "3f33db60", - "serializeInt(string,string,int256[])": "7676e127", - "serializeString(string,string,string)": "88da6d35", - "serializeString(string,string,string[])": "561cd6f3", - "serializeUint(string,string,uint256)": "129e9002", - "serializeUint(string,string,uint256[])": "fee9a469", - "setEnv(string,string)": "3d5923ee", - "setNonce(address,uint64)": "f8e18b57", - "sign(uint256,bytes32)": "e341eaa4", - "snapshot()": "9711715a", - "startBroadcast()": "7fb5297f", - "startBroadcast(address)": "7fec2a8d", - "startBroadcast(uint256)": "ce817d47", - "startPrank(address)": "06447d56", - "startPrank(address,address)": "45b56078", - "stopBroadcast()": "76eadd36", - "stopPrank()": "90c5013b", - "store(address,bytes32,bytes32)": "70ca10bb", - "toString(address)": "56ca623e", - "toString(bool)": "71dce7da", - "toString(bytes)": "71aad10d", - "toString(bytes32)": "b11a19e8", - "toString(int256)": "a322c40e", - "toString(uint256)": "6900a3ae", - "transact(bytes32)": "be646da1", - "transact(uint256,bytes32)": "4d8abc4b", - "warp(uint256)": "e5d6bf02", - "writeFile(string,string)": "897e0a97", - "writeFileBinary(string,bytes)": "1f21fc80", - "writeJson(string,string)": "e23cd19f", - "writeJson(string,string,string)": "35d6ad46", - "writeLine(string,string)": "619d897f" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"accesses\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"reads\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"writes\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"activeFork\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"addr\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowCheatcodes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"assume\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"broadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"broadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"broadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"chainId\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"clearMockedCalls\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"closeFile\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"coinbase\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"createFork\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"createFork\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"createFork\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"createSelectFork\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"createSelectFork\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"createSelectFork\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"deal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"deriveKey\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"deriveKey\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"difficulty\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envAddress\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBool\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBool\",\"outputs\":[{\"internalType\":\"bool[]\",\"name\":\"\",\"type\":\"bool[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes32\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes32\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envInt\",\"outputs\":[{\"internalType\":\"int256[]\",\"name\":\"\",\"type\":\"int256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envInt\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envString\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envUint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envUint\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"etch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"expectCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"expectCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"expectEmit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"expectEmit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"name\":\"expectRevert\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"expectRevert\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"expectRevert\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"fee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"name\":\"ffi\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"getCode\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"getDeployedCode\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"getNonce\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRecordedLogs\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32[]\",\"name\":\"topics\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"emitter\",\"type\":\"address\"}],\"internalType\":\"struct VmSafe.Log[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isPersistent\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"label\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"load\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"name\":\"makePersistent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"makePersistent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"makePersistent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"makePersistent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"mockCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"mockCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseBool\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseBytes\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseBytes32\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseInt\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseJson\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseJson\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseUint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"prank\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"prank\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"projectRoot\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"readFile\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"readFileBinary\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"readLine\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"record\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"recordLogs\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"rememberKey\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"removeFile\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"revertTo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"name\":\"revokePersistent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"revokePersistent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"roll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"rollFork\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"forkId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"rollFork\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"rollFork\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"forkId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"transaction\",\"type\":\"bytes32\"}],\"name\":\"rollFork\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"rpcUrl\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rpcUrlStructs\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"url\",\"type\":\"string\"}],\"internalType\":\"struct VmSafe.Rpc[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rpcUrls\",\"outputs\":[{\"internalType\":\"string[2][]\",\"name\":\"\",\"type\":\"string[2][]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"selectFork\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"name\":\"serializeAddress\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"serializeAddress\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"bool[]\",\"name\":\"\",\"type\":\"bool[]\"}],\"name\":\"serializeBool\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"serializeBool\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"name\":\"serializeBytes\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"serializeBytes\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"name\":\"serializeBytes32\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"serializeBytes32\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"name\":\"serializeInt\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"int256[]\",\"name\":\"\",\"type\":\"int256[]\"}],\"name\":\"serializeInt\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"name\":\"serializeString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"serializeString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"serializeUint\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"name\":\"serializeUint\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"setEnv\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"name\":\"setNonce\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"sign\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"snapshot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"startBroadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"startBroadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"startBroadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"startPrank\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"startPrank\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stopBroadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stopPrank\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"store\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"forkId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"txHash\",\"type\":\"bytes32\"}],\"name\":\"transact\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"txHash\",\"type\":\"bytes32\"}],\"name\":\"transact\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"warp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"writeFile\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"writeFileBinary\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"writeJson\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"writeJson\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"writeLine\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"activeFork()\":{\"notice\":\"Returns the currently active fork Reverts if no fork is currently active\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/Vm.sol\":\"Vm\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69\",\"dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "accesses", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "reads", - "type": "bytes32[]" - }, - { - "internalType": "bytes32[]", - "name": "writes", - "type": "bytes32[]" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "activeFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "addr", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "allowCheatcodes" - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "assume" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "broadcast" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "broadcast" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "broadcast" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "chainId" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "clearMockedCalls" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "closeFile" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "coinbase" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "createFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "createFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "createFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "createSelectFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "createSelectFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "createSelectFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "deal" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "deriveKey", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "deriveKey", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "difficulty" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envAddress", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envAddress", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envBool", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envBool", - "outputs": [ - { - "internalType": "bool[]", - "name": "", - "type": "bool[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envBytes", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envBytes", - "outputs": [ - { - "internalType": "bytes[]", - "name": "", - "type": "bytes[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envBytes32", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envBytes32", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envInt", - "outputs": [ - { - "internalType": "int256[]", - "name": "", - "type": "int256[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envInt", - "outputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envString", - "outputs": [ - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envUint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envUint", - "outputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "etch" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "expectCall" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "expectCall" - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "expectEmit" - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "expectEmit" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "expectRevert" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "expectRevert" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "expectRevert" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "fee" - }, - { - "inputs": [ - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "ffi", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getDeployedCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getNonce", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "getRecordedLogs", - "outputs": [ - { - "internalType": "struct VmSafe.Log[]", - "name": "", - "type": "tuple[]", - "components": [ - { - "internalType": "bytes32[]", - "name": "topics", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "address", - "name": "emitter", - "type": "address" - } - ] - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "isPersistent", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "label" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "name": "load", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "makePersistent" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "makePersistent" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "makePersistent" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "makePersistent" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "mockCall" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "mockCall" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "parseAddress", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "parseBool", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "parseBytes", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "parseBytes32", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "parseInt", - "outputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "parseJson", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "parseJson", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "parseUint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "prank" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "prank" - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "projectRoot", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "readFile", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "readFileBinary", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "readLine", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "record" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "recordLogs" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "rememberKey", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "removeFile" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "revertTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "revokePersistent" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "revokePersistent" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "roll" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "rollFork" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "forkId", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "rollFork" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "rollFork" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "forkId", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "transaction", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "rollFork" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "rpcUrl", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "rpcUrlStructs", - "outputs": [ - { - "internalType": "struct VmSafe.Rpc[]", - "name": "", - "type": "tuple[]", - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "url", - "type": "string" - } - ] - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "rpcUrls", - "outputs": [ - { - "internalType": "string[2][]", - "name": "", - "type": "string[2][]" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "selectFork" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeAddress", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeAddress", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bool[]", - "name": "", - "type": "bool[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeBool", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeBool", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes[]", - "name": "", - "type": "bytes[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeBytes", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeBytes", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeBytes32", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeBytes32", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeInt", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "int256[]", - "name": "", - "type": "int256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeInt", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeUint", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeUint", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setEnv" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setNonce" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "sign", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "snapshot", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "startBroadcast" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "startBroadcast" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "startBroadcast" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "startPrank" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "startPrank" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "stopBroadcast" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "stopPrank" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "store" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "forkId", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "txHash", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "transact" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "txHash", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "transact" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "warp" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "writeFile" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "writeFileBinary" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "writeJson" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "writeJson" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "writeLine" - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": { - "activeFork()": { - "notice": "Returns the currently active fork Reverts if no fork is currently active" - } - }, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/Vm.sol": "Vm" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7", - "urls": [ - "bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69", - "dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/Vm.sol", - "id": 9257, - "exportedSymbols": { - "Vm": [ - 9256 - ], - "VmSafe": [ - 8931 - ] - }, - "nodeType": "SourceUnit", - "src": "32:20683:13", - "nodes": [ - { - "id": 8284, - "nodeType": "PragmaDirective", - "src": "32:31:13", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.6", - ".2", - "<", - "0.9", - ".0" - ] - }, - { - "id": 8285, - "nodeType": "PragmaDirective", - "src": "65:33:13", - "nodes": [], - "literals": [ - "experimental", - "ABIEncoderV2" - ] - }, - { - "id": 8931, - "nodeType": "ContractDefinition", - "src": "572:12988:13", - "nodes": [ - { - "id": 8293, - "nodeType": "StructDefinition", - "src": "595:89:13", - "nodes": [], - "canonicalName": "VmSafe.Log", - "members": [ - { - "constant": false, - "id": 8288, - "mutability": "mutable", - "name": "topics", - "nameLocation": "626:6:13", - "nodeType": "VariableDeclaration", - "scope": 8293, - "src": "616:16:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 8286, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "616:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 8287, - "nodeType": "ArrayTypeName", - "src": "616:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8290, - "mutability": "mutable", - "name": "data", - "nameLocation": "648:4:13", - "nodeType": "VariableDeclaration", - "scope": 8293, - "src": "642:10:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8289, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "642:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8292, - "mutability": "mutable", - "name": "emitter", - "nameLocation": "670:7:13", - "nodeType": "VariableDeclaration", - "scope": 8293, - "src": "662:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8291, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "662:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "name": "Log", - "nameLocation": "602:3:13", - "scope": 8931, - "visibility": "public" - }, - { - "id": 8298, - "nodeType": "StructDefinition", - "src": "690:59:13", - "nodes": [], - "canonicalName": "VmSafe.Rpc", - "members": [ - { - "constant": false, - "id": 8295, - "mutability": "mutable", - "name": "name", - "nameLocation": "718:4:13", - "nodeType": "VariableDeclaration", - "scope": 8298, - "src": "711:11:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8294, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "711:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8297, - "mutability": "mutable", - "name": "url", - "nameLocation": "739:3:13", - "nodeType": "VariableDeclaration", - "scope": 8298, - "src": "732:10:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8296, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "732:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "Rpc", - "nameLocation": "697:3:13", - "scope": 8931, - "visibility": "public" - }, - { - "id": 8307, - "nodeType": "FunctionDefinition", - "src": "811:64:13", - "nodes": [], - "functionSelector": "667f9d70", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "load", - "nameLocation": "820:4:13", - "parameters": { - "id": 8303, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8300, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8307, - "src": "825:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8299, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "825:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8302, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8307, - "src": "834:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8301, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "834:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "824:18:13" - }, - "returnParameters": { - "id": 8306, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8305, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8307, - "src": "866:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8304, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "866:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "865:9:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8320, - "nodeType": "FunctionDefinition", - "src": "933:80:13", - "nodes": [], - "functionSelector": "e341eaa4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "sign", - "nameLocation": "942:4:13", - "parameters": { - "id": 8312, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8309, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8320, - "src": "947:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8308, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "947:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8311, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8320, - "src": "956:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8310, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "956:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "946:18:13" - }, - "returnParameters": { - "id": 8319, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8314, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8320, - "src": "988:5:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 8313, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "988:5:13", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8316, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8320, - "src": "995:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8315, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "995:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8318, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8320, - "src": "1004:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8317, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1004:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "987:25:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8327, - "nodeType": "FunctionDefinition", - "src": "1093:55:13", - "nodes": [], - "functionSelector": "ffa18649", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "addr", - "nameLocation": "1102:4:13", - "parameters": { - "id": 8323, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8322, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8327, - "src": "1107:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8321, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1107:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1106:9:13" - }, - "returnParameters": { - "id": 8326, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8325, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8327, - "src": "1139:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8324, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1139:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1138:9:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8334, - "nodeType": "FunctionDefinition", - "src": "1189:58:13", - "nodes": [], - "functionSelector": "2d0335ab", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getNonce", - "nameLocation": "1198:8:13", - "parameters": { - "id": 8330, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8329, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8334, - "src": "1207:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8328, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1207:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1206:9:13" - }, - "returnParameters": { - "id": 8333, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8332, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8334, - "src": "1239:6:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 8331, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "1239:6:13", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "1238:8:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8342, - "nodeType": "FunctionDefinition", - "src": "1337:64:13", - "nodes": [], - "functionSelector": "89160467", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "ffi", - "nameLocation": "1346:3:13", - "parameters": { - "id": 8338, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8337, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8342, - "src": "1350:17:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 8335, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1350:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 8336, - "nodeType": "ArrayTypeName", - "src": "1350:8:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "1349:19:13" - }, - "returnParameters": { - "id": 8341, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8340, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8342, - "src": "1387:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8339, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1387:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1386:14:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8349, - "nodeType": "FunctionDefinition", - "src": "1455:59:13", - "nodes": [], - "functionSelector": "3d5923ee", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setEnv", - "nameLocation": "1464:6:13", - "parameters": { - "id": 8347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8344, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8349, - "src": "1471:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8343, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1471:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8346, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8349, - "src": "1488:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8345, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1488:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1470:34:13" - }, - "returnParameters": { - "id": 8348, - "nodeType": "ParameterList", - "parameters": [], - "src": "1513:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8356, - "nodeType": "FunctionDefinition", - "src": "1573:63:13", - "nodes": [], - "functionSelector": "7ed1ec7d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envBool", - "nameLocation": "1582:7:13", - "parameters": { - "id": 8352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8351, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8356, - "src": "1590:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8350, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1590:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1589:17:13" - }, - "returnParameters": { - "id": 8355, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8354, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8356, - "src": "1630:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8353, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1630:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "1629:6:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8363, - "nodeType": "FunctionDefinition", - "src": "1641:66:13", - "nodes": [], - "functionSelector": "c1978d1f", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envUint", - "nameLocation": "1650:7:13", - "parameters": { - "id": 8359, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8358, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8363, - "src": "1658:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8357, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1658:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1657:17:13" - }, - "returnParameters": { - "id": 8362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8361, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8363, - "src": "1698:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1698:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1697:9:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8370, - "nodeType": "FunctionDefinition", - "src": "1712:64:13", - "nodes": [], - "functionSelector": "892a0c61", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envInt", - "nameLocation": "1721:6:13", - "parameters": { - "id": 8366, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8365, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8370, - "src": "1728:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8364, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1728:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1727:17:13" - }, - "returnParameters": { - "id": 8369, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8368, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8370, - "src": "1768:6:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 8367, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "1768:6:13", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "1767:8:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8377, - "nodeType": "FunctionDefinition", - "src": "1781:69:13", - "nodes": [], - "functionSelector": "350d56bf", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envAddress", - "nameLocation": "1790:10:13", - "parameters": { - "id": 8373, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8372, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8377, - "src": "1801:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8371, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1801:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1800:17:13" - }, - "returnParameters": { - "id": 8376, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8375, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8377, - "src": "1841:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8374, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1841:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1840:9:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8384, - "nodeType": "FunctionDefinition", - "src": "1855:69:13", - "nodes": [], - "functionSelector": "97949042", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envBytes32", - "nameLocation": "1864:10:13", - "parameters": { - "id": 8380, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8379, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8384, - "src": "1875:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8378, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1875:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1874:17:13" - }, - "returnParameters": { - "id": 8383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8382, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8384, - "src": "1915:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8381, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1915:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "1914:9:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8391, - "nodeType": "FunctionDefinition", - "src": "1929:74:13", - "nodes": [], - "functionSelector": "f877cb19", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envString", - "nameLocation": "1938:9:13", - "parameters": { - "id": 8387, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8386, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8391, - "src": "1948:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8385, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1948:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1947:17:13" - }, - "returnParameters": { - "id": 8390, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8389, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8391, - "src": "1988:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8388, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1988:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1987:15:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8398, - "nodeType": "FunctionDefinition", - "src": "2008:72:13", - "nodes": [], - "functionSelector": "4d7baf06", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envBytes", - "nameLocation": "2017:8:13", - "parameters": { - "id": 8394, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8393, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8398, - "src": "2026:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8392, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2026:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2025:17:13" - }, - "returnParameters": { - "id": 8397, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8396, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8398, - "src": "2066:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8395, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2066:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2065:14:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8408, - "nodeType": "FunctionDefinition", - "src": "2158:89:13", - "nodes": [], - "functionSelector": "aaaddeaf", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envBool", - "nameLocation": "2167:7:13", - "parameters": { - "id": 8403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8400, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8408, - "src": "2175:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8399, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2175:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8402, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8408, - "src": "2192:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8401, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2192:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2174:34:13" - }, - "returnParameters": { - "id": 8407, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8406, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8408, - "src": "2232:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_memory_ptr", - "typeString": "bool[]" - }, - "typeName": { - "baseType": { - "id": 8404, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2232:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8405, - "nodeType": "ArrayTypeName", - "src": "2232:6:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_storage_ptr", - "typeString": "bool[]" - } - }, - "visibility": "internal" - } - ], - "src": "2231:15:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8418, - "nodeType": "FunctionDefinition", - "src": "2252:92:13", - "nodes": [], - "functionSelector": "f3dec099", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envUint", - "nameLocation": "2261:7:13", - "parameters": { - "id": 8413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8410, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8418, - "src": "2269:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8409, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2269:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8412, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8418, - "src": "2286:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8411, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2286:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2268:34:13" - }, - "returnParameters": { - "id": 8417, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8416, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8418, - "src": "2326:16:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 8414, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2326:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8415, - "nodeType": "ArrayTypeName", - "src": "2326:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "2325:18:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8428, - "nodeType": "FunctionDefinition", - "src": "2349:90:13", - "nodes": [], - "functionSelector": "42181150", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envInt", - "nameLocation": "2358:6:13", - "parameters": { - "id": 8423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8420, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8428, - "src": "2365:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8419, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2365:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8422, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8428, - "src": "2382:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8421, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2382:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2364:34:13" - }, - "returnParameters": { - "id": 8427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8426, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8428, - "src": "2422:15:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 8424, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "2422:6:13", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 8425, - "nodeType": "ArrayTypeName", - "src": "2422:8:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "2421:17:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8438, - "nodeType": "FunctionDefinition", - "src": "2444:95:13", - "nodes": [], - "functionSelector": "ad31b9fa", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envAddress", - "nameLocation": "2453:10:13", - "parameters": { - "id": 8433, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8430, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8438, - "src": "2464:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8429, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2464:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8432, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8438, - "src": "2481:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8431, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2481:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2463:34:13" - }, - "returnParameters": { - "id": 8437, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8436, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8438, - "src": "2521:16:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 8434, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2521:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 8435, - "nodeType": "ArrayTypeName", - "src": "2521:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "2520:18:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8448, - "nodeType": "FunctionDefinition", - "src": "2544:95:13", - "nodes": [], - "functionSelector": "5af231c1", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envBytes32", - "nameLocation": "2553:10:13", - "parameters": { - "id": 8443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8440, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8448, - "src": "2564:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8439, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2564:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8442, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8448, - "src": "2581:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8441, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2581:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2563:34:13" - }, - "returnParameters": { - "id": 8447, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8446, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8448, - "src": "2621:16:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 8444, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2621:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 8445, - "nodeType": "ArrayTypeName", - "src": "2621:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "2620:18:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8458, - "nodeType": "FunctionDefinition", - "src": "2644:93:13", - "nodes": [], - "functionSelector": "14b02bc9", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envString", - "nameLocation": "2653:9:13", - "parameters": { - "id": 8453, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8450, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8458, - "src": "2663:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8449, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2663:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8452, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8458, - "src": "2680:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8451, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2680:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2662:34:13" - }, - "returnParameters": { - "id": 8457, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8456, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8458, - "src": "2720:15:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 8454, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2720:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 8455, - "nodeType": "ArrayTypeName", - "src": "2720:8:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "2719:17:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8468, - "nodeType": "FunctionDefinition", - "src": "2742:91:13", - "nodes": [], - "functionSelector": "ddc2651b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envBytes", - "nameLocation": "2751:8:13", - "parameters": { - "id": 8463, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8460, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8468, - "src": "2760:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8459, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2760:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8462, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8468, - "src": "2777:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8461, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2777:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2759:34:13" - }, - "returnParameters": { - "id": 8467, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8466, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8468, - "src": "2817:14:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_ptr_$dyn_memory_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 8464, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2817:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 8465, - "nodeType": "ArrayTypeName", - "src": "2817:7:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "visibility": "internal" - } - ], - "src": "2816:16:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8471, - "nodeType": "FunctionDefinition", - "src": "2882:27:13", - "nodes": [], - "functionSelector": "266cf109", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "record", - "nameLocation": "2891:6:13", - "parameters": { - "id": 8469, - "nodeType": "ParameterList", - "parameters": [], - "src": "2897:2:13" - }, - "returnParameters": { - "id": 8470, - "nodeType": "ParameterList", - "parameters": [], - "src": "2908:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8482, - "nodeType": "FunctionDefinition", - "src": "3006:94:13", - "nodes": [], - "functionSelector": "65bc9481", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "accesses", - "nameLocation": "3015:8:13", - "parameters": { - "id": 8474, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8473, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8482, - "src": "3024:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8472, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3024:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3023:9:13" - }, - "returnParameters": { - "id": 8481, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8477, - "mutability": "mutable", - "name": "reads", - "nameLocation": "3068:5:13", - "nodeType": "VariableDeclaration", - "scope": 8482, - "src": "3051:22:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 8475, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3051:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 8476, - "nodeType": "ArrayTypeName", - "src": "3051:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8480, - "mutability": "mutable", - "name": "writes", - "nameLocation": "3092:6:13", - "nodeType": "VariableDeclaration", - "scope": 8482, - "src": "3075:23:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 8478, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3075:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 8479, - "nodeType": "ArrayTypeName", - "src": "3075:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "3050:49:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8489, - "nodeType": "FunctionDefinition", - "src": "3208:71:13", - "nodes": [], - "functionSelector": "8d1cc925", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getCode", - "nameLocation": "3217:7:13", - "parameters": { - "id": 8485, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8484, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8489, - "src": "3225:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8483, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3225:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3224:17:13" - }, - "returnParameters": { - "id": 8488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8487, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8489, - "src": "3265:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8486, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3265:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3264:14:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8496, - "nodeType": "FunctionDefinition", - "src": "3387:79:13", - "nodes": [], - "functionSelector": "3ebf73b4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getDeployedCode", - "nameLocation": "3396:15:13", - "parameters": { - "id": 8492, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8491, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8496, - "src": "3412:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8490, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3412:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3411:17:13" - }, - "returnParameters": { - "id": 8495, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8494, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8496, - "src": "3452:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8493, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3452:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3451:14:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8503, - "nodeType": "FunctionDefinition", - "src": "3511:50:13", - "nodes": [], - "functionSelector": "c657c718", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "label", - "nameLocation": "3520:5:13", - "parameters": { - "id": 8501, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8498, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8503, - "src": "3526:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8497, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3526:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8500, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8503, - "src": "3535:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8499, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3535:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3525:26:13" - }, - "returnParameters": { - "id": 8502, - "nodeType": "ParameterList", - "parameters": [], - "src": "3560:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8506, - "nodeType": "FunctionDefinition", - "src": "3728:30:13", - "nodes": [], - "functionSelector": "afc98040", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcast", - "nameLocation": "3737:9:13", - "parameters": { - "id": 8504, - "nodeType": "ParameterList", - "parameters": [], - "src": "3746:2:13" - }, - "returnParameters": { - "id": 8505, - "nodeType": "ParameterList", - "parameters": [], - "src": "3757:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8511, - "nodeType": "FunctionDefinition", - "src": "3917:37:13", - "nodes": [], - "functionSelector": "e6962cdb", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcast", - "nameLocation": "3926:9:13", - "parameters": { - "id": 8509, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8508, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8511, - "src": "3936:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8507, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3936:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3935:9:13" - }, - "returnParameters": { - "id": 8510, - "nodeType": "ParameterList", - "parameters": [], - "src": "3953:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8516, - "nodeType": "FunctionDefinition", - "src": "4117:37:13", - "nodes": [], - "functionSelector": "f67a965b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcast", - "nameLocation": "4126:9:13", - "parameters": { - "id": 8514, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8513, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8516, - "src": "4136:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8512, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4136:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4135:9:13" - }, - "returnParameters": { - "id": 8515, - "nodeType": "ParameterList", - "parameters": [], - "src": "4153:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8519, - "nodeType": "FunctionDefinition", - "src": "4327:35:13", - "nodes": [], - "functionSelector": "7fb5297f", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "startBroadcast", - "nameLocation": "4336:14:13", - "parameters": { - "id": 8517, - "nodeType": "ParameterList", - "parameters": [], - "src": "4350:2:13" - }, - "returnParameters": { - "id": 8518, - "nodeType": "ParameterList", - "parameters": [], - "src": "4361:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8524, - "nodeType": "FunctionDefinition", - "src": "4513:42:13", - "nodes": [], - "functionSelector": "7fec2a8d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "startBroadcast", - "nameLocation": "4522:14:13", - "parameters": { - "id": 8522, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8521, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8524, - "src": "4537:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8520, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4537:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4536:9:13" - }, - "returnParameters": { - "id": 8523, - "nodeType": "ParameterList", - "parameters": [], - "src": "4554:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8529, - "nodeType": "FunctionDefinition", - "src": "4710:42:13", - "nodes": [], - "functionSelector": "ce817d47", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "startBroadcast", - "nameLocation": "4719:14:13", - "parameters": { - "id": 8527, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8526, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8529, - "src": "4734:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8525, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4734:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4733:9:13" - }, - "returnParameters": { - "id": 8528, - "nodeType": "ParameterList", - "parameters": [], - "src": "4751:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8532, - "nodeType": "FunctionDefinition", - "src": "4802:34:13", - "nodes": [], - "functionSelector": "76eadd36", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "stopBroadcast", - "nameLocation": "4811:13:13", - "parameters": { - "id": 8530, - "nodeType": "ParameterList", - "parameters": [], - "src": "4824:2:13" - }, - "returnParameters": { - "id": 8531, - "nodeType": "ParameterList", - "parameters": [], - "src": "4835:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8539, - "nodeType": "FunctionDefinition", - "src": "4909:73:13", - "nodes": [], - "functionSelector": "60f9bb11", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "readFile", - "nameLocation": "4918:8:13", - "parameters": { - "id": 8535, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8534, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8539, - "src": "4927:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8533, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4927:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4926:17:13" - }, - "returnParameters": { - "id": 8538, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8537, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8539, - "src": "4967:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8536, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4967:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4966:15:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8546, - "nodeType": "FunctionDefinition", - "src": "5093:78:13", - "nodes": [], - "functionSelector": "16ed7bc4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "readFileBinary", - "nameLocation": "5102:14:13", - "parameters": { - "id": 8542, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8541, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8546, - "src": "5117:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8540, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5117:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5116:17:13" - }, - "returnParameters": { - "id": 8545, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8544, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8546, - "src": "5157:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8543, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5157:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5156:14:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8551, - "nodeType": "FunctionDefinition", - "src": "5224:61:13", - "nodes": [], - "functionSelector": "d930a0e6", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "projectRoot", - "nameLocation": "5233:11:13", - "parameters": { - "id": 8547, - "nodeType": "ParameterList", - "parameters": [], - "src": "5244:2:13" - }, - "returnParameters": { - "id": 8550, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8549, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8551, - "src": "5270:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8548, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5270:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5269:15:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8558, - "nodeType": "FunctionDefinition", - "src": "5349:73:13", - "nodes": [], - "functionSelector": "70f55728", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "readLine", - "nameLocation": "5358:8:13", - "parameters": { - "id": 8554, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8553, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8558, - "src": "5367:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8552, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5367:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5366:17:13" - }, - "returnParameters": { - "id": 8557, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8556, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8558, - "src": "5407:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8555, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5407:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5406:15:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8565, - "nodeType": "FunctionDefinition", - "src": "5567:62:13", - "nodes": [], - "functionSelector": "897e0a97", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "writeFile", - "nameLocation": "5576:9:13", - "parameters": { - "id": 8563, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8560, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8565, - "src": "5586:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8559, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5586:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8562, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8565, - "src": "5603:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8561, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5603:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5585:34:13" - }, - "returnParameters": { - "id": 8564, - "nodeType": "ParameterList", - "parameters": [], - "src": "5628:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8572, - "nodeType": "FunctionDefinition", - "src": "5821:67:13", - "nodes": [], - "functionSelector": "1f21fc80", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "writeFileBinary", - "nameLocation": "5830:15:13", - "parameters": { - "id": 8570, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8567, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8572, - "src": "5846:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8566, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5846:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8569, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8572, - "src": "5863:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8568, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5863:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5845:33:13" - }, - "returnParameters": { - "id": 8571, - "nodeType": "ParameterList", - "parameters": [], - "src": "5887:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8579, - "nodeType": "FunctionDefinition", - "src": "5985:62:13", - "nodes": [], - "functionSelector": "619d897f", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "writeLine", - "nameLocation": "5994:9:13", - "parameters": { - "id": 8577, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8574, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8579, - "src": "6004:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8573, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6004:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8576, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8579, - "src": "6021:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8575, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6021:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6003:34:13" - }, - "returnParameters": { - "id": 8578, - "nodeType": "ParameterList", - "parameters": [], - "src": "6046:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8584, - "nodeType": "FunctionDefinition", - "src": "6179:45:13", - "nodes": [], - "functionSelector": "48c3241f", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "closeFile", - "nameLocation": "6188:9:13", - "parameters": { - "id": 8582, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8581, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8584, - "src": "6198:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8580, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6198:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6197:17:13" - }, - "returnParameters": { - "id": 8583, - "nodeType": "ParameterList", - "parameters": [], - "src": "6223:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8589, - "nodeType": "FunctionDefinition", - "src": "6492:46:13", - "nodes": [], - "functionSelector": "f1afe04d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "removeFile", - "nameLocation": "6501:10:13", - "parameters": { - "id": 8587, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8586, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8589, - "src": "6512:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8585, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6512:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6511:17:13" - }, - "returnParameters": { - "id": 8588, - "nodeType": "ParameterList", - "parameters": [], - "src": "6537:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8596, - "nodeType": "FunctionDefinition", - "src": "6609:65:13", - "nodes": [], - "functionSelector": "56ca623e", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "6618:8:13", - "parameters": { - "id": 8592, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8591, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8596, - "src": "6627:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8590, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6627:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6626:9:13" - }, - "returnParameters": { - "id": 8595, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8594, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8596, - "src": "6659:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8593, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6659:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6658:15:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8603, - "nodeType": "FunctionDefinition", - "src": "6679:72:13", - "nodes": [], - "functionSelector": "71aad10d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "6688:8:13", - "parameters": { - "id": 8599, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8598, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8603, - "src": "6697:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8597, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6697:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6696:16:13" - }, - "returnParameters": { - "id": 8602, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8601, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8603, - "src": "6736:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8600, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6736:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6735:15:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8610, - "nodeType": "FunctionDefinition", - "src": "6756:65:13", - "nodes": [], - "functionSelector": "b11a19e8", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "6765:8:13", - "parameters": { - "id": 8606, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8605, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8610, - "src": "6774:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8604, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6774:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "6773:9:13" - }, - "returnParameters": { - "id": 8609, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8608, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8610, - "src": "6806:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8607, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6806:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6805:15:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8617, - "nodeType": "FunctionDefinition", - "src": "6826:62:13", - "nodes": [], - "functionSelector": "71dce7da", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "6835:8:13", - "parameters": { - "id": 8613, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8612, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8617, - "src": "6844:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8611, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6844:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "6843:6:13" - }, - "returnParameters": { - "id": 8616, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8615, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8617, - "src": "6873:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8614, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6873:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6872:15:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8624, - "nodeType": "FunctionDefinition", - "src": "6893:65:13", - "nodes": [], - "functionSelector": "6900a3ae", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "6902:8:13", - "parameters": { - "id": 8620, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8619, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8624, - "src": "6911:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8618, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6911:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6910:9:13" - }, - "returnParameters": { - "id": 8623, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8622, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8624, - "src": "6943:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8621, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6943:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6942:15:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8631, - "nodeType": "FunctionDefinition", - "src": "6963:64:13", - "nodes": [], - "functionSelector": "a322c40e", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "6972:8:13", - "parameters": { - "id": 8627, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8626, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8631, - "src": "6981:6:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 8625, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "6981:6:13", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "6980:8:13" - }, - "returnParameters": { - "id": 8630, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8629, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8631, - "src": "7012:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8628, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7012:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7011:15:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8638, - "nodeType": "FunctionDefinition", - "src": "7096:74:13", - "nodes": [], - "functionSelector": "8f5d232d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseBytes", - "nameLocation": "7105:10:13", - "parameters": { - "id": 8634, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8633, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8638, - "src": "7116:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8632, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7116:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7115:17:13" - }, - "returnParameters": { - "id": 8637, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8636, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8638, - "src": "7156:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8635, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7156:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "7155:14:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8645, - "nodeType": "FunctionDefinition", - "src": "7175:71:13", - "nodes": [], - "functionSelector": "c6ce059d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseAddress", - "nameLocation": "7184:12:13", - "parameters": { - "id": 8641, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8640, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8645, - "src": "7197:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8639, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7197:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7196:17:13" - }, - "returnParameters": { - "id": 8644, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8643, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8645, - "src": "7237:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8642, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7237:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7236:9:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8652, - "nodeType": "FunctionDefinition", - "src": "7251:68:13", - "nodes": [], - "functionSelector": "fa91454d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseUint", - "nameLocation": "7260:9:13", - "parameters": { - "id": 8648, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8647, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8652, - "src": "7270:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8646, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7270:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7269:17:13" - }, - "returnParameters": { - "id": 8651, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8650, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8652, - "src": "7310:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8649, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7310:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7309:9:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8659, - "nodeType": "FunctionDefinition", - "src": "7324:66:13", - "nodes": [], - "functionSelector": "42346c5e", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseInt", - "nameLocation": "7333:8:13", - "parameters": { - "id": 8655, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8654, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8659, - "src": "7342:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8653, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7342:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7341:17:13" - }, - "returnParameters": { - "id": 8658, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8657, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8659, - "src": "7382:6:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 8656, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "7382:6:13", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "7381:8:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8666, - "nodeType": "FunctionDefinition", - "src": "7395:71:13", - "nodes": [], - "functionSelector": "087e6e81", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseBytes32", - "nameLocation": "7404:12:13", - "parameters": { - "id": 8662, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8661, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8666, - "src": "7417:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8660, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7417:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7416:17:13" - }, - "returnParameters": { - "id": 8665, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8664, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8666, - "src": "7457:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8663, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7457:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "7456:9:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8673, - "nodeType": "FunctionDefinition", - "src": "7471:65:13", - "nodes": [], - "functionSelector": "974ef924", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseBool", - "nameLocation": "7480:9:13", - "parameters": { - "id": 8669, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8668, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8673, - "src": "7490:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8667, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7490:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7489:17:13" - }, - "returnParameters": { - "id": 8672, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8671, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8673, - "src": "7530:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8670, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7530:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "7529:6:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8676, - "nodeType": "FunctionDefinition", - "src": "7580:31:13", - "nodes": [], - "functionSelector": "41af2f52", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "recordLogs", - "nameLocation": "7589:10:13", - "parameters": { - "id": 8674, - "nodeType": "ParameterList", - "parameters": [], - "src": "7599:2:13" - }, - "returnParameters": { - "id": 8675, - "nodeType": "ParameterList", - "parameters": [], - "src": "7610:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8683, - "nodeType": "FunctionDefinition", - "src": "7664:59:13", - "nodes": [], - "functionSelector": "191553a4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getRecordedLogs", - "nameLocation": "7673:15:13", - "parameters": { - "id": 8677, - "nodeType": "ParameterList", - "parameters": [], - "src": "7688:2:13" - }, - "returnParameters": { - "id": 8682, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8681, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8683, - "src": "7709:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Log_$8293_memory_ptr_$dyn_memory_ptr", - "typeString": "struct VmSafe.Log[]" - }, - "typeName": { - "baseType": { - "id": 8679, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 8678, - "name": "Log", - "nameLocations": [ - "7709:3:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 8293, - "src": "7709:3:13" - }, - "referencedDeclaration": 8293, - "src": "7709:3:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Log_$8293_storage_ptr", - "typeString": "struct VmSafe.Log" - } - }, - "id": 8680, - "nodeType": "ArrayTypeName", - "src": "7709:5:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Log_$8293_storage_$dyn_storage_ptr", - "typeString": "struct VmSafe.Log[]" - } - }, - "visibility": "internal" - } - ], - "src": "7708:14:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8692, - "nodeType": "FunctionDefinition", - "src": "7858:76:13", - "nodes": [], - "functionSelector": "6229498b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "deriveKey", - "nameLocation": "7867:9:13", - "parameters": { - "id": 8688, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8685, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8692, - "src": "7877:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8684, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7877:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8687, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8692, - "src": "7894:6:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - }, - "typeName": { - "id": 8686, - "name": "uint32", - "nodeType": "ElementaryTypeName", - "src": "7894:6:13", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - }, - "visibility": "internal" - } - ], - "src": "7876:25:13" - }, - "returnParameters": { - "id": 8691, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8690, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8692, - "src": "7925:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8689, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7925:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7924:9:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8703, - "nodeType": "FunctionDefinition", - "src": "8060:93:13", - "nodes": [], - "functionSelector": "6bcb2c1b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "deriveKey", - "nameLocation": "8069:9:13", - "parameters": { - "id": 8699, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8694, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8703, - "src": "8079:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8693, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8079:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8696, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8703, - "src": "8096:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8695, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8096:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8698, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8703, - "src": "8113:6:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - }, - "typeName": { - "id": 8697, - "name": "uint32", - "nodeType": "ElementaryTypeName", - "src": "8113:6:13", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - }, - "visibility": "internal" - } - ], - "src": "8078:42:13" - }, - "returnParameters": { - "id": 8702, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8701, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8703, - "src": "8144:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8700, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8144:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8143:9:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8710, - "nodeType": "FunctionDefinition", - "src": "8234:57:13", - "nodes": [], - "functionSelector": "22100064", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rememberKey", - "nameLocation": "8243:11:13", - "parameters": { - "id": 8706, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8705, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8710, - "src": "8255:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8704, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8255:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8254:9:13" - }, - "returnParameters": { - "id": 8709, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8708, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8710, - "src": "8282:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8707, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8282:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8281:9:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8719, - "nodeType": "FunctionDefinition", - "src": "9371:90:13", - "nodes": [], - "functionSelector": "85940ef1", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseJson", - "nameLocation": "9380:9:13", - "parameters": { - "id": 8715, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8712, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8719, - "src": "9390:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8711, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9390:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8714, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8719, - "src": "9407:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8713, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9407:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9389:34:13" - }, - "returnParameters": { - "id": 8718, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8717, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8719, - "src": "9447:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8716, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9447:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9446:14:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8726, - "nodeType": "FunctionDefinition", - "src": "9466:73:13", - "nodes": [], - "functionSelector": "6a82600a", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseJson", - "nameLocation": "9475:9:13", - "parameters": { - "id": 8722, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8721, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8726, - "src": "9485:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8720, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9485:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9484:17:13" - }, - "returnParameters": { - "id": 8725, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8724, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8726, - "src": "9525:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8723, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9525:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9524:14:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8737, - "nodeType": "FunctionDefinition", - "src": "10967:96:13", - "nodes": [], - "functionSelector": "ac22e971", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeBool", - "nameLocation": "10976:13:13", - "parameters": { - "id": 8733, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8728, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8737, - "src": "10990:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8727, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10990:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8730, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8737, - "src": "11007:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8729, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11007:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8732, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8737, - "src": "11024:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8731, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11024:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "10989:40:13" - }, - "returnParameters": { - "id": 8736, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8735, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8737, - "src": "11048:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8734, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11048:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11047:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8748, - "nodeType": "FunctionDefinition", - "src": "11068:99:13", - "nodes": [], - "functionSelector": "129e9002", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeUint", - "nameLocation": "11077:13:13", - "parameters": { - "id": 8744, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8739, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8748, - "src": "11091:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8738, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11091:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8741, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8748, - "src": "11108:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8740, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11108:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8743, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8748, - "src": "11125:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8742, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11125:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11090:43:13" - }, - "returnParameters": { - "id": 8747, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8746, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8748, - "src": "11152:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8745, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11152:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11151:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8759, - "nodeType": "FunctionDefinition", - "src": "11172:97:13", - "nodes": [], - "functionSelector": "3f33db60", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeInt", - "nameLocation": "11181:12:13", - "parameters": { - "id": 8755, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8750, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8759, - "src": "11194:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8749, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11194:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8752, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8759, - "src": "11211:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8751, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11211:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8754, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8759, - "src": "11228:6:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 8753, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "11228:6:13", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "11193:42:13" - }, - "returnParameters": { - "id": 8758, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8757, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8759, - "src": "11254:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8756, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11254:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11253:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8770, - "nodeType": "FunctionDefinition", - "src": "11274:102:13", - "nodes": [], - "functionSelector": "972c6062", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeAddress", - "nameLocation": "11283:16:13", - "parameters": { - "id": 8766, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8761, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8770, - "src": "11300:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8760, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11300:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8763, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8770, - "src": "11317:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8762, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11317:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8765, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8770, - "src": "11334:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8764, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11334:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "11299:43:13" - }, - "returnParameters": { - "id": 8769, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8768, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8770, - "src": "11361:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8767, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11361:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11360:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8781, - "nodeType": "FunctionDefinition", - "src": "11381:102:13", - "nodes": [], - "functionSelector": "2d812b44", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeBytes32", - "nameLocation": "11390:16:13", - "parameters": { - "id": 8777, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8772, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8781, - "src": "11407:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8771, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11407:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8774, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8781, - "src": "11424:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8773, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11424:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8776, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8781, - "src": "11441:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8775, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "11441:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "11406:43:13" - }, - "returnParameters": { - "id": 8780, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8779, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8781, - "src": "11468:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8778, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11468:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11467:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8792, - "nodeType": "FunctionDefinition", - "src": "11488:109:13", - "nodes": [], - "functionSelector": "88da6d35", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeString", - "nameLocation": "11497:15:13", - "parameters": { - "id": 8788, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8783, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8792, - "src": "11513:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8782, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11513:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8785, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8792, - "src": "11530:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8784, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11530:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8787, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8792, - "src": "11547:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8786, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11547:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11512:51:13" - }, - "returnParameters": { - "id": 8791, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8790, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8792, - "src": "11582:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8789, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11582:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11581:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8803, - "nodeType": "FunctionDefinition", - "src": "11602:107:13", - "nodes": [], - "functionSelector": "f21d52c7", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeBytes", - "nameLocation": "11611:14:13", - "parameters": { - "id": 8799, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8794, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8803, - "src": "11626:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8793, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11626:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8796, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8803, - "src": "11643:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8795, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11643:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8798, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8803, - "src": "11660:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8797, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11660:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "11625:50:13" - }, - "returnParameters": { - "id": 8802, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8801, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8803, - "src": "11694:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8800, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11694:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11693:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8815, - "nodeType": "FunctionDefinition", - "src": "11715:107:13", - "nodes": [], - "functionSelector": "92925aa1", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeBool", - "nameLocation": "11724:13:13", - "parameters": { - "id": 8811, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8805, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8815, - "src": "11738:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8804, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11738:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8807, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8815, - "src": "11755:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8806, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11755:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8810, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8815, - "src": "11772:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_calldata_ptr", - "typeString": "bool[]" - }, - "typeName": { - "baseType": { - "id": 8808, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11772:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8809, - "nodeType": "ArrayTypeName", - "src": "11772:6:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_storage_ptr", - "typeString": "bool[]" - } - }, - "visibility": "internal" - } - ], - "src": "11737:51:13" - }, - "returnParameters": { - "id": 8814, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8813, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8815, - "src": "11807:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8812, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11807:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11806:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8827, - "nodeType": "FunctionDefinition", - "src": "11827:110:13", - "nodes": [], - "functionSelector": "fee9a469", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeUint", - "nameLocation": "11836:13:13", - "parameters": { - "id": 8823, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8817, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8827, - "src": "11850:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8816, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11850:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8819, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8827, - "src": "11867:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8818, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11867:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8822, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8827, - "src": "11884:18:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 8820, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11884:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8821, - "nodeType": "ArrayTypeName", - "src": "11884:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "11849:54:13" - }, - "returnParameters": { - "id": 8826, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8825, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8827, - "src": "11922:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8824, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11922:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11921:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8839, - "nodeType": "FunctionDefinition", - "src": "11942:108:13", - "nodes": [], - "functionSelector": "7676e127", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeInt", - "nameLocation": "11951:12:13", - "parameters": { - "id": 8835, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8829, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8839, - "src": "11964:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8828, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11964:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8831, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8839, - "src": "11981:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8830, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11981:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8834, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8839, - "src": "11998:17:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_calldata_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 8832, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "11998:6:13", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 8833, - "nodeType": "ArrayTypeName", - "src": "11998:8:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "11963:53:13" - }, - "returnParameters": { - "id": 8838, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8837, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8839, - "src": "12035:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8836, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12035:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12034:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8851, - "nodeType": "FunctionDefinition", - "src": "12055:113:13", - "nodes": [], - "functionSelector": "1e356e1a", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeAddress", - "nameLocation": "12064:16:13", - "parameters": { - "id": 8847, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8841, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8851, - "src": "12081:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8840, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12081:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8843, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8851, - "src": "12098:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8842, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12098:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8846, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8851, - "src": "12115:18:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 8844, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12115:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 8845, - "nodeType": "ArrayTypeName", - "src": "12115:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "12080:54:13" - }, - "returnParameters": { - "id": 8850, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8849, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8851, - "src": "12153:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8848, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12153:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12152:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8863, - "nodeType": "FunctionDefinition", - "src": "12173:113:13", - "nodes": [], - "functionSelector": "201e43e2", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeBytes32", - "nameLocation": "12182:16:13", - "parameters": { - "id": 8859, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8853, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8863, - "src": "12199:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8852, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12199:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8855, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8863, - "src": "12216:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8854, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12216:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8858, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8863, - "src": "12233:18:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 8856, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "12233:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 8857, - "nodeType": "ArrayTypeName", - "src": "12233:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "12198:54:13" - }, - "returnParameters": { - "id": 8862, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8861, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8863, - "src": "12271:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8860, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12271:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12270:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8875, - "nodeType": "FunctionDefinition", - "src": "12291:111:13", - "nodes": [], - "functionSelector": "561cd6f3", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeString", - "nameLocation": "12300:15:13", - "parameters": { - "id": 8871, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8865, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8875, - "src": "12316:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8864, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12316:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8867, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8875, - "src": "12333:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8866, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12333:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8870, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8875, - "src": "12350:17:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 8868, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12350:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 8869, - "nodeType": "ArrayTypeName", - "src": "12350:8:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "12315:53:13" - }, - "returnParameters": { - "id": 8874, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8873, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8875, - "src": "12387:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8872, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12387:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12386:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8887, - "nodeType": "FunctionDefinition", - "src": "12407:109:13", - "nodes": [], - "functionSelector": "9884b232", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeBytes", - "nameLocation": "12416:14:13", - "parameters": { - "id": 8883, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8877, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8887, - "src": "12431:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8876, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12431:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8879, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8887, - "src": "12448:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8878, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12448:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8882, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8887, - "src": "12465:16:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 8880, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "12465:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 8881, - "nodeType": "ArrayTypeName", - "src": "12465:7:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "visibility": "internal" - } - ], - "src": "12430:52:13" - }, - "returnParameters": { - "id": 8886, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8885, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8887, - "src": "12501:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8884, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12501:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12500:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8894, - "nodeType": "FunctionDefinition", - "src": "12646:62:13", - "nodes": [], - "functionSelector": "e23cd19f", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "writeJson", - "nameLocation": "12655:9:13", - "parameters": { - "id": 8892, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8889, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8894, - "src": "12665:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8888, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12665:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8891, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8894, - "src": "12682:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8890, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12682:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12664:34:13" - }, - "returnParameters": { - "id": 8893, - "nodeType": "ParameterList", - "parameters": [], - "src": "12707:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8903, - "nodeType": "FunctionDefinition", - "src": "12972:79:13", - "nodes": [], - "functionSelector": "35d6ad46", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "writeJson", - "nameLocation": "12981:9:13", - "parameters": { - "id": 8901, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8896, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8903, - "src": "12991:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8895, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12991:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8898, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8903, - "src": "13008:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8897, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13008:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8900, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8903, - "src": "13025:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8899, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13025:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12990:51:13" - }, - "returnParameters": { - "id": 8902, - "nodeType": "ParameterList", - "parameters": [], - "src": "13050:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8910, - "nodeType": "FunctionDefinition", - "src": "13103:71:13", - "nodes": [], - "functionSelector": "975a6ce9", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rpcUrl", - "nameLocation": "13112:6:13", - "parameters": { - "id": 8906, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8905, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8910, - "src": "13119:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8904, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13119:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13118:17:13" - }, - "returnParameters": { - "id": 8909, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8908, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8910, - "src": "13159:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8907, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13159:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13158:15:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8918, - "nodeType": "FunctionDefinition", - "src": "13242:62:13", - "nodes": [], - "functionSelector": "a85a8418", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rpcUrls", - "nameLocation": "13251:7:13", - "parameters": { - "id": 8911, - "nodeType": "ParameterList", - "parameters": [], - "src": "13258:2:13" - }, - "returnParameters": { - "id": 8917, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8916, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8918, - "src": "13284:18:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_array$_t_string_memory_ptr_$2_memory_ptr_$dyn_memory_ptr", - "typeString": "string[2][]" - }, - "typeName": { - "baseType": { - "baseType": { - "id": 8912, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13284:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 8914, - "length": { - "hexValue": "32", - "id": 8913, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13291:1:13", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "ArrayTypeName", - "src": "13284:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$2_storage_ptr", - "typeString": "string[2]" - } - }, - "id": 8915, - "nodeType": "ArrayTypeName", - "src": "13284:11:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_array$_t_string_storage_$2_storage_$dyn_storage_ptr", - "typeString": "string[2][]" - } - }, - "visibility": "internal" - } - ], - "src": "13283:20:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8925, - "nodeType": "FunctionDefinition", - "src": "13367:62:13", - "nodes": [], - "functionSelector": "9d2ad72a", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rpcUrlStructs", - "nameLocation": "13376:13:13", - "parameters": { - "id": 8919, - "nodeType": "ParameterList", - "parameters": [], - "src": "13389:2:13" - }, - "returnParameters": { - "id": 8924, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8923, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8925, - "src": "13415:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr", - "typeString": "struct VmSafe.Rpc[]" - }, - "typeName": { - "baseType": { - "id": 8921, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 8920, - "name": "Rpc", - "nameLocations": [ - "13415:3:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 8298, - "src": "13415:3:13" - }, - "referencedDeclaration": 8298, - "src": "13415:3:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Rpc_$8298_storage_ptr", - "typeString": "struct VmSafe.Rpc" - } - }, - "id": 8922, - "nodeType": "ArrayTypeName", - "src": "13415:5:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_storage_$dyn_storage_ptr", - "typeString": "struct VmSafe.Rpc[]" - } - }, - "visibility": "internal" - } - ], - "src": "13414:14:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8930, - "nodeType": "FunctionDefinition", - "src": "13522:36:13", - "nodes": [], - "functionSelector": "4c63e562", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "assume", - "nameLocation": "13531:6:13", - "parameters": { - "id": 8928, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8927, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8930, - "src": "13538:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8926, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13538:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "13537:6:13" - }, - "returnParameters": { - "id": 8929, - "nodeType": "ParameterList", - "parameters": [], - "src": "13557:0:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "VmSafe", - "contractDependencies": [], - "contractKind": "interface", - "fullyImplemented": false, - "linearizedBaseContracts": [ - 8931 - ], - "name": "VmSafe", - "nameLocation": "582:6:13", - "scope": 9257, - "usedErrors": [] - }, - { - "id": 9256, - "nodeType": "ContractDefinition", - "src": "13562:7152:13", - "nodes": [ - { - "id": 8938, - "nodeType": "FunctionDefinition", - "src": "13634:32:13", - "nodes": [], - "functionSelector": "e5d6bf02", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "warp", - "nameLocation": "13643:4:13", - "parameters": { - "id": 8936, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8935, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8938, - "src": "13648:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8934, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13648:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13647:9:13" - }, - "returnParameters": { - "id": 8937, - "nodeType": "ParameterList", - "parameters": [], - "src": "13665:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8943, - "nodeType": "FunctionDefinition", - "src": "13708:32:13", - "nodes": [], - "functionSelector": "1f7b4f30", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "roll", - "nameLocation": "13717:4:13", - "parameters": { - "id": 8941, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8940, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8943, - "src": "13722:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8939, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13722:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13721:9:13" - }, - "returnParameters": { - "id": 8942, - "nodeType": "ParameterList", - "parameters": [], - "src": "13739:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8948, - "nodeType": "FunctionDefinition", - "src": "13784:31:13", - "nodes": [], - "functionSelector": "39b37ab0", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "fee", - "nameLocation": "13793:3:13", - "parameters": { - "id": 8946, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8945, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8948, - "src": "13797:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8944, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13797:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13796:9:13" - }, - "returnParameters": { - "id": 8947, - "nodeType": "ParameterList", - "parameters": [], - "src": "13814:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8953, - "nodeType": "FunctionDefinition", - "src": "13865:38:13", - "nodes": [], - "functionSelector": "46cc92d9", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "difficulty", - "nameLocation": "13874:10:13", - "parameters": { - "id": 8951, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8950, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8953, - "src": "13885:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8949, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13885:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13884:9:13" - }, - "returnParameters": { - "id": 8952, - "nodeType": "ParameterList", - "parameters": [], - "src": "13902:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8958, - "nodeType": "FunctionDefinition", - "src": "13934:35:13", - "nodes": [], - "functionSelector": "4049ddd2", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "chainId", - "nameLocation": "13943:7:13", - "parameters": { - "id": 8956, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8955, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8958, - "src": "13951:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8954, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13951:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13950:9:13" - }, - "returnParameters": { - "id": 8957, - "nodeType": "ParameterList", - "parameters": [], - "src": "13968:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8967, - "nodeType": "FunctionDefinition", - "src": "14044:51:13", - "nodes": [], - "functionSelector": "70ca10bb", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "store", - "nameLocation": "14053:5:13", - "parameters": { - "id": 8965, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8960, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8967, - "src": "14059:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8959, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14059:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8962, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8967, - "src": "14068:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8961, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "14068:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8964, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8967, - "src": "14077:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8963, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "14077:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "14058:27:13" - }, - "returnParameters": { - "id": 8966, - "nodeType": "ParameterList", - "parameters": [], - "src": "14094:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8974, - "nodeType": "FunctionDefinition", - "src": "14190:44:13", - "nodes": [], - "functionSelector": "f8e18b57", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setNonce", - "nameLocation": "14199:8:13", - "parameters": { - "id": 8972, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8969, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8974, - "src": "14208:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8968, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14208:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8971, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8974, - "src": "14217:6:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 8970, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "14217:6:13", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "14207:17:13" - }, - "returnParameters": { - "id": 8973, - "nodeType": "ParameterList", - "parameters": [], - "src": "14233:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8979, - "nodeType": "FunctionDefinition", - "src": "14304:33:13", - "nodes": [], - "functionSelector": "ca669fa7", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "prank", - "nameLocation": "14313:5:13", - "parameters": { - "id": 8977, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8976, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8979, - "src": "14319:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8975, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14319:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14318:9:13" - }, - "returnParameters": { - "id": 8978, - "nodeType": "ParameterList", - "parameters": [], - "src": "14336:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8984, - "nodeType": "FunctionDefinition", - "src": "14439:38:13", - "nodes": [], - "functionSelector": "06447d56", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "startPrank", - "nameLocation": "14448:10:13", - "parameters": { - "id": 8982, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8981, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8984, - "src": "14459:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8980, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14459:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14458:9:13" - }, - "returnParameters": { - "id": 8983, - "nodeType": "ParameterList", - "parameters": [], - "src": "14476:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8991, - "nodeType": "FunctionDefinition", - "src": "14589:42:13", - "nodes": [], - "functionSelector": "47e50cce", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "prank", - "nameLocation": "14598:5:13", - "parameters": { - "id": 8989, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8986, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8991, - "src": "14604:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8985, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14604:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8988, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8991, - "src": "14613:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8987, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14613:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14603:18:13" - }, - "returnParameters": { - "id": 8990, - "nodeType": "ParameterList", - "parameters": [], - "src": "14630:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8998, - "nodeType": "FunctionDefinition", - "src": "14775:47:13", - "nodes": [], - "functionSelector": "45b56078", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "startPrank", - "nameLocation": "14784:10:13", - "parameters": { - "id": 8996, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8993, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8998, - "src": "14795:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8992, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14795:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8995, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8998, - "src": "14804:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8994, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14804:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14794:18:13" - }, - "returnParameters": { - "id": 8997, - "nodeType": "ParameterList", - "parameters": [], - "src": "14821:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9001, - "nodeType": "FunctionDefinition", - "src": "14892:30:13", - "nodes": [], - "functionSelector": "90c5013b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "stopPrank", - "nameLocation": "14901:9:13", - "parameters": { - "id": 8999, - "nodeType": "ParameterList", - "parameters": [], - "src": "14910:2:13" - }, - "returnParameters": { - "id": 9000, - "nodeType": "ParameterList", - "parameters": [], - "src": "14921:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9008, - "nodeType": "FunctionDefinition", - "src": "14978:41:13", - "nodes": [], - "functionSelector": "c88a5e6d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "14987:4:13", - "parameters": { - "id": 9006, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9003, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9008, - "src": "14992:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9002, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14992:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9005, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9008, - "src": "15001:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9004, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15001:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "14991:18:13" - }, - "returnParameters": { - "id": 9007, - "nodeType": "ParameterList", - "parameters": [], - "src": "15018:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9015, - "nodeType": "FunctionDefinition", - "src": "15069:48:13", - "nodes": [], - "functionSelector": "b4d6c782", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "etch", - "nameLocation": "15078:4:13", - "parameters": { - "id": 9013, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9010, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9015, - "src": "15083:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9009, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15083:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9012, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9015, - "src": "15092:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9011, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15092:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "15082:25:13" - }, - "returnParameters": { - "id": 9014, - "nodeType": "ParameterList", - "parameters": [], - "src": "15116:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9020, - "nodeType": "FunctionDefinition", - "src": "15159:47:13", - "nodes": [], - "functionSelector": "f28dceb3", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectRevert", - "nameLocation": "15168:12:13", - "parameters": { - "id": 9018, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9017, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9020, - "src": "15181:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9016, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15181:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "15180:16:13" - }, - "returnParameters": { - "id": 9019, - "nodeType": "ParameterList", - "parameters": [], - "src": "15205:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9025, - "nodeType": "FunctionDefinition", - "src": "15211:39:13", - "nodes": [], - "functionSelector": "c31eb0e0", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectRevert", - "nameLocation": "15220:12:13", - "parameters": { - "id": 9023, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9022, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9025, - "src": "15233:6:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 9021, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "15233:6:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "15232:8:13" - }, - "returnParameters": { - "id": 9024, - "nodeType": "ParameterList", - "parameters": [], - "src": "15249:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9028, - "nodeType": "FunctionDefinition", - "src": "15255:33:13", - "nodes": [], - "functionSelector": "f4844814", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectRevert", - "nameLocation": "15264:12:13", - "parameters": { - "id": 9026, - "nodeType": "ParameterList", - "parameters": [], - "src": "15276:2:13" - }, - "returnParameters": { - "id": 9027, - "nodeType": "ParameterList", - "parameters": [], - "src": "15287:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9039, - "nodeType": "FunctionDefinition", - "src": "15621:53:13", - "nodes": [], - "functionSelector": "491cc7c2", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectEmit", - "nameLocation": "15630:10:13", - "parameters": { - "id": 9037, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9030, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9039, - "src": "15641:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9029, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15641:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9032, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9039, - "src": "15647:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9031, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15647:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9034, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9039, - "src": "15653:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9033, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15653:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9036, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9039, - "src": "15659:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9035, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15659:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "15640:24:13" - }, - "returnParameters": { - "id": 9038, - "nodeType": "ParameterList", - "parameters": [], - "src": "15673:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9052, - "nodeType": "FunctionDefinition", - "src": "15679:62:13", - "nodes": [], - "functionSelector": "81bad6f3", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectEmit", - "nameLocation": "15688:10:13", - "parameters": { - "id": 9050, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9041, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9052, - "src": "15699:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9040, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15699:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9043, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9052, - "src": "15705:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9042, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15705:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9045, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9052, - "src": "15711:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9044, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15711:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9047, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9052, - "src": "15717:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9046, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15717:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9049, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9052, - "src": "15723:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9048, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15723:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "15698:33:13" - }, - "returnParameters": { - "id": 9051, - "nodeType": "ParameterList", - "parameters": [], - "src": "15740:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9061, - "nodeType": "FunctionDefinition", - "src": "15996:68:13", - "nodes": [], - "functionSelector": "b96213e4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "mockCall", - "nameLocation": "16005:8:13", - "parameters": { - "id": 9059, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9054, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9061, - "src": "16014:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9053, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16014:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9056, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9061, - "src": "16023:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9055, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16023:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9058, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9061, - "src": "16039:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9057, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16039:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "16013:41:13" - }, - "returnParameters": { - "id": 9060, - "nodeType": "ParameterList", - "parameters": [], - "src": "16063:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9072, - "nodeType": "FunctionDefinition", - "src": "16232:77:13", - "nodes": [], - "functionSelector": "81409b91", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "mockCall", - "nameLocation": "16241:8:13", - "parameters": { - "id": 9070, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9063, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9072, - "src": "16250:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9062, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16250:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9065, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9072, - "src": "16259:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9064, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16259:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9067, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9072, - "src": "16268:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9066, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16268:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9069, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9072, - "src": "16284:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9068, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16284:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "16249:50:13" - }, - "returnParameters": { - "id": 9071, - "nodeType": "ParameterList", - "parameters": [], - "src": "16308:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9075, - "nodeType": "FunctionDefinition", - "src": "16345:37:13", - "nodes": [], - "functionSelector": "3fdf4e15", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "clearMockedCalls", - "nameLocation": "16354:16:13", - "parameters": { - "id": 9073, - "nodeType": "ParameterList", - "parameters": [], - "src": "16370:2:13" - }, - "returnParameters": { - "id": 9074, - "nodeType": "ParameterList", - "parameters": [], - "src": "16381:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9082, - "nodeType": "FunctionDefinition", - "src": "16510:54:13", - "nodes": [], - "functionSelector": "bd6af434", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectCall", - "nameLocation": "16519:10:13", - "parameters": { - "id": 9080, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9077, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9082, - "src": "16530:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9076, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16530:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9079, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9082, - "src": "16539:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9078, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16539:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "16529:25:13" - }, - "returnParameters": { - "id": 9081, - "nodeType": "ParameterList", - "parameters": [], - "src": "16563:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9091, - "nodeType": "FunctionDefinition", - "src": "16647:63:13", - "nodes": [], - "functionSelector": "f30c7ba3", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectCall", - "nameLocation": "16656:10:13", - "parameters": { - "id": 9089, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9084, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9091, - "src": "16667:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9083, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16667:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9086, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9091, - "src": "16676:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9085, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16676:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9088, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9091, - "src": "16685:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9087, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16685:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "16666:34:13" - }, - "returnParameters": { - "id": 9090, - "nodeType": "ParameterList", - "parameters": [], - "src": "16709:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9096, - "nodeType": "FunctionDefinition", - "src": "16748:36:13", - "nodes": [], - "functionSelector": "ff483c54", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "coinbase", - "nameLocation": "16757:8:13", - "parameters": { - "id": 9094, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9093, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9096, - "src": "16766:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9092, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16766:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "16765:9:13" - }, - "returnParameters": { - "id": 9095, - "nodeType": "ParameterList", - "parameters": [], - "src": "16783:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9101, - "nodeType": "FunctionDefinition", - "src": "16934:47:13", - "nodes": [], - "functionSelector": "9711715a", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "snapshot", - "nameLocation": "16943:8:13", - "parameters": { - "id": 9097, - "nodeType": "ParameterList", - "parameters": [], - "src": "16951:2:13" - }, - "returnParameters": { - "id": 9100, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9099, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9101, - "src": "16972:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9098, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16972:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "16971:9:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9108, - "nodeType": "FunctionDefinition", - "src": "17173:51:13", - "nodes": [], - "functionSelector": "44d7f0a4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "revertTo", - "nameLocation": "17182:8:13", - "parameters": { - "id": 9104, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9103, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9108, - "src": "17191:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9102, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17191:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17190:9:13" - }, - "returnParameters": { - "id": 9107, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9106, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9108, - "src": "17218:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9105, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "17218:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "17217:6:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9117, - "nodeType": "FunctionDefinition", - "src": "17328:73:13", - "nodes": [], - "functionSelector": "6ba3ba2b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createFork", - "nameLocation": "17337:10:13", - "parameters": { - "id": 9113, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9110, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9117, - "src": "17348:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9109, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17348:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9112, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9117, - "src": "17365:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9111, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17365:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17347:26:13" - }, - "returnParameters": { - "id": 9116, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9115, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9117, - "src": "17392:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9114, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17392:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17391:9:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9124, - "nodeType": "FunctionDefinition", - "src": "17518:64:13", - "nodes": [], - "functionSelector": "31ba3498", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createFork", - "nameLocation": "17527:10:13", - "parameters": { - "id": 9120, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9119, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9124, - "src": "17538:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9118, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17538:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "17537:17:13" - }, - "returnParameters": { - "id": 9123, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9122, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9124, - "src": "17573:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9121, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17573:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17572:9:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9133, - "nodeType": "FunctionDefinition", - "src": "17760:73:13", - "nodes": [], - "functionSelector": "7ca29682", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createFork", - "nameLocation": "17769:10:13", - "parameters": { - "id": 9129, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9126, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9133, - "src": "17780:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9125, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17780:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9128, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9133, - "src": "17797:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9127, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17797:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "17779:26:13" - }, - "returnParameters": { - "id": 9132, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9131, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9133, - "src": "17824:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9130, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17824:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17823:9:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9142, - "nodeType": "FunctionDefinition", - "src": "17956:79:13", - "nodes": [], - "functionSelector": "71ee464d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createSelectFork", - "nameLocation": "17965:16:13", - "parameters": { - "id": 9138, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9135, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9142, - "src": "17982:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9134, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17982:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9137, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9142, - "src": "17999:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9136, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17999:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17981:26:13" - }, - "returnParameters": { - "id": 9141, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9140, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9142, - "src": "18026:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9139, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18026:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18025:9:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9151, - "nodeType": "FunctionDefinition", - "src": "18230:79:13", - "nodes": [], - "functionSelector": "84d52b7a", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createSelectFork", - "nameLocation": "18239:16:13", - "parameters": { - "id": 9147, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9144, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9151, - "src": "18256:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9143, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18256:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9146, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9151, - "src": "18273:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9145, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "18273:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "18255:26:13" - }, - "returnParameters": { - "id": 9150, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9149, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9151, - "src": "18300:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9148, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18300:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18299:9:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9158, - "nodeType": "FunctionDefinition", - "src": "18443:70:13", - "nodes": [], - "functionSelector": "98680034", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createSelectFork", - "nameLocation": "18452:16:13", - "parameters": { - "id": 9154, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9153, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9158, - "src": "18469:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9152, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18469:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "18468:17:13" - }, - "returnParameters": { - "id": 9157, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9156, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9158, - "src": "18504:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9155, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18504:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18503:9:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9163, - "nodeType": "FunctionDefinition", - "src": "18624:38:13", - "nodes": [], - "functionSelector": "9ebf6827", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "selectFork", - "nameLocation": "18633:10:13", - "parameters": { - "id": 9161, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9160, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9163, - "src": "18644:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9159, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18644:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18643:9:13" - }, - "returnParameters": { - "id": 9162, - "nodeType": "ParameterList", - "parameters": [], - "src": "18661:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9169, - "nodeType": "FunctionDefinition", - "src": "18756:54:13", - "nodes": [], - "documentation": { - "id": 9164, - "nodeType": "StructuredDocumentation", - "src": "18667:84:13", - "text": "Returns the currently active fork\n Reverts if no fork is currently active" - }, - "functionSelector": "2f103f22", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "activeFork", - "nameLocation": "18765:10:13", - "parameters": { - "id": 9165, - "nodeType": "ParameterList", - "parameters": [], - "src": "18775:2:13" - }, - "returnParameters": { - "id": 9168, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9167, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9169, - "src": "18801:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9166, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18801:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18800:9:13" - }, - "scope": 9256, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 9174, - "nodeType": "FunctionDefinition", - "src": "18945:36:13", - "nodes": [], - "functionSelector": "d9bbf3a1", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rollFork", - "nameLocation": "18954:8:13", - "parameters": { - "id": 9172, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9171, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9174, - "src": "18963:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9170, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18963:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18962:9:13" - }, - "returnParameters": { - "id": 9173, - "nodeType": "ParameterList", - "parameters": [], - "src": "18980:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9179, - "nodeType": "FunctionDefinition", - "src": "19191:36:13", - "nodes": [], - "functionSelector": "0f29772b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rollFork", - "nameLocation": "19200:8:13", - "parameters": { - "id": 9177, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9176, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9179, - "src": "19209:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9175, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19209:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "19208:9:13" - }, - "returnParameters": { - "id": 9178, - "nodeType": "ParameterList", - "parameters": [], - "src": "19226:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9186, - "nodeType": "FunctionDefinition", - "src": "19284:64:13", - "nodes": [], - "functionSelector": "d74c83a4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rollFork", - "nameLocation": "19293:8:13", - "parameters": { - "id": 9184, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9181, - "mutability": "mutable", - "name": "forkId", - "nameLocation": "19310:6:13", - "nodeType": "VariableDeclaration", - "scope": 9186, - "src": "19302:14:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9180, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19302:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9183, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "19326:11:13", - "nodeType": "VariableDeclaration", - "scope": 9186, - "src": "19318:19:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9182, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19318:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "19301:37:13" - }, - "returnParameters": { - "id": 9185, - "nodeType": "ParameterList", - "parameters": [], - "src": "19347:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9193, - "nodeType": "FunctionDefinition", - "src": "19481:64:13", - "nodes": [], - "functionSelector": "f2830f7b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rollFork", - "nameLocation": "19490:8:13", - "parameters": { - "id": 9191, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9188, - "mutability": "mutable", - "name": "forkId", - "nameLocation": "19507:6:13", - "nodeType": "VariableDeclaration", - "scope": 9193, - "src": "19499:14:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9187, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19499:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9190, - "mutability": "mutable", - "name": "transaction", - "nameLocation": "19523:11:13", - "nodeType": "VariableDeclaration", - "scope": 9193, - "src": "19515:19:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9189, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19515:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "19498:37:13" - }, - "returnParameters": { - "id": 9192, - "nodeType": "ParameterList", - "parameters": [], - "src": "19544:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9198, - "nodeType": "FunctionDefinition", - "src": "19744:42:13", - "nodes": [], - "functionSelector": "57e22dde", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "makePersistent", - "nameLocation": "19753:14:13", - "parameters": { - "id": 9196, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9195, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9198, - "src": "19768:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9194, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19768:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "19767:9:13" - }, - "returnParameters": { - "id": 9197, - "nodeType": "ParameterList", - "parameters": [], - "src": "19785:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9205, - "nodeType": "FunctionDefinition", - "src": "19791:51:13", - "nodes": [], - "functionSelector": "4074e0a8", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "makePersistent", - "nameLocation": "19800:14:13", - "parameters": { - "id": 9203, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9200, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9205, - "src": "19815:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9199, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19815:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9202, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9205, - "src": "19824:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9201, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19824:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "19814:18:13" - }, - "returnParameters": { - "id": 9204, - "nodeType": "ParameterList", - "parameters": [], - "src": "19841:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9214, - "nodeType": "FunctionDefinition", - "src": "19847:60:13", - "nodes": [], - "functionSelector": "efb77a75", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "makePersistent", - "nameLocation": "19856:14:13", - "parameters": { - "id": 9212, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9207, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9214, - "src": "19871:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9206, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19871:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9209, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9214, - "src": "19880:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9208, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19880:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9211, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9214, - "src": "19889:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9210, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19889:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "19870:27:13" - }, - "returnParameters": { - "id": 9213, - "nodeType": "ParameterList", - "parameters": [], - "src": "19906:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9220, - "nodeType": "FunctionDefinition", - "src": "19912:53:13", - "nodes": [], - "functionSelector": "1d9e269e", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "makePersistent", - "nameLocation": "19921:14:13", - "parameters": { - "id": 9218, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9217, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9220, - "src": "19936:18:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 9215, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19936:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 9216, - "nodeType": "ArrayTypeName", - "src": "19936:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "19935:20:13" - }, - "returnParameters": { - "id": 9219, - "nodeType": "ParameterList", - "parameters": [], - "src": "19964:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9225, - "nodeType": "FunctionDefinition", - "src": "20059:44:13", - "nodes": [], - "functionSelector": "997a0222", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "revokePersistent", - "nameLocation": "20068:16:13", - "parameters": { - "id": 9223, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9222, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9225, - "src": "20085:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9221, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20085:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20084:9:13" - }, - "returnParameters": { - "id": 9224, - "nodeType": "ParameterList", - "parameters": [], - "src": "20102:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9231, - "nodeType": "FunctionDefinition", - "src": "20108:55:13", - "nodes": [], - "functionSelector": "3ce969e6", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "revokePersistent", - "nameLocation": "20117:16:13", - "parameters": { - "id": 9229, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9228, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9231, - "src": "20134:18:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 9226, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20134:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 9227, - "nodeType": "ArrayTypeName", - "src": "20134:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "20133:20:13" - }, - "returnParameters": { - "id": 9230, - "nodeType": "ParameterList", - "parameters": [], - "src": "20162:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9238, - "nodeType": "FunctionDefinition", - "src": "20227:60:13", - "nodes": [], - "functionSelector": "d92d8efd", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isPersistent", - "nameLocation": "20236:12:13", - "parameters": { - "id": 9234, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9233, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9238, - "src": "20249:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9232, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20249:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20248:9:13" - }, - "returnParameters": { - "id": 9237, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9236, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9238, - "src": "20281:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9235, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "20281:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "20280:6:13" - }, - "scope": 9256, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 9243, - "nodeType": "FunctionDefinition", - "src": "20368:43:13", - "nodes": [], - "functionSelector": "ea060291", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "allowCheatcodes", - "nameLocation": "20377:15:13", - "parameters": { - "id": 9241, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9240, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9243, - "src": "20393:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9239, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20393:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20392:9:13" - }, - "returnParameters": { - "id": 9242, - "nodeType": "ParameterList", - "parameters": [], - "src": "20410:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9248, - "nodeType": "FunctionDefinition", - "src": "20511:43:13", - "nodes": [], - "functionSelector": "be646da1", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transact", - "nameLocation": "20520:8:13", - "parameters": { - "id": 9246, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9245, - "mutability": "mutable", - "name": "txHash", - "nameLocation": "20537:6:13", - "nodeType": "VariableDeclaration", - "scope": 9248, - "src": "20529:14:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9244, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "20529:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "20528:16:13" - }, - "returnParameters": { - "id": 9247, - "nodeType": "ParameterList", - "parameters": [], - "src": "20553:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9255, - "nodeType": "FunctionDefinition", - "src": "20653:59:13", - "nodes": [], - "functionSelector": "4d8abc4b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transact", - "nameLocation": "20662:8:13", - "parameters": { - "id": 9253, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9250, - "mutability": "mutable", - "name": "forkId", - "nameLocation": "20679:6:13", - "nodeType": "VariableDeclaration", - "scope": 9255, - "src": "20671:14:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9249, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20671:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9252, - "mutability": "mutable", - "name": "txHash", - "nameLocation": "20695:6:13", - "nodeType": "VariableDeclaration", - "scope": 9255, - "src": "20687:14:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9251, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "20687:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "20670:32:13" - }, - "returnParameters": { - "id": 9254, - "nodeType": "ParameterList", - "parameters": [], - "src": "20711:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 8932, - "name": "VmSafe", - "nameLocations": [ - "13578:6:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 8931, - "src": "13578:6:13" - }, - "id": 8933, - "nodeType": "InheritanceSpecifier", - "src": "13578:6:13" - } - ], - "canonicalName": "Vm", - "contractDependencies": [], - "contractKind": "interface", - "fullyImplemented": false, - "linearizedBaseContracts": [ - 9256, - 8931 - ], - "name": "Vm", - "nameLocation": "13572:2:13", - "scope": 9257, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 13 -} \ No newline at end of file diff --git a/out/Vm.sol/VmSafe.json b/out/Vm.sol/VmSafe.json deleted file mode 100644 index 481adb7..0000000 --- a/out/Vm.sol/VmSafe.json +++ /dev/null @@ -1,15063 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "accesses", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "reads", - "type": "bytes32[]" - }, - { - "internalType": "bytes32[]", - "name": "writes", - "type": "bytes32[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "addr", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "name": "assume", - "outputs": [], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "broadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "broadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "broadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "closeFile", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "name": "deriveKey", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "name": "deriveKey", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envAddress", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envAddress", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBool", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBool", - "outputs": [ - { - "internalType": "bool[]", - "name": "", - "type": "bool[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBytes", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBytes", - "outputs": [ - { - "internalType": "bytes[]", - "name": "", - "type": "bytes[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBytes32", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBytes32", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envInt", - "outputs": [ - { - "internalType": "int256[]", - "name": "", - "type": "int256[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envInt", - "outputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envString", - "outputs": [ - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envUint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envUint", - "outputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ], - "name": "ffi", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "getCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "getDeployedCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "getNonce", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getRecordedLogs", - "outputs": [ - { - "components": [ - { - "internalType": "bytes32[]", - "name": "topics", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "address", - "name": "emitter", - "type": "address" - } - ], - "internalType": "struct VmSafe.Log[]", - "name": "", - "type": "tuple[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "label", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "load", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseAddress", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseBool", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseBytes", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseBytes32", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseInt", - "outputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseJson", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseJson", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseUint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "projectRoot", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "readFile", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "readFileBinary", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "readLine", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "record", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recordLogs", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "rememberKey", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "removeFile", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "rpcUrl", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "rpcUrlStructs", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "url", - "type": "string" - } - ], - "internalType": "struct VmSafe.Rpc[]", - "name": "", - "type": "tuple[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "rpcUrls", - "outputs": [ - { - "internalType": "string[2][]", - "name": "", - "type": "string[2][]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "name": "serializeAddress", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "serializeAddress", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bool[]", - "name": "", - "type": "bool[]" - } - ], - "name": "serializeBool", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "name": "serializeBool", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes[]", - "name": "", - "type": "bytes[]" - } - ], - "name": "serializeBytes", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "serializeBytes", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "name": "serializeBytes32", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "serializeBytes32", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "name": "serializeInt", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "int256[]", - "name": "", - "type": "int256[]" - } - ], - "name": "serializeInt", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ], - "name": "serializeString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "serializeString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "serializeUint", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "serializeUint", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "setEnv", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "sign", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "startBroadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "startBroadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "startBroadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "stopBroadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "writeFile", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "writeFileBinary", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "writeJson", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "writeJson", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "writeLine", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "accesses(address)": "65bc9481", - "addr(uint256)": "ffa18649", - "assume(bool)": "4c63e562", - "broadcast()": "afc98040", - "broadcast(address)": "e6962cdb", - "broadcast(uint256)": "f67a965b", - "closeFile(string)": "48c3241f", - "deriveKey(string,string,uint32)": "6bcb2c1b", - "deriveKey(string,uint32)": "6229498b", - "envAddress(string)": "350d56bf", - "envAddress(string,string)": "ad31b9fa", - "envBool(string)": "7ed1ec7d", - "envBool(string,string)": "aaaddeaf", - "envBytes(string)": "4d7baf06", - "envBytes(string,string)": "ddc2651b", - "envBytes32(string)": "97949042", - "envBytes32(string,string)": "5af231c1", - "envInt(string)": "892a0c61", - "envInt(string,string)": "42181150", - "envString(string)": "f877cb19", - "envString(string,string)": "14b02bc9", - "envUint(string)": "c1978d1f", - "envUint(string,string)": "f3dec099", - "ffi(string[])": "89160467", - "getCode(string)": "8d1cc925", - "getDeployedCode(string)": "3ebf73b4", - "getNonce(address)": "2d0335ab", - "getRecordedLogs()": "191553a4", - "label(address,string)": "c657c718", - "load(address,bytes32)": "667f9d70", - "parseAddress(string)": "c6ce059d", - "parseBool(string)": "974ef924", - "parseBytes(string)": "8f5d232d", - "parseBytes32(string)": "087e6e81", - "parseInt(string)": "42346c5e", - "parseJson(string)": "6a82600a", - "parseJson(string,string)": "85940ef1", - "parseUint(string)": "fa91454d", - "projectRoot()": "d930a0e6", - "readFile(string)": "60f9bb11", - "readFileBinary(string)": "16ed7bc4", - "readLine(string)": "70f55728", - "record()": "266cf109", - "recordLogs()": "41af2f52", - "rememberKey(uint256)": "22100064", - "removeFile(string)": "f1afe04d", - "rpcUrl(string)": "975a6ce9", - "rpcUrlStructs()": "9d2ad72a", - "rpcUrls()": "a85a8418", - "serializeAddress(string,string,address)": "972c6062", - "serializeAddress(string,string,address[])": "1e356e1a", - "serializeBool(string,string,bool)": "ac22e971", - "serializeBool(string,string,bool[])": "92925aa1", - "serializeBytes(string,string,bytes)": "f21d52c7", - "serializeBytes(string,string,bytes[])": "9884b232", - "serializeBytes32(string,string,bytes32)": "2d812b44", - "serializeBytes32(string,string,bytes32[])": "201e43e2", - "serializeInt(string,string,int256)": "3f33db60", - "serializeInt(string,string,int256[])": "7676e127", - "serializeString(string,string,string)": "88da6d35", - "serializeString(string,string,string[])": "561cd6f3", - "serializeUint(string,string,uint256)": "129e9002", - "serializeUint(string,string,uint256[])": "fee9a469", - "setEnv(string,string)": "3d5923ee", - "sign(uint256,bytes32)": "e341eaa4", - "startBroadcast()": "7fb5297f", - "startBroadcast(address)": "7fec2a8d", - "startBroadcast(uint256)": "ce817d47", - "stopBroadcast()": "76eadd36", - "toString(address)": "56ca623e", - "toString(bool)": "71dce7da", - "toString(bytes)": "71aad10d", - "toString(bytes32)": "b11a19e8", - "toString(int256)": "a322c40e", - "toString(uint256)": "6900a3ae", - "writeFile(string,string)": "897e0a97", - "writeFileBinary(string,bytes)": "1f21fc80", - "writeJson(string,string)": "e23cd19f", - "writeJson(string,string,string)": "35d6ad46", - "writeLine(string,string)": "619d897f" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"accesses\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"reads\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"writes\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"addr\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"assume\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"broadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"broadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"broadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"closeFile\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"deriveKey\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"deriveKey\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envAddress\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBool\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBool\",\"outputs\":[{\"internalType\":\"bool[]\",\"name\":\"\",\"type\":\"bool[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes32\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes32\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envInt\",\"outputs\":[{\"internalType\":\"int256[]\",\"name\":\"\",\"type\":\"int256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envInt\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envString\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envUint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envUint\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"name\":\"ffi\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"getCode\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"getDeployedCode\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"getNonce\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRecordedLogs\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32[]\",\"name\":\"topics\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"emitter\",\"type\":\"address\"}],\"internalType\":\"struct VmSafe.Log[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"label\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"load\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseBool\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseBytes\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseBytes32\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseInt\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseJson\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseJson\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseUint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"projectRoot\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"readFile\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"readFileBinary\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"readLine\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"record\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"recordLogs\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"rememberKey\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"removeFile\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"rpcUrl\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rpcUrlStructs\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"url\",\"type\":\"string\"}],\"internalType\":\"struct VmSafe.Rpc[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rpcUrls\",\"outputs\":[{\"internalType\":\"string[2][]\",\"name\":\"\",\"type\":\"string[2][]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"name\":\"serializeAddress\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"serializeAddress\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"bool[]\",\"name\":\"\",\"type\":\"bool[]\"}],\"name\":\"serializeBool\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"serializeBool\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"name\":\"serializeBytes\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"serializeBytes\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"name\":\"serializeBytes32\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"serializeBytes32\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"name\":\"serializeInt\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"int256[]\",\"name\":\"\",\"type\":\"int256[]\"}],\"name\":\"serializeInt\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"name\":\"serializeString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"serializeString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"serializeUint\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"name\":\"serializeUint\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"setEnv\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"sign\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"startBroadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"startBroadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"startBroadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stopBroadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"writeFile\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"writeFileBinary\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"writeJson\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"writeJson\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"writeLine\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/Vm.sol\":\"VmSafe\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69\",\"dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "accesses", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "reads", - "type": "bytes32[]" - }, - { - "internalType": "bytes32[]", - "name": "writes", - "type": "bytes32[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "addr", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "assume" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "broadcast" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "broadcast" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "broadcast" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "closeFile" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "deriveKey", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "deriveKey", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envAddress", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envAddress", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envBool", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envBool", - "outputs": [ - { - "internalType": "bool[]", - "name": "", - "type": "bool[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envBytes", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envBytes", - "outputs": [ - { - "internalType": "bytes[]", - "name": "", - "type": "bytes[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envBytes32", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envBytes32", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envInt", - "outputs": [ - { - "internalType": "int256[]", - "name": "", - "type": "int256[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envInt", - "outputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envString", - "outputs": [ - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envUint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "envUint", - "outputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "ffi", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getDeployedCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getNonce", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "getRecordedLogs", - "outputs": [ - { - "internalType": "struct VmSafe.Log[]", - "name": "", - "type": "tuple[]", - "components": [ - { - "internalType": "bytes32[]", - "name": "topics", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "address", - "name": "emitter", - "type": "address" - } - ] - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "label" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "name": "load", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "parseAddress", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "parseBool", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "parseBytes", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "parseBytes32", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "parseInt", - "outputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "parseJson", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "parseJson", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "parseUint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "projectRoot", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "readFile", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "readFileBinary", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "readLine", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "record" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "recordLogs" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "rememberKey", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "removeFile" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "rpcUrl", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "rpcUrlStructs", - "outputs": [ - { - "internalType": "struct VmSafe.Rpc[]", - "name": "", - "type": "tuple[]", - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "url", - "type": "string" - } - ] - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "rpcUrls", - "outputs": [ - { - "internalType": "string[2][]", - "name": "", - "type": "string[2][]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeAddress", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeAddress", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bool[]", - "name": "", - "type": "bool[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeBool", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeBool", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes[]", - "name": "", - "type": "bytes[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeBytes", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeBytes", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeBytes32", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeBytes32", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeInt", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "int256[]", - "name": "", - "type": "int256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeInt", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeUint", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "serializeUint", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setEnv" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "sign", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "startBroadcast" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "startBroadcast" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "startBroadcast" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "stopBroadcast" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "writeFile" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "writeFileBinary" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "writeJson" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "writeJson" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "writeLine" - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/Vm.sol": "VmSafe" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7", - "urls": [ - "bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69", - "dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/Vm.sol", - "id": 9257, - "exportedSymbols": { - "Vm": [ - 9256 - ], - "VmSafe": [ - 8931 - ] - }, - "nodeType": "SourceUnit", - "src": "32:20683:13", - "nodes": [ - { - "id": 8284, - "nodeType": "PragmaDirective", - "src": "32:31:13", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.6", - ".2", - "<", - "0.9", - ".0" - ] - }, - { - "id": 8285, - "nodeType": "PragmaDirective", - "src": "65:33:13", - "nodes": [], - "literals": [ - "experimental", - "ABIEncoderV2" - ] - }, - { - "id": 8931, - "nodeType": "ContractDefinition", - "src": "572:12988:13", - "nodes": [ - { - "id": 8293, - "nodeType": "StructDefinition", - "src": "595:89:13", - "nodes": [], - "canonicalName": "VmSafe.Log", - "members": [ - { - "constant": false, - "id": 8288, - "mutability": "mutable", - "name": "topics", - "nameLocation": "626:6:13", - "nodeType": "VariableDeclaration", - "scope": 8293, - "src": "616:16:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 8286, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "616:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 8287, - "nodeType": "ArrayTypeName", - "src": "616:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8290, - "mutability": "mutable", - "name": "data", - "nameLocation": "648:4:13", - "nodeType": "VariableDeclaration", - "scope": 8293, - "src": "642:10:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8289, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "642:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8292, - "mutability": "mutable", - "name": "emitter", - "nameLocation": "670:7:13", - "nodeType": "VariableDeclaration", - "scope": 8293, - "src": "662:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8291, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "662:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "name": "Log", - "nameLocation": "602:3:13", - "scope": 8931, - "visibility": "public" - }, - { - "id": 8298, - "nodeType": "StructDefinition", - "src": "690:59:13", - "nodes": [], - "canonicalName": "VmSafe.Rpc", - "members": [ - { - "constant": false, - "id": 8295, - "mutability": "mutable", - "name": "name", - "nameLocation": "718:4:13", - "nodeType": "VariableDeclaration", - "scope": 8298, - "src": "711:11:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8294, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "711:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8297, - "mutability": "mutable", - "name": "url", - "nameLocation": "739:3:13", - "nodeType": "VariableDeclaration", - "scope": 8298, - "src": "732:10:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8296, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "732:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "Rpc", - "nameLocation": "697:3:13", - "scope": 8931, - "visibility": "public" - }, - { - "id": 8307, - "nodeType": "FunctionDefinition", - "src": "811:64:13", - "nodes": [], - "functionSelector": "667f9d70", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "load", - "nameLocation": "820:4:13", - "parameters": { - "id": 8303, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8300, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8307, - "src": "825:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8299, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "825:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8302, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8307, - "src": "834:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8301, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "834:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "824:18:13" - }, - "returnParameters": { - "id": 8306, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8305, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8307, - "src": "866:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8304, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "866:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "865:9:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8320, - "nodeType": "FunctionDefinition", - "src": "933:80:13", - "nodes": [], - "functionSelector": "e341eaa4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "sign", - "nameLocation": "942:4:13", - "parameters": { - "id": 8312, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8309, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8320, - "src": "947:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8308, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "947:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8311, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8320, - "src": "956:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8310, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "956:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "946:18:13" - }, - "returnParameters": { - "id": 8319, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8314, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8320, - "src": "988:5:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 8313, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "988:5:13", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8316, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8320, - "src": "995:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8315, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "995:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8318, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8320, - "src": "1004:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8317, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1004:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "987:25:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8327, - "nodeType": "FunctionDefinition", - "src": "1093:55:13", - "nodes": [], - "functionSelector": "ffa18649", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "addr", - "nameLocation": "1102:4:13", - "parameters": { - "id": 8323, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8322, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8327, - "src": "1107:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8321, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1107:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1106:9:13" - }, - "returnParameters": { - "id": 8326, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8325, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8327, - "src": "1139:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8324, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1139:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1138:9:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8334, - "nodeType": "FunctionDefinition", - "src": "1189:58:13", - "nodes": [], - "functionSelector": "2d0335ab", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getNonce", - "nameLocation": "1198:8:13", - "parameters": { - "id": 8330, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8329, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8334, - "src": "1207:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8328, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1207:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1206:9:13" - }, - "returnParameters": { - "id": 8333, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8332, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8334, - "src": "1239:6:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 8331, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "1239:6:13", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "1238:8:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8342, - "nodeType": "FunctionDefinition", - "src": "1337:64:13", - "nodes": [], - "functionSelector": "89160467", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "ffi", - "nameLocation": "1346:3:13", - "parameters": { - "id": 8338, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8337, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8342, - "src": "1350:17:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 8335, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1350:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 8336, - "nodeType": "ArrayTypeName", - "src": "1350:8:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "1349:19:13" - }, - "returnParameters": { - "id": 8341, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8340, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8342, - "src": "1387:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8339, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1387:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1386:14:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8349, - "nodeType": "FunctionDefinition", - "src": "1455:59:13", - "nodes": [], - "functionSelector": "3d5923ee", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setEnv", - "nameLocation": "1464:6:13", - "parameters": { - "id": 8347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8344, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8349, - "src": "1471:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8343, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1471:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8346, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8349, - "src": "1488:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8345, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1488:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1470:34:13" - }, - "returnParameters": { - "id": 8348, - "nodeType": "ParameterList", - "parameters": [], - "src": "1513:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8356, - "nodeType": "FunctionDefinition", - "src": "1573:63:13", - "nodes": [], - "functionSelector": "7ed1ec7d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envBool", - "nameLocation": "1582:7:13", - "parameters": { - "id": 8352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8351, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8356, - "src": "1590:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8350, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1590:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1589:17:13" - }, - "returnParameters": { - "id": 8355, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8354, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8356, - "src": "1630:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8353, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1630:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "1629:6:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8363, - "nodeType": "FunctionDefinition", - "src": "1641:66:13", - "nodes": [], - "functionSelector": "c1978d1f", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envUint", - "nameLocation": "1650:7:13", - "parameters": { - "id": 8359, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8358, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8363, - "src": "1658:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8357, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1658:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1657:17:13" - }, - "returnParameters": { - "id": 8362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8361, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8363, - "src": "1698:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1698:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1697:9:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8370, - "nodeType": "FunctionDefinition", - "src": "1712:64:13", - "nodes": [], - "functionSelector": "892a0c61", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envInt", - "nameLocation": "1721:6:13", - "parameters": { - "id": 8366, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8365, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8370, - "src": "1728:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8364, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1728:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1727:17:13" - }, - "returnParameters": { - "id": 8369, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8368, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8370, - "src": "1768:6:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 8367, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "1768:6:13", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "1767:8:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8377, - "nodeType": "FunctionDefinition", - "src": "1781:69:13", - "nodes": [], - "functionSelector": "350d56bf", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envAddress", - "nameLocation": "1790:10:13", - "parameters": { - "id": 8373, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8372, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8377, - "src": "1801:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8371, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1801:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1800:17:13" - }, - "returnParameters": { - "id": 8376, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8375, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8377, - "src": "1841:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8374, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1841:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1840:9:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8384, - "nodeType": "FunctionDefinition", - "src": "1855:69:13", - "nodes": [], - "functionSelector": "97949042", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envBytes32", - "nameLocation": "1864:10:13", - "parameters": { - "id": 8380, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8379, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8384, - "src": "1875:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8378, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1875:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1874:17:13" - }, - "returnParameters": { - "id": 8383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8382, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8384, - "src": "1915:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8381, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1915:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "1914:9:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8391, - "nodeType": "FunctionDefinition", - "src": "1929:74:13", - "nodes": [], - "functionSelector": "f877cb19", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envString", - "nameLocation": "1938:9:13", - "parameters": { - "id": 8387, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8386, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8391, - "src": "1948:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8385, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1948:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1947:17:13" - }, - "returnParameters": { - "id": 8390, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8389, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8391, - "src": "1988:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8388, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1988:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1987:15:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8398, - "nodeType": "FunctionDefinition", - "src": "2008:72:13", - "nodes": [], - "functionSelector": "4d7baf06", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envBytes", - "nameLocation": "2017:8:13", - "parameters": { - "id": 8394, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8393, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8398, - "src": "2026:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8392, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2026:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2025:17:13" - }, - "returnParameters": { - "id": 8397, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8396, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8398, - "src": "2066:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8395, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2066:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2065:14:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8408, - "nodeType": "FunctionDefinition", - "src": "2158:89:13", - "nodes": [], - "functionSelector": "aaaddeaf", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envBool", - "nameLocation": "2167:7:13", - "parameters": { - "id": 8403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8400, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8408, - "src": "2175:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8399, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2175:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8402, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8408, - "src": "2192:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8401, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2192:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2174:34:13" - }, - "returnParameters": { - "id": 8407, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8406, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8408, - "src": "2232:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_memory_ptr", - "typeString": "bool[]" - }, - "typeName": { - "baseType": { - "id": 8404, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2232:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8405, - "nodeType": "ArrayTypeName", - "src": "2232:6:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_storage_ptr", - "typeString": "bool[]" - } - }, - "visibility": "internal" - } - ], - "src": "2231:15:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8418, - "nodeType": "FunctionDefinition", - "src": "2252:92:13", - "nodes": [], - "functionSelector": "f3dec099", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envUint", - "nameLocation": "2261:7:13", - "parameters": { - "id": 8413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8410, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8418, - "src": "2269:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8409, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2269:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8412, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8418, - "src": "2286:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8411, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2286:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2268:34:13" - }, - "returnParameters": { - "id": 8417, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8416, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8418, - "src": "2326:16:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 8414, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2326:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8415, - "nodeType": "ArrayTypeName", - "src": "2326:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "2325:18:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8428, - "nodeType": "FunctionDefinition", - "src": "2349:90:13", - "nodes": [], - "functionSelector": "42181150", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envInt", - "nameLocation": "2358:6:13", - "parameters": { - "id": 8423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8420, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8428, - "src": "2365:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8419, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2365:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8422, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8428, - "src": "2382:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8421, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2382:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2364:34:13" - }, - "returnParameters": { - "id": 8427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8426, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8428, - "src": "2422:15:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 8424, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "2422:6:13", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 8425, - "nodeType": "ArrayTypeName", - "src": "2422:8:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "2421:17:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8438, - "nodeType": "FunctionDefinition", - "src": "2444:95:13", - "nodes": [], - "functionSelector": "ad31b9fa", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envAddress", - "nameLocation": "2453:10:13", - "parameters": { - "id": 8433, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8430, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8438, - "src": "2464:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8429, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2464:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8432, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8438, - "src": "2481:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8431, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2481:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2463:34:13" - }, - "returnParameters": { - "id": 8437, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8436, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8438, - "src": "2521:16:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 8434, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2521:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 8435, - "nodeType": "ArrayTypeName", - "src": "2521:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "2520:18:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8448, - "nodeType": "FunctionDefinition", - "src": "2544:95:13", - "nodes": [], - "functionSelector": "5af231c1", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envBytes32", - "nameLocation": "2553:10:13", - "parameters": { - "id": 8443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8440, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8448, - "src": "2564:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8439, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2564:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8442, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8448, - "src": "2581:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8441, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2581:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2563:34:13" - }, - "returnParameters": { - "id": 8447, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8446, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8448, - "src": "2621:16:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 8444, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2621:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 8445, - "nodeType": "ArrayTypeName", - "src": "2621:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "2620:18:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8458, - "nodeType": "FunctionDefinition", - "src": "2644:93:13", - "nodes": [], - "functionSelector": "14b02bc9", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envString", - "nameLocation": "2653:9:13", - "parameters": { - "id": 8453, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8450, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8458, - "src": "2663:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8449, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2663:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8452, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8458, - "src": "2680:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8451, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2680:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2662:34:13" - }, - "returnParameters": { - "id": 8457, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8456, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8458, - "src": "2720:15:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 8454, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2720:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 8455, - "nodeType": "ArrayTypeName", - "src": "2720:8:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "2719:17:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8468, - "nodeType": "FunctionDefinition", - "src": "2742:91:13", - "nodes": [], - "functionSelector": "ddc2651b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envBytes", - "nameLocation": "2751:8:13", - "parameters": { - "id": 8463, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8460, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8468, - "src": "2760:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8459, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2760:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8462, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8468, - "src": "2777:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8461, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2777:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2759:34:13" - }, - "returnParameters": { - "id": 8467, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8466, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8468, - "src": "2817:14:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_ptr_$dyn_memory_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 8464, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2817:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 8465, - "nodeType": "ArrayTypeName", - "src": "2817:7:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "visibility": "internal" - } - ], - "src": "2816:16:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8471, - "nodeType": "FunctionDefinition", - "src": "2882:27:13", - "nodes": [], - "functionSelector": "266cf109", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "record", - "nameLocation": "2891:6:13", - "parameters": { - "id": 8469, - "nodeType": "ParameterList", - "parameters": [], - "src": "2897:2:13" - }, - "returnParameters": { - "id": 8470, - "nodeType": "ParameterList", - "parameters": [], - "src": "2908:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8482, - "nodeType": "FunctionDefinition", - "src": "3006:94:13", - "nodes": [], - "functionSelector": "65bc9481", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "accesses", - "nameLocation": "3015:8:13", - "parameters": { - "id": 8474, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8473, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8482, - "src": "3024:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8472, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3024:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3023:9:13" - }, - "returnParameters": { - "id": 8481, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8477, - "mutability": "mutable", - "name": "reads", - "nameLocation": "3068:5:13", - "nodeType": "VariableDeclaration", - "scope": 8482, - "src": "3051:22:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 8475, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3051:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 8476, - "nodeType": "ArrayTypeName", - "src": "3051:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8480, - "mutability": "mutable", - "name": "writes", - "nameLocation": "3092:6:13", - "nodeType": "VariableDeclaration", - "scope": 8482, - "src": "3075:23:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 8478, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3075:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 8479, - "nodeType": "ArrayTypeName", - "src": "3075:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "3050:49:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8489, - "nodeType": "FunctionDefinition", - "src": "3208:71:13", - "nodes": [], - "functionSelector": "8d1cc925", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getCode", - "nameLocation": "3217:7:13", - "parameters": { - "id": 8485, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8484, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8489, - "src": "3225:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8483, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3225:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3224:17:13" - }, - "returnParameters": { - "id": 8488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8487, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8489, - "src": "3265:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8486, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3265:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3264:14:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8496, - "nodeType": "FunctionDefinition", - "src": "3387:79:13", - "nodes": [], - "functionSelector": "3ebf73b4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getDeployedCode", - "nameLocation": "3396:15:13", - "parameters": { - "id": 8492, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8491, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8496, - "src": "3412:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8490, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3412:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3411:17:13" - }, - "returnParameters": { - "id": 8495, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8494, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8496, - "src": "3452:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8493, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3452:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3451:14:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8503, - "nodeType": "FunctionDefinition", - "src": "3511:50:13", - "nodes": [], - "functionSelector": "c657c718", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "label", - "nameLocation": "3520:5:13", - "parameters": { - "id": 8501, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8498, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8503, - "src": "3526:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8497, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3526:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8500, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8503, - "src": "3535:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8499, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3535:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3525:26:13" - }, - "returnParameters": { - "id": 8502, - "nodeType": "ParameterList", - "parameters": [], - "src": "3560:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8506, - "nodeType": "FunctionDefinition", - "src": "3728:30:13", - "nodes": [], - "functionSelector": "afc98040", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcast", - "nameLocation": "3737:9:13", - "parameters": { - "id": 8504, - "nodeType": "ParameterList", - "parameters": [], - "src": "3746:2:13" - }, - "returnParameters": { - "id": 8505, - "nodeType": "ParameterList", - "parameters": [], - "src": "3757:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8511, - "nodeType": "FunctionDefinition", - "src": "3917:37:13", - "nodes": [], - "functionSelector": "e6962cdb", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcast", - "nameLocation": "3926:9:13", - "parameters": { - "id": 8509, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8508, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8511, - "src": "3936:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8507, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3936:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3935:9:13" - }, - "returnParameters": { - "id": 8510, - "nodeType": "ParameterList", - "parameters": [], - "src": "3953:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8516, - "nodeType": "FunctionDefinition", - "src": "4117:37:13", - "nodes": [], - "functionSelector": "f67a965b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcast", - "nameLocation": "4126:9:13", - "parameters": { - "id": 8514, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8513, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8516, - "src": "4136:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8512, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4136:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4135:9:13" - }, - "returnParameters": { - "id": 8515, - "nodeType": "ParameterList", - "parameters": [], - "src": "4153:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8519, - "nodeType": "FunctionDefinition", - "src": "4327:35:13", - "nodes": [], - "functionSelector": "7fb5297f", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "startBroadcast", - "nameLocation": "4336:14:13", - "parameters": { - "id": 8517, - "nodeType": "ParameterList", - "parameters": [], - "src": "4350:2:13" - }, - "returnParameters": { - "id": 8518, - "nodeType": "ParameterList", - "parameters": [], - "src": "4361:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8524, - "nodeType": "FunctionDefinition", - "src": "4513:42:13", - "nodes": [], - "functionSelector": "7fec2a8d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "startBroadcast", - "nameLocation": "4522:14:13", - "parameters": { - "id": 8522, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8521, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8524, - "src": "4537:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8520, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4537:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4536:9:13" - }, - "returnParameters": { - "id": 8523, - "nodeType": "ParameterList", - "parameters": [], - "src": "4554:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8529, - "nodeType": "FunctionDefinition", - "src": "4710:42:13", - "nodes": [], - "functionSelector": "ce817d47", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "startBroadcast", - "nameLocation": "4719:14:13", - "parameters": { - "id": 8527, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8526, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8529, - "src": "4734:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8525, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4734:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4733:9:13" - }, - "returnParameters": { - "id": 8528, - "nodeType": "ParameterList", - "parameters": [], - "src": "4751:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8532, - "nodeType": "FunctionDefinition", - "src": "4802:34:13", - "nodes": [], - "functionSelector": "76eadd36", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "stopBroadcast", - "nameLocation": "4811:13:13", - "parameters": { - "id": 8530, - "nodeType": "ParameterList", - "parameters": [], - "src": "4824:2:13" - }, - "returnParameters": { - "id": 8531, - "nodeType": "ParameterList", - "parameters": [], - "src": "4835:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8539, - "nodeType": "FunctionDefinition", - "src": "4909:73:13", - "nodes": [], - "functionSelector": "60f9bb11", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "readFile", - "nameLocation": "4918:8:13", - "parameters": { - "id": 8535, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8534, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8539, - "src": "4927:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8533, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4927:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4926:17:13" - }, - "returnParameters": { - "id": 8538, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8537, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8539, - "src": "4967:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8536, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4967:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4966:15:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8546, - "nodeType": "FunctionDefinition", - "src": "5093:78:13", - "nodes": [], - "functionSelector": "16ed7bc4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "readFileBinary", - "nameLocation": "5102:14:13", - "parameters": { - "id": 8542, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8541, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8546, - "src": "5117:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8540, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5117:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5116:17:13" - }, - "returnParameters": { - "id": 8545, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8544, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8546, - "src": "5157:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8543, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5157:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5156:14:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8551, - "nodeType": "FunctionDefinition", - "src": "5224:61:13", - "nodes": [], - "functionSelector": "d930a0e6", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "projectRoot", - "nameLocation": "5233:11:13", - "parameters": { - "id": 8547, - "nodeType": "ParameterList", - "parameters": [], - "src": "5244:2:13" - }, - "returnParameters": { - "id": 8550, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8549, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8551, - "src": "5270:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8548, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5270:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5269:15:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8558, - "nodeType": "FunctionDefinition", - "src": "5349:73:13", - "nodes": [], - "functionSelector": "70f55728", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "readLine", - "nameLocation": "5358:8:13", - "parameters": { - "id": 8554, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8553, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8558, - "src": "5367:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8552, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5367:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5366:17:13" - }, - "returnParameters": { - "id": 8557, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8556, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8558, - "src": "5407:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8555, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5407:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5406:15:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8565, - "nodeType": "FunctionDefinition", - "src": "5567:62:13", - "nodes": [], - "functionSelector": "897e0a97", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "writeFile", - "nameLocation": "5576:9:13", - "parameters": { - "id": 8563, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8560, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8565, - "src": "5586:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8559, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5586:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8562, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8565, - "src": "5603:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8561, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5603:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5585:34:13" - }, - "returnParameters": { - "id": 8564, - "nodeType": "ParameterList", - "parameters": [], - "src": "5628:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8572, - "nodeType": "FunctionDefinition", - "src": "5821:67:13", - "nodes": [], - "functionSelector": "1f21fc80", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "writeFileBinary", - "nameLocation": "5830:15:13", - "parameters": { - "id": 8570, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8567, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8572, - "src": "5846:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8566, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5846:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8569, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8572, - "src": "5863:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8568, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5863:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5845:33:13" - }, - "returnParameters": { - "id": 8571, - "nodeType": "ParameterList", - "parameters": [], - "src": "5887:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8579, - "nodeType": "FunctionDefinition", - "src": "5985:62:13", - "nodes": [], - "functionSelector": "619d897f", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "writeLine", - "nameLocation": "5994:9:13", - "parameters": { - "id": 8577, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8574, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8579, - "src": "6004:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8573, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6004:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8576, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8579, - "src": "6021:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8575, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6021:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6003:34:13" - }, - "returnParameters": { - "id": 8578, - "nodeType": "ParameterList", - "parameters": [], - "src": "6046:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8584, - "nodeType": "FunctionDefinition", - "src": "6179:45:13", - "nodes": [], - "functionSelector": "48c3241f", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "closeFile", - "nameLocation": "6188:9:13", - "parameters": { - "id": 8582, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8581, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8584, - "src": "6198:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8580, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6198:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6197:17:13" - }, - "returnParameters": { - "id": 8583, - "nodeType": "ParameterList", - "parameters": [], - "src": "6223:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8589, - "nodeType": "FunctionDefinition", - "src": "6492:46:13", - "nodes": [], - "functionSelector": "f1afe04d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "removeFile", - "nameLocation": "6501:10:13", - "parameters": { - "id": 8587, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8586, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8589, - "src": "6512:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8585, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6512:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6511:17:13" - }, - "returnParameters": { - "id": 8588, - "nodeType": "ParameterList", - "parameters": [], - "src": "6537:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8596, - "nodeType": "FunctionDefinition", - "src": "6609:65:13", - "nodes": [], - "functionSelector": "56ca623e", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "6618:8:13", - "parameters": { - "id": 8592, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8591, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8596, - "src": "6627:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8590, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6627:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6626:9:13" - }, - "returnParameters": { - "id": 8595, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8594, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8596, - "src": "6659:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8593, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6659:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6658:15:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8603, - "nodeType": "FunctionDefinition", - "src": "6679:72:13", - "nodes": [], - "functionSelector": "71aad10d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "6688:8:13", - "parameters": { - "id": 8599, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8598, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8603, - "src": "6697:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8597, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6697:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6696:16:13" - }, - "returnParameters": { - "id": 8602, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8601, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8603, - "src": "6736:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8600, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6736:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6735:15:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8610, - "nodeType": "FunctionDefinition", - "src": "6756:65:13", - "nodes": [], - "functionSelector": "b11a19e8", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "6765:8:13", - "parameters": { - "id": 8606, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8605, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8610, - "src": "6774:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8604, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6774:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "6773:9:13" - }, - "returnParameters": { - "id": 8609, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8608, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8610, - "src": "6806:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8607, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6806:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6805:15:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8617, - "nodeType": "FunctionDefinition", - "src": "6826:62:13", - "nodes": [], - "functionSelector": "71dce7da", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "6835:8:13", - "parameters": { - "id": 8613, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8612, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8617, - "src": "6844:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8611, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6844:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "6843:6:13" - }, - "returnParameters": { - "id": 8616, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8615, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8617, - "src": "6873:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8614, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6873:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6872:15:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8624, - "nodeType": "FunctionDefinition", - "src": "6893:65:13", - "nodes": [], - "functionSelector": "6900a3ae", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "6902:8:13", - "parameters": { - "id": 8620, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8619, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8624, - "src": "6911:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8618, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6911:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6910:9:13" - }, - "returnParameters": { - "id": 8623, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8622, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8624, - "src": "6943:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8621, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6943:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6942:15:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8631, - "nodeType": "FunctionDefinition", - "src": "6963:64:13", - "nodes": [], - "functionSelector": "a322c40e", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "6972:8:13", - "parameters": { - "id": 8627, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8626, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8631, - "src": "6981:6:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 8625, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "6981:6:13", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "6980:8:13" - }, - "returnParameters": { - "id": 8630, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8629, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8631, - "src": "7012:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8628, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7012:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7011:15:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8638, - "nodeType": "FunctionDefinition", - "src": "7096:74:13", - "nodes": [], - "functionSelector": "8f5d232d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseBytes", - "nameLocation": "7105:10:13", - "parameters": { - "id": 8634, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8633, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8638, - "src": "7116:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8632, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7116:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7115:17:13" - }, - "returnParameters": { - "id": 8637, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8636, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8638, - "src": "7156:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8635, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7156:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "7155:14:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8645, - "nodeType": "FunctionDefinition", - "src": "7175:71:13", - "nodes": [], - "functionSelector": "c6ce059d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseAddress", - "nameLocation": "7184:12:13", - "parameters": { - "id": 8641, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8640, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8645, - "src": "7197:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8639, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7197:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7196:17:13" - }, - "returnParameters": { - "id": 8644, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8643, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8645, - "src": "7237:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8642, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7237:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7236:9:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8652, - "nodeType": "FunctionDefinition", - "src": "7251:68:13", - "nodes": [], - "functionSelector": "fa91454d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseUint", - "nameLocation": "7260:9:13", - "parameters": { - "id": 8648, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8647, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8652, - "src": "7270:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8646, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7270:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7269:17:13" - }, - "returnParameters": { - "id": 8651, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8650, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8652, - "src": "7310:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8649, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7310:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7309:9:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8659, - "nodeType": "FunctionDefinition", - "src": "7324:66:13", - "nodes": [], - "functionSelector": "42346c5e", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseInt", - "nameLocation": "7333:8:13", - "parameters": { - "id": 8655, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8654, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8659, - "src": "7342:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8653, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7342:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7341:17:13" - }, - "returnParameters": { - "id": 8658, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8657, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8659, - "src": "7382:6:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 8656, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "7382:6:13", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "7381:8:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8666, - "nodeType": "FunctionDefinition", - "src": "7395:71:13", - "nodes": [], - "functionSelector": "087e6e81", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseBytes32", - "nameLocation": "7404:12:13", - "parameters": { - "id": 8662, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8661, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8666, - "src": "7417:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8660, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7417:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7416:17:13" - }, - "returnParameters": { - "id": 8665, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8664, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8666, - "src": "7457:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8663, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7457:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "7456:9:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8673, - "nodeType": "FunctionDefinition", - "src": "7471:65:13", - "nodes": [], - "functionSelector": "974ef924", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseBool", - "nameLocation": "7480:9:13", - "parameters": { - "id": 8669, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8668, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8673, - "src": "7490:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8667, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7490:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7489:17:13" - }, - "returnParameters": { - "id": 8672, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8671, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8673, - "src": "7530:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8670, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7530:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "7529:6:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8676, - "nodeType": "FunctionDefinition", - "src": "7580:31:13", - "nodes": [], - "functionSelector": "41af2f52", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "recordLogs", - "nameLocation": "7589:10:13", - "parameters": { - "id": 8674, - "nodeType": "ParameterList", - "parameters": [], - "src": "7599:2:13" - }, - "returnParameters": { - "id": 8675, - "nodeType": "ParameterList", - "parameters": [], - "src": "7610:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8683, - "nodeType": "FunctionDefinition", - "src": "7664:59:13", - "nodes": [], - "functionSelector": "191553a4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getRecordedLogs", - "nameLocation": "7673:15:13", - "parameters": { - "id": 8677, - "nodeType": "ParameterList", - "parameters": [], - "src": "7688:2:13" - }, - "returnParameters": { - "id": 8682, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8681, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8683, - "src": "7709:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Log_$8293_memory_ptr_$dyn_memory_ptr", - "typeString": "struct VmSafe.Log[]" - }, - "typeName": { - "baseType": { - "id": 8679, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 8678, - "name": "Log", - "nameLocations": [ - "7709:3:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 8293, - "src": "7709:3:13" - }, - "referencedDeclaration": 8293, - "src": "7709:3:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Log_$8293_storage_ptr", - "typeString": "struct VmSafe.Log" - } - }, - "id": 8680, - "nodeType": "ArrayTypeName", - "src": "7709:5:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Log_$8293_storage_$dyn_storage_ptr", - "typeString": "struct VmSafe.Log[]" - } - }, - "visibility": "internal" - } - ], - "src": "7708:14:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8692, - "nodeType": "FunctionDefinition", - "src": "7858:76:13", - "nodes": [], - "functionSelector": "6229498b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "deriveKey", - "nameLocation": "7867:9:13", - "parameters": { - "id": 8688, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8685, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8692, - "src": "7877:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8684, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7877:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8687, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8692, - "src": "7894:6:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - }, - "typeName": { - "id": 8686, - "name": "uint32", - "nodeType": "ElementaryTypeName", - "src": "7894:6:13", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - }, - "visibility": "internal" - } - ], - "src": "7876:25:13" - }, - "returnParameters": { - "id": 8691, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8690, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8692, - "src": "7925:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8689, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7925:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7924:9:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8703, - "nodeType": "FunctionDefinition", - "src": "8060:93:13", - "nodes": [], - "functionSelector": "6bcb2c1b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "deriveKey", - "nameLocation": "8069:9:13", - "parameters": { - "id": 8699, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8694, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8703, - "src": "8079:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8693, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8079:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8696, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8703, - "src": "8096:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8695, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8096:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8698, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8703, - "src": "8113:6:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - }, - "typeName": { - "id": 8697, - "name": "uint32", - "nodeType": "ElementaryTypeName", - "src": "8113:6:13", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - }, - "visibility": "internal" - } - ], - "src": "8078:42:13" - }, - "returnParameters": { - "id": 8702, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8701, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8703, - "src": "8144:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8700, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8144:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8143:9:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8710, - "nodeType": "FunctionDefinition", - "src": "8234:57:13", - "nodes": [], - "functionSelector": "22100064", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rememberKey", - "nameLocation": "8243:11:13", - "parameters": { - "id": 8706, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8705, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8710, - "src": "8255:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8704, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8255:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8254:9:13" - }, - "returnParameters": { - "id": 8709, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8708, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8710, - "src": "8282:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8707, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8282:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8281:9:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8719, - "nodeType": "FunctionDefinition", - "src": "9371:90:13", - "nodes": [], - "functionSelector": "85940ef1", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseJson", - "nameLocation": "9380:9:13", - "parameters": { - "id": 8715, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8712, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8719, - "src": "9390:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8711, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9390:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8714, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8719, - "src": "9407:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8713, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9407:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9389:34:13" - }, - "returnParameters": { - "id": 8718, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8717, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8719, - "src": "9447:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8716, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9447:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9446:14:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8726, - "nodeType": "FunctionDefinition", - "src": "9466:73:13", - "nodes": [], - "functionSelector": "6a82600a", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseJson", - "nameLocation": "9475:9:13", - "parameters": { - "id": 8722, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8721, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8726, - "src": "9485:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8720, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9485:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9484:17:13" - }, - "returnParameters": { - "id": 8725, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8724, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8726, - "src": "9525:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8723, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9525:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9524:14:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "id": 8737, - "nodeType": "FunctionDefinition", - "src": "10967:96:13", - "nodes": [], - "functionSelector": "ac22e971", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeBool", - "nameLocation": "10976:13:13", - "parameters": { - "id": 8733, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8728, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8737, - "src": "10990:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8727, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10990:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8730, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8737, - "src": "11007:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8729, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11007:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8732, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8737, - "src": "11024:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8731, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11024:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "10989:40:13" - }, - "returnParameters": { - "id": 8736, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8735, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8737, - "src": "11048:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8734, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11048:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11047:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8748, - "nodeType": "FunctionDefinition", - "src": "11068:99:13", - "nodes": [], - "functionSelector": "129e9002", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeUint", - "nameLocation": "11077:13:13", - "parameters": { - "id": 8744, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8739, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8748, - "src": "11091:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8738, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11091:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8741, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8748, - "src": "11108:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8740, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11108:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8743, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8748, - "src": "11125:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8742, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11125:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11090:43:13" - }, - "returnParameters": { - "id": 8747, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8746, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8748, - "src": "11152:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8745, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11152:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11151:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8759, - "nodeType": "FunctionDefinition", - "src": "11172:97:13", - "nodes": [], - "functionSelector": "3f33db60", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeInt", - "nameLocation": "11181:12:13", - "parameters": { - "id": 8755, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8750, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8759, - "src": "11194:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8749, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11194:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8752, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8759, - "src": "11211:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8751, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11211:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8754, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8759, - "src": "11228:6:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 8753, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "11228:6:13", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "11193:42:13" - }, - "returnParameters": { - "id": 8758, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8757, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8759, - "src": "11254:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8756, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11254:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11253:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8770, - "nodeType": "FunctionDefinition", - "src": "11274:102:13", - "nodes": [], - "functionSelector": "972c6062", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeAddress", - "nameLocation": "11283:16:13", - "parameters": { - "id": 8766, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8761, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8770, - "src": "11300:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8760, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11300:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8763, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8770, - "src": "11317:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8762, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11317:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8765, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8770, - "src": "11334:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8764, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11334:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "11299:43:13" - }, - "returnParameters": { - "id": 8769, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8768, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8770, - "src": "11361:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8767, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11361:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11360:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8781, - "nodeType": "FunctionDefinition", - "src": "11381:102:13", - "nodes": [], - "functionSelector": "2d812b44", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeBytes32", - "nameLocation": "11390:16:13", - "parameters": { - "id": 8777, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8772, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8781, - "src": "11407:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8771, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11407:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8774, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8781, - "src": "11424:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8773, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11424:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8776, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8781, - "src": "11441:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8775, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "11441:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "11406:43:13" - }, - "returnParameters": { - "id": 8780, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8779, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8781, - "src": "11468:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8778, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11468:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11467:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8792, - "nodeType": "FunctionDefinition", - "src": "11488:109:13", - "nodes": [], - "functionSelector": "88da6d35", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeString", - "nameLocation": "11497:15:13", - "parameters": { - "id": 8788, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8783, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8792, - "src": "11513:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8782, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11513:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8785, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8792, - "src": "11530:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8784, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11530:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8787, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8792, - "src": "11547:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8786, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11547:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11512:51:13" - }, - "returnParameters": { - "id": 8791, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8790, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8792, - "src": "11582:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8789, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11582:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11581:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8803, - "nodeType": "FunctionDefinition", - "src": "11602:107:13", - "nodes": [], - "functionSelector": "f21d52c7", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeBytes", - "nameLocation": "11611:14:13", - "parameters": { - "id": 8799, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8794, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8803, - "src": "11626:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8793, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11626:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8796, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8803, - "src": "11643:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8795, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11643:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8798, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8803, - "src": "11660:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8797, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11660:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "11625:50:13" - }, - "returnParameters": { - "id": 8802, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8801, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8803, - "src": "11694:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8800, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11694:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11693:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8815, - "nodeType": "FunctionDefinition", - "src": "11715:107:13", - "nodes": [], - "functionSelector": "92925aa1", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeBool", - "nameLocation": "11724:13:13", - "parameters": { - "id": 8811, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8805, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8815, - "src": "11738:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8804, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11738:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8807, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8815, - "src": "11755:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8806, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11755:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8810, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8815, - "src": "11772:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_calldata_ptr", - "typeString": "bool[]" - }, - "typeName": { - "baseType": { - "id": 8808, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11772:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8809, - "nodeType": "ArrayTypeName", - "src": "11772:6:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_storage_ptr", - "typeString": "bool[]" - } - }, - "visibility": "internal" - } - ], - "src": "11737:51:13" - }, - "returnParameters": { - "id": 8814, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8813, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8815, - "src": "11807:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8812, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11807:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11806:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8827, - "nodeType": "FunctionDefinition", - "src": "11827:110:13", - "nodes": [], - "functionSelector": "fee9a469", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeUint", - "nameLocation": "11836:13:13", - "parameters": { - "id": 8823, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8817, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8827, - "src": "11850:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8816, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11850:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8819, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8827, - "src": "11867:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8818, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11867:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8822, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8827, - "src": "11884:18:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 8820, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11884:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8821, - "nodeType": "ArrayTypeName", - "src": "11884:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "11849:54:13" - }, - "returnParameters": { - "id": 8826, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8825, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8827, - "src": "11922:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8824, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11922:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11921:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8839, - "nodeType": "FunctionDefinition", - "src": "11942:108:13", - "nodes": [], - "functionSelector": "7676e127", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeInt", - "nameLocation": "11951:12:13", - "parameters": { - "id": 8835, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8829, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8839, - "src": "11964:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8828, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11964:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8831, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8839, - "src": "11981:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8830, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11981:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8834, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8839, - "src": "11998:17:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_calldata_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 8832, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "11998:6:13", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 8833, - "nodeType": "ArrayTypeName", - "src": "11998:8:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "11963:53:13" - }, - "returnParameters": { - "id": 8838, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8837, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8839, - "src": "12035:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8836, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12035:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12034:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8851, - "nodeType": "FunctionDefinition", - "src": "12055:113:13", - "nodes": [], - "functionSelector": "1e356e1a", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeAddress", - "nameLocation": "12064:16:13", - "parameters": { - "id": 8847, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8841, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8851, - "src": "12081:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8840, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12081:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8843, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8851, - "src": "12098:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8842, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12098:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8846, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8851, - "src": "12115:18:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 8844, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12115:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 8845, - "nodeType": "ArrayTypeName", - "src": "12115:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "12080:54:13" - }, - "returnParameters": { - "id": 8850, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8849, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8851, - "src": "12153:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8848, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12153:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12152:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8863, - "nodeType": "FunctionDefinition", - "src": "12173:113:13", - "nodes": [], - "functionSelector": "201e43e2", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeBytes32", - "nameLocation": "12182:16:13", - "parameters": { - "id": 8859, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8853, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8863, - "src": "12199:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8852, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12199:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8855, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8863, - "src": "12216:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8854, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12216:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8858, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8863, - "src": "12233:18:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 8856, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "12233:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 8857, - "nodeType": "ArrayTypeName", - "src": "12233:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "12198:54:13" - }, - "returnParameters": { - "id": 8862, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8861, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8863, - "src": "12271:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8860, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12271:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12270:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8875, - "nodeType": "FunctionDefinition", - "src": "12291:111:13", - "nodes": [], - "functionSelector": "561cd6f3", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeString", - "nameLocation": "12300:15:13", - "parameters": { - "id": 8871, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8865, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8875, - "src": "12316:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8864, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12316:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8867, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8875, - "src": "12333:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8866, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12333:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8870, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8875, - "src": "12350:17:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 8868, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12350:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 8869, - "nodeType": "ArrayTypeName", - "src": "12350:8:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "12315:53:13" - }, - "returnParameters": { - "id": 8874, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8873, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8875, - "src": "12387:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8872, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12387:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12386:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8887, - "nodeType": "FunctionDefinition", - "src": "12407:109:13", - "nodes": [], - "functionSelector": "9884b232", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "serializeBytes", - "nameLocation": "12416:14:13", - "parameters": { - "id": 8883, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8877, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8887, - "src": "12431:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8876, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12431:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8879, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8887, - "src": "12448:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8878, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12448:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8882, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8887, - "src": "12465:16:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 8880, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "12465:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 8881, - "nodeType": "ArrayTypeName", - "src": "12465:7:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "visibility": "internal" - } - ], - "src": "12430:52:13" - }, - "returnParameters": { - "id": 8886, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8885, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8887, - "src": "12501:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8884, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12501:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12500:15:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8894, - "nodeType": "FunctionDefinition", - "src": "12646:62:13", - "nodes": [], - "functionSelector": "e23cd19f", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "writeJson", - "nameLocation": "12655:9:13", - "parameters": { - "id": 8892, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8889, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8894, - "src": "12665:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8888, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12665:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8891, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8894, - "src": "12682:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8890, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12682:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12664:34:13" - }, - "returnParameters": { - "id": 8893, - "nodeType": "ParameterList", - "parameters": [], - "src": "12707:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8903, - "nodeType": "FunctionDefinition", - "src": "12972:79:13", - "nodes": [], - "functionSelector": "35d6ad46", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "writeJson", - "nameLocation": "12981:9:13", - "parameters": { - "id": 8901, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8896, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8903, - "src": "12991:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8895, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12991:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8898, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8903, - "src": "13008:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8897, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13008:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8900, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8903, - "src": "13025:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8899, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13025:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12990:51:13" - }, - "returnParameters": { - "id": 8902, - "nodeType": "ParameterList", - "parameters": [], - "src": "13050:0:13" - }, - "scope": 8931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8910, - "nodeType": "FunctionDefinition", - "src": "13103:71:13", - "nodes": [], - "functionSelector": "975a6ce9", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rpcUrl", - "nameLocation": "13112:6:13", - "parameters": { - "id": 8906, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8905, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8910, - "src": "13119:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8904, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13119:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13118:17:13" - }, - "returnParameters": { - "id": 8909, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8908, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8910, - "src": "13159:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8907, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13159:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13158:15:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8918, - "nodeType": "FunctionDefinition", - "src": "13242:62:13", - "nodes": [], - "functionSelector": "a85a8418", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rpcUrls", - "nameLocation": "13251:7:13", - "parameters": { - "id": 8911, - "nodeType": "ParameterList", - "parameters": [], - "src": "13258:2:13" - }, - "returnParameters": { - "id": 8917, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8916, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8918, - "src": "13284:18:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_array$_t_string_memory_ptr_$2_memory_ptr_$dyn_memory_ptr", - "typeString": "string[2][]" - }, - "typeName": { - "baseType": { - "baseType": { - "id": 8912, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13284:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 8914, - "length": { - "hexValue": "32", - "id": 8913, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13291:1:13", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "ArrayTypeName", - "src": "13284:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$2_storage_ptr", - "typeString": "string[2]" - } - }, - "id": 8915, - "nodeType": "ArrayTypeName", - "src": "13284:11:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_array$_t_string_storage_$2_storage_$dyn_storage_ptr", - "typeString": "string[2][]" - } - }, - "visibility": "internal" - } - ], - "src": "13283:20:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8925, - "nodeType": "FunctionDefinition", - "src": "13367:62:13", - "nodes": [], - "functionSelector": "9d2ad72a", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rpcUrlStructs", - "nameLocation": "13376:13:13", - "parameters": { - "id": 8919, - "nodeType": "ParameterList", - "parameters": [], - "src": "13389:2:13" - }, - "returnParameters": { - "id": 8924, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8923, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8925, - "src": "13415:12:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_memory_ptr_$dyn_memory_ptr", - "typeString": "struct VmSafe.Rpc[]" - }, - "typeName": { - "baseType": { - "id": 8921, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 8920, - "name": "Rpc", - "nameLocations": [ - "13415:3:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 8298, - "src": "13415:3:13" - }, - "referencedDeclaration": 8298, - "src": "13415:3:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Rpc_$8298_storage_ptr", - "typeString": "struct VmSafe.Rpc" - } - }, - "id": 8922, - "nodeType": "ArrayTypeName", - "src": "13415:5:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Rpc_$8298_storage_$dyn_storage_ptr", - "typeString": "struct VmSafe.Rpc[]" - } - }, - "visibility": "internal" - } - ], - "src": "13414:14:13" - }, - "scope": 8931, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 8930, - "nodeType": "FunctionDefinition", - "src": "13522:36:13", - "nodes": [], - "functionSelector": "4c63e562", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "assume", - "nameLocation": "13531:6:13", - "parameters": { - "id": 8928, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8927, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8930, - "src": "13538:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8926, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13538:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "13537:6:13" - }, - "returnParameters": { - "id": 8929, - "nodeType": "ParameterList", - "parameters": [], - "src": "13557:0:13" - }, - "scope": 8931, - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "VmSafe", - "contractDependencies": [], - "contractKind": "interface", - "fullyImplemented": false, - "linearizedBaseContracts": [ - 8931 - ], - "name": "VmSafe", - "nameLocation": "582:6:13", - "scope": 9257, - "usedErrors": [] - }, - { - "id": 9256, - "nodeType": "ContractDefinition", - "src": "13562:7152:13", - "nodes": [ - { - "id": 8938, - "nodeType": "FunctionDefinition", - "src": "13634:32:13", - "nodes": [], - "functionSelector": "e5d6bf02", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "warp", - "nameLocation": "13643:4:13", - "parameters": { - "id": 8936, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8935, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8938, - "src": "13648:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8934, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13648:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13647:9:13" - }, - "returnParameters": { - "id": 8937, - "nodeType": "ParameterList", - "parameters": [], - "src": "13665:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8943, - "nodeType": "FunctionDefinition", - "src": "13708:32:13", - "nodes": [], - "functionSelector": "1f7b4f30", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "roll", - "nameLocation": "13717:4:13", - "parameters": { - "id": 8941, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8940, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8943, - "src": "13722:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8939, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13722:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13721:9:13" - }, - "returnParameters": { - "id": 8942, - "nodeType": "ParameterList", - "parameters": [], - "src": "13739:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8948, - "nodeType": "FunctionDefinition", - "src": "13784:31:13", - "nodes": [], - "functionSelector": "39b37ab0", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "fee", - "nameLocation": "13793:3:13", - "parameters": { - "id": 8946, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8945, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8948, - "src": "13797:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8944, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13797:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13796:9:13" - }, - "returnParameters": { - "id": 8947, - "nodeType": "ParameterList", - "parameters": [], - "src": "13814:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8953, - "nodeType": "FunctionDefinition", - "src": "13865:38:13", - "nodes": [], - "functionSelector": "46cc92d9", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "difficulty", - "nameLocation": "13874:10:13", - "parameters": { - "id": 8951, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8950, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8953, - "src": "13885:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8949, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13885:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13884:9:13" - }, - "returnParameters": { - "id": 8952, - "nodeType": "ParameterList", - "parameters": [], - "src": "13902:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8958, - "nodeType": "FunctionDefinition", - "src": "13934:35:13", - "nodes": [], - "functionSelector": "4049ddd2", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "chainId", - "nameLocation": "13943:7:13", - "parameters": { - "id": 8956, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8955, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8958, - "src": "13951:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8954, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13951:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13950:9:13" - }, - "returnParameters": { - "id": 8957, - "nodeType": "ParameterList", - "parameters": [], - "src": "13968:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8967, - "nodeType": "FunctionDefinition", - "src": "14044:51:13", - "nodes": [], - "functionSelector": "70ca10bb", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "store", - "nameLocation": "14053:5:13", - "parameters": { - "id": 8965, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8960, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8967, - "src": "14059:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8959, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14059:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8962, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8967, - "src": "14068:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8961, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "14068:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8964, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8967, - "src": "14077:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8963, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "14077:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "14058:27:13" - }, - "returnParameters": { - "id": 8966, - "nodeType": "ParameterList", - "parameters": [], - "src": "14094:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8974, - "nodeType": "FunctionDefinition", - "src": "14190:44:13", - "nodes": [], - "functionSelector": "f8e18b57", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setNonce", - "nameLocation": "14199:8:13", - "parameters": { - "id": 8972, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8969, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8974, - "src": "14208:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8968, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14208:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8971, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8974, - "src": "14217:6:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 8970, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "14217:6:13", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "14207:17:13" - }, - "returnParameters": { - "id": 8973, - "nodeType": "ParameterList", - "parameters": [], - "src": "14233:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8979, - "nodeType": "FunctionDefinition", - "src": "14304:33:13", - "nodes": [], - "functionSelector": "ca669fa7", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "prank", - "nameLocation": "14313:5:13", - "parameters": { - "id": 8977, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8976, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8979, - "src": "14319:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8975, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14319:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14318:9:13" - }, - "returnParameters": { - "id": 8978, - "nodeType": "ParameterList", - "parameters": [], - "src": "14336:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8984, - "nodeType": "FunctionDefinition", - "src": "14439:38:13", - "nodes": [], - "functionSelector": "06447d56", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "startPrank", - "nameLocation": "14448:10:13", - "parameters": { - "id": 8982, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8981, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8984, - "src": "14459:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8980, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14459:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14458:9:13" - }, - "returnParameters": { - "id": 8983, - "nodeType": "ParameterList", - "parameters": [], - "src": "14476:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8991, - "nodeType": "FunctionDefinition", - "src": "14589:42:13", - "nodes": [], - "functionSelector": "47e50cce", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "prank", - "nameLocation": "14598:5:13", - "parameters": { - "id": 8989, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8986, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8991, - "src": "14604:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8985, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14604:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8988, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8991, - "src": "14613:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8987, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14613:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14603:18:13" - }, - "returnParameters": { - "id": 8990, - "nodeType": "ParameterList", - "parameters": [], - "src": "14630:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 8998, - "nodeType": "FunctionDefinition", - "src": "14775:47:13", - "nodes": [], - "functionSelector": "45b56078", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "startPrank", - "nameLocation": "14784:10:13", - "parameters": { - "id": 8996, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8993, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8998, - "src": "14795:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8992, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14795:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8995, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 8998, - "src": "14804:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8994, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14804:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14794:18:13" - }, - "returnParameters": { - "id": 8997, - "nodeType": "ParameterList", - "parameters": [], - "src": "14821:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9001, - "nodeType": "FunctionDefinition", - "src": "14892:30:13", - "nodes": [], - "functionSelector": "90c5013b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "stopPrank", - "nameLocation": "14901:9:13", - "parameters": { - "id": 8999, - "nodeType": "ParameterList", - "parameters": [], - "src": "14910:2:13" - }, - "returnParameters": { - "id": 9000, - "nodeType": "ParameterList", - "parameters": [], - "src": "14921:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9008, - "nodeType": "FunctionDefinition", - "src": "14978:41:13", - "nodes": [], - "functionSelector": "c88a5e6d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "14987:4:13", - "parameters": { - "id": 9006, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9003, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9008, - "src": "14992:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9002, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14992:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9005, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9008, - "src": "15001:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9004, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15001:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "14991:18:13" - }, - "returnParameters": { - "id": 9007, - "nodeType": "ParameterList", - "parameters": [], - "src": "15018:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9015, - "nodeType": "FunctionDefinition", - "src": "15069:48:13", - "nodes": [], - "functionSelector": "b4d6c782", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "etch", - "nameLocation": "15078:4:13", - "parameters": { - "id": 9013, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9010, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9015, - "src": "15083:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9009, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15083:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9012, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9015, - "src": "15092:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9011, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15092:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "15082:25:13" - }, - "returnParameters": { - "id": 9014, - "nodeType": "ParameterList", - "parameters": [], - "src": "15116:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9020, - "nodeType": "FunctionDefinition", - "src": "15159:47:13", - "nodes": [], - "functionSelector": "f28dceb3", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectRevert", - "nameLocation": "15168:12:13", - "parameters": { - "id": 9018, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9017, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9020, - "src": "15181:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9016, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15181:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "15180:16:13" - }, - "returnParameters": { - "id": 9019, - "nodeType": "ParameterList", - "parameters": [], - "src": "15205:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9025, - "nodeType": "FunctionDefinition", - "src": "15211:39:13", - "nodes": [], - "functionSelector": "c31eb0e0", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectRevert", - "nameLocation": "15220:12:13", - "parameters": { - "id": 9023, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9022, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9025, - "src": "15233:6:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 9021, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "15233:6:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "15232:8:13" - }, - "returnParameters": { - "id": 9024, - "nodeType": "ParameterList", - "parameters": [], - "src": "15249:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9028, - "nodeType": "FunctionDefinition", - "src": "15255:33:13", - "nodes": [], - "functionSelector": "f4844814", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectRevert", - "nameLocation": "15264:12:13", - "parameters": { - "id": 9026, - "nodeType": "ParameterList", - "parameters": [], - "src": "15276:2:13" - }, - "returnParameters": { - "id": 9027, - "nodeType": "ParameterList", - "parameters": [], - "src": "15287:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9039, - "nodeType": "FunctionDefinition", - "src": "15621:53:13", - "nodes": [], - "functionSelector": "491cc7c2", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectEmit", - "nameLocation": "15630:10:13", - "parameters": { - "id": 9037, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9030, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9039, - "src": "15641:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9029, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15641:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9032, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9039, - "src": "15647:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9031, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15647:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9034, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9039, - "src": "15653:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9033, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15653:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9036, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9039, - "src": "15659:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9035, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15659:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "15640:24:13" - }, - "returnParameters": { - "id": 9038, - "nodeType": "ParameterList", - "parameters": [], - "src": "15673:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9052, - "nodeType": "FunctionDefinition", - "src": "15679:62:13", - "nodes": [], - "functionSelector": "81bad6f3", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectEmit", - "nameLocation": "15688:10:13", - "parameters": { - "id": 9050, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9041, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9052, - "src": "15699:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9040, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15699:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9043, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9052, - "src": "15705:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9042, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15705:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9045, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9052, - "src": "15711:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9044, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15711:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9047, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9052, - "src": "15717:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9046, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15717:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9049, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9052, - "src": "15723:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9048, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15723:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "15698:33:13" - }, - "returnParameters": { - "id": 9051, - "nodeType": "ParameterList", - "parameters": [], - "src": "15740:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9061, - "nodeType": "FunctionDefinition", - "src": "15996:68:13", - "nodes": [], - "functionSelector": "b96213e4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "mockCall", - "nameLocation": "16005:8:13", - "parameters": { - "id": 9059, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9054, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9061, - "src": "16014:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9053, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16014:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9056, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9061, - "src": "16023:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9055, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16023:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9058, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9061, - "src": "16039:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9057, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16039:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "16013:41:13" - }, - "returnParameters": { - "id": 9060, - "nodeType": "ParameterList", - "parameters": [], - "src": "16063:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9072, - "nodeType": "FunctionDefinition", - "src": "16232:77:13", - "nodes": [], - "functionSelector": "81409b91", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "mockCall", - "nameLocation": "16241:8:13", - "parameters": { - "id": 9070, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9063, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9072, - "src": "16250:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9062, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16250:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9065, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9072, - "src": "16259:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9064, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16259:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9067, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9072, - "src": "16268:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9066, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16268:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9069, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9072, - "src": "16284:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9068, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16284:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "16249:50:13" - }, - "returnParameters": { - "id": 9071, - "nodeType": "ParameterList", - "parameters": [], - "src": "16308:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9075, - "nodeType": "FunctionDefinition", - "src": "16345:37:13", - "nodes": [], - "functionSelector": "3fdf4e15", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "clearMockedCalls", - "nameLocation": "16354:16:13", - "parameters": { - "id": 9073, - "nodeType": "ParameterList", - "parameters": [], - "src": "16370:2:13" - }, - "returnParameters": { - "id": 9074, - "nodeType": "ParameterList", - "parameters": [], - "src": "16381:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9082, - "nodeType": "FunctionDefinition", - "src": "16510:54:13", - "nodes": [], - "functionSelector": "bd6af434", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectCall", - "nameLocation": "16519:10:13", - "parameters": { - "id": 9080, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9077, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9082, - "src": "16530:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9076, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16530:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9079, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9082, - "src": "16539:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9078, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16539:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "16529:25:13" - }, - "returnParameters": { - "id": 9081, - "nodeType": "ParameterList", - "parameters": [], - "src": "16563:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9091, - "nodeType": "FunctionDefinition", - "src": "16647:63:13", - "nodes": [], - "functionSelector": "f30c7ba3", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectCall", - "nameLocation": "16656:10:13", - "parameters": { - "id": 9089, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9084, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9091, - "src": "16667:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9083, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16667:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9086, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9091, - "src": "16676:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9085, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16676:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9088, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9091, - "src": "16685:14:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9087, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16685:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "16666:34:13" - }, - "returnParameters": { - "id": 9090, - "nodeType": "ParameterList", - "parameters": [], - "src": "16709:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9096, - "nodeType": "FunctionDefinition", - "src": "16748:36:13", - "nodes": [], - "functionSelector": "ff483c54", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "coinbase", - "nameLocation": "16757:8:13", - "parameters": { - "id": 9094, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9093, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9096, - "src": "16766:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9092, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16766:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "16765:9:13" - }, - "returnParameters": { - "id": 9095, - "nodeType": "ParameterList", - "parameters": [], - "src": "16783:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9101, - "nodeType": "FunctionDefinition", - "src": "16934:47:13", - "nodes": [], - "functionSelector": "9711715a", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "snapshot", - "nameLocation": "16943:8:13", - "parameters": { - "id": 9097, - "nodeType": "ParameterList", - "parameters": [], - "src": "16951:2:13" - }, - "returnParameters": { - "id": 9100, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9099, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9101, - "src": "16972:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9098, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16972:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "16971:9:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9108, - "nodeType": "FunctionDefinition", - "src": "17173:51:13", - "nodes": [], - "functionSelector": "44d7f0a4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "revertTo", - "nameLocation": "17182:8:13", - "parameters": { - "id": 9104, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9103, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9108, - "src": "17191:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9102, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17191:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17190:9:13" - }, - "returnParameters": { - "id": 9107, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9106, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9108, - "src": "17218:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9105, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "17218:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "17217:6:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9117, - "nodeType": "FunctionDefinition", - "src": "17328:73:13", - "nodes": [], - "functionSelector": "6ba3ba2b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createFork", - "nameLocation": "17337:10:13", - "parameters": { - "id": 9113, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9110, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9117, - "src": "17348:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9109, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17348:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9112, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9117, - "src": "17365:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9111, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17365:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17347:26:13" - }, - "returnParameters": { - "id": 9116, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9115, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9117, - "src": "17392:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9114, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17392:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17391:9:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9124, - "nodeType": "FunctionDefinition", - "src": "17518:64:13", - "nodes": [], - "functionSelector": "31ba3498", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createFork", - "nameLocation": "17527:10:13", - "parameters": { - "id": 9120, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9119, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9124, - "src": "17538:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9118, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17538:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "17537:17:13" - }, - "returnParameters": { - "id": 9123, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9122, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9124, - "src": "17573:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9121, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17573:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17572:9:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9133, - "nodeType": "FunctionDefinition", - "src": "17760:73:13", - "nodes": [], - "functionSelector": "7ca29682", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createFork", - "nameLocation": "17769:10:13", - "parameters": { - "id": 9129, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9126, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9133, - "src": "17780:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9125, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17780:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9128, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9133, - "src": "17797:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9127, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17797:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "17779:26:13" - }, - "returnParameters": { - "id": 9132, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9131, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9133, - "src": "17824:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9130, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17824:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17823:9:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9142, - "nodeType": "FunctionDefinition", - "src": "17956:79:13", - "nodes": [], - "functionSelector": "71ee464d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createSelectFork", - "nameLocation": "17965:16:13", - "parameters": { - "id": 9138, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9135, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9142, - "src": "17982:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9134, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17982:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9137, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9142, - "src": "17999:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9136, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17999:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17981:26:13" - }, - "returnParameters": { - "id": 9141, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9140, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9142, - "src": "18026:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9139, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18026:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18025:9:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9151, - "nodeType": "FunctionDefinition", - "src": "18230:79:13", - "nodes": [], - "functionSelector": "84d52b7a", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createSelectFork", - "nameLocation": "18239:16:13", - "parameters": { - "id": 9147, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9144, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9151, - "src": "18256:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9143, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18256:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9146, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9151, - "src": "18273:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9145, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "18273:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "18255:26:13" - }, - "returnParameters": { - "id": 9150, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9149, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9151, - "src": "18300:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9148, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18300:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18299:9:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9158, - "nodeType": "FunctionDefinition", - "src": "18443:70:13", - "nodes": [], - "functionSelector": "98680034", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createSelectFork", - "nameLocation": "18452:16:13", - "parameters": { - "id": 9154, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9153, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9158, - "src": "18469:15:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9152, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18469:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "18468:17:13" - }, - "returnParameters": { - "id": 9157, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9156, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9158, - "src": "18504:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9155, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18504:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18503:9:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9163, - "nodeType": "FunctionDefinition", - "src": "18624:38:13", - "nodes": [], - "functionSelector": "9ebf6827", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "selectFork", - "nameLocation": "18633:10:13", - "parameters": { - "id": 9161, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9160, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9163, - "src": "18644:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9159, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18644:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18643:9:13" - }, - "returnParameters": { - "id": 9162, - "nodeType": "ParameterList", - "parameters": [], - "src": "18661:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9169, - "nodeType": "FunctionDefinition", - "src": "18756:54:13", - "nodes": [], - "documentation": { - "id": 9164, - "nodeType": "StructuredDocumentation", - "src": "18667:84:13", - "text": "Returns the currently active fork\n Reverts if no fork is currently active" - }, - "functionSelector": "2f103f22", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "activeFork", - "nameLocation": "18765:10:13", - "parameters": { - "id": 9165, - "nodeType": "ParameterList", - "parameters": [], - "src": "18775:2:13" - }, - "returnParameters": { - "id": 9168, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9167, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9169, - "src": "18801:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9166, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18801:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18800:9:13" - }, - "scope": 9256, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 9174, - "nodeType": "FunctionDefinition", - "src": "18945:36:13", - "nodes": [], - "functionSelector": "d9bbf3a1", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rollFork", - "nameLocation": "18954:8:13", - "parameters": { - "id": 9172, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9171, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9174, - "src": "18963:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9170, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18963:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18962:9:13" - }, - "returnParameters": { - "id": 9173, - "nodeType": "ParameterList", - "parameters": [], - "src": "18980:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9179, - "nodeType": "FunctionDefinition", - "src": "19191:36:13", - "nodes": [], - "functionSelector": "0f29772b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rollFork", - "nameLocation": "19200:8:13", - "parameters": { - "id": 9177, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9176, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9179, - "src": "19209:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9175, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19209:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "19208:9:13" - }, - "returnParameters": { - "id": 9178, - "nodeType": "ParameterList", - "parameters": [], - "src": "19226:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9186, - "nodeType": "FunctionDefinition", - "src": "19284:64:13", - "nodes": [], - "functionSelector": "d74c83a4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rollFork", - "nameLocation": "19293:8:13", - "parameters": { - "id": 9184, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9181, - "mutability": "mutable", - "name": "forkId", - "nameLocation": "19310:6:13", - "nodeType": "VariableDeclaration", - "scope": 9186, - "src": "19302:14:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9180, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19302:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9183, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "19326:11:13", - "nodeType": "VariableDeclaration", - "scope": 9186, - "src": "19318:19:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9182, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19318:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "19301:37:13" - }, - "returnParameters": { - "id": 9185, - "nodeType": "ParameterList", - "parameters": [], - "src": "19347:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9193, - "nodeType": "FunctionDefinition", - "src": "19481:64:13", - "nodes": [], - "functionSelector": "f2830f7b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rollFork", - "nameLocation": "19490:8:13", - "parameters": { - "id": 9191, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9188, - "mutability": "mutable", - "name": "forkId", - "nameLocation": "19507:6:13", - "nodeType": "VariableDeclaration", - "scope": 9193, - "src": "19499:14:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9187, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19499:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9190, - "mutability": "mutable", - "name": "transaction", - "nameLocation": "19523:11:13", - "nodeType": "VariableDeclaration", - "scope": 9193, - "src": "19515:19:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9189, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19515:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "19498:37:13" - }, - "returnParameters": { - "id": 9192, - "nodeType": "ParameterList", - "parameters": [], - "src": "19544:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9198, - "nodeType": "FunctionDefinition", - "src": "19744:42:13", - "nodes": [], - "functionSelector": "57e22dde", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "makePersistent", - "nameLocation": "19753:14:13", - "parameters": { - "id": 9196, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9195, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9198, - "src": "19768:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9194, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19768:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "19767:9:13" - }, - "returnParameters": { - "id": 9197, - "nodeType": "ParameterList", - "parameters": [], - "src": "19785:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9205, - "nodeType": "FunctionDefinition", - "src": "19791:51:13", - "nodes": [], - "functionSelector": "4074e0a8", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "makePersistent", - "nameLocation": "19800:14:13", - "parameters": { - "id": 9203, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9200, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9205, - "src": "19815:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9199, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19815:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9202, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9205, - "src": "19824:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9201, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19824:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "19814:18:13" - }, - "returnParameters": { - "id": 9204, - "nodeType": "ParameterList", - "parameters": [], - "src": "19841:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9214, - "nodeType": "FunctionDefinition", - "src": "19847:60:13", - "nodes": [], - "functionSelector": "efb77a75", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "makePersistent", - "nameLocation": "19856:14:13", - "parameters": { - "id": 9212, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9207, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9214, - "src": "19871:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9206, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19871:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9209, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9214, - "src": "19880:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9208, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19880:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9211, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9214, - "src": "19889:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9210, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19889:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "19870:27:13" - }, - "returnParameters": { - "id": 9213, - "nodeType": "ParameterList", - "parameters": [], - "src": "19906:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9220, - "nodeType": "FunctionDefinition", - "src": "19912:53:13", - "nodes": [], - "functionSelector": "1d9e269e", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "makePersistent", - "nameLocation": "19921:14:13", - "parameters": { - "id": 9218, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9217, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9220, - "src": "19936:18:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 9215, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19936:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 9216, - "nodeType": "ArrayTypeName", - "src": "19936:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "19935:20:13" - }, - "returnParameters": { - "id": 9219, - "nodeType": "ParameterList", - "parameters": [], - "src": "19964:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9225, - "nodeType": "FunctionDefinition", - "src": "20059:44:13", - "nodes": [], - "functionSelector": "997a0222", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "revokePersistent", - "nameLocation": "20068:16:13", - "parameters": { - "id": 9223, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9222, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9225, - "src": "20085:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9221, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20085:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20084:9:13" - }, - "returnParameters": { - "id": 9224, - "nodeType": "ParameterList", - "parameters": [], - "src": "20102:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9231, - "nodeType": "FunctionDefinition", - "src": "20108:55:13", - "nodes": [], - "functionSelector": "3ce969e6", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "revokePersistent", - "nameLocation": "20117:16:13", - "parameters": { - "id": 9229, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9228, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9231, - "src": "20134:18:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 9226, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20134:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 9227, - "nodeType": "ArrayTypeName", - "src": "20134:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "20133:20:13" - }, - "returnParameters": { - "id": 9230, - "nodeType": "ParameterList", - "parameters": [], - "src": "20162:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9238, - "nodeType": "FunctionDefinition", - "src": "20227:60:13", - "nodes": [], - "functionSelector": "d92d8efd", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isPersistent", - "nameLocation": "20236:12:13", - "parameters": { - "id": 9234, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9233, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9238, - "src": "20249:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9232, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20249:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20248:9:13" - }, - "returnParameters": { - "id": 9237, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9236, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9238, - "src": "20281:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9235, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "20281:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "20280:6:13" - }, - "scope": 9256, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 9243, - "nodeType": "FunctionDefinition", - "src": "20368:43:13", - "nodes": [], - "functionSelector": "ea060291", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "allowCheatcodes", - "nameLocation": "20377:15:13", - "parameters": { - "id": 9241, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9240, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 9243, - "src": "20393:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9239, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20393:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20392:9:13" - }, - "returnParameters": { - "id": 9242, - "nodeType": "ParameterList", - "parameters": [], - "src": "20410:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9248, - "nodeType": "FunctionDefinition", - "src": "20511:43:13", - "nodes": [], - "functionSelector": "be646da1", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transact", - "nameLocation": "20520:8:13", - "parameters": { - "id": 9246, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9245, - "mutability": "mutable", - "name": "txHash", - "nameLocation": "20537:6:13", - "nodeType": "VariableDeclaration", - "scope": 9248, - "src": "20529:14:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9244, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "20529:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "20528:16:13" - }, - "returnParameters": { - "id": 9247, - "nodeType": "ParameterList", - "parameters": [], - "src": "20553:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 9255, - "nodeType": "FunctionDefinition", - "src": "20653:59:13", - "nodes": [], - "functionSelector": "4d8abc4b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transact", - "nameLocation": "20662:8:13", - "parameters": { - "id": 9253, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9250, - "mutability": "mutable", - "name": "forkId", - "nameLocation": "20679:6:13", - "nodeType": "VariableDeclaration", - "scope": 9255, - "src": "20671:14:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9249, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20671:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9252, - "mutability": "mutable", - "name": "txHash", - "nameLocation": "20695:6:13", - "nodeType": "VariableDeclaration", - "scope": 9255, - "src": "20687:14:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9251, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "20687:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "20670:32:13" - }, - "returnParameters": { - "id": 9254, - "nodeType": "ParameterList", - "parameters": [], - "src": "20711:0:13" - }, - "scope": 9256, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 8932, - "name": "VmSafe", - "nameLocations": [ - "13578:6:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 8931, - "src": "13578:6:13" - }, - "id": 8933, - "nodeType": "InheritanceSpecifier", - "src": "13578:6:13" - } - ], - "canonicalName": "Vm", - "contractDependencies": [], - "contractKind": "interface", - "fullyImplemented": false, - "linearizedBaseContracts": [ - 9256, - 8931 - ], - "name": "Vm", - "nameLocation": "13572:2:13", - "scope": 9257, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 13 -} \ No newline at end of file diff --git a/out/apps.t.sol/ContractBTest.json b/out/apps.t.sol/ContractBTest.json deleted file mode 100644 index 92f420a..0000000 --- a/out/apps.t.sol/ContractBTest.json +++ /dev/null @@ -1,9087 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "log", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "log_address", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256[]", - "name": "val", - "type": "uint256[]" - } - ], - "name": "log_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "int256[]", - "name": "val", - "type": "int256[]" - } - ], - "name": "log_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address[]", - "name": "val", - "type": "address[]" - } - ], - "name": "log_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "log_bytes", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "log_bytes32", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "name": "log_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "address", - "name": "val", - "type": "address" - } - ], - "name": "log_named_address", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256[]", - "name": "val", - "type": "uint256[]" - } - ], - "name": "log_named_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256[]", - "name": "val", - "type": "int256[]" - } - ], - "name": "log_named_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "address[]", - "name": "val", - "type": "address[]" - } - ], - "name": "log_named_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "val", - "type": "bytes" - } - ], - "name": "log_named_bytes", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "val", - "type": "bytes32" - } - ], - "name": "log_named_bytes32", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256", - "name": "val", - "type": "int256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "decimals", - "type": "uint256" - } - ], - "name": "log_named_decimal_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "val", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "decimals", - "type": "uint256" - } - ], - "name": "log_named_decimal_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256", - "name": "val", - "type": "int256" - } - ], - "name": "log_named_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "val", - "type": "string" - } - ], - "name": "log_named_string", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "val", - "type": "uint256" - } - ], - "name": "log_named_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "log_string", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "log_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "logs", - "type": "event" - }, - { - "inputs": [], - "name": "IS_TEST", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "failed", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "setUp", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testAddTokenController", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testBurn", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testFailBurningNonExistantToken", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testFailCallingTokenURIOnNonExistantToken", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testMint", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testMintingMintedToken", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testMintingMoreThanOneTokenForTheSameAddress", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testMintingTwoTokensForTwoAddresses", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testRemoveTokenController", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testSetTokenBuild", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testSetTokenDescription", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testSetTokenENS", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testSetTokenExternalURL", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testSetTokenImage", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testSetTokenName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testSymbol", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testTokenURI", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testUpgradeTokenBuild", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x60808060405234620039bd57600160ff1960075416176007556200002381620039c2565b6040516200003181620039de565b6005815264105b9d9a5b60da1b60208201528152617a6960208201526200005762003a1e565b6040820152602560405164185b9d9a5b60da1b8152600960058201522090805180519060018060401b03821162001bef578354600181811c91168015620039b2575b602082101462001bce57601f811162003965575b50602090601f8311600114620038f357604093929160009183620038e7575b50508160011b916000199060031b1c19161783555b6020810151600184015501518051906001600160401b03821162001bef576002830154600181811c91168015620038dc575b602082101462001bce57601f81116200388c575b50602090601f8311600114620038195760029291600091836200380d575b50508160011b916000199060031b1c1916179101555b6040516200016981620039c2565b6040516200017781620039de565b600781526612185c991a185d60ca1b60208201528152617a6960208201526200019f62003a1e565b60408201526027604051661a185c991a185d60ca1b81526009600782015220815180519060018060401b03821162001bef578254600181811c9116801562003802575b602082101462001bce57601f8111620037b5575b50602090601f8311600114620037415791806040949260029460009262003735575b50508160011b916000199060031b1c19161781555b602084015160018201550191015190815160018060401b03811162001bef578154600181811c911680156200372a575b602082101462001bce57601f8111620036dd575b50602092601f821160011462003674579281929360009262003668575b50508160011b916000199060031b1c19161790555b604051620002b181620039c2565b604051620002bf81620039de565b600781526613585a5b9b995d60ca1b6020820152815260016020820152604051620002ea81620039c2565b603d81527f68747470733a2f2f6d61696e6e65742e696e667572612e696f2f76332f36373760208201527f3034353462633665613432633538616163313239373835333162393366000000604082015260408201526027604051661b585a5b9b995d60ca1b81526009600782015220815180519060018060401b03821162001bef578254600181811c911680156200365d575b602082101462001bce57601f811162003610575b50602090601f83116001146200359c5791806040949260029460009262003590575b50508160011b916000199060031b1c19161781555b602084015160018201550191015190815160018060401b03811162001bef578154600181811c9116801562003585575b602082101462001bce57601f811162003538575b50602092601f8211600114620034cf5792819293600092620034c3575b50508160011b916000199060031b1c19161790555b6040516200044c81620039c2565b6040516200045a81620039de565b6006815265476f65726c6960d01b60208201528152600560208201526040516200048481620039c2565b603c81527f68747470733a2f2f676f65726c692e696e667572612e696f2f76332f3637373060208201527f343534626336656134326335386161633132393738353331623933660000000060408201526040820152602660405165676f65726c6960d01b81526009600682015220815180519060018060401b03821162001bef578254600181811c91168015620034b8575b602082101462001bce57601f81116200346b575b50602090601f8311600114620033f757918060409492600294600092620033eb575b50508160011b916000199060031b1c19161781555b602084015160018201550191015190815160018060401b03811162001bef578154600181811c91168015620033e0575b602082101462001bce57601f811162003393575b50602092601f82116001146200332a57928192936000926200331e575b50508160011b916000199060031b1c19161790555b604051620005e581620039c2565b604051620005f381620039de565b60078152665365706f6c696160c81b6020820152815262aa36a760208201526040516200062081620039de565b601781527f68747470733a2f2f7270632e7365706f6c69612e646576000000000000000000602082015260408201526027604051667365706f6c696160c81b81526009600782015220815180519060018060401b03821162001bef578254600181811c9116801562003313575b602082101462001bce57601f8111620032c6575b50602090601f8311600114620032525791806040949260029460009262003246575b50508160011b916000199060031b1c19161781555b602084015160018201550191015190815160018060401b03811162001bef578154600181811c911680156200323b575b602082101462001bce57601f8111620031ee575b50602092601f821160011462003185579281929360009262003179575b50508160011b916000199060031b1c19161790555b6040516200075c81620039c2565b6040516200076a81620039de565b60088152674f7074696d69736d60c01b60208201528152600a60208201526040516200079681620039de565b601b81527f68747470733a2f2f6d61696e6e65742e6f7074696d69736d2e696f0000000000602082015260408201526028604051676f7074696d69736d60c01b81526009600882015220815180519060018060401b03821162001bef578254600181811c911680156200316e575b602082101462001bce57601f811162003121575b50602090601f8311600114620030ad57918060409492600294600092620030a1575b50508160011b916000199060031b1c19161781555b602084015160018201550191015190815160018060401b03811162001bef578154600181811c9116801562003096575b602082101462001bce57601f811162003049575b50602092601f821160011462002fe0579281929360009262002fd4575b50508160011b916000199060031b1c19161790555b604051620008d381620039c2565b604051620008e181620039de565b600f81526e4f7074696d69736d20476f65726c6960881b602082015281526101a460208201526040516200091581620039de565b601a81527f68747470733a2f2f676f65726c692e6f7074696d69736d2e696f00000000000060208201526040820152602f6040516e6f7074696d69736d5f676f65726c6960881b81526009600f82015220815180519060018060401b03821162001bef578254600181811c9116801562002fc9575b602082101462001bce57601f811162002f7c575b50602090601f831160011462002f085791806040949260029460009262002efc575b50508160011b916000199060031b1c19161781555b602084015160018201550191015190815160018060401b03811162001bef578154600181811c9116801562002ef1575b602082101462001bce57601f811162002ea4575b50602092601f821160011462002e3b579281929360009262002e2f575b50508160011b916000199060031b1c19161790555b60405162000a5981620039c2565b60405162000a6781620039de565b600c81526b417262697472756d204f6e6560a01b6020820152815261a4b1602082015260405162000a9881620039de565b601c81527f68747470733a2f2f617262312e617262697472756d2e696f2f7270630000000060208201526040820152602c6040516b617262697472756d5f6f6e6560a01b81526009600c82015220815180519060018060401b03821162001bef578254600181811c9116801562002e24575b602082101462001bce57601f811162002dd7575b50602090601f831160011462002d635791806040949260029460009262002d57575b50508160011b916000199060031b1c19161781555b602084015160018201550191015190815160018060401b03811162001bef578154600181811c9116801562002d4c575b602082101462001bce57601f811162002cff575b50602092601f821160011462002c96579281929360009262002c8a575b50508160011b916000199060031b1c19161790555b60405162000bd981620039c2565b60405162000be781620039de565b601381527f417262697472756d204f6e6520476f65726c69000000000000000000000000006020820152815262066eed602082015260405162000c2a81620039c2565b602581527f68747470733a2f2f676f65726c692d726f6c6c75702e617262697472756d2e696020820152646f2f72706360d81b6040820152604082015260336040517f617262697472756d5f6f6e655f676f65726c690000000000000000000000000081526009601382015220815180519060018060401b03821162001bef578254600181811c9116801562002c7f575b602082101462001bce57601f811162002c32575b50602090601f831160011462002bbe5791806040949260029460009262002bb2575b50508160011b916000199060031b1c19161781555b602084015160018201550191015190815160018060401b03811162001bef578154600181811c9116801562002ba7575b602082101462001bce57601f811162002b5a575b50602092601f821160011462002af1579281929360009262002ae5575b50508160011b916000199060031b1c19161790555b60405162000d8a81620039c2565b60405162000d9881620039de565b600d81526c417262697472756d204e6f766160981b6020820152815261a4ba602082015260405162000dca81620039de565b601c81527f68747470733a2f2f6e6f76612e617262697472756d2e696f2f7270630000000060208201526040820152602d6040516c617262697472756d5f6e6f766160981b81526009600d82015220815180519060018060401b03821162001bef578254600181811c9116801562002ada575b602082101462001bce57601f811162002a8d575b50602090601f831160011462002a195791806040949260029460009262002a0d575b50508160011b916000199060031b1c19161781555b602084015160018201550191015190815160018060401b03811162001bef578154600181811c9116801562002a02575b602082101462001bce57601f8111620029b5575b50602092601f82116001146200294c579281929360009262002940575b50508160011b916000199060031b1c19161790555b60405162000f0c81620039c2565b60405162000f1a81620039de565b60078152662837b63cb3b7b760c91b602082015281526089602082015260405162000f4581620039de565b601781527f68747470733a2f2f706f6c79676f6e2d7270632e636f6d000000000000000000602082015260408201526027604051663837b63cb3b7b760c91b81526009600782015220815180519060018060401b03821162001bef578254600181811c9116801562002935575b602082101462001bce57601f8111620028e8575b50602090601f831160011462002876579180604094926002946000926200286a575b50508160011b916000199060031b1c19161781555b602084015160018201550191015190815160018060401b03811162001bef578154600181811c911680156200285f575b602082101462001bce57601f811162002812575b50602092601f8211600114620027a957928192936000926200279d575b50508160011b916000199060031b1c19161790555b6040516200108181620039c2565b6040516200108f81620039de565b600e81526d506f6c79676f6e204d756d62616960901b60208201528152620138816020820152604051620010c381620039de565b601e81527f68747470733a2f2f7270632d6d756d6261692e6d617469632e746f646179000060208201526040820152602e6040516d706f6c79676f6e5f6d756d62616960901b81526009600e82015220815180519060018060401b03821162001bef578254600181811c9116801562002792575b602082101462001bce57601f811162002745575b50602090601f8311600114620026d357918060409492600294600092620026c7575b50508160011b916000199060031b1c19161781555b602084015160018201550191015190815160018060401b03811162001bef578154600181811c91168015620026bc575b602082101462001bce57601f81116200266f575b50602092601f8211600114620026065792819293600092620025fa575b50508160011b916000199060031b1c19161790555b6040516200120681620039c2565b6040516200121481620039de565b60098152684176616c616e63686560b81b6020820152815261a86a60208201526040516200124281620039c2565b602581527f68747470733a2f2f6170692e617661782e6e6574776f726b2f6578742f62632f602082015264432f72706360d81b604082015260408201526029604051686176616c616e63686560b81b815260098082015220815180519060018060401b03821162001bef578254600181811c91168015620025ef575b602082101462001bce57601f8111620025a2575b50602090601f8311600114620025305791806040949260029460009262002524575b50508160011b916000199060031b1c19161781555b602084015160018201550191015190815160018060401b03811162001bef578154600181811c9116801562002519575b602082101462001bce57601f8111620024cc575b50602092601f821160011462002463579281929360009262002457575b50508160011b916000199060031b1c19161790555b6040516200138d81620039c2565b6040516200139b81620039de565b600e81526d4176616c616e6368652046756a6960901b6020820152815261a8696020820152604051620013ce81620039c2565b602a81527f68747470733a2f2f6170692e617661782d746573742e6e6574776f726b2f6578602082015269742f62632f432f72706360b01b60408201526040820152602e6040516d6176616c616e6368655f66756a6960901b81526009600e82015220815180519060018060401b03821162001bef578254600181811c911680156200244c575b602082101462001bce57601f8111620023ff575b50602090601f83116001146200238d5791806040949260029460009262002381575b50508160011b916000199060031b1c19161781555b602084015160018201550191015190815160018060401b03811162001bef578154600181811c9116801562002376575b602082101462001bce57601f811162002329575b50602092601f8211600114620022c05792819293600092620022b4575b50508160011b916000199060031b1c19161790555b6040516200152481620039c2565b6040516200153281620039de565b600f81526e2127211029b6b0b93a1021b430b4b760891b60208201528152603860208201526040516200156581620039c2565b602181527f68747470733a2f2f6273632d6461746173656564312e62696e616e63652e6f726020820152606760f81b60408201526040820152602f6040516e3137312fb9b6b0b93a2fb1b430b4b760891b81526009600f82015220815180519060018060401b03821162001bef578254600181811c91168015620022a9575b602082101462001bce57601f81116200225c575b50602090601f8311600114620021ea57918060409492600294600092620021de575b50508160011b916000199060031b1c19161781555b602084015160018201550191015190815160018060401b03811162001bef578154600181811c91168015620021d3575b602082101462001bce57601f811162002186575b50602092601f82116001146200211d579281929360009262002111575b50508160011b916000199060031b1c19161790555b604051620016b381620039c2565b604051620016c181620039de565b601781527f424e4220536d61727420436861696e20546573746e657400000000000000000060208201528152606160208201526040516200170281620039c2565b602e81527f68747470733a2f2f646174612d736565642d7072656273632d312d73312e626960208201526d6e616e63652e6f72673a3835343560901b6040820152604082015260376040517f626e625f736d6172745f636861696e5f746573746e657400000000000000000081526009601782015220815180519060018060401b03821162001bef578254600181811c9116801562002106575b602082101462001bce57601f8111620020b9575b50602090601f831160011462002047579180604094926002946000926200203b575b50508160011b916000199060031b1c19161781555b602084015160018201550191015190815160018060401b03811162001bef578154600181811c9116801562002030575b602082101462001bce57601f811162001fe3575b50602092601f821160011462001f7a579281929360009262001f6e575b50508160011b916000199060031b1c19161790555b6040516200186b81620039c2565b6040516200187981620039de565b600c81526b23b737b9b4b99021b430b4b760a11b6020820152815260646020820152604051620018a981620039de565b601b81527f68747470733a2f2f7270632e676e6f736973636861696e2e636f6d000000000060208201526040820152602c6040516b33b737b9b4b9afb1b430b4b760a11b81526009600c82015220815180519060018060401b03821162001bef578254600181811c9116801562001f63575b602082101462001bce57601f811162001f16575b50602090601f831160011462001ea45791806040949260029460009262001e98575b50508160011b916000199060031b1c19161781555b602084015160018201550191015190815160018060401b03811162001bef578154600181811c9116801562001e8d575b602082101462001bce57601f811162001e40575b50602092601f821160011462001dd7579281929360009262001dcb575b50508160011b916000199060031b1c19161790555b604051634e956b9560e11b8152600081600481737109709ecfa91a80626ff3989d68f67f5b1dd12d5afa90811562001dbf5760009162001c1a575b5060005b815181101562001c0557602062001a33828462003ad9565b510151600262001a60602062001a4a858762003ad9565b5151816040519382858094519384920162003a59565b60099082019081520301902082519101916001600160401b03821162001bef57825490600182811c9216801562001be4575b602083101462001bce5781601f84931162001b76575b50602090601f831160011462001b0b5760009262001aff575b50508160011b916000199060031b1c19161790555b600019811462001ae95760010162001a1b565b634e487b7160e01b600052601160045260246000fd5b01519050388062001ac1565b6000858152602081209350601f198516905b81811062001b5d575090846001959493921062001b43575b505050811b01905562001ad6565b015160001960f88460031b161c1916905538808062001b35565b9293602060018192878601518155019501930162001b1d565b909150836000526020600020601f840160051c8101916020851062001bc3575b90601f859493920160051c01905b81811062001bb3575062001aa8565b6000815584935060010162001ba4565b909150819062001b96565b634e487b7160e01b600052602260045260246000fd5b91607f169162001a92565b634e487b7160e01b600052604160045260246000fd5b60006008556040516159fc908162003b058239f35b903d908181843e62001c2d8284620039fa565b602083838101031262001dbc5782516001600160401b03811162001da457828401601f82860101121562001da45783810151936001600160401b03851162001da8578460051b926040519562001c876020860188620039fa565b8652602086019285830160208683860101011162001da457602081840101935b6020868386010101851062001cc457505050505050503862001a17565b84516001600160401b03811162001da0576040858401820189870103601f19011262001da05760408051919082018083116001600160401b039091111762001d8c57604082810190528584018101602001516001600160401b03811162001d885762001d3d9060208b89019184888b0101010162003a7e565b82528584018101604001516001600160401b03811162001d8857926020939262001d768594938580958e8c01928a8d0101010162003a7e565b83820152815201950194905062001ca7565b8580fd5b634e487b7160e01b85526041600452602485fd5b8380fd5b5080fd5b634e487b7160e01b83526041600452602483fd5b80fd5b6040513d6000823e3d90fd5b015190503880620019c7565b601f198216938360005260206000209160005b86811062001e27575083600195961062001e0d575b505050811b019055620019dc565b015160001960f88460031b161c1916905538808062001dff565b9192602060018192868501518155019401920162001dea565b826000526020600020601f830160051c8101916020841062001e82575b601f0160051c01905b81811062001e755750620019aa565b6000815560010162001e66565b909150819062001e5d565b90607f169062001996565b01519050388062001951565b90601f198316918460005260206000209260005b81811062001efd5750926001928592600296604098961062001ee3575b505050811b01815562001966565b015160001960f88460031b161c1916905538808062001ed5565b9293602060018192878601518155019501930162001eb8565b836000526020600020601f840160051c8101916020851062001f58575b601f0160051c01905b81811062001f4b57506200192f565b6000815560010162001f3c565b909150819062001f33565b90607f16906200191b565b01519050388062001848565b601f198216938360005260206000209160005b86811062001fca575083600195961062001fb0575b505050811b0190556200185d565b015160001960f88460031b161c1916905538808062001fa2565b9192602060018192868501518155019401920162001f8d565b826000526020600020601f830160051c8101916020841062002025575b601f0160051c01905b8181106200201857506200182b565b6000815560010162002009565b909150819062002000565b90607f169062001817565b015190503880620017d2565b90601f198316918460005260206000209260005b818110620020a05750926001928592600296604098961062002086575b505050811b018155620017e7565b015160001960f88460031b161c1916905538808062002078565b929360206001819287860151815501950193016200205b565b836000526020600020601f840160051c81019160208510620020fb575b601f0160051c01905b818110620020ee5750620017b0565b60008155600101620020df565b9091508190620020d6565b90607f16906200179c565b01519050388062001690565b601f198216938360005260206000209160005b8681106200216d575083600195961062002153575b505050811b019055620016a5565b015160001960f88460031b161c1916905538808062002145565b9192602060018192868501518155019401920162002130565b826000526020600020601f830160051c81019160208410620021c8575b601f0160051c01905b818110620021bb575062001673565b60008155600101620021ac565b9091508190620021a3565b90607f16906200165f565b0151905038806200161a565b90601f198316918460005260206000209260005b818110620022435750926001928592600296604098961062002229575b505050811b0181556200162f565b015160001960f88460031b161c191690553880806200221b565b92936020600181928786015181550195019301620021fe565b836000526020600020601f840160051c810191602085106200229e575b601f0160051c01905b818110620022915750620015f8565b6000815560010162002282565b909150819062002279565b90607f1690620015e4565b01519050388062001501565b601f198216938360005260206000209160005b868110620023105750836001959610620022f6575b505050811b01905562001516565b015160001960f88460031b161c19169055388080620022e8565b91926020600181928685015181550194019201620022d3565b826000526020600020601f830160051c810191602084106200236b575b601f0160051c01905b8181106200235e5750620014e4565b600081556001016200234f565b909150819062002346565b90607f1690620014d0565b0151905038806200148b565b90601f198316918460005260206000209260005b818110620023e657509260019285926002966040989610620023cc575b505050811b018155620014a0565b015160001960f88460031b161c19169055388080620023be565b92936020600181928786015181550195019301620023a1565b836000526020600020601f840160051c8101916020851062002441575b601f0160051c01905b81811062002434575062001469565b6000815560010162002425565b90915081906200241c565b90607f169062001455565b0151905038806200136a565b601f198216938360005260206000209160005b868110620024b3575083600195961062002499575b505050811b0190556200137f565b015160001960f88460031b161c191690553880806200248b565b9192602060018192868501518155019401920162002476565b826000526020600020601f830160051c810191602084106200250e575b601f0160051c01905b8181106200250157506200134d565b60008155600101620024f2565b9091508190620024e9565b90607f169062001339565b015190503880620012f4565b90601f198316918460005260206000209260005b81811062002589575092600192859260029660409896106200256f575b505050811b01815562001309565b015160001960f88460031b161c1916905538808062002561565b9293602060018192878601518155019501930162002544565b836000526020600020601f840160051c81019160208510620025e4575b601f0160051c01905b818110620025d75750620012d2565b60008155600101620025c8565b9091508190620025bf565b90607f1690620012be565b015190503880620011e3565b601f198216938360005260206000209160005b8681106200265657508360019596106200263c575b505050811b019055620011f8565b015160001960f88460031b161c191690553880806200262e565b9192602060018192868501518155019401920162002619565b826000526020600020601f830160051c81019160208410620026b1575b601f0160051c01905b818110620026a45750620011c6565b6000815560010162002695565b90915081906200268c565b90607f1690620011b2565b0151905038806200116d565b90601f198316918460005260206000209260005b8181106200272c5750926001928592600296604098961062002712575b505050811b01815562001182565b015160001960f88460031b161c1916905538808062002704565b92936020600181928786015181550195019301620026e7565b836000526020600020601f840160051c8101916020851062002787575b601f0160051c01905b8181106200277a57506200114b565b600081556001016200276b565b909150819062002762565b90607f169062001137565b0151905038806200105e565b601f198216938360005260206000209160005b868110620027f95750836001959610620027df575b505050811b01905562001073565b015160001960f88460031b161c19169055388080620027d1565b91926020600181928685015181550194019201620027bc565b826000526020600020601f830160051c8101916020841062002854575b601f0160051c01905b81811062002847575062001041565b6000815560010162002838565b90915081906200282f565b90607f16906200102d565b01519050388062000fe8565b90601f198316918460005260206000209260005b818110620028cf57509260019285926002966040989610620028b5575b505050811b01815562000ffd565b015160001960f88460031b161c19169055388080620028a7565b929360206001819287860151815501950193016200288a565b836000526020600020601f840160051c810191602085106200292a575b601f0160051c01905b8181106200291d575062000fc6565b600081556001016200290e565b909150819062002905565b90607f169062000fb2565b01519050388062000ee9565b601f198216938360005260206000209160005b8681106200299c575083600195961062002982575b505050811b01905562000efe565b015160001960f88460031b161c1916905538808062002974565b919260206001819286850151815501940192016200295f565b826000526020600020601f830160051c81019160208410620029f7575b601f0160051c01905b818110620029ea575062000ecc565b60008155600101620029db565b9091508190620029d2565b90607f169062000eb8565b01519050388062000e73565b908360005260206000209160005b601f198516811062002a745750926040949260019260029583601f1981161062002a5a575b505050811b01815562000e88565b015160001960f88460031b161c1916905538808062002a4c565b9192602060018192868501518155019401920162002a27565b836000526020600020601f840160051c8101916020851062002acf575b601f0160051c01905b81811062002ac2575062000e51565b6000815560010162002ab3565b909150819062002aaa565b90607f169062000e3d565b01519050388062000d67565b601f198216938360005260206000209160005b86811062002b41575083600195961062002b27575b505050811b01905562000d7c565b015160001960f88460031b161c1916905538808062002b19565b9192602060018192868501518155019401920162002b04565b826000526020600020601f830160051c8101916020841062002b9c575b601f0160051c01905b81811062002b8f575062000d4a565b6000815560010162002b80565b909150819062002b77565b90607f169062000d36565b01519050388062000cf1565b908360005260206000209160005b601f198516811062002c195750926040949260019260029583601f1981161062002bff575b505050811b01815562000d06565b015160001960f88460031b161c1916905538808062002bf1565b9192602060018192868501518155019401920162002bcc565b836000526020600020601f840160051c8101916020851062002c74575b601f0160051c01905b81811062002c67575062000ccf565b6000815560010162002c58565b909150819062002c4f565b90607f169062000cbb565b01519050388062000bb6565b601f198216938360005260206000209160005b86811062002ce6575083600195961062002ccc575b505050811b01905562000bcb565b015160001960f88460031b161c1916905538808062002cbe565b9192602060018192868501518155019401920162002ca9565b826000526020600020601f830160051c8101916020841062002d41575b601f0160051c01905b81811062002d34575062000b99565b6000815560010162002d25565b909150819062002d1c565b90607f169062000b85565b01519050388062000b40565b908360005260206000209160005b601f198516811062002dbe5750926040949260019260029583601f1981161062002da4575b505050811b01815562000b55565b015160001960f88460031b161c1916905538808062002d96565b9192602060018192868501518155019401920162002d71565b836000526020600020601f840160051c8101916020851062002e19575b601f0160051c01905b81811062002e0c575062000b1e565b6000815560010162002dfd565b909150819062002df4565b90607f169062000b0a565b01519050388062000a36565b601f198216938360005260206000209160005b86811062002e8b575083600195961062002e71575b505050811b01905562000a4b565b015160001960f88460031b161c1916905538808062002e63565b9192602060018192868501518155019401920162002e4e565b826000526020600020601f830160051c8101916020841062002ee6575b601f0160051c01905b81811062002ed9575062000a19565b6000815560010162002eca565b909150819062002ec1565b90607f169062000a05565b015190503880620009c0565b908360005260206000209160005b601f198516811062002f635750926040949260019260029583601f1981161062002f49575b505050811b018155620009d5565b015160001960f88460031b161c1916905538808062002f3b565b9192602060018192868501518155019401920162002f16565b836000526020600020601f840160051c8101916020851062002fbe575b601f0160051c01905b81811062002fb157506200099e565b6000815560010162002fa2565b909150819062002f99565b90607f16906200098a565b015190503880620008b0565b601f198216938360005260206000209160005b86811062003030575083600195961062003016575b505050811b019055620008c5565b015160001960f88460031b161c1916905538808062003008565b9192602060018192868501518155019401920162002ff3565b826000526020600020601f830160051c810191602084106200308b575b601f0160051c01905b8181106200307e575062000893565b600081556001016200306f565b909150819062003066565b90607f16906200087f565b0151905038806200083a565b908360005260206000209160005b601f1985168110620031085750926040949260019260029583601f19811610620030ee575b505050811b0181556200084f565b015160001960f88460031b161c19169055388080620030e0565b91926020600181928685015181550194019201620030bb565b836000526020600020601f840160051c8101916020851062003163575b601f0160051c01905b81811062003156575062000818565b6000815560010162003147565b90915081906200313e565b90607f169062000804565b01519050388062000739565b601f198216938360005260206000209160005b868110620031d55750836001959610620031bb575b505050811b0190556200074e565b015160001960f88460031b161c19169055388080620031ad565b9192602060018192868501518155019401920162003198565b826000526020600020601f830160051c8101916020841062003230575b601f0160051c01905b8181106200322357506200071c565b6000815560010162003214565b90915081906200320b565b90607f169062000708565b015190503880620006c3565b908360005260206000209160005b601f1985168110620032ad5750926040949260019260029583601f1981161062003293575b505050811b018155620006d8565b015160001960f88460031b161c1916905538808062003285565b9192602060018192868501518155019401920162003260565b836000526020600020601f840160051c8101916020851062003308575b601f0160051c01905b818110620032fb5750620006a1565b60008155600101620032ec565b9091508190620032e3565b90607f16906200068d565b015190503880620005c2565b601f198216938360005260206000209160005b8681106200337a575083600195961062003360575b505050811b019055620005d7565b015160001960f88460031b161c1916905538808062003352565b919260206001819286850151815501940192016200333d565b826000526020600020601f830160051c81019160208410620033d5575b601f0160051c01905b818110620033c85750620005a5565b60008155600101620033b9565b9091508190620033b0565b90607f169062000591565b0151905038806200054c565b908360005260206000209160005b601f1985168110620034525750926040949260019260029583601f1981161062003438575b505050811b01815562000561565b015160001960f88460031b161c191690553880806200342a565b9192602060018192868501518155019401920162003405565b836000526020600020601f840160051c81019160208510620034ad575b601f0160051c01905b818110620034a057506200052a565b6000815560010162003491565b909150819062003488565b90607f169062000516565b01519050388062000429565b601f198216938360005260206000209160005b8681106200351f575083600195961062003505575b505050811b0190556200043e565b015160001960f88460031b161c19169055388080620034f7565b91926020600181928685015181550194019201620034e2565b826000526020600020601f830160051c810191602084106200357a575b601f0160051c01905b8181106200356d57506200040c565b600081556001016200355e565b909150819062003555565b90607f1690620003f8565b015190503880620003b3565b908360005260206000209160005b601f1985168110620035f75750926040949260019260029583601f19811610620035dd575b505050811b018155620003c8565b015160001960f88460031b161c19169055388080620035cf565b91926020600181928685015181550194019201620035aa565b836000526020600020601f840160051c8101916020851062003652575b601f0160051c01905b81811062003645575062000391565b6000815560010162003636565b90915081906200362d565b90607f16906200037d565b0151905038806200028e565b601f198216938360005260206000209160005b868110620036c45750836001959610620036aa575b505050811b019055620002a3565b015160001960f88460031b161c191690553880806200369c565b9192602060018192868501518155019401920162003687565b826000526020600020601f830160051c810191602084106200371f575b601f0160051c01905b81811062003712575062000271565b6000815560010162003703565b9091508190620036fa565b90607f16906200025d565b01519050388062000218565b908360005260206000209160005b601f19851681106200379c5750926040949260019260029583601f1981161062003782575b505050811b0181556200022d565b015160001960f88460031b161c1916905538808062003774565b919260206001819286850151815501940192016200374f565b836000526020600020601f840160051c81019160208510620037f7575b601f0160051c01905b818110620037ea5750620001f6565b60008155600101620037db565b9091508190620037d2565b90607f1690620001e2565b01519050388062000145565b90601f198316916002850160005260206000209260005b818110620038735750916001939185600296941062003859575b505050811b019101556200015b565b015160001960f88460031b161c191690553880806200384a565b9293602060018192878601518155019501930162003830565b600284016000526020600020601f840160051c81019160208510620038d1575b601f0160051c01905b818110620038c4575062000127565b60008155600101620038b5565b9091508190620038ac565b90607f169062000113565b015190503880620000cc565b908460005260206000209160005b601f19851681106200394c575091839160019360409695601f1981161062003932575b505050811b018355620000e1565b015160001960f88460031b161c1916905538808062003924565b9192602060018192868501518155019401920162003901565b846000526020600020601f840160051c81019160208510620039a7575b601f0160051c01905b8181106200399a5750620000ad565b600081556001016200398b565b909150819062003982565b90607f169062000099565b600080fd5b606081019081106001600160401b0382111762001bef57604052565b604081019081106001600160401b0382111762001bef57604052565b601f909101601f19168101906001600160401b0382119082101762001bef57604052565b6040519062003a2d82620039de565b601582527f687474703a2f2f3132372e302e302e313a3835343500000000000000000000006020830152565b60005b83811062003a6d5750506000910152565b818101518382015260200162003a5c565b81601f82011215620039bd5780516001600160401b03811162001bef576040519262003ab5601f8301601f191660200185620039fa565b81845260208284010111620039bd5762003ad6916020808501910162003a59565b90565b805182101562003aee5760209160051b010190565b634e487b7160e01b600052603260045260246000fdfe60806040818152600491823610156200001757600080fd5b60009283803560e01c9283630982c48214620012db57505081630a9254e41462001212578382631a6f93491462001113575081631df1ce651462000328578163365874141462000f8e5783826336d3d58f1462000e9457508163454d4f3a1462000d585781634b0bdf691462000c23578382634c5409541462000bc7575081634fd855ab146200032857816352685877146200097b5781636f86ff13146200032857816377fc70c614620008e8578163799509781462000328578382639642ddaf146200084857508163b5b34603146200046f57838263b84446a3146200036057508163ba414fa61462000336578163bf506ac414620003285783908263cc8668de1462000272578263e13aba48146200016657505063fa7626d4146200013e575b600080fd5b34620001625781600319360112620001625760209060ff6007541690519015158152f35b5080fd5b915091346200026e57826003193601126200026e576011548151635aa1df0960e11b815292906001600160a01b039060209085908316818881620001ac81890162001913565b03925af19384156200026457859462000228575b50620001cc8462001a30565b6011541692833b156200022457602485928385519687948593630852cd8d60e31b85528401525af19081156200021b5750620002055750f35b620002109062001412565b620002185780f35b80fd5b513d84823e3d90fd5b8480fd5b945092506020843d82116200025b575b81620002476020938362001477565b8101031262000139578493519238620001c0565b3d915062000238565b83513d87823e3d90fd5b5050fd5b839034620003245782600319360112620003245760115482516306fdde0360e01b815291849183919082906001600160a01b03165afa908115620003185791620002ec928492620002ef575b505190620002cc826200143d565b600d82526c15195cdd0810dbdb9d1c9858dd609a1b60208301526200167a565b80f35b620003109192503d8086833e62000307818362001477565b810190620015e7565b9084620002be565b505051903d90823e3d90fd5b8280fd5b5050505062000139620013fc565b50503462000162578160031936011262000162576020906200035762001511565b90519015158152f35b809184346200026e57826003193601126200026e576011548151635aa1df0960e11b815292906001600160a01b039060209085908316818881620003a681890162001913565b03925af19384156200026457859462000433575b50620003c68462001a30565b6011541692833b1562000224576200041e9385928385518097819582946366d8744f60e11b84528301608091815260406020820152600f60408201526e4e455720544f4b454e204e414d452160881b60608201520190565b03925af19081156200021b5750620002055750f35b945092506020843d821162000466575b81620004526020938362001477565b8101031262000139578493519286620003ba565b3d915062000443565b90503462000324578260031936011262000324576011548251635aa1df0960e11b81526020918591906001600160a01b0390849083908316818681620004b78b820162001913565b03925af19182156200083e57839262000805575b50602490620004da8362001a30565b60115416948651958693849263c87b56dd60e01b84528301525afa918215620007f85790620002ec93620007b793928693620007ce575b50620007c891816200077d603d9351607b60f81b848201527f226e616d65223a22466f756e647279205465737420417070222c000000000000602182015262000777600282620007566200071e620006b862000675602b620005fa620005c56200057e603b890162001c2c565b7f226f776e6572223a223078623463373964614238663235394337416565364535815274188c90584dcc8e4e0c8c4e0d8d0c8c8dd94e0d088b605a1b602082015260350190565b7f2265787465726e616c5f75726c223a2268747470733a2f2f666c65656b2e78798152621e888b60ea1b602082015260230190565b7f22696d616765223a2268747470733a2f2f666c65656b2e78797a222c0000000081526e2261747472696275746573223a205b60881b601c8201527f7b2274726169745f74797065223a2022454e53222c202276616c7565223a226691019081526a1b19595ad7de1e5e889f4b60aa1b6020820152602b0190565b7f7b2274726169745f74797065223a2022436f6d6d69742048617368222c202276815270185b1d59488e88985999998cd98d889f4b607a1b602082015260310190565b7f7b2274726169745f74797065223a20225265706f7369746f7279222c2022766181527f6c7565223a2268747470733a2f2f6769746875622e636f6d2f666c65656b787960208201526d1e8bd8dbdb9d1c9858dd1cc89f4b60921b6040820152604e0190565b7f7b2274726169745f74797065223a202256657273696f6e222c202276616c7565815265223a2230227d60d01b602082015260260190565b605d60f81b8152607d60f81b600182015203601d1981018452018262001477565b62001c8b565b905195827f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008894850152825192839186860191016200149a565b810103601d81018552018362001477565b6200167a565b603d91935091620007ee620007c8933d808a833e62000307818362001477565b9391509162000511565b50505051903d90823e3d90fd5b925090508282813d811162000836575b62000821818362001477565b810103126200013957905185916024620004cb565b503d62000815565b86513d85823e3d90fd5b929150346200026e57826003193601126200026e576011548251635aa1df0960e11b81529360209285926001600160a01b031691839182906200088d90820162001913565b03925af19081156200021b57508290620008ae575b620002ec915062001a30565b506020813d8211620008df575b81620008ca6020938362001477565b810103126200013957620002ec9051620008a2565b3d9150620008bb565b905034620003245782600319360112620003245760115482516395d89b4160e01b815291849183919082906001600160a01b03165afa908115620003185791620002ec9284926200095b575b50519062000942826200143d565b6006825265464c4b41505360d01b60208301526200167a565b620009739192503d8086833e62000307818362001477565b903862000934565b91905034620003245760031990838236011262000bc3576011548151635aa1df0960e11b8082529094602092879291906001600160a01b0390859089908316818781620009ca88820162001913565b03925af1801562000bb95785969798859162000b79575b5090620009ef859262001a30565b60115416928751988995869485938452830152602482016101009052610104820162000a3b9060409060128152712337bab732393c902a32b9ba1020b838101960711b60208201520190565b8281038281016044850152603982527f5468697320697320612074657374206170706c69636174696f6e207375626d69898301527f7474656420627920666f756e6472792074657374735b325d2e000000000000008b830152605c01606484015262000aaa90606001620018b1565b8183820301608484015262000abf90620018b1565b828103820160a48401526009815268333632b2b5afbc3cbd60b91b6020820152604001828103820160c4840152600781526630b3333319b31b60c91b6020820152604001908282030160e483015262000b1890620018d5565b03925af191821562000b705750839162000b39575b83620002ec8362001b37565b905081813d831162000b68575b62000b52818362001477565b810103126200013957620002ec90513862000b2d565b503d62000b46565b513d85823e3d90fd5b95809295508691503d831162000bb1575b62000b96818362001477565b8101031262000139579251849388939091620009ef620009e1565b503d62000b8a565b86513d86823e3d90fd5b8380fd5b809184346200026e57826003193601126200026e576011546001600160a01b031691823b1562000c1e5783602481928285519687948593630852cd8d60e31b85528401525af19081156200021b5750620002055750f35b505050fd5b90503462000324578260031936011262000324576011548251635aa1df0960e11b8082529091602091906001600160a01b0390839085908316818a8162000c6c8b820162001913565b03925af193841562000d4e57879462000d13575b5093829162000ca2949560115416908888518097819582948352820162001913565b03925af193841562000d0a5750849362000cce575b84620002ec8562000cc88662001a30565b62001b37565b90809350813d831162000d02575b62000ce8818362001477565b81010312620001395762000cc8620002ec92519262000cb7565b503d62000cdc565b513d86823e3d90fd5b919350938282813d831162000d46575b62000d2f818362001477565b810103126200013957905190939092908262000c80565b503d62000d23565b86513d89823e3d90fd5b9190503462000324578260031936011262000324578051607b60f81b60208201527f226e616d65223a22466f756e647279205465737420417070222c000000000000602182015262000dce600282620007566200071e620006b862000675602b620005fa620005c56200057e603b890162001c2c565b601154825163c87b56dd60e01b81529384018590528490849060249082906001600160a01b03165afa90811562000e8a57620002ec93859262000e5d575b50603d62000e1e620007c89262001c8b565b935180947f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006020830152620007b781518092602086860191016200149a565b620007c891925062000e1e62000e80603d923d808a833e62000307818362001477565b9392505062000e0c565b82513d86823e3d90fd5b809184346200026e57826003193601126200026e576011548151635aa1df0960e11b815292906001600160a01b03906020908590831681888162000eda81890162001913565b03925af19384156200026457859462000f52575b5062000efa8462001a30565b6011541692833b1562000224576200041e93859283855180978195829463246a908b60e01b84528301608091815260406020820152600f60408201526e4e455720544f4b454e204e414d452160881b60608201520190565b945092506020843d821162000f85575b8162000f716020938362001477565b810103126200013957849351928662000eee565b3d915062000f62565b91905034620003245760031990838236011262000bc3576011548151635aa1df0960e11b80825290946020929091906001600160a01b0390849088908316818b8162000fdc818a0162001913565b03925af180156200110957849596978991620010d0575b5062000fff9062001a30565b60115416908786518098819582948352820173b4c79dab8f259c7aee6e5b2aa729821864227e8490526024820161010090526101048201620010619060409060128152712337bab732393c902a32b9ba1020b838101960711b60208201520190565b8281038281016044850152603a82527f5468697320697320612074657374206170706c69636174696f6e207375626d69898301527f7474656420627920666f756e647279207465737473205b325d2e0000000000008b830152605c01606484015262000aaa90606001620018b1565b85819692503d831162001101575b620010ea818362001477565b81010312620001395762000fff8594519062000ff3565b503d620010de565b85513d8a823e3d90fd5b809184346200026e57826003193601126200026e576011548151635aa1df0960e11b815292906001600160a01b0390602090859083168188816200115981890162001913565b03925af193841562000264578594620011d6575b50620011798462001a30565b6011541692833b1562000224576200041e938592838551809781958294630190503b60e61b84528301608091815260406020820152601460408201527368747470733a2f2f657468657265756d2e6f726760601b60608201520190565b945092506020843d821162001209575b81620011f56020938362001477565b81010312620001395784935192866200116d565b3d9150620011e6565b9050346200032457826003193601126200032457815190613b9d8083019183831067ffffffffffffffff841117620012c8575060c091839162001e2a8339848152600d858201526c15195cdd0810dbdb9d1c9858dd609a1b6060820152608060208201526006608082015265464c4b41505360d01b60a082015203019083f0908115620012bd575060018060a01b03166bffffffffffffffffffffffff60a01b601154161760115580f35b51913d9150823e3d90fd5b634e487b7160e01b865260419052602485fd5b84828492346200016257816003193601126200016257601154635aa1df0960e11b82526001600160a01b0390602090839083168186816200131e8b820162001913565b03925af1918215620013f2578392620013b9575b506200133e8262001a30565b60115416803b156200032457620013989483855180978195829463f931517760e01b84528301608091815260406020820152601460408201527368747470733a2f2f657468657265756d2e6f726760601b60608201520190565b03925af19081156200021b5750620013ae575080f35b620002ec9062001412565b9091506020813d8211620013e9575b81620013d76020938362001477565b81010312620003245751908662001332565b3d9150620013c8565b84513d85823e3d90fd5b5034620001395760003660031901126200013957005b67ffffffffffffffff81116200142757604052565b634e487b7160e01b600052604160045260246000fd5b6040810190811067ffffffffffffffff8211176200142757604052565b6060810190811067ffffffffffffffff8211176200142757604052565b90601f8019910116810190811067ffffffffffffffff8211176200142757604052565b60005b838110620014ae5750506000910152565b81810151838201526020016200149d565b67ffffffffffffffff81116200142757601f01601f191660200190565b3d156200150c573d90620014f082620014bf565b9162001500604051938462001477565b82523d6000602084013e565b606090565b60075460081c60ff16156200152c5760ff60075460081c1690565b600080737109709ecfa91a80626ff3989d68f67f5b1dd12d803b6200155057505090565b819060405182602082018381526519985a5b195960d21b6040840152604083526200157b836200145a565b620015b760246040518093620015a66020830197630667f9d760e41b8952518092858501906200149a565b810103600481018452018262001477565b51925af150620015c6620014dc565b60208180518101031262000162576020015190811515820362000218575090565b602081830312620001395780519067ffffffffffffffff821162000139570181601f82011215620001395780516200161f81620014bf565b926200162f604051948562001477565b8184526020828401011162000139576200165091602080850191016200149a565b90565b906020916200166e815180928185528580860191016200149a565b601f01601f1916010190565b604080519160209283810190620016ab858285516200169d8187858a016200149a565b810103808452018262001477565b519020825184810190620016cd8682816200169d8b878151938492016200149a565b51902003620016dd575b50505050565b620017d592620017e3917f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50608085518481526024858201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b7374728782015263696e675d60e01b6060820152a183519584875262001773858801604090600a8152690808115e1c1958dd195960b21b60208201520190565b968088038482015280620017aa7f280f4446b28a1372417dda658d30b95b2992b12ac9c7f378535f29a97acf3583998a9462001653565b0390a183519484869586528501604090600a815269080808081058dd1d585b60b21b60208201520190565b918483039085015262001653565b0390a1620017f0620017fa565b38808080620016d7565b737109709ecfa91a80626ff3989d68f67f5b1dd12d803b62001829575b5061010061ff00196007541617600755565b6040519060208201908082526519985a5b195960d21b60408401526001606084015260608352608083019183831067ffffffffffffffff84111762001427576000836200189a60248397849760405260a08101956370ca10bb60e01b8752620015a68251809260a48501906200149a565b51925af150620018a9620014dc565b503862001817565b6011815270343a3a38399d1797b33632b2b5973c3cbd60791b602082015260400190565b602581527f68747470733a2f2f6769746875622e636f6d2f666c65656b78797a2f636f6e74602082015264726163747360d81b604082015260600190565b620016509073b4c79dab8f259c7aee6e5b2aa729821864227e84815260106101008060208401528201526f0466f756e6472792054657374204170760841b61012082015260366101408060408401528201527f5468697320697320612074657374206170706c69636174696f6e207375626d69610160820152753a3a32b210313c903337bab732393c903a32b9ba399760511b61018082015262001a21620019ff620019db620019cd6101a08060608701528501620018b1565b8481036080860152620018b1565b83810360a08501526009815268333632b2b5afbc3cbd60b91b602082015260400190565b82810360c0840152600781526630b3333319b31b60c91b602082015260400190565b9060e0818303910152620018d5565b8062001a395750565b62001b2260407f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f506080825160208152602260208201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e8482015261745d60f01b6060820152a180519281845262001acb828501604090600a8152690808115e1c1958dd195960b21b60208201520190565b60006020860152847fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a89586920390a181519282849384528301604090600a815269080808081058dd1d585b60b21b60208201520190565b9060208301520390a162001b35620017fa565b565b6001810362001b435750565b62001b2260407f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f506080825160208152602260208201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e8482015261745d60f01b6060820152a180519281845262001bd5828501604090600a8152690808115e1c1958dd195960b21b60208201520190565b60016020860152847fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a89586920390a181519282849384528301604090600a815269080808081058dd1d585b60b21b60208201520190565b7f226465736372697074696f6e223a22546869732069732061207465737420617081527f706c69636174696f6e207375626d697474656420627920666f756e6472792074602082015266195cdd1ccb888b60ca1b604082015260470190565b80511562001e035760405162001ca1816200145a565b604081527f4142434445464748494a4b4c4d4e4f505152535455565758595a61626364656660208201527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f6040820152815160029283820180921162001ded5760039182900480851b94906001600160fe1b0381160362001ded579262001d4562001d2c86620014bf565b9562001d3c604051978862001477565b808752620014bf565b6020860190601f190136823793829183518401925b83811062001d9b575050505051068060011462001d885760021462001d7d575090565b603d90600019015390565b50603d9081600019820153600119015390565b85600491979293949701918251600190603f9082828260121c16880101518453828282600c1c16880101518385015382828260061c168801015188850153168501015187820153019592919062001d5a565b634e487b7160e01b600052601160045260246000fd5b506040516020810181811067ffffffffffffffff8211176200142757604052600081529056fe60406080815234620003da5762003b9d90813803806200001f81620003df565b93843982018183820312620003da5782516001600160401b0390818111620003da57826200004f91860162000405565b9360209283820151838111620003da576200006b920162000405565b93805191808311620003c4576000928354906001938483811c93168015620003b9575b87841014620003a5578190601f9384811162000352575b508790848311600114620002ee578792620002e2575b5050600019600383901b1c191690841b1784555b8651918211620002ce5782548381811c91168015620002c3575b86821014620002af5781811162000267575b508490821160011462000204578394959682939492620001f8575b5050600019600383901b1c191690821b1781555b7fcac50f86c292f6863f130b9e1133a5f875e8e957fed41745b8fa2498550cbdfc92838352600681528282868220015481848882200155857fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff8380a4848320338452815260ff858420541615620001ab575b84516137259081620004788239f35b8383526006815284832090338452528382209060ff1982541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339280a4388080806200019c565b01519050388062000116565b82845284842090601f198316855b818110620002515750978385969798991062000237575b505050811b0181556200012a565b015160001960f88460031b161c1916905538808062000229565b8983015184559285019291870191870162000212565b8385528585208280850160051c820192888610620002a5575b0160051c019084905b82811062000299575050620000fb565b86815501849062000289565b9250819262000280565b634e487b7160e01b85526022600452602485fd5b90607f1690620000e9565b634e487b7160e01b84526041600452602484fd5b015190503880620000bb565b8780528888208794509190601f198416895b8b8282106200033b575050841162000321575b505050811b018455620000cf565b015160001960f88460031b161c1916905538808062000313565b8385015186558a9790950194938401930162000300565b9091508680528787208480850160051c8201928a86106200039b575b918891869594930160051c01915b8281106200038c575050620000a5565b8981558594508891016200037c565b925081926200036e565b634e487b7160e01b86526022600452602486fd5b92607f16926200008e565b634e487b7160e01b600052604160045260246000fd5b600080fd5b6040519190601f01601f191682016001600160401b03811183821017620003c457604052565b919080601f84011215620003da5782516001600160401b038111620003c4576020906200043b601f8201601f19168301620003df565b92818452828287010111620003da5760005b8181106200046357508260009394955001015290565b85810183015184820184015282016200044d56fe608080604052600436101561001357600080fd5b60003560e01c90816301ffc9a7146127455750806306fdde03146126a2578063081812fc14612684578063095ea7b31461250a57806323b872dd146124e1578063246a908b14612365578063248a9ca3146123365780632f2ff15d146122fc57806336568abe1461226a5780633806f15214611ff557806342842e0e14611fcd57806342966c6814611e825780636352211e14611e5257806364140ec014611cdf57806370a0823114611c4857806378278cca14611ad557806391d1485414611a8857806395d89b41146119a9578063987c26fd1461168f57806398b7079314611654578063a217fddf14611638578063a22cb46514611566578063b543be1214610b34578063b88d4fde14610ad5578063befaa6a314610ab3578063c87b56dd1461061f578063cdb0e89e1461048b578063d547741f1461044c578063dcd78186146103d5578063e46f29c81461039a578063e985e9c5146103445763f93151771461017f57600080fd5b3461033f5761018d3661293a565b9061019f610199612ace565b82612af4565b6000526020916006835260406000203360005283526101c560ff60406000205416612b3f565b6000828152600260205260409020546101e8906001600160a01b03161515612f02565b816000526008835260036040600020018151936001600160401b0385116103295761021382546129af565b601f81116102ee575b5080601f8611600114610284575093806102519495600091610279575b508160011b916000199060031b1c1916179055612b9c565b907f9f284fd257fb85bc33901e673c078261b0222fbcc4b52c74784c9566808e3cfc600080a3005b905083015138610239565b90601f1986168360005282600020926000905b8282106102d65750509186916102519697600194106102bd575b5050811b019055612b9c565b85015160001960f88460031b161c1916905538806102b1565b80600185968294968a01518155019501930190610297565b610319908360005282600020601f880160051c81019184891061031f575b601f0160051c01906129e9565b3861021c565b909150819061030c565b634e487b7160e01b600052604160045260246000fd5b600080fd5b3461033f57604036600319011261033f5761035d612812565b610365612828565b9060018060a01b03809116600052600560205260406000209116600052602052602060ff604060002054166040519015158152f35b3461033f57600036600319011261033f5760206040517f54812023c8fe13756580f3420840aeb566f69714bea27346e22e4c654756d77e8152f35b3461033f57604036600319011261033f5761044a6004356104456103f7612828565b916104146001600160a01b0361040c83612f4e565b163314612a00565b600081815260026020526040902054610437906001600160a01b03161515612f02565b61043f612ace565b90612af4565b612e12565b005b3461033f57604036600319011261033f5761044a60043561046b612828565b90806000526006602052610486600160406000200154612c08565b612e8c565b3461033f576104993661293a565b906104a5610199612ace565b6000526020916006835260406000203360005283526104cb60ff60406000205416612b3f565b6000828152600260205260409020546104ee906001600160a01b03161515612f02565b816000526008835260406000208151936001600160401b0385116103295761051682546129af565b601f81116105ef575b5080601f861160011461058657509380610553949560009161057b57508160011b916000199060031b1c1916179055612b9c565b907fabf44020991f188f6b302a14e4b7a3dc94de10ed2140a6c03e16f4213d11b1c9600080a3005b905083015186610239565b90601f1986168360005282600020926000905b8282106105d75750509186916105539697600194106105be575050811b019055612b9c565b85015160001960f88460031b161c1916905586806102b1565b80600185968294968a01518155019501930190610599565b610619908360005282600020601f880160051c81019184891061031f57601f0160051c01906129e9565b8561051f565b3461033f5760208060031936011261033f5760043560008181526002602052604090205490919061065a906001600160a01b03161515612f02565b61066382612f4e565b600092835260088252604090922091610684906001600160a01b03166135e1565b60058301546000818152600685018452604081206001958694938583019190807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008181811015610aa5575b5050886d04ee2d6d415b85acef810000000080841015610a97575b5050662386f26fc1000080831015610a88575b506305f5e10080831015610a79575b5061271080831015610a6a575b506064821015610a5a575b600a978880931015610a50575b6021610739828901613432565b97880101905b610a21575b5050604051607b60f81b8982015267113730b6b2911d1160c11b60218201529889969091506107766029880184612a4b565b61088b60f21b8082526e113232b9b1b934b83a34b7b7111d1160891b6002830152926107a791601101908501612a4b565b828152681137bbb732b9111d1160b91b60028201528151916107d1908390600b8401908d016127ca565b0181600b8201526f1132bc3a32b93730b62fbab936111d1160811b600d820152601d01600383019061080291612a4b565b818152681134b6b0b3b2911d1160b91b6002820152600b01600283019061082891612a4b565b9081526e2261747472696275746573223a205b60881b60028201527f7b2274726169745f74797065223a2022454e53222c202276616c7565223a2200601182015261087b91603090910190600401612a4b565b62089f4b60ea1b8082527f7b2274726169745f74797065223a2022436f6d6d69742048617368222c20227660038301526630b63ab2911d1160c91b6023830152926108c991602a0190612a4b565b828152600381017f7b2274726169745f74797065223a20225265706f7369746f7279222c20227661905265363ab2911d1160d11b602382015260290161090e91612a4b565b9081527f7b2274726169745f74797065223a202256657273696f6e222c202276616c7565600382015262111d1160e91b6023820152815191610958908390602684019088016127ca565b0161227d60f01b602682015260288101605d60f81b905260298101607d60f81b9052039081018352602a0161098d90836128a9565b8060405161099a81612873565b601d8152818101937f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000085526109ce90613464565b6040519485925190818585016109e3926127ca565b820181519182858084019201916109f9926127ca565b010380845201610a0990836128a9565b6040519181839283528201610a1d916127ed565b0390f35b600019019082906f181899199a1a9b1b9c1cb0b131b232b360811b8282061a835304908a8261073f5750610744565b909501948961072c565b949060646002910491019461071f565b6004919692049101948a610714565b6008919692049101948a610707565b6010919692049101948a6106f8565b96019590910490888b6106e5565b604097500491508a806106ca565b3461033f57604036600319011261033f5761044a6004356104866103f7612828565b3461033f57608036600319011261033f57610aee612812565b610af6612828565b606435916001600160401b03831161033f573660238401121561033f57610b2a61044a9336906024816004013591016128e5565b9160443591613011565b61010036600319011261033f57610b49612812565b6024356001600160401b03811161033f57610b6890369060040161291c565b906044356001600160401b03811161033f57610b8890369060040161291c565b906064356001600160401b03811161033f57610ba890369060040161291c565b926084356001600160401b03811161033f57610bc890369060040161291c565b60a4356001600160401b03811161033f57610be790369060040161291c565b9060c4356001600160401b03811161033f57610c0790369060040161291c565b9560e4356001600160401b03811161033f57610c2790369060040161291c565b3360009081527f6ba1fb09f226a75e067af9a8d207c51e8b8b2c4d25e3ce897223f4dfedce79fd602052604090205490969060ff161561150557600754956001600160a01b038116156114c157600087815260026020526040902054610d589190610c9e906001600160a01b031615155b1561310a565b600088815260026020526040902054610cc1906001600160a01b03161515610c98565b6001600160a01b0381166000818152600360209081526040808320805460010190558b83526002909152812080546001600160a01b031916831790558991907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600088815260026020526040902054610d47906001600160a01b03161515612f02565b610445610d52612ace565b89612af4565b6001600754016007558560005260086020526040600020948051906001600160401b038211610329578190610d8d88546129af565b601f811161148f575b50602090601f831160011461142357600092611418575b50508160011b916000199060031b1c19161785555b8051906001600160401b038211610329578190610de260018801546129af565b601f81116113e3575b50602090601f831160011461137157600092611366575b50508160011b916000199060031b1c19161760018501555b8051906001600160401b038211610329578190610e3a60028701546129af565b601f8111611331575b50602090601f83116001146112bf576000926112b4575b50508160011b916000199060031b1c19161760028401555b8051906001600160401b038211610329578190610e9260038601546129af565b601f811161127f575b50602090601f831160011461120d57600092611202575b50508160011b916000199060031b1c19161760038301555b8051906001600160401b03821161032957610ee860048401546129af565b601f81116111cd575b50602090601f831160011461115a5760069392916000918361114f575b50508160011b916000199060031b1c19161760048201555b6000600582015560405194610f3a86612873565b8552602085019384526000805201602052604060002092519283516001600160401b03811161032957610f6d82546129af565b601f811161111d575b506020601f82116001146110b357819060019495966000926110a8575b5050600019600383901b1c191690831b1781555b019151908151926001600160401b03841161032957602093610fc982546129af565b601f8111611078575b508493601f821160011461101557938192939460009261100a575b50508160011b916000199060031b1c19161790555b604051908152f35b015190508580610fed565b601f1982169483600052866000209160005b878110611061575083600195969710611048575b505050811b019055611002565b015160001960f88460031b161c1916905585808061103b565b919288600181928685015181550194019201611027565b6110a2908360005286600020601f840160051c81019188851061031f57601f0160051c01906129e9565b85610fd2565b015190508680610f93565b601f198216958360005260206000209660005b81811061110557509160019596979184879594106110ec575b505050811b018155610fa7565b015160001960f88460031b161c191690558680806110df565b838301518955600190980197602093840193016110c6565b61114990836000526020600020601f840160051c8101916020851061031f57601f0160051c01906129e9565b85610f76565b015190508780610f0e565b906004840160005260206000209160005b601f19851681106111b5575091839160019360069695601f1981161061119c575b505050811b016004820155610f26565b015160001960f88460031b161c1916905587808061118c565b9192602060018192868501518155019401920161116b565b6111fc90600485016000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b86610ef1565b015190508780610eb2565b9250600385016000526020600020906000935b601f1984168510611264576001945083601f1981161061124b575b505050811b016003830155610eca565b015160001960f88460031b161c1916905587808061123b565b81810151835560209485019460019093019290910190611220565b6112ae90600387016000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b88610e9b565b015190508880610e5a565b9250600286016000526020600020906000935b601f1984168510611316576001945083601f198116106112fd575b505050811b016002840155610e72565b015160001960f88460031b161c191690558880806112ed565b818101518355602094850194600190930192909101906112d2565b61136090600288016000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b89610e43565b015190508980610e02565b9250600187016000526020600020906000935b601f19841685106113c8576001945083601f198116106113af575b505050811b016001850155610e1a565b015160001960f88460031b161c1916905589808061139f565b81810151835560209485019460019093019290910190611384565b61141290600189016000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b8a610deb565b015190508a80610dad565b9250876000526020600020906000935b601f1984168510611474576001945083601f1981161061145b575b505050811b018555610dc2565b015160001960f88460031b161c191690558a808061144e565b81810151835560209485019460019093019290910190611433565b6114bb90896000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b8b610d96565b606460405162461bcd60e51b815260206004820152602060248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152fd5b60405162461bcd60e51b815260206004820152603360248201527f466c65656b416363657373436f6e74726f6c3a206d757374206861766520636f6044820152726c6c656374696f6e206f776e657220726f6c6560681b6064820152608490fd5b3461033f57604036600319011261033f5761157f612812565b6024359081151580920361033f576001600160a01b0316903382146115f357336000526005602052604060002082600052602052604060002060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b60405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606490fd5b3461033f57600036600319011261033f57602060405160008152f35b3461033f57600036600319011261033f5760206040517fcac50f86c292f6863f130b9e1133a5f875e8e957fed41745b8fa2498550cbdfc8152f35b61169836612969565b91906116ae6001600160a01b0361040c84612f4e565b6000828152600260205260409020546116d1906001600160a01b03161515612f02565b6116e26116dc612ace565b83612af4565b60005260209260068452604060002033600052845261170860ff60406000205416612b3f565b60008381526002602052604090205461172b906001600160a01b03161515612f02565b60405161173781612873565b828152848101918252836000526008855260066040600020016005604060002001908154906000199283831461199357600180930180915560005287526040600020925180516001600160401b039485821161032957839161179982546129af565b93601f948c868211611964575b50508b908583116001146118fe5760009190836118f3575b50508682851b9260031b1c19161781555b019451978851948511610329576117e686546129af565b8281116118bb575b50809185116001146118525750839291839161181f9899600095611847575b50501b9260031b1c1916179055612b9c565b907ff0cd0ce9d5882a10e2780d2d9c805c18e7536b9b2c6412f7bfb7f163656dd0f6600080a3005b01519350898061180d565b91939290601f198416988660005283600020936000905b8b82106118a45750508461181f999a1061188c575b50505050811b019055612b9c565b01519060f88460031b161c191690558680808061187e565b808885978294968601518155019601930190611869565b6118e49087600052826000208480890160051c820192858a106118ea575b0160051c01906129e9565b896117ee565b925081926118d9565b015190508c806117be565b60008481528d8120929190601f198516908f5b82821061194b5750509084879594939210611934575b505050811b0181556117cf565b01518860f88460031b161c191690558c8080611927565b8484015186558a98909501949384019390810190611911565b61198c918560005287826000209181870160051c83019387106118ea570160051c01906129e9565b8c8c6117a6565b634e487b7160e01b600052601160045260246000fd5b3461033f57600036600319011261033f57604051600060018054906119cd826129af565b80855291818116908115611a615750600114611a08575b610a1d846119f4818603826128a9565b6040519182916020835260208301906127ed565b600081815292507fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b828410611a495750505081016020016119f4826119e4565b80546020858701810191909152909301928101611a31565b60ff191660208087019190915292151560051b850190920192506119f491508390506119e4565b3461033f57604036600319011261033f57611aa1612828565b600435600052600660205260406000209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b3461033f57611ae33661293a565b90611aef610199612ace565b600052602091600683526040600020336000528352611b1560ff60406000205416612b3f565b600082815260026020526040902054611b38906001600160a01b03161515612f02565b816000526008835260046040600020018151936001600160401b03851161032957611b6382546129af565b601f8111611c18575b5080601f8611600114611bc857509380611ba0949560009161057b57508160011b916000199060031b1c1916179055612b9c565b907fc1b5a2141fc60537be795a8771f5e8c80188922acb5399a6e463ea95aa852f31600080a3005b90601f1986168360005282600020926000905b828210611c00575050918691611ba09697600194106105be575050811b019055612b9c565b80600185968294968a01518155019501930190611bdb565b611c42908360005282600020601f880160051c81019184891061031f57601f0160051c01906129e9565b85611b6c565b3461033f57602036600319011261033f576001600160a01b03611c69612812565b168015611c885760005260036020526020604060002054604051908152f35b60405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608490fd5b3461033f57611ced3661293a565b90611cf9610199612ace565b600052602091600683526040600020336000528352611d1f60ff60406000205416612b3f565b600082815260026020526040902054611d42906001600160a01b03161515612f02565b816000526008835260026040600020018151936001600160401b03851161032957611d6d82546129af565b601f8111611e22575b5080601f8611600114611dd257509380611daa949560009161057b57508160011b916000199060031b1c1916179055612b9c565b907fb041870856ebefdd6a3cb1ac665eb6739281b855c912ff622e814dbf91c96bb6600080a3005b90601f1986168360005282600020926000905b828210611e0a575050918691611daa9697600194106105be575050811b019055612b9c565b80600185968294968a01518155019501930190611de5565b611e4c908360005282600020601f880160051c81019184891061031f57601f0160051c01906129e9565b85611d76565b3461033f57602036600319011261033f576020611e70600435612f4e565b6040516001600160a01b039091168152f35b3461033f5760208060031936011261033f5760043590611ea36116dc612ace565b600052600681526040600020336000528152611ec660ff60406000205416612b3f565b8160006001600160a01b03611ee63382611edf86612f4e565b1614612a00565b611eef83612f4e565b50611ef983612f4e565b908383526004855260408320916bffffffffffffffffffffffff60a01b92838154169055169081835260038552604083208319815401905583835260028552604083209081541690557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8280a460088152611f7b6003604060002001546129af565b611f8157005b600891600052526000600560408220611f9981612bbc565b611fa560018201612bbc565b611fb160028201612bbc565b611fbd60038201612bbc565b611fc960048201612bbc565b0155005b3461033f5761044a611fde3661283e565b9060405192611fec8461288e565b60008452613011565b3461033f5761200336612969565b91906120106116dc612ace565b60005260209260068452604060002033600052845261203660ff60406000205416612b3f565b600083815260026020526040902054612059906001600160a01b03161515612f02565b60405161206581612873565b828152848101918252836000526008855260066040600020016005604060002001908154906000199283831461199357600180930180915560005287526040600020925180516001600160401b03948582116103295783916120c782546129af565b93601f948c86821161223b575b50508b908583116001146121d55760009190836121ca575b50508682851b9260031b1c19161781555b0194519788519485116103295761211486546129af565b82811161219c575b508091851160011461214c5750839291839161181f98996000956118475750501b9260031b1c1916179055612b9c565b91939290601f198416988660005283600020936000905b8b82106121855750508461181f999a1061188c5750505050811b019055612b9c565b808885978294968601518155019601930190612163565b6121c49087600052826000208480890160051c820192858a106118ea570160051c01906129e9565b8961211c565b015190508c806120ec565b60008481528d8120929190601f198516908f5b828210612222575050908487959493921061220b575b505050811b0181556120fd565b01518860f88460031b161c191690558c80806121fe565b8484015186558a989095019493840193908101906121e8565b612263918560005287826000209181870160051c83019387106118ea570160051c01906129e9565b8c8c6120d4565b3461033f57604036600319011261033f57612283612828565b336001600160a01b0382160361229f5761044a90600435612e8c565b60405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608490fd5b3461033f57604036600319011261033f5761044a60043561231b612828565b90806000526006602052610445600160406000200154612c08565b3461033f57602036600319011261033f5760043560005260066020526020600160406000200154604051908152f35b3461033f576123733661293a565b9061237f610199612ace565b6000526020916006835260406000203360005283526123a560ff60406000205416612b3f565b6000828152600260205260409020546123c8906001600160a01b03161515612f02565b8160005260088352600180604060002001908251906001600160401b038211610329576123f583546129af565b601f81116124b1575b5085601f831160011461246457508180916124319697600093612459575b501b916000199060031b1c1916179055612b9c565b907f9b3089e7af95b8d43fdceb16eb9cbf620a0cb486e1a291b15121a44e0f69127a600080a3005b86015192508861241c565b601f929192198216968460005281600020916000905b89821061249a575050826124319798106105be575050811b019055612b9c565b808684958294958b0151815501940192019061247a565b6124db908460005287600020601f850160051c81019189861061031f57601f0160051c01906129e9565b866123fe565b3461033f5761044a6124f23661283e565b91612505612500843361309c565b612faf565b6131b0565b3461033f57604036600319011261033f57612523612812565b602435906001600160a01b03808061253a85612f4e565b1692169180831461263557803314908115612610575b50156125a557600083815260046020526040902080546001600160a01b0319168317905561257d83612f4e565b167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4005b60405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608490fd5b9050600052600560205260406000203360005260205260ff6040600020541684612550565b60405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608490fd5b3461033f57602036600319011261033f576020611e70600435612f71565b3461033f57600036600319011261033f57604051600080546126c3816129af565b80845290600190818116908115611a6157506001146126ec57610a1d846119f4818603826128a9565b600080805292507f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b82841061272d5750505081016020016119f4826119e4565b80546020858701810191909152909301928101612715565b3461033f57602036600319011261033f576004359063ffffffff60e01b821680920361033f57602091637965db0b60e01b8114908115612787575b5015158152f35b6380ac58cd60e01b8114915081156127b9575b81156127a8575b5083612780565b6301ffc9a760e01b149050836127a1565b635b5e139f60e01b8114915061279a565b60005b8381106127dd5750506000910152565b81810151838201526020016127cd565b90602091612806815180928185528580860191016127ca565b601f01601f1916010190565b600435906001600160a01b038216820361033f57565b602435906001600160a01b038216820361033f57565b606090600319011261033f576001600160a01b0390600435828116810361033f5791602435908116810361033f579060443590565b604081019081106001600160401b0382111761032957604052565b602081019081106001600160401b0382111761032957604052565b90601f801991011681019081106001600160401b0382111761032957604052565b6001600160401b03811161032957601f01601f191660200190565b9291926128f1826128ca565b916128ff60405193846128a9565b82948184528183011161033f578281602093846000960137010152565b9080601f8301121561033f57816020612937933591016128e5565b90565b90604060031983011261033f5760043591602435906001600160401b03821161033f576129379160040161291c565b606060031982011261033f57600435916001600160401b0360243581811161033f57836129989160040161291c565b9260443591821161033f576129379160040161291c565b90600182811c921680156129df575b60208310146129c957565b634e487b7160e01b600052602260045260246000fd5b91607f16916129be565b8181106129f4575050565b600081556001016129e9565b15612a0757565b606460405162461bcd60e51b815260206004820152602060248201527f466c65656b4552433732313a206d75737420626520746f6b656e206f776e65726044820152fd5b600092918154612a5a816129af565b92600191808316908115612ab35750600114612a77575b50505050565b90919293945060005260209081600020906000915b858310612aa25750505050019038808080612a71565b805485840152918301918101612a8c565b60ff1916845250505081151590910201915038808080612a71565b60405190612adb82612873565b600a82526921a7a72a2927a62622a960b11b6020830152565b612b3960466040518093602082019565544f4b454e5f60d01b8752612b238151809260206026870191016127ca565b82019060268201520360268101845201826128a9565b51902090565b15612b4657565b60405162461bcd60e51b815260206004820152602860248201527f466c65656b416363657373436f6e74726f6c3a206d757374206861766520746f6044820152676b656e20726f6c6560c01b6064820152608490fd5b612bb4906020604051928284809451938492016127ca565b810103902090565b612bc681546129af565b9081612bd0575050565b81601f60009311600114612be2575055565b81835260208320612bfe91601f0160051c8101906001016129e9565b8160208120915555565b60009080825260209060068252604092838120338252835260ff848220541615612c325750505050565b612c3b336135e1565b91845190608082018281106001600160401b03821117612dfe57865260428252848201926060368537825115612dea5760308453825190600191821015612dea5790607860218501536041915b818311612d7c57505050612d3a576048612d36938693612d1a93612d0b98519889937f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008a860152612ce2815180928c6037890191016127ca565b8401917001034b99036b4b9b9b4b733903937b6329607d1b6037840152518093868401906127ca565b010360288101875201856128a9565b5192839262461bcd60e51b8452600484015260248301906127ed565b0390fd5b60648486519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b909192600f81166010811015612dd6576f181899199a1a9b1b9c1cb0b131b232b360811b901a612dac85876135ba565b5360041c928015612dc257600019019190612c88565b634e487b7160e01b82526011600452602482fd5b634e487b7160e01b83526032600452602483fd5b634e487b7160e01b81526032600452602490fd5b634e487b7160e01b84526041600452602484fd5b906000918083526006602052604083209160018060a01b03169182845260205260ff60408420541615612e4457505050565b80835260066020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4565b906000918083526006602052604083209160018060a01b03169182845260205260ff604084205416612ebd57505050565b8083526006602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4565b15612f0957565b60405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606490fd5b6000908152600260205260409020546001600160a01b0316612937811515612f02565b600081815260026020526040902054612f94906001600160a01b03161515612f02565b6000908152600460205260409020546001600160a01b031690565b15612fb657565b60405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b6064820152608490fd5b90613035939291613025612500843361309c565b6130308383836131b0565b6132c6565b1561303c57565b60405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608490fd5b906001600160a01b0380806130b084612f4e565b169316918383149384156130e3575b5083156130cd575b50505090565b6130d991929350612f71565b16143880806130c7565b909350600052600560205260406000208260005260205260ff6040600020541692386130bf565b1561311157565b60405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606490fd5b1561315d57565b60405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608490fd5b906131d8916131be84612f4e565b6001600160a01b0393918416928492909183168414613156565b1691821561327557816131f5916131ee86612f4e565b1614613156565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60008481526004602052604081206bffffffffffffffffffffffff60a01b9081815416905583825260036020526040822060001981540190558482526040822060018154019055858252600260205284604083209182541617905580a4565b60405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b9293600093909291803b15613427579484916133209660405180948193630a85bd0160e11b9788845233600485015260018060a01b0380921660248501526044840152608060648401528260209b8c9760848301906127ed565b0393165af18491816133e3575b506133d2575050503d6000146133ca573d613347816128ca565b9061335560405192836128a9565b81528091833d92013e5b805191826133c75760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608490fd5b01fd5b50606061335f565b6001600160e01b0319161492509050565b9091508581813d8311613420575b6133fb81836128a9565b8101031261341c57516001600160e01b03198116810361341c57903861332d565b8480fd5b503d6133f1565b505050915050600190565b9061343c826128ca565b61344960405191826128a9565b828152809261345a601f19916128ca565b0190602036910137565b8051156135a657604051606081018181106001600160401b0382111761032957604052604081527f4142434445464748494a4b4c4d4e4f505152535455565758595a61626364656660208201527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f60408201528151600292838201809211611993576003918290046001600160fe1b038116810361199357613509908594951b613432565b936020850193829183518401925b838110613555575050505051068060011461354257600214613537575090565b603d90600019015390565b50603d9081600019820153600119015390565b85600491979293949701918251600190603f9082828260121c16880101518453828282600c1c16880101518385015382828260061c1688010151888501531685010151878201530195929190613517565b506040516135b38161288e565b6000815290565b9081518110156135cb570160200190565b634e487b7160e01b600052603260045260246000fd5b60405190606082018281106001600160401b0382111761032957604052602a82526020820160403682378251156135cb576030905381516001908110156135cb57607860218401536029905b80821161368157505061363d5790565b606460405162461bcd60e51b815260206004820152602060248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b9091600f811660108110156136da576f181899199a1a9b1b9c1cb0b131b232b360811b901a6136b084866135ba565b5360041c9180156136c557600019019061362d565b60246000634e487b7160e01b81526011600452fd5b60246000634e487b7160e01b81526032600452fdfea2646970667358221220f990373a6ee4218bd529d7377a3ea71fd58a85d8659b6121af366d013cd8bb9264736f6c63430008110033a2646970667358221220647187d9d6077ea1b8748a3d4a423f04e876d473082ecf243abdd38ba58af7a664736f6c63430008110033", - "sourceMap": "98:8747:30:-:0;;;;;;;1594:4:2;98:8747:30;;1594:4:2;98:8747:30;;;1594:4:2;98:8747:30;;;;:::i;:::-;;;;;;:::i;:::-;;;;-1:-1:-1;;;98:8747:30;;;;;;6017:5:6;98:8747:30;6002:46:6;;98:8747:30;;;:::i;:::-;;6002:46:6;;98:8747:30;;;;-1:-1:-1;;;98:8747:30;;5981:9:6;98:8747:30;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;6002:46:6;;98:8747:30;1594:4:2;98:8747:30;;;6002:46:6;98:8747:30;;;;-1:-1:-1;;;;;98:8747:30;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;1594:4:2;98:8747:30;;-1:-1:-1;;;98:8747:30;;;;;;6017:5:6;98:8747:30;6081:48:6;;98:8747:30;;;:::i;:::-;;6081:48:6;;98:8747:30;;;;-1:-1:-1;;;98:8747:30;;5981:9:6;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;6081:48:6;;98:8747:30;1594:4:2;98:8747:30;;;;6081:48:6;;98:8747:30;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;1594:4:2;98:8747:30;;-1:-1:-1;;;98:8747:30;;;;;;1594:4:2;98:8747:30;6162:84:6;;98:8747:30;;;;;;:::i;:::-;;;;;;;;;;;;;;;6162:84:6;;98:8747:30;;;;-1:-1:-1;;;98:8747:30;;5981:9:6;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;6162:84:6;;98:8747:30;1594:4:2;98:8747:30;;;;6162:84:6;;98:8747:30;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;-1:-1:-1;;;98:8747:30;;;;;;;;6278:82:6;;98:8747:30;;;;;;:::i;:::-;;;;;;;;;;;;;;;6278:82:6;;98:8747:30;;;;-1:-1:-1;;;98:8747:30;;5981:9:6;98:8747:30;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;6278:82:6;;98:8747:30;1594:4:2;98:8747:30;;;;6278:82:6;;98:8747:30;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;1594:4:2;98:8747:30;;-1:-1:-1;;;98:8747:30;;;;;;6410:8:6;98:8747:30;6393:53:6;;98:8747:30;;;;;;:::i;:::-;;;;;;;;;;6393:53:6;;98:8747:30;;;;-1:-1:-1;;;98:8747:30;;5981:9:6;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;6393:53:6;;98:8747:30;1594:4:2;98:8747:30;;;;6393:53:6;;98:8747:30;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;-1:-1:-1;;;98:8747:30;;;;;;6498:2:6;98:8747:30;6480:52:6;;98:8747:30;;;;;;:::i;:::-;;;;;;;;;;6480:52:6;;98:8747:30;;;;-1:-1:-1;;;98:8747:30;;5981:9:6;98:8747:30;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;6480:52:6;;98:8747:30;1594:4:2;98:8747:30;;;;6480:52:6;;98:8747:30;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;-1:-1:-1;;;98:8747:30;;;;;;6598:3:6;98:8747:30;6573:59:6;;98:8747:30;;;;;;:::i;:::-;;;;;;;;;;6573:59:6;;98:8747:30;;;;-1:-1:-1;;;98:8747:30;;5981:9:6;98:8747:30;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;6573:59:6;;98:8747:30;1594:4:2;98:8747:30;;;;6573:59:6;;98:8747:30;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;-1:-1:-1;;;98:8747:30;;;;;;6692:5:6;98:8747:30;6670:60:6;;98:8747:30;;;;;;:::i;:::-;;;;;;;;;;6670:60:6;;98:8747:30;;;;-1:-1:-1;;;98:8747:30;;5981:9:6;98:8747:30;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;6670:60:6;;98:8747:30;1594:4:2;98:8747:30;;;;6670:60:6;;98:8747:30;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;6804:6:6;98:8747:30;6775:77:6;;98:8747:30;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;6775:77:6;;98:8747:30;;;;;;;5981:9:6;98:8747:30;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;6775:77:6;;98:8747:30;1594:4:2;98:8747:30;;;;6775:77:6;;98:8747:30;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;-1:-1:-1;;;98:8747:30;;;;;;6914:5:6;98:8747:30;6891:61:6;;98:8747:30;;;;;;:::i;:::-;;;;;;;;;;6891:61:6;;98:8747:30;;;;-1:-1:-1;;;98:8747:30;;5981:9:6;98:8747:30;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;6891:61:6;;98:8747:30;1594:4:2;98:8747:30;;;;6891:61:6;;98:8747:30;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;1594:4:2;98:8747:30;;-1:-1:-1;;;98:8747:30;;;;;;7002:3:6;98:8747:30;6985:48:6;;98:8747:30;;;;;;:::i;:::-;;;;;;;;;;6985:48:6;;98:8747:30;;;;-1:-1:-1;;;98:8747:30;;5981:9:6;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;6985:48:6;;98:8747:30;1594:4:2;98:8747:30;;;;6985:48:6;;98:8747:30;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;-1:-1:-1;;;98:8747:30;;;;;;7097:5:6;98:8747:30;7073:64:6;;98:8747:30;;;;;;:::i;:::-;;;;;;;;;;7073:64:6;;98:8747:30;;;;-1:-1:-1;;;98:8747:30;;5981:9:6;98:8747:30;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;7073:64:6;;98:8747:30;1594:4:2;98:8747:30;;;;7073:64:6;;98:8747:30;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;5981:9:6;98:8747:30;;-1:-1:-1;;;98:8747:30;;;;;;7191:5:6;98:8747:30;7172:66:6;;98:8747:30;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;7172:66:6;;98:8747:30;;;;-1:-1:-1;;;98:8747:30;;5981:9:6;98:8747:30;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;7172:66:6;;98:8747:30;1594:4:2;98:8747:30;;;;7172:66:6;;98:8747:30;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;-1:-1:-1;;;98:8747:30;;;;;;7302:5:6;98:8747:30;7278:76:6;;98:8747:30;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;7278:76:6;;98:8747:30;;;;-1:-1:-1;;;98:8747:30;;5981:9:6;98:8747:30;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;7278:76:6;;98:8747:30;1594:4:2;98:8747:30;;;;7278:76:6;;98:8747:30;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;-1:-1:-1;;;98:8747:30;;;;;;7420:2:6;98:8747:30;7395:65:6;;98:8747:30;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;7395:65:6;;98:8747:30;;;;-1:-1:-1;;;98:8747:30;;5981:9:6;98:8747:30;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;7395:65:6;;98:8747:30;1594:4:2;98:8747:30;;;;7395:65:6;;98:8747:30;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;7542:2:6;98:8747:30;7509:86:6;;98:8747:30;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;7509:86:6;;98:8747:30;;;;;;;5981:9:6;98:8747:30;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;7509:86:6;;98:8747:30;1594:4:2;98:8747:30;;;;7509:86:6;;98:8747:30;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;-1:-1:-1;;;98:8747:30;;;;;;7680:3:6;98:8747:30;7658:57:6;;98:8747:30;;;;;;:::i;:::-;;;;;;;;;;7658:57:6;;98:8747:30;;;;-1:-1:-1;;;98:8747:30;;5981:9:6;98:8747:30;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;7658:57:6;;98:8747:30;1594:4:2;98:8747:30;;;;7658:57:6;;98:8747:30;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;-1:-1:-1;;;7830:18:6;;98:8747:30;;7830:18:6;98:8747:30;;7830:18:6;;;;;;;98:8747:30;7830:18:6;;;98:8747:30;7863:13:6;98:8747:30;7895:3:6;98:8747:30;;7878:15:6;;;;;98:8747:30;7947:7:6;;;;:::i;:::-;;:11;;98:8747:30;214:63:6;98:8747:30;7924:7:6;;;;:::i;:::-;;:12;98:8747:30;;;;;;;;;214:63:6;;;;;:::i;:::-;5981:9;214:63;;;98:8747:30;;;214:63:6;;;;98:8747:30;;7914:30:6;;;-1:-1:-1;;;;;98:8747:30;;;;;;;1594:4:2;98:8747:30;;;;;;;;;7895:3:6;98:8747:30;;;;;;;;;;;;;7895:3:6;98:8747:30;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;-1:-1:-1;;214:63:6;;;;1594:4:2;214:63:6;7863:13;;214:63;98:8747:30;;;;214:63:6;;7830:18;214:63;;98:8747:30;214:63:6;98:8747:30;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;7830:18:6;98:8747:30;;;;;;;;;;;;;;;;;;7830:18:6;98:8747:30;;;;7878:15:6;98:8747:30;;;;;;;;;;;;7830:18:6;;;;;;;;;;;;:::i;:::-;98:8747:30;7830:18:6;;;;214:63;;;;;;-1:-1:-1;;;;;214:63:6;;;;7830:18;;;98:8747:30;214:63:6;;;;;;;;;;;;;-1:-1:-1;;;;;214:63:6;;;;;98:8747:30;214:63:6;98:8747:30;;;214:63:6;98:8747:30;;214:63:6;;98:8747:30;;:::i;:::-;214:63:6;;98:8747:30;214:63:6;;7830:18;;;;98:8747:30;214:63:6;;;;;;;;;98:8747:30;214:63:6;;;;;;98:8747:30;214:63:6;;;;;;;;;;7830:18;;;;;;;;;;214:63;;;-1:-1:-1;;;;;214:63:6;;;;98:8747:30;214:63:6;;;;;7830:18;;;214:63;-1:-1:-1;;214:63:6;;;;98:8747:30;;;;;;;-1:-1:-1;;;;;;;;98:8747:30;;;;;;;;;;;;214:63:6;;;;;98:8747:30;214:63:6;;-1:-1:-1;;;;;214:63:6;;;;;7830:18;98:8747:30;7830:18:6;;;214:63;;;;;;;;;:::i;:::-;;;;;;;;98:8747:30;214:63:6;;-1:-1:-1;;;;;214:63:6;;;;7830:18;98:8747:30;7830:18:6;;214:63;7830:18;;;;;;;;;214:63;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;98:8747:30;;;;-1:-1:-1;;;98:8747:30;;;7830:18:6;98:8747:30;;;;214:63:6;98:8747:30;;;214:63:6;98:8747:30;;;214:63:6;-1:-1:-1;;;98:8747:30;;;7830:18:6;98:8747:30;;;;214:63:6;98:8747:30;;7830:18:6;98:8747:30;;214:63:6;98:8747:30;214:63:6;;;;;98:8747:30;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;;98:8747:30;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;;98:8747:30;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;;98:8747:30;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;;98:8747:30;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;;98:8747:30;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;;98:8747:30;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;;98:8747:30;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;;98:8747:30;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;;98:8747:30;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;;98:8747:30;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1594:4:2;98:8747:30;;;;;;-1:-1:-1;98:8747:30;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;98:8747:30;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;98:8747:30;;;;;;;:::o;:::-;;;;;-1:-1:-1;;98:8747:30;;;;-1:-1:-1;;;;;98:8747:30;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;:::o;214:63:6:-;;;;;;;;-1:-1:-1;;214:63:6;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;98:8747:30;;;;;;;;;;;-1:-1:-1;;98:8747:30;214:63:6;98:8747:30;;;:::i;:::-;214:63:6;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;98:8747:30;;214:63:6;;;;;;;;;;;;:::o;:::-;98:8747:30;;;214:63:6;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x60806040818152600491823610156200001757600080fd5b60009283803560e01c9283630982c48214620012db57505081630a9254e41462001212578382631a6f93491462001113575081631df1ce651462000328578163365874141462000f8e5783826336d3d58f1462000e9457508163454d4f3a1462000d585781634b0bdf691462000c23578382634c5409541462000bc7575081634fd855ab146200032857816352685877146200097b5781636f86ff13146200032857816377fc70c614620008e8578163799509781462000328578382639642ddaf146200084857508163b5b34603146200046f57838263b84446a3146200036057508163ba414fa61462000336578163bf506ac414620003285783908263cc8668de1462000272578263e13aba48146200016657505063fa7626d4146200013e575b600080fd5b34620001625781600319360112620001625760209060ff6007541690519015158152f35b5080fd5b915091346200026e57826003193601126200026e576011548151635aa1df0960e11b815292906001600160a01b039060209085908316818881620001ac81890162001913565b03925af19384156200026457859462000228575b50620001cc8462001a30565b6011541692833b156200022457602485928385519687948593630852cd8d60e31b85528401525af19081156200021b5750620002055750f35b620002109062001412565b620002185780f35b80fd5b513d84823e3d90fd5b8480fd5b945092506020843d82116200025b575b81620002476020938362001477565b8101031262000139578493519238620001c0565b3d915062000238565b83513d87823e3d90fd5b5050fd5b839034620003245782600319360112620003245760115482516306fdde0360e01b815291849183919082906001600160a01b03165afa908115620003185791620002ec928492620002ef575b505190620002cc826200143d565b600d82526c15195cdd0810dbdb9d1c9858dd609a1b60208301526200167a565b80f35b620003109192503d8086833e62000307818362001477565b810190620015e7565b9084620002be565b505051903d90823e3d90fd5b8280fd5b5050505062000139620013fc565b50503462000162578160031936011262000162576020906200035762001511565b90519015158152f35b809184346200026e57826003193601126200026e576011548151635aa1df0960e11b815292906001600160a01b039060209085908316818881620003a681890162001913565b03925af19384156200026457859462000433575b50620003c68462001a30565b6011541692833b1562000224576200041e9385928385518097819582946366d8744f60e11b84528301608091815260406020820152600f60408201526e4e455720544f4b454e204e414d452160881b60608201520190565b03925af19081156200021b5750620002055750f35b945092506020843d821162000466575b81620004526020938362001477565b8101031262000139578493519286620003ba565b3d915062000443565b90503462000324578260031936011262000324576011548251635aa1df0960e11b81526020918591906001600160a01b0390849083908316818681620004b78b820162001913565b03925af19182156200083e57839262000805575b50602490620004da8362001a30565b60115416948651958693849263c87b56dd60e01b84528301525afa918215620007f85790620002ec93620007b793928693620007ce575b50620007c891816200077d603d9351607b60f81b848201527f226e616d65223a22466f756e647279205465737420417070222c000000000000602182015262000777600282620007566200071e620006b862000675602b620005fa620005c56200057e603b890162001c2c565b7f226f776e6572223a223078623463373964614238663235394337416565364535815274188c90584dcc8e4e0c8c4e0d8d0c8c8dd94e0d088b605a1b602082015260350190565b7f2265787465726e616c5f75726c223a2268747470733a2f2f666c65656b2e78798152621e888b60ea1b602082015260230190565b7f22696d616765223a2268747470733a2f2f666c65656b2e78797a222c0000000081526e2261747472696275746573223a205b60881b601c8201527f7b2274726169745f74797065223a2022454e53222c202276616c7565223a226691019081526a1b19595ad7de1e5e889f4b60aa1b6020820152602b0190565b7f7b2274726169745f74797065223a2022436f6d6d69742048617368222c202276815270185b1d59488e88985999998cd98d889f4b607a1b602082015260310190565b7f7b2274726169745f74797065223a20225265706f7369746f7279222c2022766181527f6c7565223a2268747470733a2f2f6769746875622e636f6d2f666c65656b787960208201526d1e8bd8dbdb9d1c9858dd1cc89f4b60921b6040820152604e0190565b7f7b2274726169745f74797065223a202256657273696f6e222c202276616c7565815265223a2230227d60d01b602082015260260190565b605d60f81b8152607d60f81b600182015203601d1981018452018262001477565b62001c8b565b905195827f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008894850152825192839186860191016200149a565b810103601d81018552018362001477565b6200167a565b603d91935091620007ee620007c8933d808a833e62000307818362001477565b9391509162000511565b50505051903d90823e3d90fd5b925090508282813d811162000836575b62000821818362001477565b810103126200013957905185916024620004cb565b503d62000815565b86513d85823e3d90fd5b929150346200026e57826003193601126200026e576011548251635aa1df0960e11b81529360209285926001600160a01b031691839182906200088d90820162001913565b03925af19081156200021b57508290620008ae575b620002ec915062001a30565b506020813d8211620008df575b81620008ca6020938362001477565b810103126200013957620002ec9051620008a2565b3d9150620008bb565b905034620003245782600319360112620003245760115482516395d89b4160e01b815291849183919082906001600160a01b03165afa908115620003185791620002ec9284926200095b575b50519062000942826200143d565b6006825265464c4b41505360d01b60208301526200167a565b620009739192503d8086833e62000307818362001477565b903862000934565b91905034620003245760031990838236011262000bc3576011548151635aa1df0960e11b8082529094602092879291906001600160a01b0390859089908316818781620009ca88820162001913565b03925af1801562000bb95785969798859162000b79575b5090620009ef859262001a30565b60115416928751988995869485938452830152602482016101009052610104820162000a3b9060409060128152712337bab732393c902a32b9ba1020b838101960711b60208201520190565b8281038281016044850152603982527f5468697320697320612074657374206170706c69636174696f6e207375626d69898301527f7474656420627920666f756e6472792074657374735b325d2e000000000000008b830152605c01606484015262000aaa90606001620018b1565b8183820301608484015262000abf90620018b1565b828103820160a48401526009815268333632b2b5afbc3cbd60b91b6020820152604001828103820160c4840152600781526630b3333319b31b60c91b6020820152604001908282030160e483015262000b1890620018d5565b03925af191821562000b705750839162000b39575b83620002ec8362001b37565b905081813d831162000b68575b62000b52818362001477565b810103126200013957620002ec90513862000b2d565b503d62000b46565b513d85823e3d90fd5b95809295508691503d831162000bb1575b62000b96818362001477565b8101031262000139579251849388939091620009ef620009e1565b503d62000b8a565b86513d86823e3d90fd5b8380fd5b809184346200026e57826003193601126200026e576011546001600160a01b031691823b1562000c1e5783602481928285519687948593630852cd8d60e31b85528401525af19081156200021b5750620002055750f35b505050fd5b90503462000324578260031936011262000324576011548251635aa1df0960e11b8082529091602091906001600160a01b0390839085908316818a8162000c6c8b820162001913565b03925af193841562000d4e57879462000d13575b5093829162000ca2949560115416908888518097819582948352820162001913565b03925af193841562000d0a5750849362000cce575b84620002ec8562000cc88662001a30565b62001b37565b90809350813d831162000d02575b62000ce8818362001477565b81010312620001395762000cc8620002ec92519262000cb7565b503d62000cdc565b513d86823e3d90fd5b919350938282813d831162000d46575b62000d2f818362001477565b810103126200013957905190939092908262000c80565b503d62000d23565b86513d89823e3d90fd5b9190503462000324578260031936011262000324578051607b60f81b60208201527f226e616d65223a22466f756e647279205465737420417070222c000000000000602182015262000dce600282620007566200071e620006b862000675602b620005fa620005c56200057e603b890162001c2c565b601154825163c87b56dd60e01b81529384018590528490849060249082906001600160a01b03165afa90811562000e8a57620002ec93859262000e5d575b50603d62000e1e620007c89262001c8b565b935180947f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006020830152620007b781518092602086860191016200149a565b620007c891925062000e1e62000e80603d923d808a833e62000307818362001477565b9392505062000e0c565b82513d86823e3d90fd5b809184346200026e57826003193601126200026e576011548151635aa1df0960e11b815292906001600160a01b03906020908590831681888162000eda81890162001913565b03925af19384156200026457859462000f52575b5062000efa8462001a30565b6011541692833b1562000224576200041e93859283855180978195829463246a908b60e01b84528301608091815260406020820152600f60408201526e4e455720544f4b454e204e414d452160881b60608201520190565b945092506020843d821162000f85575b8162000f716020938362001477565b810103126200013957849351928662000eee565b3d915062000f62565b91905034620003245760031990838236011262000bc3576011548151635aa1df0960e11b80825290946020929091906001600160a01b0390849088908316818b8162000fdc818a0162001913565b03925af180156200110957849596978991620010d0575b5062000fff9062001a30565b60115416908786518098819582948352820173b4c79dab8f259c7aee6e5b2aa729821864227e8490526024820161010090526101048201620010619060409060128152712337bab732393c902a32b9ba1020b838101960711b60208201520190565b8281038281016044850152603a82527f5468697320697320612074657374206170706c69636174696f6e207375626d69898301527f7474656420627920666f756e647279207465737473205b325d2e0000000000008b830152605c01606484015262000aaa90606001620018b1565b85819692503d831162001101575b620010ea818362001477565b81010312620001395762000fff8594519062000ff3565b503d620010de565b85513d8a823e3d90fd5b809184346200026e57826003193601126200026e576011548151635aa1df0960e11b815292906001600160a01b0390602090859083168188816200115981890162001913565b03925af193841562000264578594620011d6575b50620011798462001a30565b6011541692833b1562000224576200041e938592838551809781958294630190503b60e61b84528301608091815260406020820152601460408201527368747470733a2f2f657468657265756d2e6f726760601b60608201520190565b945092506020843d821162001209575b81620011f56020938362001477565b81010312620001395784935192866200116d565b3d9150620011e6565b9050346200032457826003193601126200032457815190613b9d8083019183831067ffffffffffffffff841117620012c8575060c091839162001e2a8339848152600d858201526c15195cdd0810dbdb9d1c9858dd609a1b6060820152608060208201526006608082015265464c4b41505360d01b60a082015203019083f0908115620012bd575060018060a01b03166bffffffffffffffffffffffff60a01b601154161760115580f35b51913d9150823e3d90fd5b634e487b7160e01b865260419052602485fd5b84828492346200016257816003193601126200016257601154635aa1df0960e11b82526001600160a01b0390602090839083168186816200131e8b820162001913565b03925af1918215620013f2578392620013b9575b506200133e8262001a30565b60115416803b156200032457620013989483855180978195829463f931517760e01b84528301608091815260406020820152601460408201527368747470733a2f2f657468657265756d2e6f726760601b60608201520190565b03925af19081156200021b5750620013ae575080f35b620002ec9062001412565b9091506020813d8211620013e9575b81620013d76020938362001477565b81010312620003245751908662001332565b3d9150620013c8565b84513d85823e3d90fd5b5034620001395760003660031901126200013957005b67ffffffffffffffff81116200142757604052565b634e487b7160e01b600052604160045260246000fd5b6040810190811067ffffffffffffffff8211176200142757604052565b6060810190811067ffffffffffffffff8211176200142757604052565b90601f8019910116810190811067ffffffffffffffff8211176200142757604052565b60005b838110620014ae5750506000910152565b81810151838201526020016200149d565b67ffffffffffffffff81116200142757601f01601f191660200190565b3d156200150c573d90620014f082620014bf565b9162001500604051938462001477565b82523d6000602084013e565b606090565b60075460081c60ff16156200152c5760ff60075460081c1690565b600080737109709ecfa91a80626ff3989d68f67f5b1dd12d803b6200155057505090565b819060405182602082018381526519985a5b195960d21b6040840152604083526200157b836200145a565b620015b760246040518093620015a66020830197630667f9d760e41b8952518092858501906200149a565b810103600481018452018262001477565b51925af150620015c6620014dc565b60208180518101031262000162576020015190811515820362000218575090565b602081830312620001395780519067ffffffffffffffff821162000139570181601f82011215620001395780516200161f81620014bf565b926200162f604051948562001477565b8184526020828401011162000139576200165091602080850191016200149a565b90565b906020916200166e815180928185528580860191016200149a565b601f01601f1916010190565b604080519160209283810190620016ab858285516200169d8187858a016200149a565b810103808452018262001477565b519020825184810190620016cd8682816200169d8b878151938492016200149a565b51902003620016dd575b50505050565b620017d592620017e3917f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50608085518481526024858201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b7374728782015263696e675d60e01b6060820152a183519584875262001773858801604090600a8152690808115e1c1958dd195960b21b60208201520190565b968088038482015280620017aa7f280f4446b28a1372417dda658d30b95b2992b12ac9c7f378535f29a97acf3583998a9462001653565b0390a183519484869586528501604090600a815269080808081058dd1d585b60b21b60208201520190565b918483039085015262001653565b0390a1620017f0620017fa565b38808080620016d7565b737109709ecfa91a80626ff3989d68f67f5b1dd12d803b62001829575b5061010061ff00196007541617600755565b6040519060208201908082526519985a5b195960d21b60408401526001606084015260608352608083019183831067ffffffffffffffff84111762001427576000836200189a60248397849760405260a08101956370ca10bb60e01b8752620015a68251809260a48501906200149a565b51925af150620018a9620014dc565b503862001817565b6011815270343a3a38399d1797b33632b2b5973c3cbd60791b602082015260400190565b602581527f68747470733a2f2f6769746875622e636f6d2f666c65656b78797a2f636f6e74602082015264726163747360d81b604082015260600190565b620016509073b4c79dab8f259c7aee6e5b2aa729821864227e84815260106101008060208401528201526f0466f756e6472792054657374204170760841b61012082015260366101408060408401528201527f5468697320697320612074657374206170706c69636174696f6e207375626d69610160820152753a3a32b210313c903337bab732393c903a32b9ba399760511b61018082015262001a21620019ff620019db620019cd6101a08060608701528501620018b1565b8481036080860152620018b1565b83810360a08501526009815268333632b2b5afbc3cbd60b91b602082015260400190565b82810360c0840152600781526630b3333319b31b60c91b602082015260400190565b9060e0818303910152620018d5565b8062001a395750565b62001b2260407f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f506080825160208152602260208201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e8482015261745d60f01b6060820152a180519281845262001acb828501604090600a8152690808115e1c1958dd195960b21b60208201520190565b60006020860152847fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a89586920390a181519282849384528301604090600a815269080808081058dd1d585b60b21b60208201520190565b9060208301520390a162001b35620017fa565b565b6001810362001b435750565b62001b2260407f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f506080825160208152602260208201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e8482015261745d60f01b6060820152a180519281845262001bd5828501604090600a8152690808115e1c1958dd195960b21b60208201520190565b60016020860152847fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a89586920390a181519282849384528301604090600a815269080808081058dd1d585b60b21b60208201520190565b7f226465736372697074696f6e223a22546869732069732061207465737420617081527f706c69636174696f6e207375626d697474656420627920666f756e6472792074602082015266195cdd1ccb888b60ca1b604082015260470190565b80511562001e035760405162001ca1816200145a565b604081527f4142434445464748494a4b4c4d4e4f505152535455565758595a61626364656660208201527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f6040820152815160029283820180921162001ded5760039182900480851b94906001600160fe1b0381160362001ded579262001d4562001d2c86620014bf565b9562001d3c604051978862001477565b808752620014bf565b6020860190601f190136823793829183518401925b83811062001d9b575050505051068060011462001d885760021462001d7d575090565b603d90600019015390565b50603d9081600019820153600119015390565b85600491979293949701918251600190603f9082828260121c16880101518453828282600c1c16880101518385015382828260061c168801015188850153168501015187820153019592919062001d5a565b634e487b7160e01b600052601160045260246000fd5b506040516020810181811067ffffffffffffffff8211176200142757604052600081529056fe60406080815234620003da5762003b9d90813803806200001f81620003df565b93843982018183820312620003da5782516001600160401b0390818111620003da57826200004f91860162000405565b9360209283820151838111620003da576200006b920162000405565b93805191808311620003c4576000928354906001938483811c93168015620003b9575b87841014620003a5578190601f9384811162000352575b508790848311600114620002ee578792620002e2575b5050600019600383901b1c191690841b1784555b8651918211620002ce5782548381811c91168015620002c3575b86821014620002af5781811162000267575b508490821160011462000204578394959682939492620001f8575b5050600019600383901b1c191690821b1781555b7fcac50f86c292f6863f130b9e1133a5f875e8e957fed41745b8fa2498550cbdfc92838352600681528282868220015481848882200155857fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff8380a4848320338452815260ff858420541615620001ab575b84516137259081620004788239f35b8383526006815284832090338452528382209060ff1982541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339280a4388080806200019c565b01519050388062000116565b82845284842090601f198316855b818110620002515750978385969798991062000237575b505050811b0181556200012a565b015160001960f88460031b161c1916905538808062000229565b8983015184559285019291870191870162000212565b8385528585208280850160051c820192888610620002a5575b0160051c019084905b82811062000299575050620000fb565b86815501849062000289565b9250819262000280565b634e487b7160e01b85526022600452602485fd5b90607f1690620000e9565b634e487b7160e01b84526041600452602484fd5b015190503880620000bb565b8780528888208794509190601f198416895b8b8282106200033b575050841162000321575b505050811b018455620000cf565b015160001960f88460031b161c1916905538808062000313565b8385015186558a9790950194938401930162000300565b9091508680528787208480850160051c8201928a86106200039b575b918891869594930160051c01915b8281106200038c575050620000a5565b8981558594508891016200037c565b925081926200036e565b634e487b7160e01b86526022600452602486fd5b92607f16926200008e565b634e487b7160e01b600052604160045260246000fd5b600080fd5b6040519190601f01601f191682016001600160401b03811183821017620003c457604052565b919080601f84011215620003da5782516001600160401b038111620003c4576020906200043b601f8201601f19168301620003df565b92818452828287010111620003da5760005b8181106200046357508260009394955001015290565b85810183015184820184015282016200044d56fe608080604052600436101561001357600080fd5b60003560e01c90816301ffc9a7146127455750806306fdde03146126a2578063081812fc14612684578063095ea7b31461250a57806323b872dd146124e1578063246a908b14612365578063248a9ca3146123365780632f2ff15d146122fc57806336568abe1461226a5780633806f15214611ff557806342842e0e14611fcd57806342966c6814611e825780636352211e14611e5257806364140ec014611cdf57806370a0823114611c4857806378278cca14611ad557806391d1485414611a8857806395d89b41146119a9578063987c26fd1461168f57806398b7079314611654578063a217fddf14611638578063a22cb46514611566578063b543be1214610b34578063b88d4fde14610ad5578063befaa6a314610ab3578063c87b56dd1461061f578063cdb0e89e1461048b578063d547741f1461044c578063dcd78186146103d5578063e46f29c81461039a578063e985e9c5146103445763f93151771461017f57600080fd5b3461033f5761018d3661293a565b9061019f610199612ace565b82612af4565b6000526020916006835260406000203360005283526101c560ff60406000205416612b3f565b6000828152600260205260409020546101e8906001600160a01b03161515612f02565b816000526008835260036040600020018151936001600160401b0385116103295761021382546129af565b601f81116102ee575b5080601f8611600114610284575093806102519495600091610279575b508160011b916000199060031b1c1916179055612b9c565b907f9f284fd257fb85bc33901e673c078261b0222fbcc4b52c74784c9566808e3cfc600080a3005b905083015138610239565b90601f1986168360005282600020926000905b8282106102d65750509186916102519697600194106102bd575b5050811b019055612b9c565b85015160001960f88460031b161c1916905538806102b1565b80600185968294968a01518155019501930190610297565b610319908360005282600020601f880160051c81019184891061031f575b601f0160051c01906129e9565b3861021c565b909150819061030c565b634e487b7160e01b600052604160045260246000fd5b600080fd5b3461033f57604036600319011261033f5761035d612812565b610365612828565b9060018060a01b03809116600052600560205260406000209116600052602052602060ff604060002054166040519015158152f35b3461033f57600036600319011261033f5760206040517f54812023c8fe13756580f3420840aeb566f69714bea27346e22e4c654756d77e8152f35b3461033f57604036600319011261033f5761044a6004356104456103f7612828565b916104146001600160a01b0361040c83612f4e565b163314612a00565b600081815260026020526040902054610437906001600160a01b03161515612f02565b61043f612ace565b90612af4565b612e12565b005b3461033f57604036600319011261033f5761044a60043561046b612828565b90806000526006602052610486600160406000200154612c08565b612e8c565b3461033f576104993661293a565b906104a5610199612ace565b6000526020916006835260406000203360005283526104cb60ff60406000205416612b3f565b6000828152600260205260409020546104ee906001600160a01b03161515612f02565b816000526008835260406000208151936001600160401b0385116103295761051682546129af565b601f81116105ef575b5080601f861160011461058657509380610553949560009161057b57508160011b916000199060031b1c1916179055612b9c565b907fabf44020991f188f6b302a14e4b7a3dc94de10ed2140a6c03e16f4213d11b1c9600080a3005b905083015186610239565b90601f1986168360005282600020926000905b8282106105d75750509186916105539697600194106105be575050811b019055612b9c565b85015160001960f88460031b161c1916905586806102b1565b80600185968294968a01518155019501930190610599565b610619908360005282600020601f880160051c81019184891061031f57601f0160051c01906129e9565b8561051f565b3461033f5760208060031936011261033f5760043560008181526002602052604090205490919061065a906001600160a01b03161515612f02565b61066382612f4e565b600092835260088252604090922091610684906001600160a01b03166135e1565b60058301546000818152600685018452604081206001958694938583019190807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008181811015610aa5575b5050886d04ee2d6d415b85acef810000000080841015610a97575b5050662386f26fc1000080831015610a88575b506305f5e10080831015610a79575b5061271080831015610a6a575b506064821015610a5a575b600a978880931015610a50575b6021610739828901613432565b97880101905b610a21575b5050604051607b60f81b8982015267113730b6b2911d1160c11b60218201529889969091506107766029880184612a4b565b61088b60f21b8082526e113232b9b1b934b83a34b7b7111d1160891b6002830152926107a791601101908501612a4b565b828152681137bbb732b9111d1160b91b60028201528151916107d1908390600b8401908d016127ca565b0181600b8201526f1132bc3a32b93730b62fbab936111d1160811b600d820152601d01600383019061080291612a4b565b818152681134b6b0b3b2911d1160b91b6002820152600b01600283019061082891612a4b565b9081526e2261747472696275746573223a205b60881b60028201527f7b2274726169745f74797065223a2022454e53222c202276616c7565223a2200601182015261087b91603090910190600401612a4b565b62089f4b60ea1b8082527f7b2274726169745f74797065223a2022436f6d6d69742048617368222c20227660038301526630b63ab2911d1160c91b6023830152926108c991602a0190612a4b565b828152600381017f7b2274726169745f74797065223a20225265706f7369746f7279222c20227661905265363ab2911d1160d11b602382015260290161090e91612a4b565b9081527f7b2274726169745f74797065223a202256657273696f6e222c202276616c7565600382015262111d1160e91b6023820152815191610958908390602684019088016127ca565b0161227d60f01b602682015260288101605d60f81b905260298101607d60f81b9052039081018352602a0161098d90836128a9565b8060405161099a81612873565b601d8152818101937f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000085526109ce90613464565b6040519485925190818585016109e3926127ca565b820181519182858084019201916109f9926127ca565b010380845201610a0990836128a9565b6040519181839283528201610a1d916127ed565b0390f35b600019019082906f181899199a1a9b1b9c1cb0b131b232b360811b8282061a835304908a8261073f5750610744565b909501948961072c565b949060646002910491019461071f565b6004919692049101948a610714565b6008919692049101948a610707565b6010919692049101948a6106f8565b96019590910490888b6106e5565b604097500491508a806106ca565b3461033f57604036600319011261033f5761044a6004356104866103f7612828565b3461033f57608036600319011261033f57610aee612812565b610af6612828565b606435916001600160401b03831161033f573660238401121561033f57610b2a61044a9336906024816004013591016128e5565b9160443591613011565b61010036600319011261033f57610b49612812565b6024356001600160401b03811161033f57610b6890369060040161291c565b906044356001600160401b03811161033f57610b8890369060040161291c565b906064356001600160401b03811161033f57610ba890369060040161291c565b926084356001600160401b03811161033f57610bc890369060040161291c565b60a4356001600160401b03811161033f57610be790369060040161291c565b9060c4356001600160401b03811161033f57610c0790369060040161291c565b9560e4356001600160401b03811161033f57610c2790369060040161291c565b3360009081527f6ba1fb09f226a75e067af9a8d207c51e8b8b2c4d25e3ce897223f4dfedce79fd602052604090205490969060ff161561150557600754956001600160a01b038116156114c157600087815260026020526040902054610d589190610c9e906001600160a01b031615155b1561310a565b600088815260026020526040902054610cc1906001600160a01b03161515610c98565b6001600160a01b0381166000818152600360209081526040808320805460010190558b83526002909152812080546001600160a01b031916831790558991907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600088815260026020526040902054610d47906001600160a01b03161515612f02565b610445610d52612ace565b89612af4565b6001600754016007558560005260086020526040600020948051906001600160401b038211610329578190610d8d88546129af565b601f811161148f575b50602090601f831160011461142357600092611418575b50508160011b916000199060031b1c19161785555b8051906001600160401b038211610329578190610de260018801546129af565b601f81116113e3575b50602090601f831160011461137157600092611366575b50508160011b916000199060031b1c19161760018501555b8051906001600160401b038211610329578190610e3a60028701546129af565b601f8111611331575b50602090601f83116001146112bf576000926112b4575b50508160011b916000199060031b1c19161760028401555b8051906001600160401b038211610329578190610e9260038601546129af565b601f811161127f575b50602090601f831160011461120d57600092611202575b50508160011b916000199060031b1c19161760038301555b8051906001600160401b03821161032957610ee860048401546129af565b601f81116111cd575b50602090601f831160011461115a5760069392916000918361114f575b50508160011b916000199060031b1c19161760048201555b6000600582015560405194610f3a86612873565b8552602085019384526000805201602052604060002092519283516001600160401b03811161032957610f6d82546129af565b601f811161111d575b506020601f82116001146110b357819060019495966000926110a8575b5050600019600383901b1c191690831b1781555b019151908151926001600160401b03841161032957602093610fc982546129af565b601f8111611078575b508493601f821160011461101557938192939460009261100a575b50508160011b916000199060031b1c19161790555b604051908152f35b015190508580610fed565b601f1982169483600052866000209160005b878110611061575083600195969710611048575b505050811b019055611002565b015160001960f88460031b161c1916905585808061103b565b919288600181928685015181550194019201611027565b6110a2908360005286600020601f840160051c81019188851061031f57601f0160051c01906129e9565b85610fd2565b015190508680610f93565b601f198216958360005260206000209660005b81811061110557509160019596979184879594106110ec575b505050811b018155610fa7565b015160001960f88460031b161c191690558680806110df565b838301518955600190980197602093840193016110c6565b61114990836000526020600020601f840160051c8101916020851061031f57601f0160051c01906129e9565b85610f76565b015190508780610f0e565b906004840160005260206000209160005b601f19851681106111b5575091839160019360069695601f1981161061119c575b505050811b016004820155610f26565b015160001960f88460031b161c1916905587808061118c565b9192602060018192868501518155019401920161116b565b6111fc90600485016000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b86610ef1565b015190508780610eb2565b9250600385016000526020600020906000935b601f1984168510611264576001945083601f1981161061124b575b505050811b016003830155610eca565b015160001960f88460031b161c1916905587808061123b565b81810151835560209485019460019093019290910190611220565b6112ae90600387016000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b88610e9b565b015190508880610e5a565b9250600286016000526020600020906000935b601f1984168510611316576001945083601f198116106112fd575b505050811b016002840155610e72565b015160001960f88460031b161c191690558880806112ed565b818101518355602094850194600190930192909101906112d2565b61136090600288016000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b89610e43565b015190508980610e02565b9250600187016000526020600020906000935b601f19841685106113c8576001945083601f198116106113af575b505050811b016001850155610e1a565b015160001960f88460031b161c1916905589808061139f565b81810151835560209485019460019093019290910190611384565b61141290600189016000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b8a610deb565b015190508a80610dad565b9250876000526020600020906000935b601f1984168510611474576001945083601f1981161061145b575b505050811b018555610dc2565b015160001960f88460031b161c191690558a808061144e565b81810151835560209485019460019093019290910190611433565b6114bb90896000526020600020601f850160051c8101916020861061031f57601f0160051c01906129e9565b8b610d96565b606460405162461bcd60e51b815260206004820152602060248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152fd5b60405162461bcd60e51b815260206004820152603360248201527f466c65656b416363657373436f6e74726f6c3a206d757374206861766520636f6044820152726c6c656374696f6e206f776e657220726f6c6560681b6064820152608490fd5b3461033f57604036600319011261033f5761157f612812565b6024359081151580920361033f576001600160a01b0316903382146115f357336000526005602052604060002082600052602052604060002060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b60405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606490fd5b3461033f57600036600319011261033f57602060405160008152f35b3461033f57600036600319011261033f5760206040517fcac50f86c292f6863f130b9e1133a5f875e8e957fed41745b8fa2498550cbdfc8152f35b61169836612969565b91906116ae6001600160a01b0361040c84612f4e565b6000828152600260205260409020546116d1906001600160a01b03161515612f02565b6116e26116dc612ace565b83612af4565b60005260209260068452604060002033600052845261170860ff60406000205416612b3f565b60008381526002602052604090205461172b906001600160a01b03161515612f02565b60405161173781612873565b828152848101918252836000526008855260066040600020016005604060002001908154906000199283831461199357600180930180915560005287526040600020925180516001600160401b039485821161032957839161179982546129af565b93601f948c868211611964575b50508b908583116001146118fe5760009190836118f3575b50508682851b9260031b1c19161781555b019451978851948511610329576117e686546129af565b8281116118bb575b50809185116001146118525750839291839161181f9899600095611847575b50501b9260031b1c1916179055612b9c565b907ff0cd0ce9d5882a10e2780d2d9c805c18e7536b9b2c6412f7bfb7f163656dd0f6600080a3005b01519350898061180d565b91939290601f198416988660005283600020936000905b8b82106118a45750508461181f999a1061188c575b50505050811b019055612b9c565b01519060f88460031b161c191690558680808061187e565b808885978294968601518155019601930190611869565b6118e49087600052826000208480890160051c820192858a106118ea575b0160051c01906129e9565b896117ee565b925081926118d9565b015190508c806117be565b60008481528d8120929190601f198516908f5b82821061194b5750509084879594939210611934575b505050811b0181556117cf565b01518860f88460031b161c191690558c8080611927565b8484015186558a98909501949384019390810190611911565b61198c918560005287826000209181870160051c83019387106118ea570160051c01906129e9565b8c8c6117a6565b634e487b7160e01b600052601160045260246000fd5b3461033f57600036600319011261033f57604051600060018054906119cd826129af565b80855291818116908115611a615750600114611a08575b610a1d846119f4818603826128a9565b6040519182916020835260208301906127ed565b600081815292507fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b828410611a495750505081016020016119f4826119e4565b80546020858701810191909152909301928101611a31565b60ff191660208087019190915292151560051b850190920192506119f491508390506119e4565b3461033f57604036600319011261033f57611aa1612828565b600435600052600660205260406000209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b3461033f57611ae33661293a565b90611aef610199612ace565b600052602091600683526040600020336000528352611b1560ff60406000205416612b3f565b600082815260026020526040902054611b38906001600160a01b03161515612f02565b816000526008835260046040600020018151936001600160401b03851161032957611b6382546129af565b601f8111611c18575b5080601f8611600114611bc857509380611ba0949560009161057b57508160011b916000199060031b1c1916179055612b9c565b907fc1b5a2141fc60537be795a8771f5e8c80188922acb5399a6e463ea95aa852f31600080a3005b90601f1986168360005282600020926000905b828210611c00575050918691611ba09697600194106105be575050811b019055612b9c565b80600185968294968a01518155019501930190611bdb565b611c42908360005282600020601f880160051c81019184891061031f57601f0160051c01906129e9565b85611b6c565b3461033f57602036600319011261033f576001600160a01b03611c69612812565b168015611c885760005260036020526020604060002054604051908152f35b60405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608490fd5b3461033f57611ced3661293a565b90611cf9610199612ace565b600052602091600683526040600020336000528352611d1f60ff60406000205416612b3f565b600082815260026020526040902054611d42906001600160a01b03161515612f02565b816000526008835260026040600020018151936001600160401b03851161032957611d6d82546129af565b601f8111611e22575b5080601f8611600114611dd257509380611daa949560009161057b57508160011b916000199060031b1c1916179055612b9c565b907fb041870856ebefdd6a3cb1ac665eb6739281b855c912ff622e814dbf91c96bb6600080a3005b90601f1986168360005282600020926000905b828210611e0a575050918691611daa9697600194106105be575050811b019055612b9c565b80600185968294968a01518155019501930190611de5565b611e4c908360005282600020601f880160051c81019184891061031f57601f0160051c01906129e9565b85611d76565b3461033f57602036600319011261033f576020611e70600435612f4e565b6040516001600160a01b039091168152f35b3461033f5760208060031936011261033f5760043590611ea36116dc612ace565b600052600681526040600020336000528152611ec660ff60406000205416612b3f565b8160006001600160a01b03611ee63382611edf86612f4e565b1614612a00565b611eef83612f4e565b50611ef983612f4e565b908383526004855260408320916bffffffffffffffffffffffff60a01b92838154169055169081835260038552604083208319815401905583835260028552604083209081541690557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8280a460088152611f7b6003604060002001546129af565b611f8157005b600891600052526000600560408220611f9981612bbc565b611fa560018201612bbc565b611fb160028201612bbc565b611fbd60038201612bbc565b611fc960048201612bbc565b0155005b3461033f5761044a611fde3661283e565b9060405192611fec8461288e565b60008452613011565b3461033f5761200336612969565b91906120106116dc612ace565b60005260209260068452604060002033600052845261203660ff60406000205416612b3f565b600083815260026020526040902054612059906001600160a01b03161515612f02565b60405161206581612873565b828152848101918252836000526008855260066040600020016005604060002001908154906000199283831461199357600180930180915560005287526040600020925180516001600160401b03948582116103295783916120c782546129af565b93601f948c86821161223b575b50508b908583116001146121d55760009190836121ca575b50508682851b9260031b1c19161781555b0194519788519485116103295761211486546129af565b82811161219c575b508091851160011461214c5750839291839161181f98996000956118475750501b9260031b1c1916179055612b9c565b91939290601f198416988660005283600020936000905b8b82106121855750508461181f999a1061188c5750505050811b019055612b9c565b808885978294968601518155019601930190612163565b6121c49087600052826000208480890160051c820192858a106118ea570160051c01906129e9565b8961211c565b015190508c806120ec565b60008481528d8120929190601f198516908f5b828210612222575050908487959493921061220b575b505050811b0181556120fd565b01518860f88460031b161c191690558c80806121fe565b8484015186558a989095019493840193908101906121e8565b612263918560005287826000209181870160051c83019387106118ea570160051c01906129e9565b8c8c6120d4565b3461033f57604036600319011261033f57612283612828565b336001600160a01b0382160361229f5761044a90600435612e8c565b60405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608490fd5b3461033f57604036600319011261033f5761044a60043561231b612828565b90806000526006602052610445600160406000200154612c08565b3461033f57602036600319011261033f5760043560005260066020526020600160406000200154604051908152f35b3461033f576123733661293a565b9061237f610199612ace565b6000526020916006835260406000203360005283526123a560ff60406000205416612b3f565b6000828152600260205260409020546123c8906001600160a01b03161515612f02565b8160005260088352600180604060002001908251906001600160401b038211610329576123f583546129af565b601f81116124b1575b5085601f831160011461246457508180916124319697600093612459575b501b916000199060031b1c1916179055612b9c565b907f9b3089e7af95b8d43fdceb16eb9cbf620a0cb486e1a291b15121a44e0f69127a600080a3005b86015192508861241c565b601f929192198216968460005281600020916000905b89821061249a575050826124319798106105be575050811b019055612b9c565b808684958294958b0151815501940192019061247a565b6124db908460005287600020601f850160051c81019189861061031f57601f0160051c01906129e9565b866123fe565b3461033f5761044a6124f23661283e565b91612505612500843361309c565b612faf565b6131b0565b3461033f57604036600319011261033f57612523612812565b602435906001600160a01b03808061253a85612f4e565b1692169180831461263557803314908115612610575b50156125a557600083815260046020526040902080546001600160a01b0319168317905561257d83612f4e565b167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4005b60405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608490fd5b9050600052600560205260406000203360005260205260ff6040600020541684612550565b60405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608490fd5b3461033f57602036600319011261033f576020611e70600435612f71565b3461033f57600036600319011261033f57604051600080546126c3816129af565b80845290600190818116908115611a6157506001146126ec57610a1d846119f4818603826128a9565b600080805292507f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b82841061272d5750505081016020016119f4826119e4565b80546020858701810191909152909301928101612715565b3461033f57602036600319011261033f576004359063ffffffff60e01b821680920361033f57602091637965db0b60e01b8114908115612787575b5015158152f35b6380ac58cd60e01b8114915081156127b9575b81156127a8575b5083612780565b6301ffc9a760e01b149050836127a1565b635b5e139f60e01b8114915061279a565b60005b8381106127dd5750506000910152565b81810151838201526020016127cd565b90602091612806815180928185528580860191016127ca565b601f01601f1916010190565b600435906001600160a01b038216820361033f57565b602435906001600160a01b038216820361033f57565b606090600319011261033f576001600160a01b0390600435828116810361033f5791602435908116810361033f579060443590565b604081019081106001600160401b0382111761032957604052565b602081019081106001600160401b0382111761032957604052565b90601f801991011681019081106001600160401b0382111761032957604052565b6001600160401b03811161032957601f01601f191660200190565b9291926128f1826128ca565b916128ff60405193846128a9565b82948184528183011161033f578281602093846000960137010152565b9080601f8301121561033f57816020612937933591016128e5565b90565b90604060031983011261033f5760043591602435906001600160401b03821161033f576129379160040161291c565b606060031982011261033f57600435916001600160401b0360243581811161033f57836129989160040161291c565b9260443591821161033f576129379160040161291c565b90600182811c921680156129df575b60208310146129c957565b634e487b7160e01b600052602260045260246000fd5b91607f16916129be565b8181106129f4575050565b600081556001016129e9565b15612a0757565b606460405162461bcd60e51b815260206004820152602060248201527f466c65656b4552433732313a206d75737420626520746f6b656e206f776e65726044820152fd5b600092918154612a5a816129af565b92600191808316908115612ab35750600114612a77575b50505050565b90919293945060005260209081600020906000915b858310612aa25750505050019038808080612a71565b805485840152918301918101612a8c565b60ff1916845250505081151590910201915038808080612a71565b60405190612adb82612873565b600a82526921a7a72a2927a62622a960b11b6020830152565b612b3960466040518093602082019565544f4b454e5f60d01b8752612b238151809260206026870191016127ca565b82019060268201520360268101845201826128a9565b51902090565b15612b4657565b60405162461bcd60e51b815260206004820152602860248201527f466c65656b416363657373436f6e74726f6c3a206d757374206861766520746f6044820152676b656e20726f6c6560c01b6064820152608490fd5b612bb4906020604051928284809451938492016127ca565b810103902090565b612bc681546129af565b9081612bd0575050565b81601f60009311600114612be2575055565b81835260208320612bfe91601f0160051c8101906001016129e9565b8160208120915555565b60009080825260209060068252604092838120338252835260ff848220541615612c325750505050565b612c3b336135e1565b91845190608082018281106001600160401b03821117612dfe57865260428252848201926060368537825115612dea5760308453825190600191821015612dea5790607860218501536041915b818311612d7c57505050612d3a576048612d36938693612d1a93612d0b98519889937f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008a860152612ce2815180928c6037890191016127ca565b8401917001034b99036b4b9b9b4b733903937b6329607d1b6037840152518093868401906127ca565b010360288101875201856128a9565b5192839262461bcd60e51b8452600484015260248301906127ed565b0390fd5b60648486519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b909192600f81166010811015612dd6576f181899199a1a9b1b9c1cb0b131b232b360811b901a612dac85876135ba565b5360041c928015612dc257600019019190612c88565b634e487b7160e01b82526011600452602482fd5b634e487b7160e01b83526032600452602483fd5b634e487b7160e01b81526032600452602490fd5b634e487b7160e01b84526041600452602484fd5b906000918083526006602052604083209160018060a01b03169182845260205260ff60408420541615612e4457505050565b80835260066020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4565b906000918083526006602052604083209160018060a01b03169182845260205260ff604084205416612ebd57505050565b8083526006602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4565b15612f0957565b60405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606490fd5b6000908152600260205260409020546001600160a01b0316612937811515612f02565b600081815260026020526040902054612f94906001600160a01b03161515612f02565b6000908152600460205260409020546001600160a01b031690565b15612fb657565b60405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b6064820152608490fd5b90613035939291613025612500843361309c565b6130308383836131b0565b6132c6565b1561303c57565b60405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608490fd5b906001600160a01b0380806130b084612f4e565b169316918383149384156130e3575b5083156130cd575b50505090565b6130d991929350612f71565b16143880806130c7565b909350600052600560205260406000208260005260205260ff6040600020541692386130bf565b1561311157565b60405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606490fd5b1561315d57565b60405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608490fd5b906131d8916131be84612f4e565b6001600160a01b0393918416928492909183168414613156565b1691821561327557816131f5916131ee86612f4e565b1614613156565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60008481526004602052604081206bffffffffffffffffffffffff60a01b9081815416905583825260036020526040822060001981540190558482526040822060018154019055858252600260205284604083209182541617905580a4565b60405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b9293600093909291803b15613427579484916133209660405180948193630a85bd0160e11b9788845233600485015260018060a01b0380921660248501526044840152608060648401528260209b8c9760848301906127ed565b0393165af18491816133e3575b506133d2575050503d6000146133ca573d613347816128ca565b9061335560405192836128a9565b81528091833d92013e5b805191826133c75760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608490fd5b01fd5b50606061335f565b6001600160e01b0319161492509050565b9091508581813d8311613420575b6133fb81836128a9565b8101031261341c57516001600160e01b03198116810361341c57903861332d565b8480fd5b503d6133f1565b505050915050600190565b9061343c826128ca565b61344960405191826128a9565b828152809261345a601f19916128ca565b0190602036910137565b8051156135a657604051606081018181106001600160401b0382111761032957604052604081527f4142434445464748494a4b4c4d4e4f505152535455565758595a61626364656660208201527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f60408201528151600292838201809211611993576003918290046001600160fe1b038116810361199357613509908594951b613432565b936020850193829183518401925b838110613555575050505051068060011461354257600214613537575090565b603d90600019015390565b50603d9081600019820153600119015390565b85600491979293949701918251600190603f9082828260121c16880101518453828282600c1c16880101518385015382828260061c1688010151888501531685010151878201530195929190613517565b506040516135b38161288e565b6000815290565b9081518110156135cb570160200190565b634e487b7160e01b600052603260045260246000fd5b60405190606082018281106001600160401b0382111761032957604052602a82526020820160403682378251156135cb576030905381516001908110156135cb57607860218401536029905b80821161368157505061363d5790565b606460405162461bcd60e51b815260206004820152602060248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b9091600f811660108110156136da576f181899199a1a9b1b9c1cb0b131b232b360811b901a6136b084866135ba565b5360041c9180156136c557600019019061362d565b60246000634e487b7160e01b81526011600452fd5b60246000634e487b7160e01b81526032600452fdfea2646970667358221220f990373a6ee4218bd529d7377a3ea71fd58a85d8659b6121af366d013cd8bb9264736f6c63430008110033a2646970667358221220647187d9d6077ea1b8748a3d4a423f04e876d473082ecf243abdd38ba58af7a664736f6c63430008110033", - "sourceMap": "98:8747:30:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1572:26:2;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5958:13;98:8747;;;-1:-1:-1;;;5958:353:30;;98:8747;;-1:-1:-1;;;;;98:8747:30;5958:353;;98:8747;;;;;5958:353;98:8747;5958:353;;;;;:::i;:::-;;;;;;;;;;;;;;98:8747;6322:17;;;;:::i;:::-;5958:13;98:8747;;6350:24;;;;;;98:8747;;;;;;;;;;;;;;6350:24;;;;1671:64:2;6350:24:30;;;;;;;;;;98:8747;;6350:24;;;;:::i;:::-;98:8747;;6350:24;98:8747;;;;6350:24;98:8747;;;;;;;;6350:24;98:8747;;;5958:353;;;;;;;;;;;;;;;;;;;:::i;:::-;;;98:8747;;;;;;;5958:353;;;;;;;-1:-1:-1;5958:353:30;;;98:8747;;;;;;;;;;;;;;;;;;;;;;;;;;;322:13;98:8747;;;-1:-1:-1;;;322:20:30;;98:8747;;;;;;;;-1:-1:-1;;;;;98:8747:30;322:20;;;;;;;;313:47;322:20;;;;;98:8747;;;1671:64:2;;;;:::i;:::-;98:8747:30;1671:64:2;;-1:-1:-1;;;98:8747:30;;;;313:47;:::i;:::-;98:8747;;322:20;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;98:8747;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;6541:13;98:8747;;;-1:-1:-1;;;6541:353:30;;98:8747;;-1:-1:-1;;;;;98:8747:30;6541:353;;98:8747;;;;;6541:353;98:8747;6541:353;;;;;:::i;:::-;;;;;;;;;;;;;;98:8747;6905:17;;;;:::i;:::-;6541:13;98:8747;;6933:51;;;;;;;98:8747;;;;;;;;;;;;;;;6933:51;;;;98:8747;;1671:64:2;;98:8747:30;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;6933:51;;;;;;;;;;;;;98:8747;;6541:353;;;;;;;;;;;;;;;;;;;:::i;:::-;;;98:8747;;;;;;;6541:353;;;;;;;-1:-1:-1;6541:353:30;;98:8747;;;;;;;;;;;;;;3629:13;98:8747;;;-1:-1:-1;;;3629:321:30;;;;98:8747;;;-1:-1:-1;;;;;98:8747:30;3629:321;;98:8747;;;;;;;3629:321;;;;;:::i;:::-;;;;;;;;;;;;;;98:8747;3961:17;98:8747;3961:17;;;;:::i;:::-;3629:13;98:8747;;;;;;;;;;;;;4014:28;;;;1671:64:2;4014:28:30;;;;;;;;4839:83;4014:28;1671:64:2;4014:28:30;;;;;;98:8747;;4846:75;98:8747;;4896:24;98:8747;;;-1:-1:-1;;;4076:733:30;;;98:8747;;;;;;4076:733;98:8747;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;-1:-1:-1;;;98:8747:30;;-1:-1:-1;;;98:8747:30;;;;4076:733;5029;;4076;;;;;;;:::i;:::-;4896:24;:::i;:::-;98:8747;;4846:75;;98:8747;4846:75;;;;98:8747;1671:64:2;;98:8747:30;;;;;;1671:64:2;;;:::i;:::-;;;4846:75:30;5029:733;4846:75;;;;;;;:::i;:::-;4839:83;:::i;4014:28::-;98:8747;4014:28;;;;;4846:75;4014:28;;;;;;;;;;:::i;:::-;;;;;;;;98:8747;;;;;;;;;;;;3629:321;;-1:-1:-1;3629:321:30;-1:-1:-1;3629:321:30;;;;;;;;;;;;;:::i;:::-;;;98:8747;;;;;;;;;3629:321;;;;;;;;98:8747;;;;;;;;;;;;;;;;;;;;;;;;519:13;98:8747;;;-1:-1:-1;;;519:321:30;;98:8747;519:321;;98:8747;;-1:-1:-1;;;;;98:8747:30;;;;;;519:321;;;;;:::i;:::-;;;;;;;;;;;;;;;98:8747;851:17;;;;:::i;519:321::-;;;;;;;;;;;;;;;;:::i;:::-;;;98:8747;;;;851:17;98:8747;;519:321;;;;;-1:-1:-1;519:321:30;;98:8747;;;;;;;;;;;;;;421:13;98:8747;;;-1:-1:-1;;;421:22:30;;98:8747;;;;;;;;-1:-1:-1;;;;;98:8747:30;421:22;;;;;;;;412:42;421:22;;;;;98:8747;;;1671:64:2;;;;:::i;:::-;98:8747:30;1671:64:2;;-1:-1:-1;;;98:8747:30;;;;412:42;:::i;421:22::-;;;;;;;;;;;;;;:::i;:::-;;;;;98:8747;;;;;;;;;;;;;;;;;2779:13;98:8747;;;-1:-1:-1;;;2779:353:30;;;98:8747;;2779:353;;98:8747;;;;-1:-1:-1;;;;;98:8747:30;2779:353;;98:8747;;;;;;;2779:353;;;;;:::i;:::-;;;;;;;;;;;;;;;;;98:8747;3143:23;;;;;;:::i;:::-;2779:13;98:8747;;;;;3199:326;;;;;;;;;;;1671:64:2;98:8747:30;;;;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;;;;;;;:::i;:::-;3199:326;;;;;;;;;;;;;;98:8747;3536:24;;;;:::i;3199:326::-;;;;;;;;;;;;;;;:::i;:::-;;;98:8747;;;;3536:24;98:8747;;3199:326;;;;;;;;;98:8747;;;;;;;;2779:353;;;;;;;;;;;;;;;;;;;:::i;:::-;;;98:8747;;;;;;;;;;-1:-1:-1;;3143:23:30;2779:353;;;;;;;;98:8747;;;;;;;;;;;;;;;;;;;;;;;;;;;;6447:13;98:8747;-1:-1:-1;;;;;98:8747:30;;6447:21;;;;;98:8747;;;;;;;;;;;;;;;6447:21;;;;1671:64:2;6447:21:30;;;;;;;;;;98:8747;;6447:21;98:8747;;;;;;;;;;;;;;;;;;953:13;98:8747;;;-1:-1:-1;;;953:353:30;;;98:8747;;953:353;;98:8747;-1:-1:-1;;;;;98:8747:30;953:353;;98:8747;;;;;953:353;98:8747;953:353;;;;;:::i;:::-;;;;;;;;;;;;;;98:8747;;;;;1339:353;98:8747;;953:13;98:8747;;;;;;1339:353;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;98:8747;1703:23;1736:24;1703:23;;;;:::i;:::-;1736:24;:::i;1339:353::-;;;;;;;;;;;;;;;;:::i;:::-;;;98:8747;;;;1703:23;1736:24;98:8747;;1339:353;;;;;;;;;98:8747;;;;;;;;953:353;;;;;;;;;;;;;;;;;;:::i;:::-;;;98:8747;;;;;;953:353;;98:8747;;;;953:353;;;;;;;;98:8747;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5029:733:30;;;98:8747;;;;;;5029:733;98:8747;;;;;;;;;;;;;;:::i;5029:733::-;5782:13;98:8747;;;-1:-1:-1;;;5782:25:30;;;;;1671:64:2;;;98:8747:30;;;;;;;;-1:-1:-1;;;;;98:8747:30;5782:25;;;;;;;5809:83;5782:25;;;;;98:8747;5866:24;98:8747;5866:24;5816:75;5866:24;;:::i;:::-;98:8747;;5816:75;;98:8747;5029:733;5816:75;;98:8747;1671:64:2;;;98:8747:30;;5029:733;98:8747;;;1671:64:2;;;:::i;5782:25:30:-;5816:75;5782:25;;;5866:24;5782:25;98:8747;5782:25;;;;;;;;;;:::i;:::-;;;;;;;;98:8747;;;;;;;;;;;;;;;;;;;;;;;;7064:13;98:8747;;;-1:-1:-1;;;7064:353:30;;98:8747;;-1:-1:-1;;;;;98:8747:30;7064:353;;98:8747;;;;;7064:353;98:8747;7064:353;;;;;:::i;:::-;;;;;;;;;;;;;;98:8747;7428:17;;;;:::i;:::-;7064:13;98:8747;;7456:58;;;;;;;98:8747;;;;;;;;;;;;;;;7456:58;;;;98:8747;;1671:64:2;;98:8747:30;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;7064:353;;;;;;;;;;;;;;;;;;;:::i;:::-;;;98:8747;;;;;;;7064:353;;;;;;;-1:-1:-1;7064:353:30;;98:8747;;;;;;;;;;;;;;;;;1867:13;98:8747;;;-1:-1:-1;;;1867:353:30;;;98:8747;;1867:353;;98:8747;;;-1:-1:-1;;;;;98:8747:30;1867:353;;98:8747;;;;;1867:353;98:8747;1867:353;;;;;:::i;:::-;;;;;;;;;;;;;;;;;98:8747;2231:23;;;;:::i;:::-;1867:13;98:8747;;;;;;2287:359;;;;;;;;;;1899:42;1671:64:2;;98:8747:30;;;;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;1867:353::-;;;;;;;;;;;;;;;;:::i;:::-;;;98:8747;;;;2231:23;98:8747;;;1867:353;;;;;;;;;98:8747;;;;;;;;;;;;;;;;;;;;;;;;7588:13;98:8747;;;-1:-1:-1;;;7588:353:30;;98:8747;;-1:-1:-1;;;;;98:8747:30;7588:353;;98:8747;;;;;7588:353;98:8747;7588:353;;;;;:::i;:::-;;;;;;;;;;;;;;98:8747;7952:17;;;;:::i;:::-;7588:13;98:8747;;7980:57;;;;;;;98:8747;;;;;;;;;;;;;;;7980:57;;;;98:8747;;1671:64:2;;98:8747:30;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;7588:353;;;;;;;;;;;;;;;;;;;:::i;:::-;;;98:8747;;;;;;;7588:353;;;;;;;-1:-1:-1;7588:353:30;;98:8747;;;;;;;;;;;;;;;;217:42;;;;;;;;;;;;;;;;98:8747;217:42;;;;;;98:8747;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;217:42;;;;;;;;;;98:8747;;;;;;;;;;201:58;98:8747;;;201:58;98:8747;;;217:42;98:8747;;;;-1:-1:-1;98:8747:30;;;;;217:42;-1:-1:-1;;;1671:64:2;;;;;;;;98:8747:30;;;;;;;;;;;;;;;;8117:13;98:8747;-1:-1:-1;;;8117:353:30;;-1:-1:-1;;;;;98:8747:30;8117:353;;98:8747;;;;;8117:353;98:8747;8117:353;;;;;:::i;:::-;;;;;;;;;;;;;;98:8747;8481:17;;;;:::i;:::-;8117:13;98:8747;;8509:63;;;;;;98:8747;;;;;;;;;;;;;8509:63;;;;98:8747;;1671:64:2;;98:8747:30;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;8509:63;;;;;;;;;;;;;98:8747;;;8509:63;;;;:::i;8117:353::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;98:8747;;;;;8117:353;;;;;;;-1:-1:-1;8117:353:30;;;98:8747;;;;;;;;;;;;;;;;-1:-1:-1;;98:8747:30;;;;;1671:64:2;;;;;;;;:::o;:::-;;;;;;;;;;;;;98:8747:30;1671:64:2;;;;;;;;;;;98:8747:30;1671:64:2;:::o;:::-;98:8747:30;1671:64:2;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;1671:64:2;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1671:64:2;;;;:::o;:::-;;;;;;;;;;:::i;:::-;98:8747:30;1671:64:2;98:8747:30;;1671:64:2;;;:::i;:::-;;;;-1:-1:-1;1671:64:2;;;;:::o;:::-;;;:::o;1819:584::-;1873:7;98:8747:30;;;;;;;;;1873:7:2;98:8747:30;;;;1896:14:2;:::o;1869:528::-;-1:-1:-1;2939:104:2;;;;1980:374;;2367:19;;;:::o;1980:374::-;98:8747:30;;;;2196:43:2;;;;1671:64;;;;;;98:8747:30;1671:64:2;;;98:8747:30;2196:43:2;;;;;:::i;:::-;2086:175;1671:64;98:8747:30;;2086:175:2;;1671:64;2196:43;2086:175;;1671:64;;;;;;;;;;;;;;:::i;:::-;;;2086:175;1671:64;2086:175;;;;;;;:::i;:::-;2047:232;;;;;;;:::i;:::-;2196:43;1671:64;;;2312:27;;1671:64;;;;2196:43;2312:27;1671:64;98:8747:30;;;;1671:64:2;;;;2297:42;2367:19;:::o;98:8747:30:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1671:64:2;98:8747:30;;1671:64:2;;;:::i;:::-;98:8747:30;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;1671:64:2;;98:8747:30;;;;;;;;;;;;:::i;:::-;1671:64:2;;-1:-1:-1;;1671:64:2;98:8747:30;;;:::o;14688:344:2:-;98:8747:30;;;14773:19:2;;;;;;1671:64;14773:19;1671:64;;;;;;;;;;;:::i;:::-;;;14773:19;;;;;;;:::i;:::-;1671:64;14763:30;;98:8747:30;;14807:19:2;;;1671:64;14807:19;1671:64;;;;;;;;;;;;;:::i;14807:19::-;1671:64;14797:30;;14763:64;14759:267;;14688:344;;;;;:::o;14759:267::-;98:8747:30;;;;14848:43:2;98:8747:30;;;;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;14848:43:2;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;;;;;14910:33:2;98:8747:30;14910:33:2;98:8747:30;;;;:::i;:::-;14910:33:2;;;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;;;;;;:::i;:::-;14962:33:2;;;;;:::i;:::-;14759:267;;;;;;2410:424;2939:104;;;2445:359;;2410:424;98:8747:30;;;;2813:14:2;98:8747:30;;;2813:14:2;98:8747:30;2410:424:2:o;2445:359::-;98:8747:30;;2645:67:2;;;;1671:64;;;;;;;98:8747:30;;;1671:64:2;2705:4;98:8747:30;;;1671:64:2;98:8747:30;2645:67:2;;98:8747:30;1671:64:2;;;;;;;;;;;;-1:-1:-1;1671:64:2;2534:196;;1671:64;;;;98:8747:30;1671:64:2;2534:196;;;1671:64;;;;;;;;;;;;;;;;:::i;2534:196::-;2499:245;;;;;;;:::i;:::-;;2445:359;;;98:8747:30;;;;-1:-1:-1;;;98:8747:30;;;;;;;:::o;:::-;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;:::o;:::-;;;8149:42;1671:64:2;;98:8747:30;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;;;;;;;:::i;5202:262:2:-;5259:6;5255:203;;5202:262;:::o;5255:203::-;98:8747:30;;5286:41:2;98:8747:30;;;;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;5286:41:2;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;1671:64:2;5346:31;;;;;;;;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;1671:64:2;5396:31;;;;;:::i;:::-;5202:262::o;:::-;2679:1:30;5259:6:2;;5255:203;;5202:262;:::o;5255:203::-;98:8747:30;;5286:41:2;98:8747:30;;;;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;5286:41:2;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;2679:1;98:8747;;;1671:64:2;5346:31;;;;;;;;98:8747:30;;;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;;;;;;;;;;-1:-1:-1;;;98:8747:30;;;;;;;:::o;505:3026:23:-;1671:64:2;;795:16:23;791:31;;98:8747:30;;1671:64:2;;;:::i;:::-;98:8747:30;1671:64:2;;98:8747:30;;;;;;;;;;1671:64:2;;1357:1:23;345:66;;;;;;;;;1362:1;345:66;;;;;;;;;-1:-1:-1;;;;;345:66:23;;;;;1671:64:2;345:66:23;1671:64:2;;;:::i;:::-;98:8747:30;1671:64:2;98:8747:30;;1671:64:2;;;:::i;:::-;;;;345:66:23;:::i;:::-;98:8747:30;345:66:23;;;-1:-1:-1;;345:66:23;;;;1419:2082;;;;;;;;;;;;;;;;;;;;1362:1;1419:2082;1362:1;;;1419:2082;;;;3511:13;505:3026;:::o;1419:2082::-;;;-1:-1:-1;;1419:2082:23;;505:3026;:::o;1419:2082::-;-1:-1:-1;1419:2082:23;;;-1:-1:-1;;1419:2082:23;;;-1:-1:-1;;1419:2082:23;;505:3026;:::o;1419:2082::-;;1337:1;1419:2082;;;;;;;;;;98:8747:30;1419:2082:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;345:66;1671:64:2;;;810:1:23;345:66;;1337:1;345:66;;810:1;345:66;791:31;98:8747:30;;;1671:64:2;;;;;;;;;;;;98:8747:30;1671:64:2;810:1:23;1671:64:2;;813:9:23;:::o", - "linkReferences": {} - }, - "methodIdentifiers": { - "IS_TEST()": "fa7626d4", - "failed()": "ba414fa6", - "setUp()": "0a9254e4", - "testAddTokenController()": "6f86ff13", - "testBurn()": "e13aba48", - "testFailBurningNonExistantToken()": "4c540954", - "testFailCallingTokenURIOnNonExistantToken()": "454d4f3a", - "testMint()": "9642ddaf", - "testMintingMintedToken()": "4b0bdf69", - "testMintingMoreThanOneTokenForTheSameAddress()": "36587414", - "testMintingTwoTokensForTwoAddresses()": "52685877", - "testName()": "cc8668de", - "testRemoveTokenController()": "bf506ac4", - "testSetTokenBuild()": "4fd855ab", - "testSetTokenDescription()": "36d3d58f", - "testSetTokenENS()": "79950978", - "testSetTokenExternalURL()": "0982c482", - "testSetTokenImage()": "1a6f9349", - "testSetTokenName()": "b84446a3", - "testSymbol()": "77fc70c6", - "testTokenURI()": "b5b34603", - "testUpgradeTokenBuild()": "1df1ce65" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"log\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"log_address\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"val\",\"type\":\"uint256[]\"}],\"name\":\"log_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int256[]\",\"name\":\"val\",\"type\":\"int256[]\"}],\"name\":\"log_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"val\",\"type\":\"address[]\"}],\"name\":\"log_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"log_bytes\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"log_bytes32\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"name\":\"log_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"val\",\"type\":\"address\"}],\"name\":\"log_named_address\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"val\",\"type\":\"uint256[]\"}],\"name\":\"log_named_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256[]\",\"name\":\"val\",\"type\":\"int256[]\"}],\"name\":\"log_named_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"val\",\"type\":\"address[]\"}],\"name\":\"log_named_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"val\",\"type\":\"bytes\"}],\"name\":\"log_named_bytes\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"val\",\"type\":\"bytes32\"}],\"name\":\"log_named_bytes32\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"val\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"}],\"name\":\"log_named_decimal_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"}],\"name\":\"log_named_decimal_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"val\",\"type\":\"int256\"}],\"name\":\"log_named_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"val\",\"type\":\"string\"}],\"name\":\"log_named_string\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"log_named_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"log_string\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"log_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"logs\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"IS_TEST\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"failed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setUp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testAddTokenController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testBurn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testFailBurningNonExistantToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testFailCallingTokenURIOnNonExistantToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testMintingMintedToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testMintingMoreThanOneTokenForTheSameAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testMintingTwoTokensForTwoAddresses\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testRemoveTokenController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testSetTokenBuild\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testSetTokenDescription\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testSetTokenENS\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testSetTokenExternalURL\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testSetTokenImage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testSetTokenName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testSymbol\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testTokenURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testUpgradeTokenBuild\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"test/foundry/apps.t.sol\":\"ContractBTest\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"contracts/FleekAccessControl.sol\":{\"keccak256\":\"0x40cbb25741c2d6e285ab2ccee87f38fab424ce3746a17bca274a23c098f5e5c6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f9d495490984bf70d90d9f48d9fbee2480f62b8d796d2b5cd623ff3ee632e47a\",\"dweb:/ipfs/QmXuMpMizsvU1QiEDD3cqs1wen9pdSqSNBeSb112pQDpKd\"]},\"contracts/FleekERC721.sol\":{\"keccak256\":\"0x9e4fcee55fe6e907ced49d15fffd1fc62e48a0b4b25bd97b9ea5b5b127ce9623\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6fcc0c13cf0219a100d124ad7553fe3576975d0ac88e40b2de80659e26eedae2\",\"dweb:/ipfs/QmTn88WiAnyNBsWVayYDtJn2G4zooALvgXymvch8fksvka\"]},\"lib/forge-std/lib/ds-test/src/test.sol\":{\"keccak256\":\"0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5\",\"dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr\"]},\"lib/forge-std/src/Common.sol\":{\"keccak256\":\"0x3ed7f49e907eaf339c3bb0b79a81d303d0f9e37aa5b8a9854c0cbfc3ad9a3ef0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01c2532fb5fea32c6dc165518f2c4918af25d9139d17c11da330414c9797a70b\",\"dweb:/ipfs/QmV4r8a1e9Rgu2xoigVCuSv3fZ737wD2DXbV6ZmHXVUtDn\"]},\"lib/forge-std/src/Components.sol\":{\"keccak256\":\"0xd3b8ba6df58174d5d650a668dfa49eeee28b2b855514b9e793e1c0b69d747149\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cce2b2ca79d5ce993b91358ed3d588396295e0aba9bb923481c1ffa5058a0dcd\",\"dweb:/ipfs/QmPNymteQmLWk7SqQhNsF6Rbc3xFPY7xGb4fBKravHLXD3\"]},\"lib/forge-std/src/StdAssertions.sol\":{\"keccak256\":\"0xde2bdee8e0e530de3269da50ebba83f4f90dde817971488980b720281e3cde4d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cb3f05bb06b654db43f4ce38e22aa7e2296ee00615df5329623c08c9ac030f8d\",\"dweb:/ipfs/QmdKwTpFsTiDFmc8zGwbPRu8mDs4oiKdZvzSj3WpiiGaez\"]},\"lib/forge-std/src/StdCheats.sol\":{\"keccak256\":\"0xf0c5c17c4cdfd0de659cf5e58e0e1611b6ee53900d3ab8b07b871d71d0b37bc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://21ffda3891e7480d5fdbf7f5e9d539f0ed76204bca69738f8ee006395ef1e23e\",\"dweb:/ipfs/Qmbhbn8zVXrCyvhvoQ5AUSj3usVGqMbMSEHYkNPdbQKBxt\"]},\"lib/forge-std/src/StdError.sol\":{\"keccak256\":\"0xbf477b11a42d7611696956546bcfaa29317d1166bf65e402344599c05943fc77\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc2e117d1135e030862b96a6526a43feb38d396cc79857f1fb696d4eff0e5fd6\",\"dweb:/ipfs/QmdSuQ5RrQudTLsNmWXGEeVJX8gR5U9XPm6m4dwwuQnJrj\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x2291ee8f379552b86f34d98acb248d50442c7d4ab94aed03f1c8ddb6aea6852d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1ca6ca6fe35692428b507008b24e4ec4ba0cabaf58110fd0b4456a42e0166bdc\",\"dweb:/ipfs/QmUcSeXfYMyusrWxEdPRMeWFYhf9qD6YJaZXCVo29F4eus\"]},\"lib/forge-std/src/StdMath.sol\":{\"keccak256\":\"0xd90ad4fd8aeaeb8929964e686e769fdedd5eded3fc3815df194a0ab9f91a3fb2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7919b70f636c7b805223992f28ad1ad0145d6c1385b5931a3589aface5fe6c92\",\"dweb:/ipfs/QmY7FRaULwoGgFteF8GawjQJRfasNgpWnU2aiMsFrYpuTC\"]},\"lib/forge-std/src/StdStorage.sol\":{\"keccak256\":\"0xb0da85ce6999940eba6190a26c15b9bc7aede57123891287e1b30f80333a9cf5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d287fd41de40ef992588f7a9531e66d1e9f8e4f3f194b9e721ac576d4613964a\",\"dweb:/ipfs/QmbFYYjoc8WGLKVfDe4rscYPwdGq48incbwRQNoLtcMMjn\"]},\"lib/forge-std/src/StdUtils.sol\":{\"keccak256\":\"0x216818221765c43713791708d7dc83fcd5ada81766c9d4ce54551528c191a59f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3f03d0ef065ce600e5922f3e9c92f0f54ff7c12895a250fa97d83e9ee38e7e2b\",\"dweb:/ipfs/QmX59m9mNRNEhjhEZnxbDirniesi26pnDaNzF5hPB4A3E8\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x6dc670615c9d04adf786ed4f18095b2142311c93dfda6459732da919d9113c17\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4eb56f37ea1c9bb72d2064b5e8fd134dd871dd0a9a3e081995c0fa52dd82c74\",\"dweb:/ipfs/QmbQZeD1RfPWjUSZ8iEdUYoLBn1PuSHvSYzZ7V9rLrRK4T\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69\",\"dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0x225cc1ec33efd35c90e78aec0792ed9751cd6217e646271172421e96e2e2cc0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c6adbd216e40ca2387835b8618c82e7153cb826023d38943bbb0c2e992644aa\",\"dweb:/ipfs/QmZeejwEkm7iH9NHih7dPbuNqivuFn27EkgJesgByzS9wD\"]},\"node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x67e3daf189111d6d5b0464ed09cf9f0605a22c4b965a7fcecd707101faff008a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbbb1a75e4064d564bf69e74970eef35064e51fcc09cbf3589aee7faa60d6afe\",\"dweb:/ipfs/QmYfAtQwFSGmxomnyAV3tpBDbfDwiFXV61osWW2zzQVg5Q\"]},\"node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0xd89f3585b211fc9e3408384a4c4efdc3a93b2f877a3821046fa01c219d35be1b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5ea15ef7c8980240ccd46df13809d163f749bc0a01d8bced1875660d4872da1c\",\"dweb:/ipfs/QmbDfAT9VeCSG4cnPd6tjDMp8ED85dLHbWyMyv7wbmL4CH\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xa82b58eca1ee256be466e536706850163d2ec7821945abd6b4778cfb3bee37da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e75cf83beb757b8855791088546b8337e9d4684e169400c20d44a515353b708\",\"dweb:/ipfs/QmYvPafLfoquiDMEj7CKHtvbgHu7TJNPSVPSCjrtjV8HjV\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146\",\"dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf\"]},\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ec772b45a624be516f1c81970caa8a2e144301e9d0921cbc1a2789fef39a1269\",\"dweb:/ipfs/QmNyjwxCrGhQMyzLD93oUobJXVe9ceJvRvfXwbEtuxPiEj\"]},\"node_modules/@openzeppelin/contracts/utils/Base64.sol\":{\"keccak256\":\"0x5f3461639fe20794cfb4db4a6d8477388a15b2e70a018043084b7c4bedfa8136\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://77e5309e2cc4cdc3395214edb0ff43ff5a5f7373f5a425383e540f6fab530f96\",\"dweb:/ipfs/QmTV8DZ9knJDa3b5NPBFQqjvTzodyZVjRUg5mx5A99JPLJ\"]},\"node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"node_modules/@openzeppelin/contracts/utils/Counters.sol\":{\"keccak256\":\"0xf0018c2440fbe238dd3a8732fa8e17a0f9dce84d31451dc8a32f6d62b349c9f1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://59e1c62884d55b70f3ae5432b44bb3166ad71ae3acd19c57ab6ddc3c87c325ee\",\"dweb:/ipfs/QmezuXg5GK5oeA4F91EZhozBFekhq5TD966bHPH18cCqhu\"]},\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634\",\"dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"node_modules/@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b\",\"dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz\"]},\"test/foundry/apps.t.sol\":{\"keccak256\":\"0xac9bef2d8fe4c189367bdd99c5c0d5e4492f97ecf9fb27e5901c1bbd56b77a6a\",\"urls\":[\"bzz-raw://22b3b76b0c7588edd297905daf6f84cafa9223b17bc3531741ab076b3f27c33b\",\"dweb:/ipfs/QmVNiV5PYshu5Xpy2smqWBJWy1t2yXAzWX2Zv3sT2Fx91w\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string", - "indexed": false - } - ], - "type": "event", - "name": "log", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "log_address", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "val", - "type": "uint256[]", - "indexed": false - } - ], - "type": "event", - "name": "log_array", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "int256[]", - "name": "val", - "type": "int256[]", - "indexed": false - } - ], - "type": "event", - "name": "log_array", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "val", - "type": "address[]", - "indexed": false - } - ], - "type": "event", - "name": "log_array", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "log_bytes", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32", - "indexed": false - } - ], - "type": "event", - "name": "log_bytes32", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256", - "indexed": false - } - ], - "type": "event", - "name": "log_int", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "address", - "name": "val", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "log_named_address", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "uint256[]", - "name": "val", - "type": "uint256[]", - "indexed": false - } - ], - "type": "event", - "name": "log_named_array", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "int256[]", - "name": "val", - "type": "int256[]", - "indexed": false - } - ], - "type": "event", - "name": "log_named_array", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "address[]", - "name": "val", - "type": "address[]", - "indexed": false - } - ], - "type": "event", - "name": "log_named_array", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "bytes", - "name": "val", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "log_named_bytes", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "bytes32", - "name": "val", - "type": "bytes32", - "indexed": false - } - ], - "type": "event", - "name": "log_named_bytes32", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "int256", - "name": "val", - "type": "int256", - "indexed": false - }, - { - "internalType": "uint256", - "name": "decimals", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "log_named_decimal_int", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "uint256", - "name": "val", - "type": "uint256", - "indexed": false - }, - { - "internalType": "uint256", - "name": "decimals", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "log_named_decimal_uint", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "int256", - "name": "val", - "type": "int256", - "indexed": false - } - ], - "type": "event", - "name": "log_named_int", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "string", - "name": "val", - "type": "string", - "indexed": false - } - ], - "type": "event", - "name": "log_named_string", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "uint256", - "name": "val", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "log_named_uint", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string", - "indexed": false - } - ], - "type": "event", - "name": "log_string", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "log_uint", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "logs", - "anonymous": false - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "IS_TEST", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "failed", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "setUp" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testAddTokenController" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testBurn" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testFailBurningNonExistantToken" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testFailCallingTokenURIOnNonExistantToken" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testMint" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testMintingMintedToken" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testMintingMoreThanOneTokenForTheSameAddress" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testMintingTwoTokensForTwoAddresses" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testName" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testRemoveTokenController" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testSetTokenBuild" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testSetTokenDescription" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testSetTokenENS" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testSetTokenExternalURL" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testSetTokenImage" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testSetTokenName" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testSymbol" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testTokenURI" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testUpgradeTokenBuild" - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "test/foundry/apps.t.sol": "ContractBTest" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "contracts/FleekAccessControl.sol": { - "keccak256": "0x40cbb25741c2d6e285ab2ccee87f38fab424ce3746a17bca274a23c098f5e5c6", - "urls": [ - "bzz-raw://f9d495490984bf70d90d9f48d9fbee2480f62b8d796d2b5cd623ff3ee632e47a", - "dweb:/ipfs/QmXuMpMizsvU1QiEDD3cqs1wen9pdSqSNBeSb112pQDpKd" - ], - "license": "MIT" - }, - "contracts/FleekERC721.sol": { - "keccak256": "0x9e4fcee55fe6e907ced49d15fffd1fc62e48a0b4b25bd97b9ea5b5b127ce9623", - "urls": [ - "bzz-raw://6fcc0c13cf0219a100d124ad7553fe3576975d0ac88e40b2de80659e26eedae2", - "dweb:/ipfs/QmTn88WiAnyNBsWVayYDtJn2G4zooALvgXymvch8fksvka" - ], - "license": "MIT" - }, - "lib/forge-std/lib/ds-test/src/test.sol": { - "keccak256": "0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54", - "urls": [ - "bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5", - "dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr" - ], - "license": "GPL-3.0-or-later" - }, - "lib/forge-std/src/Common.sol": { - "keccak256": "0x3ed7f49e907eaf339c3bb0b79a81d303d0f9e37aa5b8a9854c0cbfc3ad9a3ef0", - "urls": [ - "bzz-raw://01c2532fb5fea32c6dc165518f2c4918af25d9139d17c11da330414c9797a70b", - "dweb:/ipfs/QmV4r8a1e9Rgu2xoigVCuSv3fZ737wD2DXbV6ZmHXVUtDn" - ], - "license": "MIT" - }, - "lib/forge-std/src/Components.sol": { - "keccak256": "0xd3b8ba6df58174d5d650a668dfa49eeee28b2b855514b9e793e1c0b69d747149", - "urls": [ - "bzz-raw://cce2b2ca79d5ce993b91358ed3d588396295e0aba9bb923481c1ffa5058a0dcd", - "dweb:/ipfs/QmPNymteQmLWk7SqQhNsF6Rbc3xFPY7xGb4fBKravHLXD3" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdAssertions.sol": { - "keccak256": "0xde2bdee8e0e530de3269da50ebba83f4f90dde817971488980b720281e3cde4d", - "urls": [ - "bzz-raw://cb3f05bb06b654db43f4ce38e22aa7e2296ee00615df5329623c08c9ac030f8d", - "dweb:/ipfs/QmdKwTpFsTiDFmc8zGwbPRu8mDs4oiKdZvzSj3WpiiGaez" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdCheats.sol": { - "keccak256": "0xf0c5c17c4cdfd0de659cf5e58e0e1611b6ee53900d3ab8b07b871d71d0b37bc6", - "urls": [ - "bzz-raw://21ffda3891e7480d5fdbf7f5e9d539f0ed76204bca69738f8ee006395ef1e23e", - "dweb:/ipfs/Qmbhbn8zVXrCyvhvoQ5AUSj3usVGqMbMSEHYkNPdbQKBxt" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdError.sol": { - "keccak256": "0xbf477b11a42d7611696956546bcfaa29317d1166bf65e402344599c05943fc77", - "urls": [ - "bzz-raw://bc2e117d1135e030862b96a6526a43feb38d396cc79857f1fb696d4eff0e5fd6", - "dweb:/ipfs/QmdSuQ5RrQudTLsNmWXGEeVJX8gR5U9XPm6m4dwwuQnJrj" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdJson.sol": { - "keccak256": "0x2291ee8f379552b86f34d98acb248d50442c7d4ab94aed03f1c8ddb6aea6852d", - "urls": [ - "bzz-raw://1ca6ca6fe35692428b507008b24e4ec4ba0cabaf58110fd0b4456a42e0166bdc", - "dweb:/ipfs/QmUcSeXfYMyusrWxEdPRMeWFYhf9qD6YJaZXCVo29F4eus" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdMath.sol": { - "keccak256": "0xd90ad4fd8aeaeb8929964e686e769fdedd5eded3fc3815df194a0ab9f91a3fb2", - "urls": [ - "bzz-raw://7919b70f636c7b805223992f28ad1ad0145d6c1385b5931a3589aface5fe6c92", - "dweb:/ipfs/QmY7FRaULwoGgFteF8GawjQJRfasNgpWnU2aiMsFrYpuTC" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdStorage.sol": { - "keccak256": "0xb0da85ce6999940eba6190a26c15b9bc7aede57123891287e1b30f80333a9cf5", - "urls": [ - "bzz-raw://d287fd41de40ef992588f7a9531e66d1e9f8e4f3f194b9e721ac576d4613964a", - "dweb:/ipfs/QmbFYYjoc8WGLKVfDe4rscYPwdGq48incbwRQNoLtcMMjn" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdUtils.sol": { - "keccak256": "0x216818221765c43713791708d7dc83fcd5ada81766c9d4ce54551528c191a59f", - "urls": [ - "bzz-raw://3f03d0ef065ce600e5922f3e9c92f0f54ff7c12895a250fa97d83e9ee38e7e2b", - "dweb:/ipfs/QmX59m9mNRNEhjhEZnxbDirniesi26pnDaNzF5hPB4A3E8" - ], - "license": "MIT" - }, - "lib/forge-std/src/Test.sol": { - "keccak256": "0x6dc670615c9d04adf786ed4f18095b2142311c93dfda6459732da919d9113c17", - "urls": [ - "bzz-raw://b4eb56f37ea1c9bb72d2064b5e8fd134dd871dd0a9a3e081995c0fa52dd82c74", - "dweb:/ipfs/QmbQZeD1RfPWjUSZ8iEdUYoLBn1PuSHvSYzZ7V9rLrRK4T" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xf4442ded918d167635adc30ba3c451d45666c89b38e0eec2adaf0857b49a72f7", - "urls": [ - "bzz-raw://b4cb181bd626fe852a36f9b1cf2d79ef0fa9d2bf2cbf0ec86f33f5bf492c0b69", - "dweb:/ipfs/QmaZKevWdZbjoTB7qtzKjP3dZhiUGymJc4Wb9qkNMewxjB" - ], - "license": "MIT" - }, - "lib/forge-std/src/console.sol": { - "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", - "urls": [ - "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", - "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" - ], - "license": "MIT" - }, - "lib/forge-std/src/console2.sol": { - "keccak256": "0x225cc1ec33efd35c90e78aec0792ed9751cd6217e646271172421e96e2e2cc0f", - "urls": [ - "bzz-raw://6c6adbd216e40ca2387835b8618c82e7153cb826023d38943bbb0c2e992644aa", - "dweb:/ipfs/QmZeejwEkm7iH9NHih7dPbuNqivuFn27EkgJesgByzS9wD" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/access/AccessControl.sol": { - "keccak256": "0x67e3daf189111d6d5b0464ed09cf9f0605a22c4b965a7fcecd707101faff008a", - "urls": [ - "bzz-raw://cbbb1a75e4064d564bf69e74970eef35064e51fcc09cbf3589aee7faa60d6afe", - "dweb:/ipfs/QmYfAtQwFSGmxomnyAV3tpBDbfDwiFXV61osWW2zzQVg5Q" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/access/IAccessControl.sol": { - "keccak256": "0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57", - "urls": [ - "bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a", - "dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol": { - "keccak256": "0xd89f3585b211fc9e3408384a4c4efdc3a93b2f877a3821046fa01c219d35be1b", - "urls": [ - "bzz-raw://5ea15ef7c8980240ccd46df13809d163f749bc0a01d8bced1875660d4872da1c", - "dweb:/ipfs/QmbDfAT9VeCSG4cnPd6tjDMp8ED85dLHbWyMyv7wbmL4CH" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": { - "keccak256": "0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68", - "urls": [ - "bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56", - "dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": { - "keccak256": "0xa82b58eca1ee256be466e536706850163d2ec7821945abd6b4778cfb3bee37da", - "urls": [ - "bzz-raw://6e75cf83beb757b8855791088546b8337e9d4684e169400c20d44a515353b708", - "dweb:/ipfs/QmYvPafLfoquiDMEj7CKHtvbgHu7TJNPSVPSCjrtjV8HjV" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol": { - "keccak256": "0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9", - "urls": [ - "bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146", - "dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Address.sol": { - "keccak256": "0xf96f969e24029d43d0df89e59d365f277021dac62b48e1c1e3ebe0acdd7f1ca1", - "urls": [ - "bzz-raw://ec772b45a624be516f1c81970caa8a2e144301e9d0921cbc1a2789fef39a1269", - "dweb:/ipfs/QmNyjwxCrGhQMyzLD93oUobJXVe9ceJvRvfXwbEtuxPiEj" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Base64.sol": { - "keccak256": "0x5f3461639fe20794cfb4db4a6d8477388a15b2e70a018043084b7c4bedfa8136", - "urls": [ - "bzz-raw://77e5309e2cc4cdc3395214edb0ff43ff5a5f7373f5a425383e540f6fab530f96", - "dweb:/ipfs/QmTV8DZ9knJDa3b5NPBFQqjvTzodyZVjRUg5mx5A99JPLJ" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Context.sol": { - "keccak256": "0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7", - "urls": [ - "bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92", - "dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Counters.sol": { - "keccak256": "0xf0018c2440fbe238dd3a8732fa8e17a0f9dce84d31451dc8a32f6d62b349c9f1", - "urls": [ - "bzz-raw://59e1c62884d55b70f3ae5432b44bb3166ad71ae3acd19c57ab6ddc3c87c325ee", - "dweb:/ipfs/QmezuXg5GK5oeA4F91EZhozBFekhq5TD966bHPH18cCqhu" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Strings.sol": { - "keccak256": "0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a", - "urls": [ - "bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634", - "dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": { - "keccak256": "0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b", - "urls": [ - "bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d", - "dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { - "keccak256": "0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1", - "urls": [ - "bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f", - "dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/math/Math.sol": { - "keccak256": "0xa1e8e83cd0087785df04ac79fb395d9f3684caeaf973d9e2c71caef723a3a5d6", - "urls": [ - "bzz-raw://33bbf48cc069be677705037ba7520c22b1b622c23b33e1a71495f2d36549d40b", - "dweb:/ipfs/Qmct36zWXv3j7LZB83uwbg7TXwnZSN1fqHNDZ93GG98bGz" - ], - "license": "MIT" - }, - "test/foundry/apps.t.sol": { - "keccak256": "0xac9bef2d8fe4c189367bdd99c5c0d5e4492f97ecf9fb27e5901c1bbd56b77a6a", - "urls": [ - "bzz-raw://22b3b76b0c7588edd297905daf6f84cafa9223b17bc3531741ab076b3f27c33b", - "dweb:/ipfs/QmVNiV5PYshu5Xpy2smqWBJWy1t2yXAzWX2Zv3sT2Fx91w" - ], - "license": null - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "test/foundry/apps.t.sol", - "id": 28933, - "exportedSymbols": { - "AccessControl": [ - 25721 - ], - "Address": [ - 27230 - ], - "Base64": [ - 27277 - ], - "CommonBase": [ - 2564 - ], - "Context": [ - 27299 - ], - "ContractBTest": [ - 28932 - ], - "Counters": [ - 27373 - ], - "DSTest": [ - 2532 - ], - "ERC165": [ - 27572 - ], - "ERC721": [ - 26739 - ], - "FleekAccessControl": [ - 99 - ], - "FleekERC721": [ - 745 - ], - "IAccessControl": [ - 25794 - ], - "IERC165": [ - 27584 - ], - "IERC721": [ - 26855 - ], - "IERC721Metadata": [ - 26900 - ], - "IERC721Receiver": [ - 26873 - ], - "Math": [ - 28449 - ], - "StdAssertions": [ - 3390 - ], - "StdCheats": [ - 5503 - ], - "StdStorage": [ - 6408 - ], - "StdUtils": [ - 8271 - ], - "Strings": [ - 27548 - ], - "Test": [ - 8302 - ], - "TestBase": [ - 8291 - ], - "Vm": [ - 9276 - ], - "console": [ - 17340 - ], - "console2": [ - 25405 - ], - "stdError": [ - 5569 - ], - "stdJson": [ - 6235 - ], - "stdMath": [ - 6377 - ], - "stdStorage": [ - 7842 - ] - }, - "nodeType": "SourceUnit", - "src": "0:8846:30", - "nodes": [ - { - "id": 28451, - "nodeType": "PragmaDirective", - "src": "0:23:30", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".7" - ] - }, - { - "id": 28452, - "nodeType": "ImportDirective", - "src": "25:28:30", - "nodes": [], - "absolutePath": "lib/forge-std/src/Test.sol", - "file": "forge-std/Test.sol", - "nameLocation": "-1:-1:-1", - "scope": 28933, - "sourceUnit": 8303, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 28453, - "nodeType": "ImportDirective", - "src": "54:41:30", - "nodes": [], - "absolutePath": "contracts/FleekERC721.sol", - "file": "../../contracts/FleekERC721.sol", - "nameLocation": "-1:-1:-1", - "scope": 28933, - "sourceUnit": 746, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 28932, - "nodeType": "ContractDefinition", - "src": "98:8747:30", - "nodes": [ - { - "id": 28458, - "nodeType": "VariableDeclaration", - "src": "135:25:30", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "fleekContract", - "nameLocation": "147:13:30", - "scope": 28932, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - }, - "typeName": { - "id": 28457, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 28456, - "name": "FleekERC721", - "nameLocations": [ - "135:11:30" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 745, - "src": "135:11:30" - }, - "referencedDeclaration": 745, - "src": "135:11:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "visibility": "internal" - }, - { - "id": 28471, - "nodeType": "FunctionDefinition", - "src": "167:99:30", - "nodes": [], - "body": { - "id": 28470, - "nodeType": "Block", - "src": "191:75:30", - "nodes": [], - "statements": [ - { - "expression": { - "id": 28468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28461, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "201:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "hexValue": "5465737420436f6e7472616374", - "id": 28465, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "233:15:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9704ce2029114bdc2cacb889112e25a853a758a7f6e2059fa8732e626e6d79e6", - "typeString": "literal_string \"Test Contract\"" - }, - "value": "Test Contract" - }, - { - "hexValue": "464c4b415053", - "id": 28466, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "250:8:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8882386937a9c07d3780822948f15cbbdc00471a5fb5b58794d93db5ee833476", - "typeString": "literal_string \"FLKAPS\"" - }, - "value": "FLKAPS" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9704ce2029114bdc2cacb889112e25a853a758a7f6e2059fa8732e626e6d79e6", - "typeString": "literal_string \"Test Contract\"" - }, - { - "typeIdentifier": "t_stringliteral_8882386937a9c07d3780822948f15cbbdc00471a5fb5b58794d93db5ee833476", - "typeString": "literal_string \"FLKAPS\"" - } - ], - "id": 28464, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "217:15:30", - "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_contract$_FleekERC721_$745_$", - "typeString": "function (string memory,string memory) returns (contract FleekERC721)" - }, - "typeName": { - "id": 28463, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 28462, - "name": "FleekERC721", - "nameLocations": [ - "221:11:30" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 745, - "src": "221:11:30" - }, - "referencedDeclaration": 745, - "src": "221:11:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - } - }, - "id": 28467, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "217:42:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "src": "201:58:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28469, - "nodeType": "ExpressionStatement", - "src": "201:58:30" - } - ] - }, - "functionSelector": "0a9254e4", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setUp", - "nameLocation": "176:5:30", - "parameters": { - "id": 28459, - "nodeType": "ParameterList", - "parameters": [], - "src": "181:2:30" - }, - "returnParameters": { - "id": 28460, - "nodeType": "ParameterList", - "parameters": [], - "src": "191:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28482, - "nodeType": "FunctionDefinition", - "src": "276:91:30", - "nodes": [], - "body": { - "id": 28481, - "nodeType": "Block", - "src": "303:64:30", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 28475, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "322:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "336:4:30", - "memberName": "name", - "nodeType": "MemberAccess", - "referencedDeclaration": 25950, - "src": "322:18:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_string_memory_ptr_$", - "typeString": "function () view external returns (string memory)" - } - }, - "id": 28477, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "322:20:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "5465737420436f6e7472616374", - "id": 28478, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "344:15:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9704ce2029114bdc2cacb889112e25a853a758a7f6e2059fa8732e626e6d79e6", - "typeString": "literal_string \"Test Contract\"" - }, - "value": "Test Contract" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_9704ce2029114bdc2cacb889112e25a853a758a7f6e2059fa8732e626e6d79e6", - "typeString": "literal_string \"Test Contract\"" - } - ], - "id": 28474, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2693, - 2718, - 2731, - 2747, - 2789, - 2831, - 2873, - 2910, - 2947, - 2984, - 1066, - 1091, - 1121, - 1146, - 1205, - 1230, - 1260, - 1285, - 2385, - 2420 - ], - "referencedDeclaration": 2385, - "src": "313:8:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 28479, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "313:47:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28480, - "nodeType": "ExpressionStatement", - "src": "313:47:30" - } - ] - }, - "functionSelector": "cc8668de", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testName", - "nameLocation": "285:8:30", - "parameters": { - "id": 28472, - "nodeType": "ParameterList", - "parameters": [], - "src": "293:2:30" - }, - "returnParameters": { - "id": 28473, - "nodeType": "ParameterList", - "parameters": [], - "src": "303:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28493, - "nodeType": "FunctionDefinition", - "src": "373:88:30", - "nodes": [], - "body": { - "id": 28492, - "nodeType": "Block", - "src": "402:59:30", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 28486, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "421:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28487, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "435:6:30", - "memberName": "symbol", - "nodeType": "MemberAccess", - "referencedDeclaration": 25960, - "src": "421:20:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_string_memory_ptr_$", - "typeString": "function () view external returns (string memory)" - } - }, - "id": 28488, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "421:22:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "464c4b415053", - "id": 28489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "445:8:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8882386937a9c07d3780822948f15cbbdc00471a5fb5b58794d93db5ee833476", - "typeString": "literal_string \"FLKAPS\"" - }, - "value": "FLKAPS" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_8882386937a9c07d3780822948f15cbbdc00471a5fb5b58794d93db5ee833476", - "typeString": "literal_string \"FLKAPS\"" - } - ], - "id": 28485, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2693, - 2718, - 2731, - 2747, - 2789, - 2831, - 2873, - 2910, - 2947, - 2984, - 1066, - 1091, - 1121, - 1146, - 1205, - 1230, - 1260, - 1285, - 2385, - 2420 - ], - "referencedDeclaration": 2385, - "src": "412:8:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 28490, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "412:42:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28491, - "nodeType": "ExpressionStatement", - "src": "412:42:30" - } - ] - }, - "functionSelector": "77fc70c6", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testSymbol", - "nameLocation": "382:10:30", - "parameters": { - "id": 28483, - "nodeType": "ParameterList", - "parameters": [], - "src": "392:2:30" - }, - "returnParameters": { - "id": 28484, - "nodeType": "ParameterList", - "parameters": [], - "src": "402:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28516, - "nodeType": "FunctionDefinition", - "src": "467:408:30", - "nodes": [], - "body": { - "id": 28515, - "nodeType": "Block", - "src": "494:381:30", - "nodes": [], - "statements": [ - { - "assignments": [ - 28497 - ], - "declarations": [ - { - "constant": false, - "id": 28497, - "mutability": "mutable", - "name": "mint", - "nameLocation": "512:4:30", - "nodeType": "VariableDeclaration", - "scope": 28515, - "src": "504:12:30", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28496, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "504:7:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28509, - "initialValue": { - "arguments": [ - { - "hexValue": "307862346337396461423866323539433741656536453562324161373239383231383634323237653834", - "id": 28500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "547:42:30", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84" - }, - { - "hexValue": "466f756e647279205465737420417070", - "id": 28501, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "599:18:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - "value": "Foundry Test App" - }, - { - "hexValue": "5468697320697320612074657374206170706c69636174696f6e207375626d697474656420627920666f756e6472792074657374732e", - "id": 28502, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "627:56:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - "value": "This is a test application submitted by foundry tests." - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "693:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28504, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "722:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "666c65656b5f78797a", - "id": 28505, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "751:11:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - "value": "fleek_xyz" - }, - { - "hexValue": "61666666336636", - "id": 28506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "772:9:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - "value": "afff3f6" - }, - { - "hexValue": "68747470733a2f2f6769746875622e636f6d2f666c65656b78797a2f636f6e747261637473", - "id": 28507, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "791:39:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - }, - "value": "https://github.com/fleekxyz/contracts" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - } - ], - "expression": { - "id": 28498, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "519:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28499, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "533:4:30", - "memberName": "mint", - "nodeType": "MemberAccess", - "referencedDeclaration": 312, - "src": "519:18:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_address_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,string memory,string memory,string memory,string memory,string memory,string memory,string memory) payable external returns (uint256)" - } - }, - "id": 28508, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "519:321:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "504:336:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28511, - "name": "mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28497, - "src": "860:4:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "30", - "id": 28512, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "866:1:30", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 28510, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2693, - 2718, - 2731, - 2747, - 2789, - 2831, - 2873, - 2910, - 2947, - 2984, - 1066, - 1091, - 1121, - 1146, - 1205, - 1230, - 1260, - 1285, - 2385, - 2420 - ], - "referencedDeclaration": 1260, - "src": "851:8:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 28513, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "851:17:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28514, - "nodeType": "ExpressionStatement", - "src": "851:17:30" - } - ] - }, - "functionSelector": "9642ddaf", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testMint", - "nameLocation": "476:8:30", - "parameters": { - "id": 28494, - "nodeType": "ParameterList", - "parameters": [], - "src": "484:2:30" - }, - "returnParameters": { - "id": 28495, - "nodeType": "ParameterList", - "parameters": [], - "src": "494:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28558, - "nodeType": "FunctionDefinition", - "src": "881:886:30", - "nodes": [], - "body": { - "id": 28557, - "nodeType": "Block", - "src": "922:845:30", - "nodes": [], - "statements": [ - { - "assignments": [ - 28520 - ], - "declarations": [ - { - "constant": false, - "id": 28520, - "mutability": "mutable", - "name": "first_mint", - "nameLocation": "940:10:30", - "nodeType": "VariableDeclaration", - "scope": 28557, - "src": "932:18:30", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28519, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "932:7:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28532, - "initialValue": { - "arguments": [ - { - "hexValue": "307862346337396461423866323539433741656536453562324161373239383231383634323237653834", - "id": 28523, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "985:42:30", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84" - }, - { - "hexValue": "466f756e647279205465737420417070", - "id": 28524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1041:18:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - "value": "Foundry Test App" - }, - { - "hexValue": "5468697320697320612074657374206170706c69636174696f6e207375626d697474656420627920666f756e6472792074657374732e", - "id": 28525, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1073:56:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - "value": "This is a test application submitted by foundry tests." - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1143:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28527, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1176:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "666c65656b5f78797a", - "id": 28528, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1209:11:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - "value": "fleek_xyz" - }, - { - "hexValue": "61666666336636", - "id": 28529, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1234:9:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - "value": "afff3f6" - }, - { - "hexValue": "68747470733a2f2f6769746875622e636f6d2f666c65656b78797a2f636f6e747261637473", - "id": 28530, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1257:39:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - }, - "value": "https://github.com/fleekxyz/contracts" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - } - ], - "expression": { - "id": 28521, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "953:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28522, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "967:4:30", - "memberName": "mint", - "nodeType": "MemberAccess", - "referencedDeclaration": 312, - "src": "953:18:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_address_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,string memory,string memory,string memory,string memory,string memory,string memory,string memory) payable external returns (uint256)" - } - }, - "id": 28531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "953:353:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "932:374:30" - }, - { - "assignments": [ - 28534 - ], - "declarations": [ - { - "constant": false, - "id": 28534, - "mutability": "mutable", - "name": "second_mint", - "nameLocation": "1325:11:30", - "nodeType": "VariableDeclaration", - "scope": 28557, - "src": "1317:19:30", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28533, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1317:7:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28546, - "initialValue": { - "arguments": [ - { - "hexValue": "307862346337396461423866323539433741656536453562324161373239383231383634323237653834", - "id": 28537, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1371:42:30", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84" - }, - { - "hexValue": "466f756e647279205465737420417070", - "id": 28538, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1427:18:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - "value": "Foundry Test App" - }, - { - "hexValue": "5468697320697320612074657374206170706c69636174696f6e207375626d697474656420627920666f756e6472792074657374732e", - "id": 28539, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1459:56:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - "value": "This is a test application submitted by foundry tests." - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28540, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1529:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28541, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1562:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "666c65656b5f78797a", - "id": 28542, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1595:11:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - "value": "fleek_xyz" - }, - { - "hexValue": "61666666336636", - "id": 28543, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1620:9:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - "value": "afff3f6" - }, - { - "hexValue": "68747470733a2f2f6769746875622e636f6d2f666c65656b78797a2f636f6e747261637473", - "id": 28544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1643:39:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - }, - "value": "https://github.com/fleekxyz/contracts" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - } - ], - "expression": { - "id": 28535, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "1339:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1353:4:30", - "memberName": "mint", - "nodeType": "MemberAccess", - "referencedDeclaration": 312, - "src": "1339:18:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_address_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,string memory,string memory,string memory,string memory,string memory,string memory,string memory) payable external returns (uint256)" - } - }, - "id": 28545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1339:353:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1317:375:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28548, - "name": "first_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28520, - "src": "1712:10:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "30", - "id": 28549, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1724:1:30", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 28547, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2693, - 2718, - 2731, - 2747, - 2789, - 2831, - 2873, - 2910, - 2947, - 2984, - 1066, - 1091, - 1121, - 1146, - 1205, - 1230, - 1260, - 1285, - 2385, - 2420 - ], - "referencedDeclaration": 1260, - "src": "1703:8:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 28550, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1703:23:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28551, - "nodeType": "ExpressionStatement", - "src": "1703:23:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28553, - "name": "second_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28534, - "src": "1745:11:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "31", - "id": 28554, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1758:1:30", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 28552, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2693, - 2718, - 2731, - 2747, - 2789, - 2831, - 2873, - 2910, - 2947, - 2984, - 1066, - 1091, - 1121, - 1146, - 1205, - 1230, - 1260, - 1285, - 2385, - 2420 - ], - "referencedDeclaration": 1260, - "src": "1736:8:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 28555, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1736:24:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28556, - "nodeType": "ExpressionStatement", - "src": "1736:24:30" - } - ] - }, - "functionSelector": "4b0bdf69", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testMintingMintedToken", - "nameLocation": "890:22:30", - "parameters": { - "id": 28517, - "nodeType": "ParameterList", - "parameters": [], - "src": "912:2:30" - }, - "returnParameters": { - "id": 28518, - "nodeType": "ParameterList", - "parameters": [], - "src": "922:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28600, - "nodeType": "FunctionDefinition", - "src": "1773:915:30", - "nodes": [], - "body": { - "id": 28599, - "nodeType": "Block", - "src": "1836:852:30", - "nodes": [], - "statements": [ - { - "assignments": [ - 28562 - ], - "declarations": [ - { - "constant": false, - "id": 28562, - "mutability": "mutable", - "name": "first_mint", - "nameLocation": "1854:10:30", - "nodeType": "VariableDeclaration", - "scope": 28599, - "src": "1846:18:30", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28561, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1846:7:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28574, - "initialValue": { - "arguments": [ - { - "hexValue": "307862346337396461423866323539433741656536453562324161373239383231383634323237653834", - "id": 28565, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1899:42:30", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84" - }, - { - "hexValue": "466f756e647279205465737420417070", - "id": 28566, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1955:18:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - "value": "Foundry Test App" - }, - { - "hexValue": "5468697320697320612074657374206170706c69636174696f6e207375626d697474656420627920666f756e6472792074657374732e", - "id": 28567, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1987:56:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - "value": "This is a test application submitted by foundry tests." - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28568, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2057:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28569, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2090:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "666c65656b5f78797a", - "id": 28570, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2123:11:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - "value": "fleek_xyz" - }, - { - "hexValue": "61666666336636", - "id": 28571, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2148:9:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - "value": "afff3f6" - }, - { - "hexValue": "68747470733a2f2f6769746875622e636f6d2f666c65656b78797a2f636f6e747261637473", - "id": 28572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2171:39:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - }, - "value": "https://github.com/fleekxyz/contracts" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - } - ], - "expression": { - "id": 28563, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "1867:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1881:4:30", - "memberName": "mint", - "nodeType": "MemberAccess", - "referencedDeclaration": 312, - "src": "1867:18:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_address_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,string memory,string memory,string memory,string memory,string memory,string memory,string memory) payable external returns (uint256)" - } - }, - "id": 28573, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1867:353:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1846:374:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28576, - "name": "first_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28562, - "src": "2240:10:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "30", - "id": 28577, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2252:1:30", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 28575, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2693, - 2718, - 2731, - 2747, - 2789, - 2831, - 2873, - 2910, - 2947, - 2984, - 1066, - 1091, - 1121, - 1146, - 1205, - 1230, - 1260, - 1285, - 2385, - 2420 - ], - "referencedDeclaration": 1260, - "src": "2231:8:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 28578, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2231:23:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28579, - "nodeType": "ExpressionStatement", - "src": "2231:23:30" - }, - { - "assignments": [ - 28581 - ], - "declarations": [ - { - "constant": false, - "id": 28581, - "mutability": "mutable", - "name": "second_mint", - "nameLocation": "2273:11:30", - "nodeType": "VariableDeclaration", - "scope": 28599, - "src": "2265:19:30", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28580, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2265:7:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28593, - "initialValue": { - "arguments": [ - { - "hexValue": "307862346337396461423866323539433741656536453562324161373239383231383634323237653834", - "id": 28584, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2319:42:30", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84" - }, - { - "hexValue": "466f756e6472792054657374204170702032", - "id": 28585, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2375:20:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5047416fbfaeeae9cd2998d4ee1f3f8d5931c0c6f4fa3fbb8618ab3751932a1d", - "typeString": "literal_string \"Foundry Test App 2\"" - }, - "value": "Foundry Test App 2" - }, - { - "hexValue": "5468697320697320612074657374206170706c69636174696f6e207375626d697474656420627920666f756e647279207465737473205b325d2e", - "id": 28586, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2409:60:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_97b0db00dab160583b7b51312a0e9a8bd64c7d3c770e8c57d83635a2d3f4f997", - "typeString": "literal_string \"This is a test application submitted by foundry tests [2].\"" - }, - "value": "This is a test application submitted by foundry tests [2]." - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28587, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2483:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28588, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2516:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "666c65656b5f78797a", - "id": 28589, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2549:11:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - "value": "fleek_xyz" - }, - { - "hexValue": "61666666336636", - "id": 28590, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2574:9:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - "value": "afff3f6" - }, - { - "hexValue": "68747470733a2f2f6769746875622e636f6d2f666c65656b78797a2f636f6e747261637473", - "id": 28591, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2597:39:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - }, - "value": "https://github.com/fleekxyz/contracts" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_5047416fbfaeeae9cd2998d4ee1f3f8d5931c0c6f4fa3fbb8618ab3751932a1d", - "typeString": "literal_string \"Foundry Test App 2\"" - }, - { - "typeIdentifier": "t_stringliteral_97b0db00dab160583b7b51312a0e9a8bd64c7d3c770e8c57d83635a2d3f4f997", - "typeString": "literal_string \"This is a test application submitted by foundry tests [2].\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - } - ], - "expression": { - "id": 28582, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "2287:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2301:4:30", - "memberName": "mint", - "nodeType": "MemberAccess", - "referencedDeclaration": 312, - "src": "2287:18:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_address_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,string memory,string memory,string memory,string memory,string memory,string memory,string memory) payable external returns (uint256)" - } - }, - "id": 28592, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2287:359:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2265:381:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28595, - "name": "second_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28581, - "src": "2666:11:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "31", - "id": 28596, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2679:1:30", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 28594, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2693, - 2718, - 2731, - 2747, - 2789, - 2831, - 2873, - 2910, - 2947, - 2984, - 1066, - 1091, - 1121, - 1146, - 1205, - 1230, - 1260, - 1285, - 2385, - 2420 - ], - "referencedDeclaration": 1260, - "src": "2657:8:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 28597, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2657:24:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28598, - "nodeType": "ExpressionStatement", - "src": "2657:24:30" - } - ] - }, - "functionSelector": "36587414", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testMintingMoreThanOneTokenForTheSameAddress", - "nameLocation": "1782:44:30", - "parameters": { - "id": 28559, - "nodeType": "ParameterList", - "parameters": [], - "src": "1826:2:30" - }, - "returnParameters": { - "id": 28560, - "nodeType": "ParameterList", - "parameters": [], - "src": "1836:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28645, - "nodeType": "FunctionDefinition", - "src": "2694:873:30", - "nodes": [], - "body": { - "id": 28644, - "nodeType": "Block", - "src": "2748:819:30", - "nodes": [], - "statements": [ - { - "assignments": [ - 28604 - ], - "declarations": [ - { - "constant": false, - "id": 28604, - "mutability": "mutable", - "name": "first_mint", - "nameLocation": "2766:10:30", - "nodeType": "VariableDeclaration", - "scope": 28644, - "src": "2758:18:30", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28603, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2758:7:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28616, - "initialValue": { - "arguments": [ - { - "hexValue": "307862346337396461423866323539433741656536453562324161373239383231383634323237653834", - "id": 28607, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2811:42:30", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84" - }, - { - "hexValue": "466f756e647279205465737420417070", - "id": 28608, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2867:18:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - "value": "Foundry Test App" - }, - { - "hexValue": "5468697320697320612074657374206170706c69636174696f6e207375626d697474656420627920666f756e6472792074657374732e", - "id": 28609, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2899:56:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - "value": "This is a test application submitted by foundry tests." - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28610, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2969:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28611, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3002:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "666c65656b5f78797a", - "id": 28612, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3035:11:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - "value": "fleek_xyz" - }, - { - "hexValue": "61666666336636", - "id": 28613, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3060:9:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - "value": "afff3f6" - }, - { - "hexValue": "68747470733a2f2f6769746875622e636f6d2f666c65656b78797a2f636f6e747261637473", - "id": 28614, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3083:39:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - }, - "value": "https://github.com/fleekxyz/contracts" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - } - ], - "expression": { - "id": 28605, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "2779:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28606, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2793:4:30", - "memberName": "mint", - "nodeType": "MemberAccess", - "referencedDeclaration": 312, - "src": "2779:18:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_address_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,string memory,string memory,string memory,string memory,string memory,string memory,string memory) payable external returns (uint256)" - } - }, - "id": 28615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2779:353:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2758:374:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28618, - "name": "first_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28604, - "src": "3152:10:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "30", - "id": 28619, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3164:1:30", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 28617, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2693, - 2718, - 2731, - 2747, - 2789, - 2831, - 2873, - 2910, - 2947, - 2984, - 1066, - 1091, - 1121, - 1146, - 1205, - 1230, - 1260, - 1285, - 2385, - 2420 - ], - "referencedDeclaration": 1260, - "src": "3143:8:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 28620, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3143:23:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28621, - "nodeType": "ExpressionStatement", - "src": "3143:23:30" - }, - { - "assignments": [ - 28623 - ], - "declarations": [ - { - "constant": false, - "id": 28623, - "mutability": "mutable", - "name": "second_mint", - "nameLocation": "3185:11:30", - "nodeType": "VariableDeclaration", - "scope": 28644, - "src": "3177:19:30", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28622, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3177:7:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28638, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 28628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3239:1:30", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 28627, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3231:7:30", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 28626, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3231:7:30", - "typeDescriptions": {} - } - }, - "id": 28629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3231:10:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "466f756e6472792054657374204170702032", - "id": 28630, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3255:20:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5047416fbfaeeae9cd2998d4ee1f3f8d5931c0c6f4fa3fbb8618ab3751932a1d", - "typeString": "literal_string \"Foundry Test App 2\"" - }, - "value": "Foundry Test App 2" - }, - { - "hexValue": "5468697320697320612074657374206170706c69636174696f6e207375626d697474656420627920666f756e6472792074657374735b325d2e", - "id": 28631, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3289:59:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a056c001dada01ec7199653289bb566776b9444b7fb42a7014f2c97b8de57f3b", - "typeString": "literal_string \"This is a test application submitted by foundry tests[2].\"" - }, - "value": "This is a test application submitted by foundry tests[2]." - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28632, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3362:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28633, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3395:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "666c65656b5f78797a", - "id": 28634, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3428:11:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - "value": "fleek_xyz" - }, - { - "hexValue": "61666666336636", - "id": 28635, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3453:9:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - "value": "afff3f6" - }, - { - "hexValue": "68747470733a2f2f6769746875622e636f6d2f666c65656b78797a2f636f6e747261637473", - "id": 28636, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3476:39:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - }, - "value": "https://github.com/fleekxyz/contracts" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_5047416fbfaeeae9cd2998d4ee1f3f8d5931c0c6f4fa3fbb8618ab3751932a1d", - "typeString": "literal_string \"Foundry Test App 2\"" - }, - { - "typeIdentifier": "t_stringliteral_a056c001dada01ec7199653289bb566776b9444b7fb42a7014f2c97b8de57f3b", - "typeString": "literal_string \"This is a test application submitted by foundry tests[2].\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - } - ], - "expression": { - "id": 28624, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "3199:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28625, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3213:4:30", - "memberName": "mint", - "nodeType": "MemberAccess", - "referencedDeclaration": 312, - "src": "3199:18:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_address_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,string memory,string memory,string memory,string memory,string memory,string memory,string memory) payable external returns (uint256)" - } - }, - "id": 28637, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3199:326:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3177:348:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28640, - "name": "second_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28623, - "src": "3545:11:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "31", - "id": 28641, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3558:1:30", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 28639, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2693, - 2718, - 2731, - 2747, - 2789, - 2831, - 2873, - 2910, - 2947, - 2984, - 1066, - 1091, - 1121, - 1146, - 1205, - 1230, - 1260, - 1285, - 2385, - 2420 - ], - "referencedDeclaration": 1260, - "src": "3536:8:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 28642, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3536:24:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28643, - "nodeType": "ExpressionStatement", - "src": "3536:24:30" - } - ] - }, - "functionSelector": "52685877", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testMintingTwoTokensForTwoAddresses", - "nameLocation": "2703:35:30", - "parameters": { - "id": 28601, - "nodeType": "ParameterList", - "parameters": [], - "src": "2738:2:30" - }, - "returnParameters": { - "id": 28602, - "nodeType": "ParameterList", - "parameters": [], - "src": "2748:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28710, - "nodeType": "FunctionDefinition", - "src": "3573:1357:30", - "nodes": [], - "body": { - "id": 28709, - "nodeType": "Block", - "src": "3604:1326:30", - "nodes": [], - "statements": [ - { - "assignments": [ - 28649 - ], - "declarations": [ - { - "constant": false, - "id": 28649, - "mutability": "mutable", - "name": "mint", - "nameLocation": "3622:4:30", - "nodeType": "VariableDeclaration", - "scope": 28709, - "src": "3614:12:30", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28648, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3614:7:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28661, - "initialValue": { - "arguments": [ - { - "hexValue": "307862346337396461423866323539433741656536453562324161373239383231383634323237653834", - "id": 28652, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3657:42:30", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84" - }, - { - "hexValue": "466f756e647279205465737420417070", - "id": 28653, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3709:18:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - "value": "Foundry Test App" - }, - { - "hexValue": "5468697320697320612074657374206170706c69636174696f6e207375626d697474656420627920666f756e6472792074657374732e", - "id": 28654, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3737:56:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - "value": "This is a test application submitted by foundry tests." - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28655, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3803:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28656, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3832:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "666c65656b5f78797a", - "id": 28657, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3861:11:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - "value": "fleek_xyz" - }, - { - "hexValue": "61666666336636", - "id": 28658, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3882:9:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - "value": "afff3f6" - }, - { - "hexValue": "68747470733a2f2f6769746875622e636f6d2f666c65656b78797a2f636f6e747261637473", - "id": 28659, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3901:39:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - }, - "value": "https://github.com/fleekxyz/contracts" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - } - ], - "expression": { - "id": 28650, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "3629:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28651, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3643:4:30", - "memberName": "mint", - "nodeType": "MemberAccess", - "referencedDeclaration": 312, - "src": "3629:18:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_address_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,string memory,string memory,string memory,string memory,string memory,string memory,string memory) payable external returns (uint256)" - } - }, - "id": 28660, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3629:321:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3614:336:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28663, - "name": "mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28649, - "src": "3970:4:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "30", - "id": 28664, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3976:1:30", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 28662, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2693, - 2718, - 2731, - 2747, - 2789, - 2831, - 2873, - 2910, - 2947, - 2984, - 1066, - 1091, - 1121, - 1146, - 1205, - 1230, - 1260, - 1285, - 2385, - 2420 - ], - "referencedDeclaration": 1260, - "src": "3961:8:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 28665, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3961:17:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28666, - "nodeType": "ExpressionStatement", - "src": "3961:17:30" - }, - { - "assignments": [ - 28668 - ], - "declarations": [ - { - "constant": false, - "id": 28668, - "mutability": "mutable", - "name": "tokenURI", - "nameLocation": "4003:8:30", - "nodeType": "VariableDeclaration", - "scope": 28709, - "src": "3989:22:30", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 28667, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3989:6:30", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 28673, - "initialValue": { - "arguments": [ - { - "id": 28671, - "name": "mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28649, - "src": "4037:4:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 28669, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "4014:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28670, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4028:8:30", - "memberName": "tokenURI", - "nodeType": "MemberAccess", - "referencedDeclaration": 438, - "src": "4014:22:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) view external returns (string memory)" - } - }, - "id": 28672, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4014:28:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3989:53:30" - }, - { - "assignments": [ - 28675 - ], - "declarations": [ - { - "constant": false, - "id": 28675, - "mutability": "mutable", - "name": "dataURI", - "nameLocation": "4066:7:30", - "nodeType": "VariableDeclaration", - "scope": 28709, - "src": "4053:20:30", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 28674, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4053:5:30", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 28692, - "initialValue": { - "arguments": [ - { - "hexValue": "7b", - "id": 28678, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4106:3:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a91eddf639b0b768929589c1a9fd21dcb0107199bdd82e55c5348018a1572f52", - "typeString": "literal_string \"{\"" - }, - "value": "{" - }, - { - "hexValue": "226e616d65223a22466f756e647279205465737420417070222c", - "id": 28679, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4127:28:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2f244923e3a2945d1f3765cea5e0a3de7d9e71a45a9330ec64beed42d7b4c510", - "typeString": "literal_string \"\"name\":\"Foundry Test App\",\"" - }, - "value": "\"name\":\"Foundry Test App\"," - }, - { - "hexValue": "226465736372697074696f6e223a225468697320697320612074657374206170706c69636174696f6e207375626d697474656420627920666f756e6472792074657374732e222c", - "id": 28680, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4173:73:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_418e613a9f37f8cb8167f5effec66e79d5ed5eea524a677d9645f78dcc9755ee", - "typeString": "literal_string \"\"description\":\"This is a test application submitted by foundry tests.\",\"" - }, - "value": "\"description\":\"This is a test application submitted by foundry tests.\"," - }, - { - "hexValue": "226f776e6572223a22307862346337396461423866323539433741656536453562324161373239383231383634323237653834222c", - "id": 28681, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4264:55:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1b2b16a9b946f06e794f6abe9479b90d9175e9819a299d4762096af0b8afb174", - "typeString": "literal_string \"\"owner\":\"0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84\",\"" - }, - "value": "\"owner\":\"0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84\"," - }, - { - "hexValue": "2265787465726e616c5f75726c223a2268747470733a2f2f666c65656b2e78797a222c", - "id": 28682, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4337:37:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_744ec083ebd84a884622ce1c5cddce1c550fe49216b2df736672e3dbaf742bfd", - "typeString": "literal_string \"\"external_url\":\"https://fleek.xyz\",\"" - }, - "value": "\"external_url\":\"https://fleek.xyz\"," - }, - { - "hexValue": "22696d616765223a2268747470733a2f2f666c65656b2e78797a222c", - "id": 28683, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4392:30:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_179f151bf7259e1a7ca9ef12e360cff715bc0161e715266b42933eadb66b2546", - "typeString": "literal_string \"\"image\":\"https://fleek.xyz\",\"" - }, - "value": "\"image\":\"https://fleek.xyz\"," - }, - { - "hexValue": "2261747472696275746573223a205b", - "id": 28684, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4440:17:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a9d6c84473de3f3a866c16d436066b8d4df325a647d2d3a768ffba45df210f3c", - "typeString": "literal_string \"\"attributes\": [\"" - }, - "value": "\"attributes\": [" - }, - { - "hexValue": "7b2274726169745f74797065223a2022454e53222c202276616c7565223a22666c65656b5f78797a227d2c", - "id": 28685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4479:45:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fdbba960a67a13517a91d7bf9c8f31ab3d363b527cc71e6198949323288bd94e", - "typeString": "literal_string \"{\"trait_type\": \"ENS\", \"value\":\"fleek_xyz\"},\"" - }, - "value": "{\"trait_type\": \"ENS\", \"value\":\"fleek_xyz\"}," - }, - { - "hexValue": "7b2274726169745f74797065223a2022436f6d6d69742048617368222c202276616c7565223a2261666666336636227d2c", - "id": 28686, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4546:51:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_08d650cd8878d29ee982d0d6162fdd022222f0bc673214327f700284f6d1a217", - "typeString": "literal_string \"{\"trait_type\": \"Commit Hash\", \"value\":\"afff3f6\"},\"" - }, - "value": "{\"trait_type\": \"Commit Hash\", \"value\":\"afff3f6\"}," - }, - { - "hexValue": "7b2274726169745f74797065223a20225265706f7369746f7279222c202276616c7565223a2268747470733a2f2f6769746875622e636f6d2f666c65656b78797a2f636f6e747261637473227d2c", - "id": 28687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4619:80:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a57e9da6b6cf14a814be17c6fbe597744a0c69910e5dd7b88e821e286a01941d", - "typeString": "literal_string \"{\"trait_type\": \"Repository\", \"value\":\"https://github.com/fleekxyz/contracts\"},\"" - }, - "value": "{\"trait_type\": \"Repository\", \"value\":\"https://github.com/fleekxyz/contracts\"}," - }, - { - "hexValue": "7b2274726169745f74797065223a202256657273696f6e222c202276616c7565223a2230227d", - "id": 28688, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4721:40:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f2a7acdda6d2074ec713929713452b8bf97fa4b6550c62c1629b45338d12d6cb", - "typeString": "literal_string \"{\"trait_type\": \"Version\", \"value\":\"0\"}\"" - }, - "value": "{\"trait_type\": \"Version\", \"value\":\"0\"}" - }, - { - "hexValue": "5d", - "id": 28689, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4779:3:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b36bcf9cc1d9e7f60b1f757ebd8b4694b17fc592b16065d243c43b09fde00b29", - "typeString": "literal_string \"]\"" - }, - "value": "]" - }, - { - "hexValue": "7d", - "id": 28690, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4796:3:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8e2ffa389f3a6ded42d759b3377ac0d928e6a268d143bcc9517093d10c843bff", - "typeString": "literal_string \"}\"" - }, - "value": "}" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a91eddf639b0b768929589c1a9fd21dcb0107199bdd82e55c5348018a1572f52", - "typeString": "literal_string \"{\"" - }, - { - "typeIdentifier": "t_stringliteral_2f244923e3a2945d1f3765cea5e0a3de7d9e71a45a9330ec64beed42d7b4c510", - "typeString": "literal_string \"\"name\":\"Foundry Test App\",\"" - }, - { - "typeIdentifier": "t_stringliteral_418e613a9f37f8cb8167f5effec66e79d5ed5eea524a677d9645f78dcc9755ee", - "typeString": "literal_string \"\"description\":\"This is a test application submitted by foundry tests.\",\"" - }, - { - "typeIdentifier": "t_stringliteral_1b2b16a9b946f06e794f6abe9479b90d9175e9819a299d4762096af0b8afb174", - "typeString": "literal_string \"\"owner\":\"0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84\",\"" - }, - { - "typeIdentifier": "t_stringliteral_744ec083ebd84a884622ce1c5cddce1c550fe49216b2df736672e3dbaf742bfd", - "typeString": "literal_string \"\"external_url\":\"https://fleek.xyz\",\"" - }, - { - "typeIdentifier": "t_stringliteral_179f151bf7259e1a7ca9ef12e360cff715bc0161e715266b42933eadb66b2546", - "typeString": "literal_string \"\"image\":\"https://fleek.xyz\",\"" - }, - { - "typeIdentifier": "t_stringliteral_a9d6c84473de3f3a866c16d436066b8d4df325a647d2d3a768ffba45df210f3c", - "typeString": "literal_string \"\"attributes\": [\"" - }, - { - "typeIdentifier": "t_stringliteral_fdbba960a67a13517a91d7bf9c8f31ab3d363b527cc71e6198949323288bd94e", - "typeString": "literal_string \"{\"trait_type\": \"ENS\", \"value\":\"fleek_xyz\"},\"" - }, - { - "typeIdentifier": "t_stringliteral_08d650cd8878d29ee982d0d6162fdd022222f0bc673214327f700284f6d1a217", - "typeString": "literal_string \"{\"trait_type\": \"Commit Hash\", \"value\":\"afff3f6\"},\"" - }, - { - "typeIdentifier": "t_stringliteral_a57e9da6b6cf14a814be17c6fbe597744a0c69910e5dd7b88e821e286a01941d", - "typeString": "literal_string \"{\"trait_type\": \"Repository\", \"value\":\"https://github.com/fleekxyz/contracts\"},\"" - }, - { - "typeIdentifier": "t_stringliteral_f2a7acdda6d2074ec713929713452b8bf97fa4b6550c62c1629b45338d12d6cb", - "typeString": "literal_string \"{\"trait_type\": \"Version\", \"value\":\"0\"}\"" - }, - { - "typeIdentifier": "t_stringliteral_b36bcf9cc1d9e7f60b1f757ebd8b4694b17fc592b16065d243c43b09fde00b29", - "typeString": "literal_string \"]\"" - }, - { - "typeIdentifier": "t_stringliteral_8e2ffa389f3a6ded42d759b3377ac0d928e6a268d143bcc9517093d10c843bff", - "typeString": "literal_string \"}\"" - } - ], - "expression": { - "id": 28676, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4076:3:30", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 28677, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4080:12:30", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "4076:16:30", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 28691, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4076:733:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4053:756:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28694, - "name": "tokenURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28668, - "src": "4829:8:30", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c", - "id": 28699, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4863:31:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bccab2d885f86fda81bfd84dd4248d31f8073b473d187111d36536db073076fa", - "typeString": "literal_string \"data:application/json;base64,\"" - }, - "value": "data:application/json;base64," - }, - { - "arguments": [ - { - "components": [ - { - "id": 28702, - "name": "dataURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28675, - "src": "4911:7:30", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 28703, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4910:9:30", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 28700, - "name": "Base64", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27277, - "src": "4896:6:30", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Base64_$27277_$", - "typeString": "type(library Base64)" - } - }, - "id": 28701, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4903:6:30", - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": 27276, - "src": "4896:13:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (bytes memory) pure returns (string memory)" - } - }, - "id": 28704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4896:24:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_bccab2d885f86fda81bfd84dd4248d31f8073b473d187111d36536db073076fa", - "typeString": "literal_string \"data:application/json;base64,\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 28697, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4846:3:30", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 28698, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4850:12:30", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "4846:16:30", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 28705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4846:75:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 28696, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4839:6:30", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 28695, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4839:6:30", - "typeDescriptions": {} - } - }, - "id": 28706, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4839:83:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 28693, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2693, - 2718, - 2731, - 2747, - 2789, - 2831, - 2873, - 2910, - 2947, - 2984, - 1066, - 1091, - 1121, - 1146, - 1205, - 1230, - 1260, - 1285, - 2385, - 2420 - ], - "referencedDeclaration": 2385, - "src": "4820:8:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 28707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4820:103:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28708, - "nodeType": "ExpressionStatement", - "src": "4820:103:30" - } - ] - }, - "functionSelector": "b5b34603", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testTokenURI", - "nameLocation": "3582:12:30", - "parameters": { - "id": 28646, - "nodeType": "ParameterList", - "parameters": [], - "src": "3594:2:30" - }, - "returnParameters": { - "id": 28647, - "nodeType": "ParameterList", - "parameters": [], - "src": "3604:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28752, - "nodeType": "FunctionDefinition", - "src": "4936:964:30", - "nodes": [], - "body": { - "id": 28751, - "nodeType": "Block", - "src": "4996:904:30", - "nodes": [], - "statements": [ - { - "assignments": [ - 28714 - ], - "declarations": [ - { - "constant": false, - "id": 28714, - "mutability": "mutable", - "name": "dataURI", - "nameLocation": "5019:7:30", - "nodeType": "VariableDeclaration", - "scope": 28751, - "src": "5006:20:30", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 28713, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5006:5:30", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 28731, - "initialValue": { - "arguments": [ - { - "hexValue": "7b", - "id": 28717, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5059:3:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a91eddf639b0b768929589c1a9fd21dcb0107199bdd82e55c5348018a1572f52", - "typeString": "literal_string \"{\"" - }, - "value": "{" - }, - { - "hexValue": "226e616d65223a22466f756e647279205465737420417070222c", - "id": 28718, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5080:28:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2f244923e3a2945d1f3765cea5e0a3de7d9e71a45a9330ec64beed42d7b4c510", - "typeString": "literal_string \"\"name\":\"Foundry Test App\",\"" - }, - "value": "\"name\":\"Foundry Test App\"," - }, - { - "hexValue": "226465736372697074696f6e223a225468697320697320612074657374206170706c69636174696f6e207375626d697474656420627920666f756e6472792074657374732e222c", - "id": 28719, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5126:73:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_418e613a9f37f8cb8167f5effec66e79d5ed5eea524a677d9645f78dcc9755ee", - "typeString": "literal_string \"\"description\":\"This is a test application submitted by foundry tests.\",\"" - }, - "value": "\"description\":\"This is a test application submitted by foundry tests.\"," - }, - { - "hexValue": "226f776e6572223a22307862346337396461423866323539433741656536453562324161373239383231383634323237653834222c", - "id": 28720, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5217:55:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1b2b16a9b946f06e794f6abe9479b90d9175e9819a299d4762096af0b8afb174", - "typeString": "literal_string \"\"owner\":\"0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84\",\"" - }, - "value": "\"owner\":\"0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84\"," - }, - { - "hexValue": "2265787465726e616c5f75726c223a2268747470733a2f2f666c65656b2e78797a222c", - "id": 28721, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5290:37:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_744ec083ebd84a884622ce1c5cddce1c550fe49216b2df736672e3dbaf742bfd", - "typeString": "literal_string \"\"external_url\":\"https://fleek.xyz\",\"" - }, - "value": "\"external_url\":\"https://fleek.xyz\"," - }, - { - "hexValue": "22696d616765223a2268747470733a2f2f666c65656b2e78797a222c", - "id": 28722, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5345:30:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_179f151bf7259e1a7ca9ef12e360cff715bc0161e715266b42933eadb66b2546", - "typeString": "literal_string \"\"image\":\"https://fleek.xyz\",\"" - }, - "value": "\"image\":\"https://fleek.xyz\"," - }, - { - "hexValue": "2261747472696275746573223a205b", - "id": 28723, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5393:17:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a9d6c84473de3f3a866c16d436066b8d4df325a647d2d3a768ffba45df210f3c", - "typeString": "literal_string \"\"attributes\": [\"" - }, - "value": "\"attributes\": [" - }, - { - "hexValue": "7b2274726169745f74797065223a2022454e53222c202276616c7565223a22666c65656b5f78797a227d2c", - "id": 28724, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5432:45:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fdbba960a67a13517a91d7bf9c8f31ab3d363b527cc71e6198949323288bd94e", - "typeString": "literal_string \"{\"trait_type\": \"ENS\", \"value\":\"fleek_xyz\"},\"" - }, - "value": "{\"trait_type\": \"ENS\", \"value\":\"fleek_xyz\"}," - }, - { - "hexValue": "7b2274726169745f74797065223a2022436f6d6d69742048617368222c202276616c7565223a2261666666336636227d2c", - "id": 28725, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5499:51:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_08d650cd8878d29ee982d0d6162fdd022222f0bc673214327f700284f6d1a217", - "typeString": "literal_string \"{\"trait_type\": \"Commit Hash\", \"value\":\"afff3f6\"},\"" - }, - "value": "{\"trait_type\": \"Commit Hash\", \"value\":\"afff3f6\"}," - }, - { - "hexValue": "7b2274726169745f74797065223a20225265706f7369746f7279222c202276616c7565223a2268747470733a2f2f6769746875622e636f6d2f666c65656b78797a2f636f6e747261637473227d2c", - "id": 28726, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5572:80:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a57e9da6b6cf14a814be17c6fbe597744a0c69910e5dd7b88e821e286a01941d", - "typeString": "literal_string \"{\"trait_type\": \"Repository\", \"value\":\"https://github.com/fleekxyz/contracts\"},\"" - }, - "value": "{\"trait_type\": \"Repository\", \"value\":\"https://github.com/fleekxyz/contracts\"}," - }, - { - "hexValue": "7b2274726169745f74797065223a202256657273696f6e222c202276616c7565223a2230227d", - "id": 28727, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5674:40:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f2a7acdda6d2074ec713929713452b8bf97fa4b6550c62c1629b45338d12d6cb", - "typeString": "literal_string \"{\"trait_type\": \"Version\", \"value\":\"0\"}\"" - }, - "value": "{\"trait_type\": \"Version\", \"value\":\"0\"}" - }, - { - "hexValue": "5d", - "id": 28728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5732:3:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b36bcf9cc1d9e7f60b1f757ebd8b4694b17fc592b16065d243c43b09fde00b29", - "typeString": "literal_string \"]\"" - }, - "value": "]" - }, - { - "hexValue": "7d", - "id": 28729, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5749:3:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8e2ffa389f3a6ded42d759b3377ac0d928e6a268d143bcc9517093d10c843bff", - "typeString": "literal_string \"}\"" - }, - "value": "}" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a91eddf639b0b768929589c1a9fd21dcb0107199bdd82e55c5348018a1572f52", - "typeString": "literal_string \"{\"" - }, - { - "typeIdentifier": "t_stringliteral_2f244923e3a2945d1f3765cea5e0a3de7d9e71a45a9330ec64beed42d7b4c510", - "typeString": "literal_string \"\"name\":\"Foundry Test App\",\"" - }, - { - "typeIdentifier": "t_stringliteral_418e613a9f37f8cb8167f5effec66e79d5ed5eea524a677d9645f78dcc9755ee", - "typeString": "literal_string \"\"description\":\"This is a test application submitted by foundry tests.\",\"" - }, - { - "typeIdentifier": "t_stringliteral_1b2b16a9b946f06e794f6abe9479b90d9175e9819a299d4762096af0b8afb174", - "typeString": "literal_string \"\"owner\":\"0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84\",\"" - }, - { - "typeIdentifier": "t_stringliteral_744ec083ebd84a884622ce1c5cddce1c550fe49216b2df736672e3dbaf742bfd", - "typeString": "literal_string \"\"external_url\":\"https://fleek.xyz\",\"" - }, - { - "typeIdentifier": "t_stringliteral_179f151bf7259e1a7ca9ef12e360cff715bc0161e715266b42933eadb66b2546", - "typeString": "literal_string \"\"image\":\"https://fleek.xyz\",\"" - }, - { - "typeIdentifier": "t_stringliteral_a9d6c84473de3f3a866c16d436066b8d4df325a647d2d3a768ffba45df210f3c", - "typeString": "literal_string \"\"attributes\": [\"" - }, - { - "typeIdentifier": "t_stringliteral_fdbba960a67a13517a91d7bf9c8f31ab3d363b527cc71e6198949323288bd94e", - "typeString": "literal_string \"{\"trait_type\": \"ENS\", \"value\":\"fleek_xyz\"},\"" - }, - { - "typeIdentifier": "t_stringliteral_08d650cd8878d29ee982d0d6162fdd022222f0bc673214327f700284f6d1a217", - "typeString": "literal_string \"{\"trait_type\": \"Commit Hash\", \"value\":\"afff3f6\"},\"" - }, - { - "typeIdentifier": "t_stringliteral_a57e9da6b6cf14a814be17c6fbe597744a0c69910e5dd7b88e821e286a01941d", - "typeString": "literal_string \"{\"trait_type\": \"Repository\", \"value\":\"https://github.com/fleekxyz/contracts\"},\"" - }, - { - "typeIdentifier": "t_stringliteral_f2a7acdda6d2074ec713929713452b8bf97fa4b6550c62c1629b45338d12d6cb", - "typeString": "literal_string \"{\"trait_type\": \"Version\", \"value\":\"0\"}\"" - }, - { - "typeIdentifier": "t_stringliteral_b36bcf9cc1d9e7f60b1f757ebd8b4694b17fc592b16065d243c43b09fde00b29", - "typeString": "literal_string \"]\"" - }, - { - "typeIdentifier": "t_stringliteral_8e2ffa389f3a6ded42d759b3377ac0d928e6a268d143bcc9517093d10c843bff", - "typeString": "literal_string \"}\"" - } - ], - "expression": { - "id": 28715, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5029:3:30", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 28716, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5033:12:30", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5029:16:30", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 28730, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5029:733:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5006:756:30" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 28735, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5805:1:30", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "expression": { - "id": 28733, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "5782:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5796:8:30", - "memberName": "tokenURI", - "nodeType": "MemberAccess", - "referencedDeclaration": 438, - "src": "5782:22:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) view external returns (string memory)" - } - }, - "id": 28736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5782:25:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c", - "id": 28741, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5833:31:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bccab2d885f86fda81bfd84dd4248d31f8073b473d187111d36536db073076fa", - "typeString": "literal_string \"data:application/json;base64,\"" - }, - "value": "data:application/json;base64," - }, - { - "arguments": [ - { - "components": [ - { - "id": 28744, - "name": "dataURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28714, - "src": "5881:7:30", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 28745, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "5880:9:30", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 28742, - "name": "Base64", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27277, - "src": "5866:6:30", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Base64_$27277_$", - "typeString": "type(library Base64)" - } - }, - "id": 28743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5873:6:30", - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": 27276, - "src": "5866:13:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (bytes memory) pure returns (string memory)" - } - }, - "id": 28746, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5866:24:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_bccab2d885f86fda81bfd84dd4248d31f8073b473d187111d36536db073076fa", - "typeString": "literal_string \"data:application/json;base64,\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 28739, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5816:3:30", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 28740, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5820:12:30", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5816:16:30", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 28747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5816:75:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 28738, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5809:6:30", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 28737, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5809:6:30", - "typeDescriptions": {} - } - }, - "id": 28748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5809:83:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 28732, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2693, - 2718, - 2731, - 2747, - 2789, - 2831, - 2873, - 2910, - 2947, - 2984, - 1066, - 1091, - 1121, - 1146, - 1205, - 1230, - 1260, - 1285, - 2385, - 2420 - ], - "referencedDeclaration": 2385, - "src": "5773:8:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 28749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5773:120:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28750, - "nodeType": "ExpressionStatement", - "src": "5773:120:30" - } - ] - }, - "functionSelector": "454d4f3a", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testFailCallingTokenURIOnNonExistantToken", - "nameLocation": "4945:41:30", - "parameters": { - "id": 28711, - "nodeType": "ParameterList", - "parameters": [], - "src": "4986:2:30" - }, - "returnParameters": { - "id": 28712, - "nodeType": "ParameterList", - "parameters": [], - "src": "4996:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28781, - "nodeType": "FunctionDefinition", - "src": "5906:475:30", - "nodes": [], - "body": { - "id": 28780, - "nodeType": "Block", - "src": "5933:448:30", - "nodes": [], - "statements": [ - { - "assignments": [ - 28756 - ], - "declarations": [ - { - "constant": false, - "id": 28756, - "mutability": "mutable", - "name": "mint", - "nameLocation": "5951:4:30", - "nodeType": "VariableDeclaration", - "scope": 28780, - "src": "5943:12:30", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28755, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5943:7:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28768, - "initialValue": { - "arguments": [ - { - "hexValue": "307862346337396461423866323539433741656536453562324161373239383231383634323237653834", - "id": 28759, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5990:42:30", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84" - }, - { - "hexValue": "466f756e647279205465737420417070", - "id": 28760, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6046:18:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - "value": "Foundry Test App" - }, - { - "hexValue": "5468697320697320612074657374206170706c69636174696f6e207375626d697474656420627920666f756e6472792074657374732e", - "id": 28761, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6078:56:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - "value": "This is a test application submitted by foundry tests." - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28762, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6148:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28763, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6181:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "666c65656b5f78797a", - "id": 28764, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6214:11:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - "value": "fleek_xyz" - }, - { - "hexValue": "61666666336636", - "id": 28765, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6239:9:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - "value": "afff3f6" - }, - { - "hexValue": "68747470733a2f2f6769746875622e636f6d2f666c65656b78797a2f636f6e747261637473", - "id": 28766, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6262:39:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - }, - "value": "https://github.com/fleekxyz/contracts" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - } - ], - "expression": { - "id": 28757, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "5958:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28758, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5972:4:30", - "memberName": "mint", - "nodeType": "MemberAccess", - "referencedDeclaration": 312, - "src": "5958:18:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_address_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,string memory,string memory,string memory,string memory,string memory,string memory,string memory) payable external returns (uint256)" - } - }, - "id": 28767, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5958:353:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5943:368:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28770, - "name": "mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28756, - "src": "6331:4:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "30", - "id": 28771, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6337:1:30", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 28769, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2693, - 2718, - 2731, - 2747, - 2789, - 2831, - 2873, - 2910, - 2947, - 2984, - 1066, - 1091, - 1121, - 1146, - 1205, - 1230, - 1260, - 1285, - 2385, - 2420 - ], - "referencedDeclaration": 1260, - "src": "6322:8:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 28772, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6322:17:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28773, - "nodeType": "ExpressionStatement", - "src": "6322:17:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28777, - "name": "mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28756, - "src": "6369:4:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 28774, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "6350:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28776, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6364:4:30", - "memberName": "burn", - "nodeType": "MemberAccess", - "referencedDeclaration": 744, - "src": "6350:18:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256) external" - } - }, - "id": 28778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6350:24:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28779, - "nodeType": "ExpressionStatement", - "src": "6350:24:30" - } - ] - }, - "functionSelector": "e13aba48", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testBurn", - "nameLocation": "5915:8:30", - "parameters": { - "id": 28753, - "nodeType": "ParameterList", - "parameters": [], - "src": "5923:2:30" - }, - "returnParameters": { - "id": 28754, - "nodeType": "ParameterList", - "parameters": [], - "src": "5933:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28791, - "nodeType": "FunctionDefinition", - "src": "6387:88:30", - "nodes": [], - "body": { - "id": 28790, - "nodeType": "Block", - "src": "6437:38:30", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "30", - "id": 28787, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6466:1:30", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "expression": { - "id": 28784, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "6447:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6461:4:30", - "memberName": "burn", - "nodeType": "MemberAccess", - "referencedDeclaration": 744, - "src": "6447:18:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256) external" - } - }, - "id": 28788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6447:21:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28789, - "nodeType": "ExpressionStatement", - "src": "6447:21:30" - } - ] - }, - "functionSelector": "4c540954", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testFailBurningNonExistantToken", - "nameLocation": "6396:31:30", - "parameters": { - "id": 28782, - "nodeType": "ParameterList", - "parameters": [], - "src": "6427:2:30" - }, - "returnParameters": { - "id": 28783, - "nodeType": "ParameterList", - "parameters": [], - "src": "6437:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28821, - "nodeType": "FunctionDefinition", - "src": "6481:510:30", - "nodes": [], - "body": { - "id": 28820, - "nodeType": "Block", - "src": "6516:475:30", - "nodes": [], - "statements": [ - { - "assignments": [ - 28795 - ], - "declarations": [ - { - "constant": false, - "id": 28795, - "mutability": "mutable", - "name": "mint", - "nameLocation": "6534:4:30", - "nodeType": "VariableDeclaration", - "scope": 28820, - "src": "6526:12:30", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28794, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6526:7:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28807, - "initialValue": { - "arguments": [ - { - "hexValue": "307862346337396461423866323539433741656536453562324161373239383231383634323237653834", - "id": 28798, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6573:42:30", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84" - }, - { - "hexValue": "466f756e647279205465737420417070", - "id": 28799, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6629:18:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - "value": "Foundry Test App" - }, - { - "hexValue": "5468697320697320612074657374206170706c69636174696f6e207375626d697474656420627920666f756e6472792074657374732e", - "id": 28800, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6661:56:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - "value": "This is a test application submitted by foundry tests." - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28801, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6731:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28802, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6764:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "666c65656b5f78797a", - "id": 28803, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6797:11:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - "value": "fleek_xyz" - }, - { - "hexValue": "61666666336636", - "id": 28804, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6822:9:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - "value": "afff3f6" - }, - { - "hexValue": "68747470733a2f2f6769746875622e636f6d2f666c65656b78797a2f636f6e747261637473", - "id": 28805, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6845:39:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - }, - "value": "https://github.com/fleekxyz/contracts" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - } - ], - "expression": { - "id": 28796, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "6541:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28797, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6555:4:30", - "memberName": "mint", - "nodeType": "MemberAccess", - "referencedDeclaration": 312, - "src": "6541:18:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_address_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,string memory,string memory,string memory,string memory,string memory,string memory,string memory) payable external returns (uint256)" - } - }, - "id": 28806, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6541:353:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6526:368:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28809, - "name": "mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28795, - "src": "6914:4:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "30", - "id": 28810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6920:1:30", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 28808, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2693, - 2718, - 2731, - 2747, - 2789, - 2831, - 2873, - 2910, - 2947, - 2984, - 1066, - 1091, - 1121, - 1146, - 1205, - 1230, - 1260, - 1285, - 2385, - 2420 - ], - "referencedDeclaration": 1260, - "src": "6905:8:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 28811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6905:17:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28812, - "nodeType": "ExpressionStatement", - "src": "6905:17:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28816, - "name": "mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28795, - "src": "6960:4:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "4e455720544f4b454e204e414d4521", - "id": 28817, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6966:17:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fefaa3698fe886ff3a666fffd9e78235c0e26b156b00bc6979c9a76f80862597", - "typeString": "literal_string \"NEW TOKEN NAME!\"" - }, - "value": "NEW TOKEN NAME!" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_fefaa3698fe886ff3a666fffd9e78235c0e26b156b00bc6979c9a76f80862597", - "typeString": "literal_string \"NEW TOKEN NAME!\"" - } - ], - "expression": { - "id": 28813, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "6933:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6947:12:30", - "memberName": "setTokenName", - "nodeType": "MemberAccess", - "referencedDeclaration": 610, - "src": "6933:26:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory) external" - } - }, - "id": 28818, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6933:51:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28819, - "nodeType": "ExpressionStatement", - "src": "6933:51:30" - } - ] - }, - "functionSelector": "b84446a3", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testSetTokenName", - "nameLocation": "6490:16:30", - "parameters": { - "id": 28792, - "nodeType": "ParameterList", - "parameters": [], - "src": "6506:2:30" - }, - "returnParameters": { - "id": 28793, - "nodeType": "ParameterList", - "parameters": [], - "src": "6516:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28851, - "nodeType": "FunctionDefinition", - "src": "6997:524:30", - "nodes": [], - "body": { - "id": 28850, - "nodeType": "Block", - "src": "7039:482:30", - "nodes": [], - "statements": [ - { - "assignments": [ - 28825 - ], - "declarations": [ - { - "constant": false, - "id": 28825, - "mutability": "mutable", - "name": "mint", - "nameLocation": "7057:4:30", - "nodeType": "VariableDeclaration", - "scope": 28850, - "src": "7049:12:30", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28824, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7049:7:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28837, - "initialValue": { - "arguments": [ - { - "hexValue": "307862346337396461423866323539433741656536453562324161373239383231383634323237653834", - "id": 28828, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7096:42:30", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84" - }, - { - "hexValue": "466f756e647279205465737420417070", - "id": 28829, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7152:18:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - "value": "Foundry Test App" - }, - { - "hexValue": "5468697320697320612074657374206170706c69636174696f6e207375626d697474656420627920666f756e6472792074657374732e", - "id": 28830, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7184:56:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - "value": "This is a test application submitted by foundry tests." - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28831, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7254:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28832, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7287:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "666c65656b5f78797a", - "id": 28833, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7320:11:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - "value": "fleek_xyz" - }, - { - "hexValue": "61666666336636", - "id": 28834, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7345:9:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - "value": "afff3f6" - }, - { - "hexValue": "68747470733a2f2f6769746875622e636f6d2f666c65656b78797a2f636f6e747261637473", - "id": 28835, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7368:39:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - }, - "value": "https://github.com/fleekxyz/contracts" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - } - ], - "expression": { - "id": 28826, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "7064:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28827, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7078:4:30", - "memberName": "mint", - "nodeType": "MemberAccess", - "referencedDeclaration": 312, - "src": "7064:18:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_address_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,string memory,string memory,string memory,string memory,string memory,string memory,string memory) payable external returns (uint256)" - } - }, - "id": 28836, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7064:353:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7049:368:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28839, - "name": "mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28825, - "src": "7437:4:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "30", - "id": 28840, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7443:1:30", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 28838, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2693, - 2718, - 2731, - 2747, - 2789, - 2831, - 2873, - 2910, - 2947, - 2984, - 1066, - 1091, - 1121, - 1146, - 1205, - 1230, - 1260, - 1285, - 2385, - 2420 - ], - "referencedDeclaration": 1260, - "src": "7428:8:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 28841, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7428:17:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28842, - "nodeType": "ExpressionStatement", - "src": "7428:17:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28846, - "name": "mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28825, - "src": "7490:4:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "4e455720544f4b454e204e414d4521", - "id": 28847, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7496:17:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fefaa3698fe886ff3a666fffd9e78235c0e26b156b00bc6979c9a76f80862597", - "typeString": "literal_string \"NEW TOKEN NAME!\"" - }, - "value": "NEW TOKEN NAME!" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_fefaa3698fe886ff3a666fffd9e78235c0e26b156b00bc6979c9a76f80862597", - "typeString": "literal_string \"NEW TOKEN NAME!\"" - } - ], - "expression": { - "id": 28843, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "7456:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28845, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7470:19:30", - "memberName": "setTokenDescription", - "nodeType": "MemberAccess", - "referencedDeclaration": 637, - "src": "7456:33:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory) external" - } - }, - "id": 28848, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7456:58:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28849, - "nodeType": "ExpressionStatement", - "src": "7456:58:30" - } - ] - }, - "functionSelector": "36d3d58f", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testSetTokenDescription", - "nameLocation": "7006:23:30", - "parameters": { - "id": 28822, - "nodeType": "ParameterList", - "parameters": [], - "src": "7029:2:30" - }, - "returnParameters": { - "id": 28823, - "nodeType": "ParameterList", - "parameters": [], - "src": "7039:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28881, - "nodeType": "FunctionDefinition", - "src": "7527:517:30", - "nodes": [], - "body": { - "id": 28880, - "nodeType": "Block", - "src": "7563:481:30", - "nodes": [], - "statements": [ - { - "assignments": [ - 28855 - ], - "declarations": [ - { - "constant": false, - "id": 28855, - "mutability": "mutable", - "name": "mint", - "nameLocation": "7581:4:30", - "nodeType": "VariableDeclaration", - "scope": 28880, - "src": "7573:12:30", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28854, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7573:7:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28867, - "initialValue": { - "arguments": [ - { - "hexValue": "307862346337396461423866323539433741656536453562324161373239383231383634323237653834", - "id": 28858, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7620:42:30", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84" - }, - { - "hexValue": "466f756e647279205465737420417070", - "id": 28859, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7676:18:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - "value": "Foundry Test App" - }, - { - "hexValue": "5468697320697320612074657374206170706c69636174696f6e207375626d697474656420627920666f756e6472792074657374732e", - "id": 28860, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7708:56:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - "value": "This is a test application submitted by foundry tests." - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28861, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7778:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28862, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7811:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "666c65656b5f78797a", - "id": 28863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7844:11:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - "value": "fleek_xyz" - }, - { - "hexValue": "61666666336636", - "id": 28864, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7869:9:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - "value": "afff3f6" - }, - { - "hexValue": "68747470733a2f2f6769746875622e636f6d2f666c65656b78797a2f636f6e747261637473", - "id": 28865, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7892:39:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - }, - "value": "https://github.com/fleekxyz/contracts" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - } - ], - "expression": { - "id": 28856, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "7588:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28857, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7602:4:30", - "memberName": "mint", - "nodeType": "MemberAccess", - "referencedDeclaration": 312, - "src": "7588:18:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_address_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,string memory,string memory,string memory,string memory,string memory,string memory,string memory) payable external returns (uint256)" - } - }, - "id": 28866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7588:353:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7573:368:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28869, - "name": "mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28855, - "src": "7961:4:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "30", - "id": 28870, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7967:1:30", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 28868, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2693, - 2718, - 2731, - 2747, - 2789, - 2831, - 2873, - 2910, - 2947, - 2984, - 1066, - 1091, - 1121, - 1146, - 1205, - 1230, - 1260, - 1285, - 2385, - 2420 - ], - "referencedDeclaration": 1260, - "src": "7952:8:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 28871, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7952:17:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28872, - "nodeType": "ExpressionStatement", - "src": "7952:17:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28876, - "name": "mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28855, - "src": "8008:4:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "68747470733a2f2f657468657265756d2e6f7267", - "id": 28877, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8014:22:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_17c8abf847a04299e0eef8ce54d38d7c7b6114ee7d147e66b17a0dd0b7e333b4", - "typeString": "literal_string \"https://ethereum.org\"" - }, - "value": "https://ethereum.org" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_17c8abf847a04299e0eef8ce54d38d7c7b6114ee7d147e66b17a0dd0b7e333b4", - "typeString": "literal_string \"https://ethereum.org\"" - } - ], - "expression": { - "id": 28873, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "7980:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28875, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7994:13:30", - "memberName": "setTokenImage", - "nodeType": "MemberAccess", - "referencedDeclaration": 664, - "src": "7980:27:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory) external" - } - }, - "id": 28878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7980:57:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28879, - "nodeType": "ExpressionStatement", - "src": "7980:57:30" - } - ] - }, - "functionSelector": "1a6f9349", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testSetTokenImage", - "nameLocation": "7536:17:30", - "parameters": { - "id": 28852, - "nodeType": "ParameterList", - "parameters": [], - "src": "7553:2:30" - }, - "returnParameters": { - "id": 28853, - "nodeType": "ParameterList", - "parameters": [], - "src": "7563:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28911, - "nodeType": "FunctionDefinition", - "src": "8050:529:30", - "nodes": [], - "body": { - "id": 28910, - "nodeType": "Block", - "src": "8092:487:30", - "nodes": [], - "statements": [ - { - "assignments": [ - 28885 - ], - "declarations": [ - { - "constant": false, - "id": 28885, - "mutability": "mutable", - "name": "mint", - "nameLocation": "8110:4:30", - "nodeType": "VariableDeclaration", - "scope": 28910, - "src": "8102:12:30", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28884, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8102:7:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28897, - "initialValue": { - "arguments": [ - { - "hexValue": "307862346337396461423866323539433741656536453562324161373239383231383634323237653834", - "id": 28888, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8149:42:30", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84" - }, - { - "hexValue": "466f756e647279205465737420417070", - "id": 28889, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8205:18:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - "value": "Foundry Test App" - }, - { - "hexValue": "5468697320697320612074657374206170706c69636174696f6e207375626d697474656420627920666f756e6472792074657374732e", - "id": 28890, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8237:56:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - "value": "This is a test application submitted by foundry tests." - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28891, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8307:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "68747470733a2f2f666c65656b2e78797a", - "id": 28892, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8340:19:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - "value": "https://fleek.xyz" - }, - { - "hexValue": "666c65656b5f78797a", - "id": 28893, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8373:11:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - "value": "fleek_xyz" - }, - { - "hexValue": "61666666336636", - "id": 28894, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8398:9:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - "value": "afff3f6" - }, - { - "hexValue": "68747470733a2f2f6769746875622e636f6d2f666c65656b78797a2f636f6e747261637473", - "id": 28895, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8421:39:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - }, - "value": "https://github.com/fleekxyz/contracts" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_a358c04d2dce5c99d7d0ef9e266a9765e2b6e47c4ebc54c926a4eadcd9599d20", - "typeString": "literal_string \"Foundry Test App\"" - }, - { - "typeIdentifier": "t_stringliteral_456236abdca76d5b9a616a4379cd1469c574a6b82ea0da01b233522cd95a52d4", - "typeString": "literal_string \"This is a test application submitted by foundry tests.\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_2054adc44db912f363485263a976ce64fb357d7f5fe157bf2ee9ded2472d969a", - "typeString": "literal_string \"https://fleek.xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_93177a633cfdbdc84e5f9d11e99ac90e63f1f865e47ff976d2f5ac82405a28dd", - "typeString": "literal_string \"fleek_xyz\"" - }, - { - "typeIdentifier": "t_stringliteral_af9f155d113a077165a03c15ed05ccb93b3f32cfba220b5f8c2ccd8b3d3ce71b", - "typeString": "literal_string \"afff3f6\"" - }, - { - "typeIdentifier": "t_stringliteral_48813bd2c97b26a509a9b8b87eef7893d259546350f17ccca9e61e2d3b5d3506", - "typeString": "literal_string \"https://github.com/fleekxyz/contracts\"" - } - ], - "expression": { - "id": 28886, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "8117:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8131:4:30", - "memberName": "mint", - "nodeType": "MemberAccess", - "referencedDeclaration": 312, - "src": "8117:18:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_address_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,string memory,string memory,string memory,string memory,string memory,string memory,string memory) payable external returns (uint256)" - } - }, - "id": 28896, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8117:353:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8102:368:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28899, - "name": "mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28885, - "src": "8490:4:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "30", - "id": 28900, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8496:1:30", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 28898, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2693, - 2718, - 2731, - 2747, - 2789, - 2831, - 2873, - 2910, - 2947, - 2984, - 1066, - 1091, - 1121, - 1146, - 1205, - 1230, - 1260, - 1285, - 2385, - 2420 - ], - "referencedDeclaration": 1260, - "src": "8481:8:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 28901, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8481:17:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28902, - "nodeType": "ExpressionStatement", - "src": "8481:17:30" - }, - { - "expression": { - "arguments": [ - { - "id": 28906, - "name": "mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28885, - "src": "8543:4:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "68747470733a2f2f657468657265756d2e6f7267", - "id": 28907, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8549:22:30", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_17c8abf847a04299e0eef8ce54d38d7c7b6114ee7d147e66b17a0dd0b7e333b4", - "typeString": "literal_string \"https://ethereum.org\"" - }, - "value": "https://ethereum.org" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_17c8abf847a04299e0eef8ce54d38d7c7b6114ee7d147e66b17a0dd0b7e333b4", - "typeString": "literal_string \"https://ethereum.org\"" - } - ], - "expression": { - "id": 28903, - "name": "fleekContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "8509:13:30", - "typeDescriptions": { - "typeIdentifier": "t_contract$_FleekERC721_$745", - "typeString": "contract FleekERC721" - } - }, - "id": 28905, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8523:19:30", - "memberName": "setTokenExternalURL", - "nodeType": "MemberAccess", - "referencedDeclaration": 556, - "src": "8509:33:30", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory) external" - } - }, - "id": 28908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8509:63:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28909, - "nodeType": "ExpressionStatement", - "src": "8509:63:30" - } - ] - }, - "functionSelector": "0982c482", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testSetTokenExternalURL", - "nameLocation": "8059:23:30", - "parameters": { - "id": 28882, - "nodeType": "ParameterList", - "parameters": [], - "src": "8082:2:30" - }, - "returnParameters": { - "id": 28883, - "nodeType": "ParameterList", - "parameters": [], - "src": "8092:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28915, - "nodeType": "FunctionDefinition", - "src": "8585:43:30", - "nodes": [], - "body": { - "id": 28914, - "nodeType": "Block", - "src": "8621:7:30", - "nodes": [], - "statements": [] - }, - "functionSelector": "4fd855ab", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testSetTokenBuild", - "nameLocation": "8594:17:30", - "parameters": { - "id": 28912, - "nodeType": "ParameterList", - "parameters": [], - "src": "8611:2:30" - }, - "returnParameters": { - "id": 28913, - "nodeType": "ParameterList", - "parameters": [], - "src": "8621:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28919, - "nodeType": "FunctionDefinition", - "src": "8634:47:30", - "nodes": [], - "body": { - "id": 28918, - "nodeType": "Block", - "src": "8674:7:30", - "nodes": [], - "statements": [] - }, - "functionSelector": "1df1ce65", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testUpgradeTokenBuild", - "nameLocation": "8643:21:30", - "parameters": { - "id": 28916, - "nodeType": "ParameterList", - "parameters": [], - "src": "8664:2:30" - }, - "returnParameters": { - "id": 28917, - "nodeType": "ParameterList", - "parameters": [], - "src": "8674:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28923, - "nodeType": "FunctionDefinition", - "src": "8687:41:30", - "nodes": [], - "body": { - "id": 28922, - "nodeType": "Block", - "src": "8721:7:30", - "nodes": [], - "statements": [] - }, - "functionSelector": "79950978", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testSetTokenENS", - "nameLocation": "8696:15:30", - "parameters": { - "id": 28920, - "nodeType": "ParameterList", - "parameters": [], - "src": "8711:2:30" - }, - "returnParameters": { - "id": 28921, - "nodeType": "ParameterList", - "parameters": [], - "src": "8721:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28927, - "nodeType": "FunctionDefinition", - "src": "8734:48:30", - "nodes": [], - "body": { - "id": 28926, - "nodeType": "Block", - "src": "8775:7:30", - "nodes": [], - "statements": [] - }, - "functionSelector": "6f86ff13", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testAddTokenController", - "nameLocation": "8743:22:30", - "parameters": { - "id": 28924, - "nodeType": "ParameterList", - "parameters": [], - "src": "8765:2:30" - }, - "returnParameters": { - "id": 28925, - "nodeType": "ParameterList", - "parameters": [], - "src": "8775:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28931, - "nodeType": "FunctionDefinition", - "src": "8788:54:30", - "nodes": [], - "body": { - "id": 28930, - "nodeType": "Block", - "src": "8832:10:30", - "nodes": [], - "statements": [] - }, - "functionSelector": "bf506ac4", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testRemoveTokenController", - "nameLocation": "8797:25:30", - "parameters": { - "id": 28928, - "nodeType": "ParameterList", - "parameters": [], - "src": "8822:2:30" - }, - "returnParameters": { - "id": 28929, - "nodeType": "ParameterList", - "parameters": [], - "src": "8832:0:30" - }, - "scope": 28932, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 28454, - "name": "Test", - "nameLocations": [ - "124:4:30" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 8302, - "src": "124:4:30" - }, - "id": 28455, - "nodeType": "InheritanceSpecifier", - "src": "124:4:30" - } - ], - "canonicalName": "ContractBTest", - "contractDependencies": [ - 745 - ], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 28932, - 8302, - 8271, - 5503, - 5114, - 3390, - 2532, - 8291, - 2564 - ], - "name": "ContractBTest", - "nameLocation": "107:13:30", - "scope": 28933, - "usedErrors": [] - } - ] - }, - "id": 30 -} \ No newline at end of file diff --git a/out/console.sol/console.json b/out/console.sol/console.json deleted file mode 100644 index fc19ab4..0000000 --- a/out/console.sol/console.json +++ /dev/null @@ -1,111635 +0,0 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea2646970667358221220e04d85625904607f483914ce164fd302a5ed137ebe0a3adc24bb003cb7f2948164736f6c63430008110033", - "sourceMap": "66:66622:14:-:0;;;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x600080fdfea2646970667358221220e04d85625904607f483914ce164fd302a5ed137ebe0a3adc24bb003cb7f2948164736f6c63430008110033", - "sourceMap": "66:66622:14:-:0;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/console.sol\":\"console\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/console.sol": "console" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "lib/forge-std/src/console.sol": { - "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", - "urls": [ - "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", - "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/console.sol", - "id": 17321, - "exportedSymbols": { - "console": [ - 17320 - ] - }, - "nodeType": "SourceUnit", - "src": "32:66656:14", - "nodes": [ - { - "id": 9258, - "nodeType": "PragmaDirective", - "src": "32:32:14", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.4", - ".22", - "<", - "0.9", - ".0" - ] - }, - { - "id": 17320, - "nodeType": "ContractDefinition", - "src": "66:66622:14", - "nodes": [ - { - "id": 9264, - "nodeType": "VariableDeclaration", - "src": "88:86:14", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "CONSOLE_ADDRESS", - "nameLocation": "105:15:14", - "scope": 17320, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9259, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "88:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303036333646366537333646366336353265366336663637", - "id": 9262, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "131:42:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x000000000000000000636F6e736F6c652e6c6f67" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 9261, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "123:7:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 9260, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "123:7:14", - "typeDescriptions": {} - } - }, - "id": 9263, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "123:51:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "id": 9280, - "nodeType": "FunctionDefinition", - "src": "181:376:14", - "nodes": [], - "body": { - "id": 9279, - "nodeType": "Block", - "src": "241:316:14", - "nodes": [], - "statements": [ - { - "assignments": [ - 9270 - ], - "declarations": [ - { - "constant": false, - "id": 9270, - "mutability": "mutable", - "name": "payloadLength", - "nameLocation": "259:13:14", - "nodeType": "VariableDeclaration", - "scope": 9279, - "src": "251:21:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9269, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "251:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 9273, - "initialValue": { - "expression": { - "id": 9271, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9266, - "src": "275:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 9272, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "283:6:14", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "275:14:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "251:38:14" - }, - { - "assignments": [ - 9275 - ], - "declarations": [ - { - "constant": false, - "id": 9275, - "mutability": "mutable", - "name": "consoleAddress", - "nameLocation": "307:14:14", - "nodeType": "VariableDeclaration", - "scope": 9279, - "src": "299:22:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9274, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "299:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 9277, - "initialValue": { - "id": 9276, - "name": "CONSOLE_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9264, - "src": "324:15:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "299:40:14" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "401:150:14", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "415:36:14", - "value": { - "arguments": [ - { - "name": "payload", - "nodeType": "YulIdentifier", - "src": "439:7:14" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "448:2:14", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "435:3:14" - }, - "nodeType": "YulFunctionCall", - "src": "435:16:14" - }, - "variables": [ - { - "name": "payloadStart", - "nodeType": "YulTypedName", - "src": "419:12:14", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "464:77:14", - "value": { - "arguments": [ - { - "arguments": [], - "functionName": { - "name": "gas", - "nodeType": "YulIdentifier", - "src": "484:3:14" - }, - "nodeType": "YulFunctionCall", - "src": "484:5:14" - }, - { - "name": "consoleAddress", - "nodeType": "YulIdentifier", - "src": "491:14:14" - }, - { - "name": "payloadStart", - "nodeType": "YulIdentifier", - "src": "507:12:14" - }, - { - "name": "payloadLength", - "nodeType": "YulIdentifier", - "src": "521:13:14" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "536:1:14", - "type": "", - "value": "0" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "539:1:14", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "staticcall", - "nodeType": "YulIdentifier", - "src": "473:10:14" - }, - "nodeType": "YulFunctionCall", - "src": "473:68:14" - }, - "variables": [ - { - "name": "r", - "nodeType": "YulTypedName", - "src": "468:1:14", - "type": "" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 9275, - "isOffset": false, - "isSlot": false, - "src": "491:14:14", - "valueSize": 1 - }, - { - "declaration": 9266, - "isOffset": false, - "isSlot": false, - "src": "439:7:14", - "valueSize": 1 - }, - { - "declaration": 9270, - "isOffset": false, - "isSlot": false, - "src": "521:13:14", - "valueSize": 1 - } - ], - "id": 9278, - "nodeType": "InlineAssembly", - "src": "392:159:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_sendLogPayload", - "nameLocation": "190:15:14", - "parameters": { - "id": 9267, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9266, - "mutability": "mutable", - "name": "payload", - "nameLocation": "219:7:14", - "nodeType": "VariableDeclaration", - "scope": 9280, - "src": "206:20:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9265, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "206:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "205:22:14" - }, - "returnParameters": { - "id": 9268, - "nodeType": "ParameterList", - "parameters": [], - "src": "241:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "id": 9291, - "nodeType": "FunctionDefinition", - "src": "563:95:14", - "nodes": [], - "body": { - "id": 9290, - "nodeType": "Block", - "src": "592:66:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672829", - "id": 9286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "642:7:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51973ec9d4c1929bdd5b149c064d46aee47e92a7e2bb5f7a20c7b9cfb0d13b39", - "typeString": "literal_string \"log()\"" - }, - "value": "log()" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_51973ec9d4c1929bdd5b149c064d46aee47e92a7e2bb5f7a20c7b9cfb0d13b39", - "typeString": "literal_string \"log()\"" - } - ], - "expression": { - "id": 9284, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "618:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9285, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "622:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "618:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9287, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "618:32:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9283, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "602:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9288, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "602:49:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9289, - "nodeType": "ExpressionStatement", - "src": "602:49:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "572:3:14", - "parameters": { - "id": 9281, - "nodeType": "ParameterList", - "parameters": [], - "src": "575:2:14" - }, - "returnParameters": { - "id": 9282, - "nodeType": "ParameterList", - "parameters": [], - "src": "592:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9305, - "nodeType": "FunctionDefinition", - "src": "664:111:14", - "nodes": [], - "body": { - "id": 9304, - "nodeType": "Block", - "src": "702:73:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728696e7429", - "id": 9299, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "752:10:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e0c1d1dcf573259576e2a7e591d366143f88fb7f7e57df09852da9c36797f2e", - "typeString": "literal_string \"log(int)\"" - }, - "value": "log(int)" - }, - { - "id": 9300, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9293, - "src": "764:2:14", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4e0c1d1dcf573259576e2a7e591d366143f88fb7f7e57df09852da9c36797f2e", - "typeString": "literal_string \"log(int)\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 9297, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "728:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9298, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "732:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "728:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9301, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "728:39:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9296, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "712:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9302, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "712:56:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9303, - "nodeType": "ExpressionStatement", - "src": "712:56:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logInt", - "nameLocation": "673:6:14", - "parameters": { - "id": 9294, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9293, - "mutability": "mutable", - "name": "p0", - "nameLocation": "684:2:14", - "nodeType": "VariableDeclaration", - "scope": 9305, - "src": "680:6:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 9292, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "680:3:14", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "679:8:14" - }, - "returnParameters": { - "id": 9295, - "nodeType": "ParameterList", - "parameters": [], - "src": "702:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9319, - "nodeType": "FunctionDefinition", - "src": "781:114:14", - "nodes": [], - "body": { - "id": 9318, - "nodeType": "Block", - "src": "821:74:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e7429", - "id": 9313, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "871:11:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f5b1bba92d8f98cf25e27c94d7fc7cbfbae95a49dfe5ab0cdf64ddd7181bb984", - "typeString": "literal_string \"log(uint)\"" - }, - "value": "log(uint)" - }, - { - "id": 9314, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9307, - "src": "884:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f5b1bba92d8f98cf25e27c94d7fc7cbfbae95a49dfe5ab0cdf64ddd7181bb984", - "typeString": "literal_string \"log(uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 9311, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "847:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9312, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "851:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "847:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9315, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "847:40:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9310, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "831:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9316, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "831:57:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9317, - "nodeType": "ExpressionStatement", - "src": "831:57:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logUint", - "nameLocation": "790:7:14", - "parameters": { - "id": 9308, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9307, - "mutability": "mutable", - "name": "p0", - "nameLocation": "803:2:14", - "nodeType": "VariableDeclaration", - "scope": 9319, - "src": "798:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9306, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "798:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "797:9:14" - }, - "returnParameters": { - "id": 9309, - "nodeType": "ParameterList", - "parameters": [], - "src": "821:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9333, - "nodeType": "FunctionDefinition", - "src": "901:127:14", - "nodes": [], - "body": { - "id": 9332, - "nodeType": "Block", - "src": "952:76:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e6729", - "id": 9327, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1002:13:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50", - "typeString": "literal_string \"log(string)\"" - }, - "value": "log(string)" - }, - { - "id": 9328, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9321, - "src": "1017:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50", - "typeString": "literal_string \"log(string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 9325, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "978:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9326, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "982:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "978:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "978:42:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9324, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "962:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9330, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "962:59:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9331, - "nodeType": "ExpressionStatement", - "src": "962:59:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logString", - "nameLocation": "910:9:14", - "parameters": { - "id": 9322, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9321, - "mutability": "mutable", - "name": "p0", - "nameLocation": "934:2:14", - "nodeType": "VariableDeclaration", - "scope": 9333, - "src": "920:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9320, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "920:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "919:18:14" - }, - "returnParameters": { - "id": 9323, - "nodeType": "ParameterList", - "parameters": [], - "src": "952:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9347, - "nodeType": "FunctionDefinition", - "src": "1034:114:14", - "nodes": [], - "body": { - "id": 9346, - "nodeType": "Block", - "src": "1074:74:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c29", - "id": 9341, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1124:11:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - "value": "log(bool)" - }, - { - "id": 9342, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9335, - "src": "1137:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 9339, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1100:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9340, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1104:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1100:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9343, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1100:40:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9338, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "1084:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9344, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1084:57:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9345, - "nodeType": "ExpressionStatement", - "src": "1084:57:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBool", - "nameLocation": "1043:7:14", - "parameters": { - "id": 9336, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9335, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1056:2:14", - "nodeType": "VariableDeclaration", - "scope": 9347, - "src": "1051:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9334, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1051:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "1050:9:14" - }, - "returnParameters": { - "id": 9337, - "nodeType": "ParameterList", - "parameters": [], - "src": "1074:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9361, - "nodeType": "FunctionDefinition", - "src": "1154:123:14", - "nodes": [], - "body": { - "id": 9360, - "nodeType": "Block", - "src": "1200:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286164647265737329", - "id": 9355, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1250:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - "value": "log(address)" - }, - { - "id": 9356, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9349, - "src": "1266:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 9353, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1226:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9354, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1230:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1226:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1226:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9352, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "1210:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1210:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9359, - "nodeType": "ExpressionStatement", - "src": "1210:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logAddress", - "nameLocation": "1163:10:14", - "parameters": { - "id": 9350, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9349, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1182:2:14", - "nodeType": "VariableDeclaration", - "scope": 9361, - "src": "1174:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9348, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1174:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1173:12:14" - }, - "returnParameters": { - "id": 9351, - "nodeType": "ParameterList", - "parameters": [], - "src": "1200:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9375, - "nodeType": "FunctionDefinition", - "src": "1283:124:14", - "nodes": [], - "body": { - "id": 9374, - "nodeType": "Block", - "src": "1332:75:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728627974657329", - "id": 9369, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1382:12:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0be77f5642494da7d212b92a3472c4f471abb24e17467f41788e7de7915d6238", - "typeString": "literal_string \"log(bytes)\"" - }, - "value": "log(bytes)" - }, - { - "id": 9370, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9363, - "src": "1396:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0be77f5642494da7d212b92a3472c4f471abb24e17467f41788e7de7915d6238", - "typeString": "literal_string \"log(bytes)\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 9367, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1358:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9368, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1362:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1358:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9371, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1358:41:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9366, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "1342:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9372, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1342:58:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9373, - "nodeType": "ExpressionStatement", - "src": "1342:58:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes", - "nameLocation": "1292:8:14", - "parameters": { - "id": 9364, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9363, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1314:2:14", - "nodeType": "VariableDeclaration", - "scope": 9375, - "src": "1301:15:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9362, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1301:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1300:17:14" - }, - "returnParameters": { - "id": 9365, - "nodeType": "ParameterList", - "parameters": [], - "src": "1332:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9389, - "nodeType": "FunctionDefinition", - "src": "1413:120:14", - "nodes": [], - "body": { - "id": 9388, - "nodeType": "Block", - "src": "1457:76:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733129", - "id": 9383, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1507:13:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6e18a1285e3dfba09579e846ff83d5e4ffae1b869c8fc4323752bab794e41041", - "typeString": "literal_string \"log(bytes1)\"" - }, - "value": "log(bytes1)" - }, - { - "id": 9384, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9377, - "src": "1522:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6e18a1285e3dfba09579e846ff83d5e4ffae1b869c8fc4323752bab794e41041", - "typeString": "literal_string \"log(bytes1)\"" - }, - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "expression": { - "id": 9381, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1483:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9382, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1487:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1483:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9385, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1483:42:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9380, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "1467:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9386, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1467:59:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9387, - "nodeType": "ExpressionStatement", - "src": "1467:59:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes1", - "nameLocation": "1422:9:14", - "parameters": { - "id": 9378, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9377, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1439:2:14", - "nodeType": "VariableDeclaration", - "scope": 9389, - "src": "1432:9:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "typeName": { - "id": 9376, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1432:6:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "visibility": "internal" - } - ], - "src": "1431:11:14" - }, - "returnParameters": { - "id": 9379, - "nodeType": "ParameterList", - "parameters": [], - "src": "1457:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9403, - "nodeType": "FunctionDefinition", - "src": "1539:120:14", - "nodes": [], - "body": { - "id": 9402, - "nodeType": "Block", - "src": "1583:76:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733229", - "id": 9397, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1633:13:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e9b622960ff3a0e86d35e876bfeba445fab6c5686604aa116c47c1e106921224", - "typeString": "literal_string \"log(bytes2)\"" - }, - "value": "log(bytes2)" - }, - { - "id": 9398, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9391, - "src": "1648:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e9b622960ff3a0e86d35e876bfeba445fab6c5686604aa116c47c1e106921224", - "typeString": "literal_string \"log(bytes2)\"" - }, - { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - } - ], - "expression": { - "id": 9395, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1609:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9396, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1613:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1609:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9399, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1609:42:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9394, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "1593:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9400, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1593:59:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9401, - "nodeType": "ExpressionStatement", - "src": "1593:59:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes2", - "nameLocation": "1548:9:14", - "parameters": { - "id": 9392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9391, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1565:2:14", - "nodeType": "VariableDeclaration", - "scope": 9403, - "src": "1558:9:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - }, - "typeName": { - "id": 9390, - "name": "bytes2", - "nodeType": "ElementaryTypeName", - "src": "1558:6:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - } - }, - "visibility": "internal" - } - ], - "src": "1557:11:14" - }, - "returnParameters": { - "id": 9393, - "nodeType": "ParameterList", - "parameters": [], - "src": "1583:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9417, - "nodeType": "FunctionDefinition", - "src": "1665:120:14", - "nodes": [], - "body": { - "id": 9416, - "nodeType": "Block", - "src": "1709:76:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733329", - "id": 9411, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1759:13:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2d8349266851a1d92746f90a9696920643311d6bf462d9fa11e69718a636cbee", - "typeString": "literal_string \"log(bytes3)\"" - }, - "value": "log(bytes3)" - }, - { - "id": 9412, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9405, - "src": "1774:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2d8349266851a1d92746f90a9696920643311d6bf462d9fa11e69718a636cbee", - "typeString": "literal_string \"log(bytes3)\"" - }, - { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - } - ], - "expression": { - "id": 9409, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1735:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9410, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1739:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1735:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1735:42:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9408, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "1719:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1719:59:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9415, - "nodeType": "ExpressionStatement", - "src": "1719:59:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes3", - "nameLocation": "1674:9:14", - "parameters": { - "id": 9406, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9405, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1691:2:14", - "nodeType": "VariableDeclaration", - "scope": 9417, - "src": "1684:9:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - }, - "typeName": { - "id": 9404, - "name": "bytes3", - "nodeType": "ElementaryTypeName", - "src": "1684:6:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - } - }, - "visibility": "internal" - } - ], - "src": "1683:11:14" - }, - "returnParameters": { - "id": 9407, - "nodeType": "ParameterList", - "parameters": [], - "src": "1709:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9431, - "nodeType": "FunctionDefinition", - "src": "1791:120:14", - "nodes": [], - "body": { - "id": 9430, - "nodeType": "Block", - "src": "1835:76:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733429", - "id": 9425, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1885:13:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e05f48d17f80c0f06e82dc14f4be9f0f654dde2e722a8d8796ad7e07f5308d55", - "typeString": "literal_string \"log(bytes4)\"" - }, - "value": "log(bytes4)" - }, - { - "id": 9426, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9419, - "src": "1900:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e05f48d17f80c0f06e82dc14f4be9f0f654dde2e722a8d8796ad7e07f5308d55", - "typeString": "literal_string \"log(bytes4)\"" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "id": 9423, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1861:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9424, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1865:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1861:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1861:42:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9422, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "1845:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1845:59:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9429, - "nodeType": "ExpressionStatement", - "src": "1845:59:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes4", - "nameLocation": "1800:9:14", - "parameters": { - "id": 9420, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9419, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1817:2:14", - "nodeType": "VariableDeclaration", - "scope": 9431, - "src": "1810:9:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 9418, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1810:6:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "1809:11:14" - }, - "returnParameters": { - "id": 9421, - "nodeType": "ParameterList", - "parameters": [], - "src": "1835:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9445, - "nodeType": "FunctionDefinition", - "src": "1917:120:14", - "nodes": [], - "body": { - "id": 9444, - "nodeType": "Block", - "src": "1961:76:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733529", - "id": 9439, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2011:13:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a684808d222f8a67c08dd13085391d5e9d1825d9fb6e2da44a91b1a07d07401a", - "typeString": "literal_string \"log(bytes5)\"" - }, - "value": "log(bytes5)" - }, - { - "id": 9440, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9433, - "src": "2026:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a684808d222f8a67c08dd13085391d5e9d1825d9fb6e2da44a91b1a07d07401a", - "typeString": "literal_string \"log(bytes5)\"" - }, - { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - } - ], - "expression": { - "id": 9437, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1987:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9438, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1991:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1987:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9441, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1987:42:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9436, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "1971:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9442, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1971:59:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9443, - "nodeType": "ExpressionStatement", - "src": "1971:59:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes5", - "nameLocation": "1926:9:14", - "parameters": { - "id": 9434, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9433, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1943:2:14", - "nodeType": "VariableDeclaration", - "scope": 9445, - "src": "1936:9:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - }, - "typeName": { - "id": 9432, - "name": "bytes5", - "nodeType": "ElementaryTypeName", - "src": "1936:6:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - } - }, - "visibility": "internal" - } - ], - "src": "1935:11:14" - }, - "returnParameters": { - "id": 9435, - "nodeType": "ParameterList", - "parameters": [], - "src": "1961:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9459, - "nodeType": "FunctionDefinition", - "src": "2043:120:14", - "nodes": [], - "body": { - "id": 9458, - "nodeType": "Block", - "src": "2087:76:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733629", - "id": 9453, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2137:13:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ae84a5910824668818be6031303edf0f6f3694b35d5e6f9683950d57ef12d330", - "typeString": "literal_string \"log(bytes6)\"" - }, - "value": "log(bytes6)" - }, - { - "id": 9454, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9447, - "src": "2152:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ae84a5910824668818be6031303edf0f6f3694b35d5e6f9683950d57ef12d330", - "typeString": "literal_string \"log(bytes6)\"" - }, - { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - } - ], - "expression": { - "id": 9451, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2113:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9452, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2117:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2113:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2113:42:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9450, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "2097:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2097:59:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9457, - "nodeType": "ExpressionStatement", - "src": "2097:59:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes6", - "nameLocation": "2052:9:14", - "parameters": { - "id": 9448, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9447, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2069:2:14", - "nodeType": "VariableDeclaration", - "scope": 9459, - "src": "2062:9:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - }, - "typeName": { - "id": 9446, - "name": "bytes6", - "nodeType": "ElementaryTypeName", - "src": "2062:6:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - } - }, - "visibility": "internal" - } - ], - "src": "2061:11:14" - }, - "returnParameters": { - "id": 9449, - "nodeType": "ParameterList", - "parameters": [], - "src": "2087:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9473, - "nodeType": "FunctionDefinition", - "src": "2169:120:14", - "nodes": [], - "body": { - "id": 9472, - "nodeType": "Block", - "src": "2213:76:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733729", - "id": 9467, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2263:13:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4ed57e28813457436949e4ec0a834b3c8262cd6cebd21953ee0da3400ce2de29", - "typeString": "literal_string \"log(bytes7)\"" - }, - "value": "log(bytes7)" - }, - { - "id": 9468, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9461, - "src": "2278:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4ed57e28813457436949e4ec0a834b3c8262cd6cebd21953ee0da3400ce2de29", - "typeString": "literal_string \"log(bytes7)\"" - }, - { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - } - ], - "expression": { - "id": 9465, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2239:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9466, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2243:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2239:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9469, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2239:42:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9464, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "2223:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2223:59:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9471, - "nodeType": "ExpressionStatement", - "src": "2223:59:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes7", - "nameLocation": "2178:9:14", - "parameters": { - "id": 9462, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9461, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2195:2:14", - "nodeType": "VariableDeclaration", - "scope": 9473, - "src": "2188:9:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - }, - "typeName": { - "id": 9460, - "name": "bytes7", - "nodeType": "ElementaryTypeName", - "src": "2188:6:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - } - }, - "visibility": "internal" - } - ], - "src": "2187:11:14" - }, - "returnParameters": { - "id": 9463, - "nodeType": "ParameterList", - "parameters": [], - "src": "2213:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9487, - "nodeType": "FunctionDefinition", - "src": "2295:120:14", - "nodes": [], - "body": { - "id": 9486, - "nodeType": "Block", - "src": "2339:76:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733829", - "id": 9481, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2389:13:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4f84252e5b28e1a0064346c7cd13650e2dd6020728ca468281bb2a28b42654b3", - "typeString": "literal_string \"log(bytes8)\"" - }, - "value": "log(bytes8)" - }, - { - "id": 9482, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9475, - "src": "2404:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4f84252e5b28e1a0064346c7cd13650e2dd6020728ca468281bb2a28b42654b3", - "typeString": "literal_string \"log(bytes8)\"" - }, - { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - } - ], - "expression": { - "id": 9479, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2365:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9480, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2369:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2365:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9483, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2365:42:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9478, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "2349:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2349:59:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9485, - "nodeType": "ExpressionStatement", - "src": "2349:59:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes8", - "nameLocation": "2304:9:14", - "parameters": { - "id": 9476, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9475, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2321:2:14", - "nodeType": "VariableDeclaration", - "scope": 9487, - "src": "2314:9:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - }, - "typeName": { - "id": 9474, - "name": "bytes8", - "nodeType": "ElementaryTypeName", - "src": "2314:6:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - } - }, - "visibility": "internal" - } - ], - "src": "2313:11:14" - }, - "returnParameters": { - "id": 9477, - "nodeType": "ParameterList", - "parameters": [], - "src": "2339:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9501, - "nodeType": "FunctionDefinition", - "src": "2421:120:14", - "nodes": [], - "body": { - "id": 9500, - "nodeType": "Block", - "src": "2465:76:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733929", - "id": 9495, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2515:13:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_90bd8cd0463fe91d31e59db57ee4cf8d778374c422b4b50e841266d9c2cc6667", - "typeString": "literal_string \"log(bytes9)\"" - }, - "value": "log(bytes9)" - }, - { - "id": 9496, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9489, - "src": "2530:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_90bd8cd0463fe91d31e59db57ee4cf8d778374c422b4b50e841266d9c2cc6667", - "typeString": "literal_string \"log(bytes9)\"" - }, - { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - } - ], - "expression": { - "id": 9493, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2491:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9494, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2495:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2491:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9497, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2491:42:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9492, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "2475:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2475:59:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9499, - "nodeType": "ExpressionStatement", - "src": "2475:59:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes9", - "nameLocation": "2430:9:14", - "parameters": { - "id": 9490, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9489, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2447:2:14", - "nodeType": "VariableDeclaration", - "scope": 9501, - "src": "2440:9:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - }, - "typeName": { - "id": 9488, - "name": "bytes9", - "nodeType": "ElementaryTypeName", - "src": "2440:6:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - } - }, - "visibility": "internal" - } - ], - "src": "2439:11:14" - }, - "returnParameters": { - "id": 9491, - "nodeType": "ParameterList", - "parameters": [], - "src": "2465:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9515, - "nodeType": "FunctionDefinition", - "src": "2547:123:14", - "nodes": [], - "body": { - "id": 9514, - "nodeType": "Block", - "src": "2593:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313029", - "id": 9509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2643:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_013d178bb749cf32d0f7243763667360eb91576261efe5ed9be72b4a2800fd66", - "typeString": "literal_string \"log(bytes10)\"" - }, - "value": "log(bytes10)" - }, - { - "id": 9510, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9503, - "src": "2659:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_013d178bb749cf32d0f7243763667360eb91576261efe5ed9be72b4a2800fd66", - "typeString": "literal_string \"log(bytes10)\"" - }, - { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - } - ], - "expression": { - "id": 9507, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2619:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9508, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2623:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2619:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9511, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2619:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9506, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "2603:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9512, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2603:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9513, - "nodeType": "ExpressionStatement", - "src": "2603:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes10", - "nameLocation": "2556:10:14", - "parameters": { - "id": 9504, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9503, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2575:2:14", - "nodeType": "VariableDeclaration", - "scope": 9515, - "src": "2567:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - }, - "typeName": { - "id": 9502, - "name": "bytes10", - "nodeType": "ElementaryTypeName", - "src": "2567:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - } - }, - "visibility": "internal" - } - ], - "src": "2566:12:14" - }, - "returnParameters": { - "id": 9505, - "nodeType": "ParameterList", - "parameters": [], - "src": "2593:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9529, - "nodeType": "FunctionDefinition", - "src": "2676:123:14", - "nodes": [], - "body": { - "id": 9528, - "nodeType": "Block", - "src": "2722:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313129", - "id": 9523, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2772:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_04004a2e5bef8ca2e7ffd661b519aec3d9c1b8d0aa1e11656aab73b2726922d9", - "typeString": "literal_string \"log(bytes11)\"" - }, - "value": "log(bytes11)" - }, - { - "id": 9524, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9517, - "src": "2788:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_04004a2e5bef8ca2e7ffd661b519aec3d9c1b8d0aa1e11656aab73b2726922d9", - "typeString": "literal_string \"log(bytes11)\"" - }, - { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - } - ], - "expression": { - "id": 9521, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2748:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9522, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2752:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2748:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9525, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2748:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9520, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "2732:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9526, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2732:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9527, - "nodeType": "ExpressionStatement", - "src": "2732:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes11", - "nameLocation": "2685:10:14", - "parameters": { - "id": 9518, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9517, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2704:2:14", - "nodeType": "VariableDeclaration", - "scope": 9529, - "src": "2696:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - }, - "typeName": { - "id": 9516, - "name": "bytes11", - "nodeType": "ElementaryTypeName", - "src": "2696:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - } - }, - "visibility": "internal" - } - ], - "src": "2695:12:14" - }, - "returnParameters": { - "id": 9519, - "nodeType": "ParameterList", - "parameters": [], - "src": "2722:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9543, - "nodeType": "FunctionDefinition", - "src": "2805:123:14", - "nodes": [], - "body": { - "id": 9542, - "nodeType": "Block", - "src": "2851:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313229", - "id": 9537, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2901:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_86a06abd704b9e5bab2216d456863046355f2def5304d8276c140d0d454fddf2", - "typeString": "literal_string \"log(bytes12)\"" - }, - "value": "log(bytes12)" - }, - { - "id": 9538, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9531, - "src": "2917:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_86a06abd704b9e5bab2216d456863046355f2def5304d8276c140d0d454fddf2", - "typeString": "literal_string \"log(bytes12)\"" - }, - { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - } - ], - "expression": { - "id": 9535, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2877:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9536, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2881:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2877:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9539, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2877:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9534, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "2861:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9540, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2861:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9541, - "nodeType": "ExpressionStatement", - "src": "2861:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes12", - "nameLocation": "2814:10:14", - "parameters": { - "id": 9532, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9531, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2833:2:14", - "nodeType": "VariableDeclaration", - "scope": 9543, - "src": "2825:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - }, - "typeName": { - "id": 9530, - "name": "bytes12", - "nodeType": "ElementaryTypeName", - "src": "2825:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - } - }, - "visibility": "internal" - } - ], - "src": "2824:12:14" - }, - "returnParameters": { - "id": 9533, - "nodeType": "ParameterList", - "parameters": [], - "src": "2851:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9557, - "nodeType": "FunctionDefinition", - "src": "2934:123:14", - "nodes": [], - "body": { - "id": 9556, - "nodeType": "Block", - "src": "2980:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313329", - "id": 9551, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3030:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_94529e34a43ac6de2c3a0df402eee6114eb0f2ad065baefde0230cd3cf90e2ec", - "typeString": "literal_string \"log(bytes13)\"" - }, - "value": "log(bytes13)" - }, - { - "id": 9552, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9545, - "src": "3046:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_94529e34a43ac6de2c3a0df402eee6114eb0f2ad065baefde0230cd3cf90e2ec", - "typeString": "literal_string \"log(bytes13)\"" - }, - { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - } - ], - "expression": { - "id": 9549, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3006:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9550, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3010:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3006:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3006:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9548, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "2990:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9554, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2990:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9555, - "nodeType": "ExpressionStatement", - "src": "2990:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes13", - "nameLocation": "2943:10:14", - "parameters": { - "id": 9546, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9545, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2962:2:14", - "nodeType": "VariableDeclaration", - "scope": 9557, - "src": "2954:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - }, - "typeName": { - "id": 9544, - "name": "bytes13", - "nodeType": "ElementaryTypeName", - "src": "2954:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - } - }, - "visibility": "internal" - } - ], - "src": "2953:12:14" - }, - "returnParameters": { - "id": 9547, - "nodeType": "ParameterList", - "parameters": [], - "src": "2980:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9571, - "nodeType": "FunctionDefinition", - "src": "3063:123:14", - "nodes": [], - "body": { - "id": 9570, - "nodeType": "Block", - "src": "3109:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313429", - "id": 9565, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3159:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9266f07faf32c88bbdb01ce418243acbc1c63e15d6e3afa16078186ba711f278", - "typeString": "literal_string \"log(bytes14)\"" - }, - "value": "log(bytes14)" - }, - { - "id": 9566, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9559, - "src": "3175:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9266f07faf32c88bbdb01ce418243acbc1c63e15d6e3afa16078186ba711f278", - "typeString": "literal_string \"log(bytes14)\"" - }, - { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - } - ], - "expression": { - "id": 9563, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3135:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9564, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3139:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3135:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9567, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3135:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9562, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "3119:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9568, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3119:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9569, - "nodeType": "ExpressionStatement", - "src": "3119:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes14", - "nameLocation": "3072:10:14", - "parameters": { - "id": 9560, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9559, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3091:2:14", - "nodeType": "VariableDeclaration", - "scope": 9571, - "src": "3083:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - }, - "typeName": { - "id": 9558, - "name": "bytes14", - "nodeType": "ElementaryTypeName", - "src": "3083:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - } - }, - "visibility": "internal" - } - ], - "src": "3082:12:14" - }, - "returnParameters": { - "id": 9561, - "nodeType": "ParameterList", - "parameters": [], - "src": "3109:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9585, - "nodeType": "FunctionDefinition", - "src": "3192:123:14", - "nodes": [], - "body": { - "id": 9584, - "nodeType": "Block", - "src": "3238:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313529", - "id": 9579, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3288:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_da9574e0bf3f23e09c3d85c9f5226065bb36281f2a5d78c7e38f6ffd58919606", - "typeString": "literal_string \"log(bytes15)\"" - }, - "value": "log(bytes15)" - }, - { - "id": 9580, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9573, - "src": "3304:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_da9574e0bf3f23e09c3d85c9f5226065bb36281f2a5d78c7e38f6ffd58919606", - "typeString": "literal_string \"log(bytes15)\"" - }, - { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - } - ], - "expression": { - "id": 9577, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3264:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9578, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3268:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3264:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9581, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3264:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9576, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "3248:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9582, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3248:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9583, - "nodeType": "ExpressionStatement", - "src": "3248:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes15", - "nameLocation": "3201:10:14", - "parameters": { - "id": 9574, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9573, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3220:2:14", - "nodeType": "VariableDeclaration", - "scope": 9585, - "src": "3212:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - }, - "typeName": { - "id": 9572, - "name": "bytes15", - "nodeType": "ElementaryTypeName", - "src": "3212:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - } - }, - "visibility": "internal" - } - ], - "src": "3211:12:14" - }, - "returnParameters": { - "id": 9575, - "nodeType": "ParameterList", - "parameters": [], - "src": "3238:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9599, - "nodeType": "FunctionDefinition", - "src": "3321:123:14", - "nodes": [], - "body": { - "id": 9598, - "nodeType": "Block", - "src": "3367:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313629", - "id": 9593, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3417:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_665c61046af0adc4969f9d2f111b654775bd58f112b63e5ce7dfff29c000e9f3", - "typeString": "literal_string \"log(bytes16)\"" - }, - "value": "log(bytes16)" - }, - { - "id": 9594, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9587, - "src": "3433:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_665c61046af0adc4969f9d2f111b654775bd58f112b63e5ce7dfff29c000e9f3", - "typeString": "literal_string \"log(bytes16)\"" - }, - { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - ], - "expression": { - "id": 9591, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3393:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3397:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3393:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9595, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3393:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9590, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "3377:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9596, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3377:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9597, - "nodeType": "ExpressionStatement", - "src": "3377:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes16", - "nameLocation": "3330:10:14", - "parameters": { - "id": 9588, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9587, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3349:2:14", - "nodeType": "VariableDeclaration", - "scope": 9599, - "src": "3341:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - }, - "typeName": { - "id": 9586, - "name": "bytes16", - "nodeType": "ElementaryTypeName", - "src": "3341:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "visibility": "internal" - } - ], - "src": "3340:12:14" - }, - "returnParameters": { - "id": 9589, - "nodeType": "ParameterList", - "parameters": [], - "src": "3367:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9613, - "nodeType": "FunctionDefinition", - "src": "3450:123:14", - "nodes": [], - "body": { - "id": 9612, - "nodeType": "Block", - "src": "3496:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313729", - "id": 9607, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3546:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_339f673a0c008974259a0022c9b150cc5d1af8c58584412fe373d84bd08d4ea3", - "typeString": "literal_string \"log(bytes17)\"" - }, - "value": "log(bytes17)" - }, - { - "id": 9608, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9601, - "src": "3562:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_339f673a0c008974259a0022c9b150cc5d1af8c58584412fe373d84bd08d4ea3", - "typeString": "literal_string \"log(bytes17)\"" - }, - { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - } - ], - "expression": { - "id": 9605, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3522:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9606, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3526:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3522:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3522:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9604, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "3506:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3506:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9611, - "nodeType": "ExpressionStatement", - "src": "3506:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes17", - "nameLocation": "3459:10:14", - "parameters": { - "id": 9602, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9601, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3478:2:14", - "nodeType": "VariableDeclaration", - "scope": 9613, - "src": "3470:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - }, - "typeName": { - "id": 9600, - "name": "bytes17", - "nodeType": "ElementaryTypeName", - "src": "3470:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - } - }, - "visibility": "internal" - } - ], - "src": "3469:12:14" - }, - "returnParameters": { - "id": 9603, - "nodeType": "ParameterList", - "parameters": [], - "src": "3496:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9627, - "nodeType": "FunctionDefinition", - "src": "3579:123:14", - "nodes": [], - "body": { - "id": 9626, - "nodeType": "Block", - "src": "3625:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313829", - "id": 9621, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3675:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c4d23d9af6458d5ddc7cb8128a2f36bf147c9db4fe277dfe0fe7be41def62116", - "typeString": "literal_string \"log(bytes18)\"" - }, - "value": "log(bytes18)" - }, - { - "id": 9622, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9615, - "src": "3691:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c4d23d9af6458d5ddc7cb8128a2f36bf147c9db4fe277dfe0fe7be41def62116", - "typeString": "literal_string \"log(bytes18)\"" - }, - { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - } - ], - "expression": { - "id": 9619, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3651:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9620, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3655:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3651:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9623, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3651:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9618, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "3635:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9624, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3635:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9625, - "nodeType": "ExpressionStatement", - "src": "3635:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes18", - "nameLocation": "3588:10:14", - "parameters": { - "id": 9616, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9615, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3607:2:14", - "nodeType": "VariableDeclaration", - "scope": 9627, - "src": "3599:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - }, - "typeName": { - "id": 9614, - "name": "bytes18", - "nodeType": "ElementaryTypeName", - "src": "3599:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - } - }, - "visibility": "internal" - } - ], - "src": "3598:12:14" - }, - "returnParameters": { - "id": 9617, - "nodeType": "ParameterList", - "parameters": [], - "src": "3625:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9641, - "nodeType": "FunctionDefinition", - "src": "3708:123:14", - "nodes": [], - "body": { - "id": 9640, - "nodeType": "Block", - "src": "3754:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313929", - "id": 9635, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3804:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5e6b5a33524ca650028e2fad735b4ab50285bba37658119d2da303bee98aeada", - "typeString": "literal_string \"log(bytes19)\"" - }, - "value": "log(bytes19)" - }, - { - "id": 9636, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9629, - "src": "3820:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5e6b5a33524ca650028e2fad735b4ab50285bba37658119d2da303bee98aeada", - "typeString": "literal_string \"log(bytes19)\"" - }, - { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - } - ], - "expression": { - "id": 9633, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3780:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9634, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3784:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3780:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9637, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3780:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9632, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "3764:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3764:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9639, - "nodeType": "ExpressionStatement", - "src": "3764:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes19", - "nameLocation": "3717:10:14", - "parameters": { - "id": 9630, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9629, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3736:2:14", - "nodeType": "VariableDeclaration", - "scope": 9641, - "src": "3728:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - }, - "typeName": { - "id": 9628, - "name": "bytes19", - "nodeType": "ElementaryTypeName", - "src": "3728:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - } - }, - "visibility": "internal" - } - ], - "src": "3727:12:14" - }, - "returnParameters": { - "id": 9631, - "nodeType": "ParameterList", - "parameters": [], - "src": "3754:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9655, - "nodeType": "FunctionDefinition", - "src": "3837:123:14", - "nodes": [], - "body": { - "id": 9654, - "nodeType": "Block", - "src": "3883:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323029", - "id": 9649, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3933:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5188e3e9b3f117a223e2e428d0e13d089f3a53913e479000b94b85266ecf8231", - "typeString": "literal_string \"log(bytes20)\"" - }, - "value": "log(bytes20)" - }, - { - "id": 9650, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9643, - "src": "3949:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5188e3e9b3f117a223e2e428d0e13d089f3a53913e479000b94b85266ecf8231", - "typeString": "literal_string \"log(bytes20)\"" - }, - { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - ], - "expression": { - "id": 9647, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3909:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9648, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3913:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3909:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9651, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3909:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9646, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "3893:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3893:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9653, - "nodeType": "ExpressionStatement", - "src": "3893:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes20", - "nameLocation": "3846:10:14", - "parameters": { - "id": 9644, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9643, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3865:2:14", - "nodeType": "VariableDeclaration", - "scope": 9655, - "src": "3857:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - }, - "typeName": { - "id": 9642, - "name": "bytes20", - "nodeType": "ElementaryTypeName", - "src": "3857:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - }, - "visibility": "internal" - } - ], - "src": "3856:12:14" - }, - "returnParameters": { - "id": 9645, - "nodeType": "ParameterList", - "parameters": [], - "src": "3883:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9669, - "nodeType": "FunctionDefinition", - "src": "3966:123:14", - "nodes": [], - "body": { - "id": 9668, - "nodeType": "Block", - "src": "4012:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323129", - "id": 9663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4062:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e9da35608192a6b38ad5ef62cf738886973b011b8cdb7e81cdd51b4c3dfe8ad7", - "typeString": "literal_string \"log(bytes21)\"" - }, - "value": "log(bytes21)" - }, - { - "id": 9664, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9657, - "src": "4078:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e9da35608192a6b38ad5ef62cf738886973b011b8cdb7e81cdd51b4c3dfe8ad7", - "typeString": "literal_string \"log(bytes21)\"" - }, - { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - } - ], - "expression": { - "id": 9661, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4038:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9662, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4042:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4038:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9665, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4038:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9660, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "4022:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9666, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4022:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9667, - "nodeType": "ExpressionStatement", - "src": "4022:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes21", - "nameLocation": "3975:10:14", - "parameters": { - "id": 9658, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9657, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3994:2:14", - "nodeType": "VariableDeclaration", - "scope": 9669, - "src": "3986:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - }, - "typeName": { - "id": 9656, - "name": "bytes21", - "nodeType": "ElementaryTypeName", - "src": "3986:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - } - }, - "visibility": "internal" - } - ], - "src": "3985:12:14" - }, - "returnParameters": { - "id": 9659, - "nodeType": "ParameterList", - "parameters": [], - "src": "4012:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9683, - "nodeType": "FunctionDefinition", - "src": "4095:123:14", - "nodes": [], - "body": { - "id": 9682, - "nodeType": "Block", - "src": "4141:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323229", - "id": 9677, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4191:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d5fae89c25bed6f12b105f52db0a0ff6f5c8313613e12eccd3059bb7f7ea6575", - "typeString": "literal_string \"log(bytes22)\"" - }, - "value": "log(bytes22)" - }, - { - "id": 9678, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9671, - "src": "4207:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d5fae89c25bed6f12b105f52db0a0ff6f5c8313613e12eccd3059bb7f7ea6575", - "typeString": "literal_string \"log(bytes22)\"" - }, - { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - } - ], - "expression": { - "id": 9675, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4167:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9676, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4171:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4167:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9679, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4167:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9674, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "4151:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9680, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4151:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9681, - "nodeType": "ExpressionStatement", - "src": "4151:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes22", - "nameLocation": "4104:10:14", - "parameters": { - "id": 9672, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9671, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4123:2:14", - "nodeType": "VariableDeclaration", - "scope": 9683, - "src": "4115:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - }, - "typeName": { - "id": 9670, - "name": "bytes22", - "nodeType": "ElementaryTypeName", - "src": "4115:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - } - }, - "visibility": "internal" - } - ], - "src": "4114:12:14" - }, - "returnParameters": { - "id": 9673, - "nodeType": "ParameterList", - "parameters": [], - "src": "4141:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9697, - "nodeType": "FunctionDefinition", - "src": "4224:123:14", - "nodes": [], - "body": { - "id": 9696, - "nodeType": "Block", - "src": "4270:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323329", - "id": 9691, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4320:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_aba1cf0dcd316c862bc06d4cf532375fed11c1e0897ba81a04ee0b22d3f14061", - "typeString": "literal_string \"log(bytes23)\"" - }, - "value": "log(bytes23)" - }, - { - "id": 9692, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9685, - "src": "4336:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_aba1cf0dcd316c862bc06d4cf532375fed11c1e0897ba81a04ee0b22d3f14061", - "typeString": "literal_string \"log(bytes23)\"" - }, - { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - } - ], - "expression": { - "id": 9689, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4296:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9690, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4300:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4296:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9693, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4296:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9688, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "4280:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9694, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4280:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9695, - "nodeType": "ExpressionStatement", - "src": "4280:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes23", - "nameLocation": "4233:10:14", - "parameters": { - "id": 9686, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9685, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4252:2:14", - "nodeType": "VariableDeclaration", - "scope": 9697, - "src": "4244:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - }, - "typeName": { - "id": 9684, - "name": "bytes23", - "nodeType": "ElementaryTypeName", - "src": "4244:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - } - }, - "visibility": "internal" - } - ], - "src": "4243:12:14" - }, - "returnParameters": { - "id": 9687, - "nodeType": "ParameterList", - "parameters": [], - "src": "4270:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9711, - "nodeType": "FunctionDefinition", - "src": "4353:123:14", - "nodes": [], - "body": { - "id": 9710, - "nodeType": "Block", - "src": "4399:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323429", - "id": 9705, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4449:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f1b35b3488a5452bceb48624d6ba2a791e58f0e9c0f4b86b8f51186ec7a7edf4", - "typeString": "literal_string \"log(bytes24)\"" - }, - "value": "log(bytes24)" - }, - { - "id": 9706, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9699, - "src": "4465:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f1b35b3488a5452bceb48624d6ba2a791e58f0e9c0f4b86b8f51186ec7a7edf4", - "typeString": "literal_string \"log(bytes24)\"" - }, - { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - } - ], - "expression": { - "id": 9703, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4425:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9704, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4429:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4425:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4425:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9702, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "4409:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4409:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9709, - "nodeType": "ExpressionStatement", - "src": "4409:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes24", - "nameLocation": "4362:10:14", - "parameters": { - "id": 9700, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9699, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4381:2:14", - "nodeType": "VariableDeclaration", - "scope": 9711, - "src": "4373:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - }, - "typeName": { - "id": 9698, - "name": "bytes24", - "nodeType": "ElementaryTypeName", - "src": "4373:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - } - }, - "visibility": "internal" - } - ], - "src": "4372:12:14" - }, - "returnParameters": { - "id": 9701, - "nodeType": "ParameterList", - "parameters": [], - "src": "4399:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9725, - "nodeType": "FunctionDefinition", - "src": "4482:123:14", - "nodes": [], - "body": { - "id": 9724, - "nodeType": "Block", - "src": "4528:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323529", - "id": 9719, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4578:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b84bc580db9be1295ee23dff6122da1f70381c83abf9a74953cca11238eda25", - "typeString": "literal_string \"log(bytes25)\"" - }, - "value": "log(bytes25)" - }, - { - "id": 9720, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9713, - "src": "4594:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0b84bc580db9be1295ee23dff6122da1f70381c83abf9a74953cca11238eda25", - "typeString": "literal_string \"log(bytes25)\"" - }, - { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - } - ], - "expression": { - "id": 9717, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4554:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9718, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4558:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4554:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9721, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4554:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9716, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "4538:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9722, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4538:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9723, - "nodeType": "ExpressionStatement", - "src": "4538:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes25", - "nameLocation": "4491:10:14", - "parameters": { - "id": 9714, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9713, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4510:2:14", - "nodeType": "VariableDeclaration", - "scope": 9725, - "src": "4502:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - }, - "typeName": { - "id": 9712, - "name": "bytes25", - "nodeType": "ElementaryTypeName", - "src": "4502:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - } - }, - "visibility": "internal" - } - ], - "src": "4501:12:14" - }, - "returnParameters": { - "id": 9715, - "nodeType": "ParameterList", - "parameters": [], - "src": "4528:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9739, - "nodeType": "FunctionDefinition", - "src": "4611:123:14", - "nodes": [], - "body": { - "id": 9738, - "nodeType": "Block", - "src": "4657:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323629", - "id": 9733, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4707:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f8b149f18dc341f1a56e26c6c24a5233eec3bbb2ab017e9e86e663aae743965b", - "typeString": "literal_string \"log(bytes26)\"" - }, - "value": "log(bytes26)" - }, - { - "id": 9734, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9727, - "src": "4723:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f8b149f18dc341f1a56e26c6c24a5233eec3bbb2ab017e9e86e663aae743965b", - "typeString": "literal_string \"log(bytes26)\"" - }, - { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - } - ], - "expression": { - "id": 9731, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4683:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9732, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4687:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4683:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9735, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4683:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9730, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "4667:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4667:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9737, - "nodeType": "ExpressionStatement", - "src": "4667:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes26", - "nameLocation": "4620:10:14", - "parameters": { - "id": 9728, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9727, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4639:2:14", - "nodeType": "VariableDeclaration", - "scope": 9739, - "src": "4631:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - }, - "typeName": { - "id": 9726, - "name": "bytes26", - "nodeType": "ElementaryTypeName", - "src": "4631:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - } - }, - "visibility": "internal" - } - ], - "src": "4630:12:14" - }, - "returnParameters": { - "id": 9729, - "nodeType": "ParameterList", - "parameters": [], - "src": "4657:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9753, - "nodeType": "FunctionDefinition", - "src": "4740:123:14", - "nodes": [], - "body": { - "id": 9752, - "nodeType": "Block", - "src": "4786:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323729", - "id": 9747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4836:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3a3757dda92e8e238aa23ff7f6f62e31074f6acccca8986ec1286b5a835236b6", - "typeString": "literal_string \"log(bytes27)\"" - }, - "value": "log(bytes27)" - }, - { - "id": 9748, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9741, - "src": "4852:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3a3757dda92e8e238aa23ff7f6f62e31074f6acccca8986ec1286b5a835236b6", - "typeString": "literal_string \"log(bytes27)\"" - }, - { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - } - ], - "expression": { - "id": 9745, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4812:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9746, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4816:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4812:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4812:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9744, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "4796:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4796:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9751, - "nodeType": "ExpressionStatement", - "src": "4796:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes27", - "nameLocation": "4749:10:14", - "parameters": { - "id": 9742, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9741, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4768:2:14", - "nodeType": "VariableDeclaration", - "scope": 9753, - "src": "4760:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - }, - "typeName": { - "id": 9740, - "name": "bytes27", - "nodeType": "ElementaryTypeName", - "src": "4760:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - } - }, - "visibility": "internal" - } - ], - "src": "4759:12:14" - }, - "returnParameters": { - "id": 9743, - "nodeType": "ParameterList", - "parameters": [], - "src": "4786:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9767, - "nodeType": "FunctionDefinition", - "src": "4869:123:14", - "nodes": [], - "body": { - "id": 9766, - "nodeType": "Block", - "src": "4915:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323829", - "id": 9761, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4965:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c82aeaee74a6ddec4ccd5cfe60e816752c02c70838f0908bd4a6e82866b3a042", - "typeString": "literal_string \"log(bytes28)\"" - }, - "value": "log(bytes28)" - }, - { - "id": 9762, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9755, - "src": "4981:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c82aeaee74a6ddec4ccd5cfe60e816752c02c70838f0908bd4a6e82866b3a042", - "typeString": "literal_string \"log(bytes28)\"" - }, - { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - } - ], - "expression": { - "id": 9759, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4941:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9760, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4945:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4941:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4941:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9758, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "4925:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9764, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4925:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9765, - "nodeType": "ExpressionStatement", - "src": "4925:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes28", - "nameLocation": "4878:10:14", - "parameters": { - "id": 9756, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9755, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4897:2:14", - "nodeType": "VariableDeclaration", - "scope": 9767, - "src": "4889:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - }, - "typeName": { - "id": 9754, - "name": "bytes28", - "nodeType": "ElementaryTypeName", - "src": "4889:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - } - }, - "visibility": "internal" - } - ], - "src": "4888:12:14" - }, - "returnParameters": { - "id": 9757, - "nodeType": "ParameterList", - "parameters": [], - "src": "4915:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9781, - "nodeType": "FunctionDefinition", - "src": "4998:123:14", - "nodes": [], - "body": { - "id": 9780, - "nodeType": "Block", - "src": "5044:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323929", - "id": 9775, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5094:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4b69c3d5f782ef1bdb62d5bb42d4987f16799030ba447bb153d465bd3a3a5667", - "typeString": "literal_string \"log(bytes29)\"" - }, - "value": "log(bytes29)" - }, - { - "id": 9776, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9769, - "src": "5110:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4b69c3d5f782ef1bdb62d5bb42d4987f16799030ba447bb153d465bd3a3a5667", - "typeString": "literal_string \"log(bytes29)\"" - }, - { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - } - ], - "expression": { - "id": 9773, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5070:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9774, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5074:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5070:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9777, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5070:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9772, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "5054:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5054:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9779, - "nodeType": "ExpressionStatement", - "src": "5054:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes29", - "nameLocation": "5007:10:14", - "parameters": { - "id": 9770, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9769, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5026:2:14", - "nodeType": "VariableDeclaration", - "scope": 9781, - "src": "5018:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - }, - "typeName": { - "id": 9768, - "name": "bytes29", - "nodeType": "ElementaryTypeName", - "src": "5018:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - } - }, - "visibility": "internal" - } - ], - "src": "5017:12:14" - }, - "returnParameters": { - "id": 9771, - "nodeType": "ParameterList", - "parameters": [], - "src": "5044:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9795, - "nodeType": "FunctionDefinition", - "src": "5127:123:14", - "nodes": [], - "body": { - "id": 9794, - "nodeType": "Block", - "src": "5173:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573333029", - "id": 9789, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5223:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ee12c4edbd73d98174a6bf3454562c4874f59cb381176b662ca65f625f97d6ad", - "typeString": "literal_string \"log(bytes30)\"" - }, - "value": "log(bytes30)" - }, - { - "id": 9790, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9783, - "src": "5239:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ee12c4edbd73d98174a6bf3454562c4874f59cb381176b662ca65f625f97d6ad", - "typeString": "literal_string \"log(bytes30)\"" - }, - { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - } - ], - "expression": { - "id": 9787, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5199:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9788, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5203:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5199:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9791, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5199:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9786, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "5183:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9792, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5183:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9793, - "nodeType": "ExpressionStatement", - "src": "5183:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes30", - "nameLocation": "5136:10:14", - "parameters": { - "id": 9784, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9783, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5155:2:14", - "nodeType": "VariableDeclaration", - "scope": 9795, - "src": "5147:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - }, - "typeName": { - "id": 9782, - "name": "bytes30", - "nodeType": "ElementaryTypeName", - "src": "5147:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - } - }, - "visibility": "internal" - } - ], - "src": "5146:12:14" - }, - "returnParameters": { - "id": 9785, - "nodeType": "ParameterList", - "parameters": [], - "src": "5173:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9809, - "nodeType": "FunctionDefinition", - "src": "5256:123:14", - "nodes": [], - "body": { - "id": 9808, - "nodeType": "Block", - "src": "5302:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573333129", - "id": 9803, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5352:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c2854d92a0707e582e2710f9c9d3f148fdcf7e7da3b4270c2cfa3e223a2c50ce", - "typeString": "literal_string \"log(bytes31)\"" - }, - "value": "log(bytes31)" - }, - { - "id": 9804, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9797, - "src": "5368:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c2854d92a0707e582e2710f9c9d3f148fdcf7e7da3b4270c2cfa3e223a2c50ce", - "typeString": "literal_string \"log(bytes31)\"" - }, - { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - } - ], - "expression": { - "id": 9801, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5328:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9802, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5332:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5328:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5328:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9800, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "5312:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9806, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5312:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9807, - "nodeType": "ExpressionStatement", - "src": "5312:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes31", - "nameLocation": "5265:10:14", - "parameters": { - "id": 9798, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9797, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5284:2:14", - "nodeType": "VariableDeclaration", - "scope": 9809, - "src": "5276:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - }, - "typeName": { - "id": 9796, - "name": "bytes31", - "nodeType": "ElementaryTypeName", - "src": "5276:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - } - }, - "visibility": "internal" - } - ], - "src": "5275:12:14" - }, - "returnParameters": { - "id": 9799, - "nodeType": "ParameterList", - "parameters": [], - "src": "5302:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9823, - "nodeType": "FunctionDefinition", - "src": "5385:123:14", - "nodes": [], - "body": { - "id": 9822, - "nodeType": "Block", - "src": "5431:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573333229", - "id": 9817, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5481:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_27b7cf8513ac6b65cae720183e1e60e67f8a9d92c01286c19d51d4e30aa269da", - "typeString": "literal_string \"log(bytes32)\"" - }, - "value": "log(bytes32)" - }, - { - "id": 9818, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9811, - "src": "5497:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_27b7cf8513ac6b65cae720183e1e60e67f8a9d92c01286c19d51d4e30aa269da", - "typeString": "literal_string \"log(bytes32)\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 9815, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5457:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9816, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5461:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5457:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5457:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9814, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "5441:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5441:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9821, - "nodeType": "ExpressionStatement", - "src": "5441:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes32", - "nameLocation": "5394:10:14", - "parameters": { - "id": 9812, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9811, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5413:2:14", - "nodeType": "VariableDeclaration", - "scope": 9823, - "src": "5405:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9810, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5405:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "5404:12:14" - }, - "returnParameters": { - "id": 9813, - "nodeType": "ParameterList", - "parameters": [], - "src": "5431:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9837, - "nodeType": "FunctionDefinition", - "src": "5514:110:14", - "nodes": [], - "body": { - "id": 9836, - "nodeType": "Block", - "src": "5550:74:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e7429", - "id": 9831, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5600:11:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f5b1bba92d8f98cf25e27c94d7fc7cbfbae95a49dfe5ab0cdf64ddd7181bb984", - "typeString": "literal_string \"log(uint)\"" - }, - "value": "log(uint)" - }, - { - "id": 9832, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9825, - "src": "5613:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f5b1bba92d8f98cf25e27c94d7fc7cbfbae95a49dfe5ab0cdf64ddd7181bb984", - "typeString": "literal_string \"log(uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 9829, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5576:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9830, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5580:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5576:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9833, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5576:40:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9828, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "5560:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9834, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5560:57:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9835, - "nodeType": "ExpressionStatement", - "src": "5560:57:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "5523:3:14", - "parameters": { - "id": 9826, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9825, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5532:2:14", - "nodeType": "VariableDeclaration", - "scope": 9837, - "src": "5527:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9824, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5527:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5526:9:14" - }, - "returnParameters": { - "id": 9827, - "nodeType": "ParameterList", - "parameters": [], - "src": "5550:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9851, - "nodeType": "FunctionDefinition", - "src": "5630:121:14", - "nodes": [], - "body": { - "id": 9850, - "nodeType": "Block", - "src": "5675:76:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e6729", - "id": 9845, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5725:13:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50", - "typeString": "literal_string \"log(string)\"" - }, - "value": "log(string)" - }, - { - "id": 9846, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9839, - "src": "5740:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50", - "typeString": "literal_string \"log(string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 9843, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5701:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9844, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5705:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5701:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9847, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5701:42:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9842, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "5685:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9848, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5685:59:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9849, - "nodeType": "ExpressionStatement", - "src": "5685:59:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "5639:3:14", - "parameters": { - "id": 9840, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9839, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5657:2:14", - "nodeType": "VariableDeclaration", - "scope": 9851, - "src": "5643:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9838, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5643:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5642:18:14" - }, - "returnParameters": { - "id": 9841, - "nodeType": "ParameterList", - "parameters": [], - "src": "5675:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9865, - "nodeType": "FunctionDefinition", - "src": "5757:110:14", - "nodes": [], - "body": { - "id": 9864, - "nodeType": "Block", - "src": "5793:74:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c29", - "id": 9859, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5843:11:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - "value": "log(bool)" - }, - { - "id": 9860, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9853, - "src": "5856:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 9857, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5819:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9858, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5823:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5819:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9861, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5819:40:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9856, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "5803:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9862, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5803:57:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9863, - "nodeType": "ExpressionStatement", - "src": "5803:57:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "5766:3:14", - "parameters": { - "id": 9854, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9853, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5775:2:14", - "nodeType": "VariableDeclaration", - "scope": 9865, - "src": "5770:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9852, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5770:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "5769:9:14" - }, - "returnParameters": { - "id": 9855, - "nodeType": "ParameterList", - "parameters": [], - "src": "5793:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9879, - "nodeType": "FunctionDefinition", - "src": "5873:116:14", - "nodes": [], - "body": { - "id": 9878, - "nodeType": "Block", - "src": "5912:77:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286164647265737329", - "id": 9873, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5962:14:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - "value": "log(address)" - }, - { - "id": 9874, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9867, - "src": "5978:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 9871, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5938:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9872, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5942:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5938:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9875, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5938:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9870, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "5922:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9876, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5922:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9877, - "nodeType": "ExpressionStatement", - "src": "5922:60:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "5882:3:14", - "parameters": { - "id": 9868, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9867, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5894:2:14", - "nodeType": "VariableDeclaration", - "scope": 9879, - "src": "5886:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9866, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5886:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "5885:12:14" - }, - "returnParameters": { - "id": 9869, - "nodeType": "ParameterList", - "parameters": [], - "src": "5912:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9896, - "nodeType": "FunctionDefinition", - "src": "5995:128:14", - "nodes": [], - "body": { - "id": 9895, - "nodeType": "Block", - "src": "6040:83:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e7429", - "id": 9889, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6090:16:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6c0f69806b714804c91bc48c3b408dde7373841a86e55c9ea3ee0c5945b4bc32", - "typeString": "literal_string \"log(uint,uint)\"" - }, - "value": "log(uint,uint)" - }, - { - "id": 9890, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9881, - "src": "6108:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9891, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9883, - "src": "6112:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6c0f69806b714804c91bc48c3b408dde7373841a86e55c9ea3ee0c5945b4bc32", - "typeString": "literal_string \"log(uint,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 9887, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6066:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9888, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6070:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6066:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6066:49:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9886, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "6050:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9893, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6050:66:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9894, - "nodeType": "ExpressionStatement", - "src": "6050:66:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6004:3:14", - "parameters": { - "id": 9884, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9881, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6013:2:14", - "nodeType": "VariableDeclaration", - "scope": 9896, - "src": "6008:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9880, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6008:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9883, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6022:2:14", - "nodeType": "VariableDeclaration", - "scope": 9896, - "src": "6017:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9882, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6017:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6007:18:14" - }, - "returnParameters": { - "id": 9885, - "nodeType": "ParameterList", - "parameters": [], - "src": "6040:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9913, - "nodeType": "FunctionDefinition", - "src": "6129:139:14", - "nodes": [], - "body": { - "id": 9912, - "nodeType": "Block", - "src": "6183:85:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e6729", - "id": 9906, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6233:18:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0fa3f345ed69310615f27bede4ec80a963e2134dd287fa93c82b0c1eefe029a8", - "typeString": "literal_string \"log(uint,string)\"" - }, - "value": "log(uint,string)" - }, - { - "id": 9907, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9898, - "src": "6253:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9908, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9900, - "src": "6257:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0fa3f345ed69310615f27bede4ec80a963e2134dd287fa93c82b0c1eefe029a8", - "typeString": "literal_string \"log(uint,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 9904, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6209:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9905, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6213:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6209:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6209:51:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9903, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "6193:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6193:68:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9911, - "nodeType": "ExpressionStatement", - "src": "6193:68:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6138:3:14", - "parameters": { - "id": 9901, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9898, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6147:2:14", - "nodeType": "VariableDeclaration", - "scope": 9913, - "src": "6142:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9897, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6142:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9900, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6165:2:14", - "nodeType": "VariableDeclaration", - "scope": 9913, - "src": "6151:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9899, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6151:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6141:27:14" - }, - "returnParameters": { - "id": 9902, - "nodeType": "ParameterList", - "parameters": [], - "src": "6183:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9930, - "nodeType": "FunctionDefinition", - "src": "6274:128:14", - "nodes": [], - "body": { - "id": 9929, - "nodeType": "Block", - "src": "6319:83:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c29", - "id": 9923, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6369:16:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e6dd4ecaf57d2ec6eb02f2f993c53040200a16451fba718b7e8b170825fd172", - "typeString": "literal_string \"log(uint,bool)\"" - }, - "value": "log(uint,bool)" - }, - { - "id": 9924, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9915, - "src": "6387:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9925, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9917, - "src": "6391:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1e6dd4ecaf57d2ec6eb02f2f993c53040200a16451fba718b7e8b170825fd172", - "typeString": "literal_string \"log(uint,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 9921, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6345:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9922, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6349:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6345:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9926, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6345:49:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9920, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "6329:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9927, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6329:66:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9928, - "nodeType": "ExpressionStatement", - "src": "6329:66:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6283:3:14", - "parameters": { - "id": 9918, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9915, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6292:2:14", - "nodeType": "VariableDeclaration", - "scope": 9930, - "src": "6287:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9914, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6287:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9917, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6301:2:14", - "nodeType": "VariableDeclaration", - "scope": 9930, - "src": "6296:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9916, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6296:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "6286:18:14" - }, - "returnParameters": { - "id": 9919, - "nodeType": "ParameterList", - "parameters": [], - "src": "6319:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9947, - "nodeType": "FunctionDefinition", - "src": "6408:134:14", - "nodes": [], - "body": { - "id": 9946, - "nodeType": "Block", - "src": "6456:86:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c6164647265737329", - "id": 9940, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6506:19:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_58eb860cb5df2c2db83667a7ce62ef14d1323e0f3e304ea316fb64cd2c6fd3b2", - "typeString": "literal_string \"log(uint,address)\"" - }, - "value": "log(uint,address)" - }, - { - "id": 9941, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9932, - "src": "6527:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9942, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9934, - "src": "6531:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_58eb860cb5df2c2db83667a7ce62ef14d1323e0f3e304ea316fb64cd2c6fd3b2", - "typeString": "literal_string \"log(uint,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 9938, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6482:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9939, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6486:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6482:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6482:52:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9937, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "6466:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9944, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6466:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9945, - "nodeType": "ExpressionStatement", - "src": "6466:69:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6417:3:14", - "parameters": { - "id": 9935, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9932, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6426:2:14", - "nodeType": "VariableDeclaration", - "scope": 9947, - "src": "6421:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9931, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6421:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9934, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6438:2:14", - "nodeType": "VariableDeclaration", - "scope": 9947, - "src": "6430:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9933, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6430:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6420:21:14" - }, - "returnParameters": { - "id": 9936, - "nodeType": "ParameterList", - "parameters": [], - "src": "6456:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9964, - "nodeType": "FunctionDefinition", - "src": "6548:139:14", - "nodes": [], - "body": { - "id": 9963, - "nodeType": "Block", - "src": "6602:85:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e7429", - "id": 9957, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6652:18:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9710a9d00d210736b1ce918b483e56000e2885769da8118b2fbf9fe33949d3bd", - "typeString": "literal_string \"log(string,uint)\"" - }, - "value": "log(string,uint)" - }, - { - "id": 9958, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9949, - "src": "6672:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9959, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9951, - "src": "6676:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9710a9d00d210736b1ce918b483e56000e2885769da8118b2fbf9fe33949d3bd", - "typeString": "literal_string \"log(string,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 9955, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6628:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9956, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6632:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6628:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6628:51:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9954, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "6612:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6612:68:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9962, - "nodeType": "ExpressionStatement", - "src": "6612:68:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6557:3:14", - "parameters": { - "id": 9952, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9949, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6575:2:14", - "nodeType": "VariableDeclaration", - "scope": 9964, - "src": "6561:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9948, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6561:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9951, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6584:2:14", - "nodeType": "VariableDeclaration", - "scope": 9964, - "src": "6579:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9950, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6579:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6560:27:14" - }, - "returnParameters": { - "id": 9953, - "nodeType": "ParameterList", - "parameters": [], - "src": "6602:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9981, - "nodeType": "FunctionDefinition", - "src": "6693:150:14", - "nodes": [], - "body": { - "id": 9980, - "nodeType": "Block", - "src": "6756:87:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e6729", - "id": 9974, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6806:20:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4b5c4277d556d03fbf5ee534fba41dc13982b44f2fa82f1d48fdd8b5b5b692ac", - "typeString": "literal_string \"log(string,string)\"" - }, - "value": "log(string,string)" - }, - { - "id": 9975, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9966, - "src": "6828:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9976, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9968, - "src": "6832:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4b5c4277d556d03fbf5ee534fba41dc13982b44f2fa82f1d48fdd8b5b5b692ac", - "typeString": "literal_string \"log(string,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 9972, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6782:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9973, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6786:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6782:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9977, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6782:53:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9971, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "6766:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9978, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6766:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9979, - "nodeType": "ExpressionStatement", - "src": "6766:70:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6702:3:14", - "parameters": { - "id": 9969, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9966, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6720:2:14", - "nodeType": "VariableDeclaration", - "scope": 9981, - "src": "6706:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9965, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6706:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9968, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6738:2:14", - "nodeType": "VariableDeclaration", - "scope": 9981, - "src": "6724:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9967, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6724:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6705:36:14" - }, - "returnParameters": { - "id": 9970, - "nodeType": "ParameterList", - "parameters": [], - "src": "6756:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9998, - "nodeType": "FunctionDefinition", - "src": "6849:139:14", - "nodes": [], - "body": { - "id": 9997, - "nodeType": "Block", - "src": "6903:85:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c29", - "id": 9991, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6953:18:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c3b556354c088fbb43886eb83c2a04bc7089663f964d22be308197a236f5b870", - "typeString": "literal_string \"log(string,bool)\"" - }, - "value": "log(string,bool)" - }, - { - "id": 9992, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9983, - "src": "6973:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9993, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9985, - "src": "6977:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c3b556354c088fbb43886eb83c2a04bc7089663f964d22be308197a236f5b870", - "typeString": "literal_string \"log(string,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 9989, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6929:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9990, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6933:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6929:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9994, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6929:51:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9988, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "6913:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6913:68:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9996, - "nodeType": "ExpressionStatement", - "src": "6913:68:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6858:3:14", - "parameters": { - "id": 9986, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9983, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6876:2:14", - "nodeType": "VariableDeclaration", - "scope": 9998, - "src": "6862:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9982, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6862:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9985, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6885:2:14", - "nodeType": "VariableDeclaration", - "scope": 9998, - "src": "6880:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9984, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6880:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "6861:27:14" - }, - "returnParameters": { - "id": 9987, - "nodeType": "ParameterList", - "parameters": [], - "src": "6903:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10015, - "nodeType": "FunctionDefinition", - "src": "6994:145:14", - "nodes": [], - "body": { - "id": 10014, - "nodeType": "Block", - "src": "7051:88:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c6164647265737329", - "id": 10008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7101:21:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_319af333460570a1937bf195dd33445c0d0951c59127da6f1f038b9fdce3fd72", - "typeString": "literal_string \"log(string,address)\"" - }, - "value": "log(string,address)" - }, - { - "id": 10009, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10000, - "src": "7124:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10010, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10002, - "src": "7128:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_319af333460570a1937bf195dd33445c0d0951c59127da6f1f038b9fdce3fd72", - "typeString": "literal_string \"log(string,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 10006, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7077:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10007, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7081:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7077:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7077:54:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10005, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "7061:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10012, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7061:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10013, - "nodeType": "ExpressionStatement", - "src": "7061:71:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7003:3:14", - "parameters": { - "id": 10003, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10000, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7021:2:14", - "nodeType": "VariableDeclaration", - "scope": 10015, - "src": "7007:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9999, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7007:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10002, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7033:2:14", - "nodeType": "VariableDeclaration", - "scope": 10015, - "src": "7025:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10001, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7025:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7006:30:14" - }, - "returnParameters": { - "id": 10004, - "nodeType": "ParameterList", - "parameters": [], - "src": "7051:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10032, - "nodeType": "FunctionDefinition", - "src": "7145:128:14", - "nodes": [], - "body": { - "id": 10031, - "nodeType": "Block", - "src": "7190:83:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e7429", - "id": 10025, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7240:16:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_364b6a921e139cbe48176ce2b1f6700c7e568330bc5da26f60350cc33cf2a299", - "typeString": "literal_string \"log(bool,uint)\"" - }, - "value": "log(bool,uint)" - }, - { - "id": 10026, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10017, - "src": "7258:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10027, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10019, - "src": "7262:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_364b6a921e139cbe48176ce2b1f6700c7e568330bc5da26f60350cc33cf2a299", - "typeString": "literal_string \"log(bool,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 10023, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7216:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10024, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7220:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7216:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7216:49:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10022, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "7200:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10029, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7200:66:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10030, - "nodeType": "ExpressionStatement", - "src": "7200:66:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7154:3:14", - "parameters": { - "id": 10020, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10017, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7163:2:14", - "nodeType": "VariableDeclaration", - "scope": 10032, - "src": "7158:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10016, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7158:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10019, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7172:2:14", - "nodeType": "VariableDeclaration", - "scope": 10032, - "src": "7167:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10018, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7167:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7157:18:14" - }, - "returnParameters": { - "id": 10021, - "nodeType": "ParameterList", - "parameters": [], - "src": "7190:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10049, - "nodeType": "FunctionDefinition", - "src": "7279:139:14", - "nodes": [], - "body": { - "id": 10048, - "nodeType": "Block", - "src": "7333:85:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e6729", - "id": 10042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7383:18:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8feac5256a5b88d7ca0173065b796567ecbc9d75ec022fa0f044eb427f962b84", - "typeString": "literal_string \"log(bool,string)\"" - }, - "value": "log(bool,string)" - }, - { - "id": 10043, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10034, - "src": "7403:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10044, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10036, - "src": "7407:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8feac5256a5b88d7ca0173065b796567ecbc9d75ec022fa0f044eb427f962b84", - "typeString": "literal_string \"log(bool,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 10040, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7359:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10041, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7363:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7359:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7359:51:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10039, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "7343:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10046, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7343:68:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10047, - "nodeType": "ExpressionStatement", - "src": "7343:68:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7288:3:14", - "parameters": { - "id": 10037, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10034, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7297:2:14", - "nodeType": "VariableDeclaration", - "scope": 10049, - "src": "7292:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10033, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7292:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10036, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7315:2:14", - "nodeType": "VariableDeclaration", - "scope": 10049, - "src": "7301:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10035, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7301:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7291:27:14" - }, - "returnParameters": { - "id": 10038, - "nodeType": "ParameterList", - "parameters": [], - "src": "7333:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10066, - "nodeType": "FunctionDefinition", - "src": "7424:128:14", - "nodes": [], - "body": { - "id": 10065, - "nodeType": "Block", - "src": "7469:83:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c29", - "id": 10059, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7519:16:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2a110e83227fbe26ff7524076f2091da3e9aa01d70b93677da53b41d22f4fb15", - "typeString": "literal_string \"log(bool,bool)\"" - }, - "value": "log(bool,bool)" - }, - { - "id": 10060, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10051, - "src": "7537:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10061, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10053, - "src": "7541:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2a110e83227fbe26ff7524076f2091da3e9aa01d70b93677da53b41d22f4fb15", - "typeString": "literal_string \"log(bool,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 10057, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7495:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10058, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7499:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7495:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10062, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7495:49:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10056, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "7479:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7479:66:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10064, - "nodeType": "ExpressionStatement", - "src": "7479:66:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7433:3:14", - "parameters": { - "id": 10054, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10051, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7442:2:14", - "nodeType": "VariableDeclaration", - "scope": 10066, - "src": "7437:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10050, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7437:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10053, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7451:2:14", - "nodeType": "VariableDeclaration", - "scope": 10066, - "src": "7446:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10052, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7446:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "7436:18:14" - }, - "returnParameters": { - "id": 10055, - "nodeType": "ParameterList", - "parameters": [], - "src": "7469:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10083, - "nodeType": "FunctionDefinition", - "src": "7558:134:14", - "nodes": [], - "body": { - "id": 10082, - "nodeType": "Block", - "src": "7606:86:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c6164647265737329", - "id": 10076, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7656:19:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_853c4849443241e2249adafa4f69c8bb738b0f17c7a0a9d9997450cd71db4d55", - "typeString": "literal_string \"log(bool,address)\"" - }, - "value": "log(bool,address)" - }, - { - "id": 10077, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10068, - "src": "7677:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10078, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10070, - "src": "7681:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_853c4849443241e2249adafa4f69c8bb738b0f17c7a0a9d9997450cd71db4d55", - "typeString": "literal_string \"log(bool,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 10074, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7632:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10075, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7636:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7632:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10079, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7632:52:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10073, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "7616:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7616:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10081, - "nodeType": "ExpressionStatement", - "src": "7616:69:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7567:3:14", - "parameters": { - "id": 10071, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10068, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7576:2:14", - "nodeType": "VariableDeclaration", - "scope": 10083, - "src": "7571:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10067, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7571:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10070, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7588:2:14", - "nodeType": "VariableDeclaration", - "scope": 10083, - "src": "7580:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10069, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7580:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7570:21:14" - }, - "returnParameters": { - "id": 10072, - "nodeType": "ParameterList", - "parameters": [], - "src": "7606:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10100, - "nodeType": "FunctionDefinition", - "src": "7698:134:14", - "nodes": [], - "body": { - "id": 10099, - "nodeType": "Block", - "src": "7746:86:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e7429", - "id": 10093, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7796:19:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2243cfa3a64f0f85afef83b08ba731ebd8a4b1053fdc66eb414b069452c9f133", - "typeString": "literal_string \"log(address,uint)\"" - }, - "value": "log(address,uint)" - }, - { - "id": 10094, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10085, - "src": "7817:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10095, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10087, - "src": "7821:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2243cfa3a64f0f85afef83b08ba731ebd8a4b1053fdc66eb414b069452c9f133", - "typeString": "literal_string \"log(address,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 10091, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7772:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10092, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7776:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7772:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10096, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7772:52:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10090, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "7756:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10097, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7756:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10098, - "nodeType": "ExpressionStatement", - "src": "7756:69:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7707:3:14", - "parameters": { - "id": 10088, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10085, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7719:2:14", - "nodeType": "VariableDeclaration", - "scope": 10100, - "src": "7711:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10084, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7711:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10087, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7728:2:14", - "nodeType": "VariableDeclaration", - "scope": 10100, - "src": "7723:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10086, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7723:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7710:21:14" - }, - "returnParameters": { - "id": 10089, - "nodeType": "ParameterList", - "parameters": [], - "src": "7746:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10117, - "nodeType": "FunctionDefinition", - "src": "7838:145:14", - "nodes": [], - "body": { - "id": 10116, - "nodeType": "Block", - "src": "7895:88:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e6729", - "id": 10110, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7945:21:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_759f86bbdd0758679ecefbd32ea620068b2339dddd9e45ee0fa567ee6c81f0ab", - "typeString": "literal_string \"log(address,string)\"" - }, - "value": "log(address,string)" - }, - { - "id": 10111, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10102, - "src": "7968:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10112, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10104, - "src": "7972:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_759f86bbdd0758679ecefbd32ea620068b2339dddd9e45ee0fa567ee6c81f0ab", - "typeString": "literal_string \"log(address,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 10108, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7921:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10109, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7925:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7921:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10113, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7921:54:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10107, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "7905:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7905:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10115, - "nodeType": "ExpressionStatement", - "src": "7905:71:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7847:3:14", - "parameters": { - "id": 10105, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10102, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7859:2:14", - "nodeType": "VariableDeclaration", - "scope": 10117, - "src": "7851:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10101, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7851:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10104, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7877:2:14", - "nodeType": "VariableDeclaration", - "scope": 10117, - "src": "7863:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10103, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7863:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7850:30:14" - }, - "returnParameters": { - "id": 10106, - "nodeType": "ParameterList", - "parameters": [], - "src": "7895:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10134, - "nodeType": "FunctionDefinition", - "src": "7989:134:14", - "nodes": [], - "body": { - "id": 10133, - "nodeType": "Block", - "src": "8037:86:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c29", - "id": 10127, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8087:19:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_75b605d31a3bf49c8d814696c7c66216d3a7e81348c450078f032e425592f72b", - "typeString": "literal_string \"log(address,bool)\"" - }, - "value": "log(address,bool)" - }, - { - "id": 10128, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10119, - "src": "8108:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10129, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10121, - "src": "8112:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_75b605d31a3bf49c8d814696c7c66216d3a7e81348c450078f032e425592f72b", - "typeString": "literal_string \"log(address,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 10125, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8063:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10126, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8067:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8063:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8063:52:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10124, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "8047:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8047:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10132, - "nodeType": "ExpressionStatement", - "src": "8047:69:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7998:3:14", - "parameters": { - "id": 10122, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10119, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8010:2:14", - "nodeType": "VariableDeclaration", - "scope": 10134, - "src": "8002:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10118, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8002:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10121, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8019:2:14", - "nodeType": "VariableDeclaration", - "scope": 10134, - "src": "8014:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10120, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8014:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "8001:21:14" - }, - "returnParameters": { - "id": 10123, - "nodeType": "ParameterList", - "parameters": [], - "src": "8037:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10151, - "nodeType": "FunctionDefinition", - "src": "8129:140:14", - "nodes": [], - "body": { - "id": 10150, - "nodeType": "Block", - "src": "8180:89:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c6164647265737329", - "id": 10144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8230:22:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_daf0d4aa9a5679e832ac921da67b43572b4326ee2565442d3ed255b48cfb5161", - "typeString": "literal_string \"log(address,address)\"" - }, - "value": "log(address,address)" - }, - { - "id": 10145, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10136, - "src": "8254:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10146, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10138, - "src": "8258:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_daf0d4aa9a5679e832ac921da67b43572b4326ee2565442d3ed255b48cfb5161", - "typeString": "literal_string \"log(address,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 10142, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8206:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10143, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8210:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8206:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8206:55:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10141, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "8190:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10148, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8190:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10149, - "nodeType": "ExpressionStatement", - "src": "8190:72:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8138:3:14", - "parameters": { - "id": 10139, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10136, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8150:2:14", - "nodeType": "VariableDeclaration", - "scope": 10151, - "src": "8142:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10135, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8142:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10138, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8162:2:14", - "nodeType": "VariableDeclaration", - "scope": 10151, - "src": "8154:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10137, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8154:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8141:24:14" - }, - "returnParameters": { - "id": 10140, - "nodeType": "ParameterList", - "parameters": [], - "src": "8180:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10171, - "nodeType": "FunctionDefinition", - "src": "8275:146:14", - "nodes": [], - "body": { - "id": 10170, - "nodeType": "Block", - "src": "8329:92:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c75696e7429", - "id": 10163, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8379:21:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e7820a7400e33a94b0ae6f00adee99b97ebef8b77c9e38dd555c2f6b541dee17", - "typeString": "literal_string \"log(uint,uint,uint)\"" - }, - "value": "log(uint,uint,uint)" - }, - { - "id": 10164, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10153, - "src": "8402:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10165, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10155, - "src": "8406:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10166, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10157, - "src": "8410:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e7820a7400e33a94b0ae6f00adee99b97ebef8b77c9e38dd555c2f6b541dee17", - "typeString": "literal_string \"log(uint,uint,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 10161, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8355:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10162, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8359:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8355:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10167, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8355:58:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10160, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "8339:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8339:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10169, - "nodeType": "ExpressionStatement", - "src": "8339:75:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8284:3:14", - "parameters": { - "id": 10158, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10153, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8293:2:14", - "nodeType": "VariableDeclaration", - "scope": 10171, - "src": "8288:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10152, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8288:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10155, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8302:2:14", - "nodeType": "VariableDeclaration", - "scope": 10171, - "src": "8297:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10154, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8297:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10157, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8311:2:14", - "nodeType": "VariableDeclaration", - "scope": 10171, - "src": "8306:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10156, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8306:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8287:27:14" - }, - "returnParameters": { - "id": 10159, - "nodeType": "ParameterList", - "parameters": [], - "src": "8329:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10191, - "nodeType": "FunctionDefinition", - "src": "8427:157:14", - "nodes": [], - "body": { - "id": 10190, - "nodeType": "Block", - "src": "8490:94:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c737472696e6729", - "id": 10183, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8540:23:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7d690ee617a4217569e96b85c815115b0eee15407adaa46490ed719a45458699", - "typeString": "literal_string \"log(uint,uint,string)\"" - }, - "value": "log(uint,uint,string)" - }, - { - "id": 10184, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10173, - "src": "8565:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10185, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10175, - "src": "8569:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10186, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10177, - "src": "8573:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7d690ee617a4217569e96b85c815115b0eee15407adaa46490ed719a45458699", - "typeString": "literal_string \"log(uint,uint,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 10181, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8516:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10182, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8520:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8516:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10187, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8516:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10180, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "8500:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10188, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8500:77:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10189, - "nodeType": "ExpressionStatement", - "src": "8500:77:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8436:3:14", - "parameters": { - "id": 10178, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10173, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8445:2:14", - "nodeType": "VariableDeclaration", - "scope": 10191, - "src": "8440:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10172, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8440:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10175, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8454:2:14", - "nodeType": "VariableDeclaration", - "scope": 10191, - "src": "8449:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10174, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8449:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10177, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8472:2:14", - "nodeType": "VariableDeclaration", - "scope": 10191, - "src": "8458:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10176, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8458:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8439:36:14" - }, - "returnParameters": { - "id": 10179, - "nodeType": "ParameterList", - "parameters": [], - "src": "8490:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10211, - "nodeType": "FunctionDefinition", - "src": "8590:146:14", - "nodes": [], - "body": { - "id": 10210, - "nodeType": "Block", - "src": "8644:92:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c626f6f6c29", - "id": 10203, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8694:21:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_67570ff704783f5d282b26317dc28aeb4fe23c085020ec6e580604c709916fa8", - "typeString": "literal_string \"log(uint,uint,bool)\"" - }, - "value": "log(uint,uint,bool)" - }, - { - "id": 10204, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10193, - "src": "8717:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10205, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10195, - "src": "8721:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10206, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10197, - "src": "8725:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_67570ff704783f5d282b26317dc28aeb4fe23c085020ec6e580604c709916fa8", - "typeString": "literal_string \"log(uint,uint,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 10201, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8670:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10202, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8674:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8670:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8670:58:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10200, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "8654:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8654:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10209, - "nodeType": "ExpressionStatement", - "src": "8654:75:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8599:3:14", - "parameters": { - "id": 10198, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10193, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8608:2:14", - "nodeType": "VariableDeclaration", - "scope": 10211, - "src": "8603:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10192, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8603:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10195, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8617:2:14", - "nodeType": "VariableDeclaration", - "scope": 10211, - "src": "8612:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10194, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8612:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10197, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8626:2:14", - "nodeType": "VariableDeclaration", - "scope": 10211, - "src": "8621:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10196, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8621:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "8602:27:14" - }, - "returnParameters": { - "id": 10199, - "nodeType": "ParameterList", - "parameters": [], - "src": "8644:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10231, - "nodeType": "FunctionDefinition", - "src": "8742:152:14", - "nodes": [], - "body": { - "id": 10230, - "nodeType": "Block", - "src": "8799:95:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c6164647265737329", - "id": 10223, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8849:24:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_be33491b8b53b7f3deae2959d1f4b0a22e6967a778c50f03dc188de84a207616", - "typeString": "literal_string \"log(uint,uint,address)\"" - }, - "value": "log(uint,uint,address)" - }, - { - "id": 10224, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10213, - "src": "8875:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10225, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10215, - "src": "8879:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10226, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10217, - "src": "8883:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_be33491b8b53b7f3deae2959d1f4b0a22e6967a778c50f03dc188de84a207616", - "typeString": "literal_string \"log(uint,uint,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 10221, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8825:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10222, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8829:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8825:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10227, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8825:61:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10220, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "8809:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10228, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8809:78:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10229, - "nodeType": "ExpressionStatement", - "src": "8809:78:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8751:3:14", - "parameters": { - "id": 10218, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10213, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8760:2:14", - "nodeType": "VariableDeclaration", - "scope": 10231, - "src": "8755:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10212, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8755:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10215, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8769:2:14", - "nodeType": "VariableDeclaration", - "scope": 10231, - "src": "8764:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10214, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8764:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10217, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8781:2:14", - "nodeType": "VariableDeclaration", - "scope": 10231, - "src": "8773:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10216, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8773:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8754:30:14" - }, - "returnParameters": { - "id": 10219, - "nodeType": "ParameterList", - "parameters": [], - "src": "8799:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10251, - "nodeType": "FunctionDefinition", - "src": "8900:157:14", - "nodes": [], - "body": { - "id": 10250, - "nodeType": "Block", - "src": "8963:94:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c75696e7429", - "id": 10243, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9013:23:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5b6de83ff0d95cd44df8bb8bfd95aa0a6291cab3b8502d85b1dcfd35a64c81cd", - "typeString": "literal_string \"log(uint,string,uint)\"" - }, - "value": "log(uint,string,uint)" - }, - { - "id": 10244, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10233, - "src": "9038:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10245, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10235, - "src": "9042:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10246, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10237, - "src": "9046:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5b6de83ff0d95cd44df8bb8bfd95aa0a6291cab3b8502d85b1dcfd35a64c81cd", - "typeString": "literal_string \"log(uint,string,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 10241, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8989:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10242, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8993:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8989:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10247, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8989:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10240, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "8973:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10248, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8973:77:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10249, - "nodeType": "ExpressionStatement", - "src": "8973:77:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8909:3:14", - "parameters": { - "id": 10238, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10233, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8918:2:14", - "nodeType": "VariableDeclaration", - "scope": 10251, - "src": "8913:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10232, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8913:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10235, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8936:2:14", - "nodeType": "VariableDeclaration", - "scope": 10251, - "src": "8922:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10234, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8922:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10237, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8945:2:14", - "nodeType": "VariableDeclaration", - "scope": 10251, - "src": "8940:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10236, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8940:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8912:36:14" - }, - "returnParameters": { - "id": 10239, - "nodeType": "ParameterList", - "parameters": [], - "src": "8963:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10271, - "nodeType": "FunctionDefinition", - "src": "9063:168:14", - "nodes": [], - "body": { - "id": 10270, - "nodeType": "Block", - "src": "9135:96:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c737472696e6729", - "id": 10263, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9185:25:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3f57c295245f8891b303347a08039155dde08dde601649242724a0ce876bcc65", - "typeString": "literal_string \"log(uint,string,string)\"" - }, - "value": "log(uint,string,string)" - }, - { - "id": 10264, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10253, - "src": "9212:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10265, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10255, - "src": "9216:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10266, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10257, - "src": "9220:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3f57c295245f8891b303347a08039155dde08dde601649242724a0ce876bcc65", - "typeString": "literal_string \"log(uint,string,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 10261, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9161:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10262, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9165:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9161:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9161:62:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10260, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "9145:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10268, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9145:79:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10269, - "nodeType": "ExpressionStatement", - "src": "9145:79:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9072:3:14", - "parameters": { - "id": 10258, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10253, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9081:2:14", - "nodeType": "VariableDeclaration", - "scope": 10271, - "src": "9076:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10252, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9076:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10255, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9099:2:14", - "nodeType": "VariableDeclaration", - "scope": 10271, - "src": "9085:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10254, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9085:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10257, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9117:2:14", - "nodeType": "VariableDeclaration", - "scope": 10271, - "src": "9103:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10256, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9103:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9075:45:14" - }, - "returnParameters": { - "id": 10259, - "nodeType": "ParameterList", - "parameters": [], - "src": "9135:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10291, - "nodeType": "FunctionDefinition", - "src": "9237:157:14", - "nodes": [], - "body": { - "id": 10290, - "nodeType": "Block", - "src": "9300:94:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c626f6f6c29", - "id": 10283, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9350:23:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_46a7d0ce13c2c26d158d9defa8ce488dbeb81d3c852592fb370bd45953199485", - "typeString": "literal_string \"log(uint,string,bool)\"" - }, - "value": "log(uint,string,bool)" - }, - { - "id": 10284, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10273, - "src": "9375:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10285, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10275, - "src": "9379:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10286, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10277, - "src": "9383:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_46a7d0ce13c2c26d158d9defa8ce488dbeb81d3c852592fb370bd45953199485", - "typeString": "literal_string \"log(uint,string,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 10281, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9326:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10282, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9330:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9326:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10287, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9326:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10280, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "9310:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10288, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9310:77:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10289, - "nodeType": "ExpressionStatement", - "src": "9310:77:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9246:3:14", - "parameters": { - "id": 10278, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10273, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9255:2:14", - "nodeType": "VariableDeclaration", - "scope": 10291, - "src": "9250:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10272, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9250:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10275, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9273:2:14", - "nodeType": "VariableDeclaration", - "scope": 10291, - "src": "9259:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10274, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9259:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10277, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9282:2:14", - "nodeType": "VariableDeclaration", - "scope": 10291, - "src": "9277:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10276, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9277:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "9249:36:14" - }, - "returnParameters": { - "id": 10279, - "nodeType": "ParameterList", - "parameters": [], - "src": "9300:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10311, - "nodeType": "FunctionDefinition", - "src": "9400:163:14", - "nodes": [], - "body": { - "id": 10310, - "nodeType": "Block", - "src": "9466:97:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c6164647265737329", - "id": 10303, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9516:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1f90f24a472e5198a9eef41600323c8a476ef0a1db1496125f7d053a74d474ac", - "typeString": "literal_string \"log(uint,string,address)\"" - }, - "value": "log(uint,string,address)" - }, - { - "id": 10304, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10293, - "src": "9544:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10305, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10295, - "src": "9548:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10306, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10297, - "src": "9552:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1f90f24a472e5198a9eef41600323c8a476ef0a1db1496125f7d053a74d474ac", - "typeString": "literal_string \"log(uint,string,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 10301, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9492:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10302, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9496:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9492:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10307, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9492:63:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10300, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "9476:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10308, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9476:80:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10309, - "nodeType": "ExpressionStatement", - "src": "9476:80:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9409:3:14", - "parameters": { - "id": 10298, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10293, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9418:2:14", - "nodeType": "VariableDeclaration", - "scope": 10311, - "src": "9413:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10292, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9413:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10295, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9436:2:14", - "nodeType": "VariableDeclaration", - "scope": 10311, - "src": "9422:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10294, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9422:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10297, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9448:2:14", - "nodeType": "VariableDeclaration", - "scope": 10311, - "src": "9440:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10296, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9440:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "9412:39:14" - }, - "returnParameters": { - "id": 10299, - "nodeType": "ParameterList", - "parameters": [], - "src": "9466:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10331, - "nodeType": "FunctionDefinition", - "src": "9569:146:14", - "nodes": [], - "body": { - "id": 10330, - "nodeType": "Block", - "src": "9623:92:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c75696e7429", - "id": 10323, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9673:21:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5a4d9922ab81f1126dafac21c1ce3fb483db2e4898341fe0758315eb5f3054d6", - "typeString": "literal_string \"log(uint,bool,uint)\"" - }, - "value": "log(uint,bool,uint)" - }, - { - "id": 10324, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10313, - "src": "9696:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10325, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10315, - "src": "9700:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10326, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10317, - "src": "9704:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5a4d9922ab81f1126dafac21c1ce3fb483db2e4898341fe0758315eb5f3054d6", - "typeString": "literal_string \"log(uint,bool,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 10321, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9649:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10322, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9653:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9649:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9649:58:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10320, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "9633:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10328, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9633:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10329, - "nodeType": "ExpressionStatement", - "src": "9633:75:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9578:3:14", - "parameters": { - "id": 10318, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10313, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9587:2:14", - "nodeType": "VariableDeclaration", - "scope": 10331, - "src": "9582:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10312, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9582:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10315, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9596:2:14", - "nodeType": "VariableDeclaration", - "scope": 10331, - "src": "9591:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10314, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9591:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10317, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9605:2:14", - "nodeType": "VariableDeclaration", - "scope": 10331, - "src": "9600:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10316, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9600:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "9581:27:14" - }, - "returnParameters": { - "id": 10319, - "nodeType": "ParameterList", - "parameters": [], - "src": "9623:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10351, - "nodeType": "FunctionDefinition", - "src": "9721:157:14", - "nodes": [], - "body": { - "id": 10350, - "nodeType": "Block", - "src": "9784:94:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c737472696e6729", - "id": 10343, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9834:23:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8b0e14fe247223cbba6a19a2fac250db70b4f126d0f3f63ac9c3f080885b9f82", - "typeString": "literal_string \"log(uint,bool,string)\"" - }, - "value": "log(uint,bool,string)" - }, - { - "id": 10344, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10333, - "src": "9859:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10345, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10335, - "src": "9863:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10346, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10337, - "src": "9867:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8b0e14fe247223cbba6a19a2fac250db70b4f126d0f3f63ac9c3f080885b9f82", - "typeString": "literal_string \"log(uint,bool,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 10341, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9810:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10342, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9814:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9810:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9810:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10340, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "9794:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9794:77:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10349, - "nodeType": "ExpressionStatement", - "src": "9794:77:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9730:3:14", - "parameters": { - "id": 10338, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10333, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9739:2:14", - "nodeType": "VariableDeclaration", - "scope": 10351, - "src": "9734:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10332, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9734:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10335, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9748:2:14", - "nodeType": "VariableDeclaration", - "scope": 10351, - "src": "9743:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10334, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9743:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10337, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9766:2:14", - "nodeType": "VariableDeclaration", - "scope": 10351, - "src": "9752:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10336, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9752:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9733:36:14" - }, - "returnParameters": { - "id": 10339, - "nodeType": "ParameterList", - "parameters": [], - "src": "9784:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10371, - "nodeType": "FunctionDefinition", - "src": "9884:146:14", - "nodes": [], - "body": { - "id": 10370, - "nodeType": "Block", - "src": "9938:92:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c626f6f6c29", - "id": 10363, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9988:21:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d5ceace024d24c243571d0b2393ca9fb37aa961a0e028332e72cd7dfb84c0971", - "typeString": "literal_string \"log(uint,bool,bool)\"" - }, - "value": "log(uint,bool,bool)" - }, - { - "id": 10364, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10353, - "src": "10011:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10365, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10355, - "src": "10015:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10366, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10357, - "src": "10019:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d5ceace024d24c243571d0b2393ca9fb37aa961a0e028332e72cd7dfb84c0971", - "typeString": "literal_string \"log(uint,bool,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 10361, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9964:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10362, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9968:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9964:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10367, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9964:58:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10360, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "9948:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10368, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9948:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10369, - "nodeType": "ExpressionStatement", - "src": "9948:75:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9893:3:14", - "parameters": { - "id": 10358, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10353, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9902:2:14", - "nodeType": "VariableDeclaration", - "scope": 10371, - "src": "9897:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10352, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9897:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10355, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9911:2:14", - "nodeType": "VariableDeclaration", - "scope": 10371, - "src": "9906:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10354, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9906:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10357, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9920:2:14", - "nodeType": "VariableDeclaration", - "scope": 10371, - "src": "9915:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10356, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9915:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "9896:27:14" - }, - "returnParameters": { - "id": 10359, - "nodeType": "ParameterList", - "parameters": [], - "src": "9938:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10391, - "nodeType": "FunctionDefinition", - "src": "10036:152:14", - "nodes": [], - "body": { - "id": 10390, - "nodeType": "Block", - "src": "10093:95:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c6164647265737329", - "id": 10383, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10143:24:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_424effbf6346b3a7c79debdbad20f804c7961e0193d509136d2bb7c09c7ff9b2", - "typeString": "literal_string \"log(uint,bool,address)\"" - }, - "value": "log(uint,bool,address)" - }, - { - "id": 10384, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10373, - "src": "10169:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10385, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10375, - "src": "10173:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10386, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10377, - "src": "10177:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_424effbf6346b3a7c79debdbad20f804c7961e0193d509136d2bb7c09c7ff9b2", - "typeString": "literal_string \"log(uint,bool,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 10381, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10119:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10382, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10123:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10119:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10387, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10119:61:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10380, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "10103:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10388, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10103:78:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10389, - "nodeType": "ExpressionStatement", - "src": "10103:78:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10045:3:14", - "parameters": { - "id": 10378, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10373, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10054:2:14", - "nodeType": "VariableDeclaration", - "scope": 10391, - "src": "10049:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10372, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10049:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10375, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10063:2:14", - "nodeType": "VariableDeclaration", - "scope": 10391, - "src": "10058:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10374, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10058:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10377, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10075:2:14", - "nodeType": "VariableDeclaration", - "scope": 10391, - "src": "10067:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10376, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10067:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "10048:30:14" - }, - "returnParameters": { - "id": 10379, - "nodeType": "ParameterList", - "parameters": [], - "src": "10093:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10411, - "nodeType": "FunctionDefinition", - "src": "10194:152:14", - "nodes": [], - "body": { - "id": 10410, - "nodeType": "Block", - "src": "10251:95:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c75696e7429", - "id": 10403, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10301:24:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_884343aaf095a99f79852cd574543144a9a04148c5eb5687826e5e86a2554617", - "typeString": "literal_string \"log(uint,address,uint)\"" - }, - "value": "log(uint,address,uint)" - }, - { - "id": 10404, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10393, - "src": "10327:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10405, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10395, - "src": "10331:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10406, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10397, - "src": "10335:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_884343aaf095a99f79852cd574543144a9a04148c5eb5687826e5e86a2554617", - "typeString": "literal_string \"log(uint,address,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 10401, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10277:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10402, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10281:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10277:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10407, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10277:61:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10400, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "10261:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10408, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10261:78:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10409, - "nodeType": "ExpressionStatement", - "src": "10261:78:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10203:3:14", - "parameters": { - "id": 10398, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10393, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10212:2:14", - "nodeType": "VariableDeclaration", - "scope": 10411, - "src": "10207:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10392, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10207:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10395, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10224:2:14", - "nodeType": "VariableDeclaration", - "scope": 10411, - "src": "10216:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10394, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10216:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10397, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10233:2:14", - "nodeType": "VariableDeclaration", - "scope": 10411, - "src": "10228:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10396, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10228:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10206:30:14" - }, - "returnParameters": { - "id": 10399, - "nodeType": "ParameterList", - "parameters": [], - "src": "10251:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10431, - "nodeType": "FunctionDefinition", - "src": "10352:163:14", - "nodes": [], - "body": { - "id": 10430, - "nodeType": "Block", - "src": "10418:97:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c737472696e6729", - "id": 10423, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10468:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ce83047b6eeeca52b57db5064e316bb4dc615477077814d1a191d68a4818cbed", - "typeString": "literal_string \"log(uint,address,string)\"" - }, - "value": "log(uint,address,string)" - }, - { - "id": 10424, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10413, - "src": "10496:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10425, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10415, - "src": "10500:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10426, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10417, - "src": "10504:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ce83047b6eeeca52b57db5064e316bb4dc615477077814d1a191d68a4818cbed", - "typeString": "literal_string \"log(uint,address,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 10421, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10444:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10422, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10448:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10444:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10444:63:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10420, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "10428:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10428:80:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10429, - "nodeType": "ExpressionStatement", - "src": "10428:80:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10361:3:14", - "parameters": { - "id": 10418, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10413, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10370:2:14", - "nodeType": "VariableDeclaration", - "scope": 10431, - "src": "10365:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10412, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10365:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10415, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10382:2:14", - "nodeType": "VariableDeclaration", - "scope": 10431, - "src": "10374:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10414, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10374:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10417, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10400:2:14", - "nodeType": "VariableDeclaration", - "scope": 10431, - "src": "10386:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10416, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10386:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10364:39:14" - }, - "returnParameters": { - "id": 10419, - "nodeType": "ParameterList", - "parameters": [], - "src": "10418:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10451, - "nodeType": "FunctionDefinition", - "src": "10521:152:14", - "nodes": [], - "body": { - "id": 10450, - "nodeType": "Block", - "src": "10578:95:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c626f6f6c29", - "id": 10443, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10628:24:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7ad0128e41690364edd967a051c6d9cea9f7c322246c5ed2ebc0083265828a80", - "typeString": "literal_string \"log(uint,address,bool)\"" - }, - "value": "log(uint,address,bool)" - }, - { - "id": 10444, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10433, - "src": "10654:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10445, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10435, - "src": "10658:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10446, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10437, - "src": "10662:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7ad0128e41690364edd967a051c6d9cea9f7c322246c5ed2ebc0083265828a80", - "typeString": "literal_string \"log(uint,address,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 10441, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10604:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10442, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10608:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10604:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10604:61:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10440, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "10588:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10448, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10588:78:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10449, - "nodeType": "ExpressionStatement", - "src": "10588:78:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10530:3:14", - "parameters": { - "id": 10438, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10433, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10539:2:14", - "nodeType": "VariableDeclaration", - "scope": 10451, - "src": "10534:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10432, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10534:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10435, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10551:2:14", - "nodeType": "VariableDeclaration", - "scope": 10451, - "src": "10543:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10434, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10543:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10437, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10560:2:14", - "nodeType": "VariableDeclaration", - "scope": 10451, - "src": "10555:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10436, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10555:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "10533:30:14" - }, - "returnParameters": { - "id": 10439, - "nodeType": "ParameterList", - "parameters": [], - "src": "10578:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10471, - "nodeType": "FunctionDefinition", - "src": "10679:158:14", - "nodes": [], - "body": { - "id": 10470, - "nodeType": "Block", - "src": "10739:98:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c6164647265737329", - "id": 10463, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10789:27:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7d77a61be18c592527fe1ce89d591c1badea18ef3198dacc513c5ba08449fd7b", - "typeString": "literal_string \"log(uint,address,address)\"" - }, - "value": "log(uint,address,address)" - }, - { - "id": 10464, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10453, - "src": "10818:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10465, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10455, - "src": "10822:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10466, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10457, - "src": "10826:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7d77a61be18c592527fe1ce89d591c1badea18ef3198dacc513c5ba08449fd7b", - "typeString": "literal_string \"log(uint,address,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 10461, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10765:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10462, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10769:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10765:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10467, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10765:64:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10460, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "10749:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10749:81:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10469, - "nodeType": "ExpressionStatement", - "src": "10749:81:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10688:3:14", - "parameters": { - "id": 10458, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10453, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10697:2:14", - "nodeType": "VariableDeclaration", - "scope": 10471, - "src": "10692:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10452, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10692:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10455, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10709:2:14", - "nodeType": "VariableDeclaration", - "scope": 10471, - "src": "10701:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10454, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10701:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10457, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10721:2:14", - "nodeType": "VariableDeclaration", - "scope": 10471, - "src": "10713:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10456, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10713:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "10691:33:14" - }, - "returnParameters": { - "id": 10459, - "nodeType": "ParameterList", - "parameters": [], - "src": "10739:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10491, - "nodeType": "FunctionDefinition", - "src": "10843:157:14", - "nodes": [], - "body": { - "id": 10490, - "nodeType": "Block", - "src": "10906:94:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c75696e7429", - "id": 10483, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10956:23:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_969cdd03749f5aa30c7fce9178272cdca616cb2cc28128d3b9824be8046f827e", - "typeString": "literal_string \"log(string,uint,uint)\"" - }, - "value": "log(string,uint,uint)" - }, - { - "id": 10484, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10473, - "src": "10981:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10485, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10475, - "src": "10985:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10486, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10477, - "src": "10989:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_969cdd03749f5aa30c7fce9178272cdca616cb2cc28128d3b9824be8046f827e", - "typeString": "literal_string \"log(string,uint,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 10481, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10932:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10482, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10936:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10932:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10487, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10932:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10480, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "10916:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10488, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10916:77:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10489, - "nodeType": "ExpressionStatement", - "src": "10916:77:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10852:3:14", - "parameters": { - "id": 10478, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10473, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10870:2:14", - "nodeType": "VariableDeclaration", - "scope": 10491, - "src": "10856:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10472, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10856:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10475, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10879:2:14", - "nodeType": "VariableDeclaration", - "scope": 10491, - "src": "10874:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10474, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10874:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10477, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10888:2:14", - "nodeType": "VariableDeclaration", - "scope": 10491, - "src": "10883:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10476, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10883:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10855:36:14" - }, - "returnParameters": { - "id": 10479, - "nodeType": "ParameterList", - "parameters": [], - "src": "10906:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10511, - "nodeType": "FunctionDefinition", - "src": "11006:168:14", - "nodes": [], - "body": { - "id": 10510, - "nodeType": "Block", - "src": "11078:96:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c737472696e6729", - "id": 10503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11128:25:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a3f5c739d439f7a3912e960230088fb752539d00203d48771c643a12b26892ec", - "typeString": "literal_string \"log(string,uint,string)\"" - }, - "value": "log(string,uint,string)" - }, - { - "id": 10504, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10493, - "src": "11155:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10505, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10495, - "src": "11159:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10506, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10497, - "src": "11163:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a3f5c739d439f7a3912e960230088fb752539d00203d48771c643a12b26892ec", - "typeString": "literal_string \"log(string,uint,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 10501, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11104:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10502, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11108:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11104:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11104:62:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10500, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "11088:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10508, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11088:79:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10509, - "nodeType": "ExpressionStatement", - "src": "11088:79:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11015:3:14", - "parameters": { - "id": 10498, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10493, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11033:2:14", - "nodeType": "VariableDeclaration", - "scope": 10511, - "src": "11019:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10492, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11019:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10495, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11042:2:14", - "nodeType": "VariableDeclaration", - "scope": 10511, - "src": "11037:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10494, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "11037:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10497, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11060:2:14", - "nodeType": "VariableDeclaration", - "scope": 10511, - "src": "11046:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10496, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11046:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11018:45:14" - }, - "returnParameters": { - "id": 10499, - "nodeType": "ParameterList", - "parameters": [], - "src": "11078:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10531, - "nodeType": "FunctionDefinition", - "src": "11180:157:14", - "nodes": [], - "body": { - "id": 10530, - "nodeType": "Block", - "src": "11243:94:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c626f6f6c29", - "id": 10523, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11293:23:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f102ee05f3b79d3bc2ba0350401e35479d9f95705fb40abfaeb49d12355695b3", - "typeString": "literal_string \"log(string,uint,bool)\"" - }, - "value": "log(string,uint,bool)" - }, - { - "id": 10524, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10513, - "src": "11318:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10525, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10515, - "src": "11322:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10526, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10517, - "src": "11326:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f102ee05f3b79d3bc2ba0350401e35479d9f95705fb40abfaeb49d12355695b3", - "typeString": "literal_string \"log(string,uint,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 10521, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11269:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10522, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11273:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11269:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10527, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11269:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10520, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "11253:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10528, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11253:77:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10529, - "nodeType": "ExpressionStatement", - "src": "11253:77:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11189:3:14", - "parameters": { - "id": 10518, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10513, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11207:2:14", - "nodeType": "VariableDeclaration", - "scope": 10531, - "src": "11193:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10512, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11193:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10515, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11216:2:14", - "nodeType": "VariableDeclaration", - "scope": 10531, - "src": "11211:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10514, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "11211:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10517, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11225:2:14", - "nodeType": "VariableDeclaration", - "scope": 10531, - "src": "11220:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10516, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11220:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "11192:36:14" - }, - "returnParameters": { - "id": 10519, - "nodeType": "ParameterList", - "parameters": [], - "src": "11243:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10551, - "nodeType": "FunctionDefinition", - "src": "11343:163:14", - "nodes": [], - "body": { - "id": 10550, - "nodeType": "Block", - "src": "11409:97:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c6164647265737329", - "id": 10543, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11459:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e3849f79a3c07bea1bae0837bfeee5da2531684b262865f1541a60df4fcd512a", - "typeString": "literal_string \"log(string,uint,address)\"" - }, - "value": "log(string,uint,address)" - }, - { - "id": 10544, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10533, - "src": "11487:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10545, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10535, - "src": "11491:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10546, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10537, - "src": "11495:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e3849f79a3c07bea1bae0837bfeee5da2531684b262865f1541a60df4fcd512a", - "typeString": "literal_string \"log(string,uint,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 10541, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11435:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10542, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11439:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11435:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11435:63:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10540, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "11419:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10548, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11419:80:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10549, - "nodeType": "ExpressionStatement", - "src": "11419:80:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11352:3:14", - "parameters": { - "id": 10538, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10533, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11370:2:14", - "nodeType": "VariableDeclaration", - "scope": 10551, - "src": "11356:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10532, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11356:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10535, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11379:2:14", - "nodeType": "VariableDeclaration", - "scope": 10551, - "src": "11374:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10534, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "11374:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10537, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11391:2:14", - "nodeType": "VariableDeclaration", - "scope": 10551, - "src": "11383:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10536, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11383:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "11355:39:14" - }, - "returnParameters": { - "id": 10539, - "nodeType": "ParameterList", - "parameters": [], - "src": "11409:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10571, - "nodeType": "FunctionDefinition", - "src": "11512:168:14", - "nodes": [], - "body": { - "id": 10570, - "nodeType": "Block", - "src": "11584:96:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e7429", - "id": 10563, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11634:25:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f362ca59af8dc58335601f00e8a4f3f8cd0c03c9716c1459118a41613b5e0147", - "typeString": "literal_string \"log(string,string,uint)\"" - }, - "value": "log(string,string,uint)" - }, - { - "id": 10564, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10553, - "src": "11661:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10565, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10555, - "src": "11665:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10566, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10557, - "src": "11669:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f362ca59af8dc58335601f00e8a4f3f8cd0c03c9716c1459118a41613b5e0147", - "typeString": "literal_string \"log(string,string,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 10561, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11610:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10562, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11614:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11610:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10567, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11610:62:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10560, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "11594:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10568, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11594:79:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10569, - "nodeType": "ExpressionStatement", - "src": "11594:79:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11521:3:14", - "parameters": { - "id": 10558, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10553, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11539:2:14", - "nodeType": "VariableDeclaration", - "scope": 10571, - "src": "11525:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10552, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11525:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10555, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11557:2:14", - "nodeType": "VariableDeclaration", - "scope": 10571, - "src": "11543:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10554, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11543:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10557, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11566:2:14", - "nodeType": "VariableDeclaration", - "scope": 10571, - "src": "11561:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10556, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "11561:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11524:45:14" - }, - "returnParameters": { - "id": 10559, - "nodeType": "ParameterList", - "parameters": [], - "src": "11584:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10591, - "nodeType": "FunctionDefinition", - "src": "11686:179:14", - "nodes": [], - "body": { - "id": 10590, - "nodeType": "Block", - "src": "11767:98:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e6729", - "id": 10583, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11817:27:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2ced7cef693312206c21f0e92e3b54e2e16bf33db5eec350c78866822c665e1f", - "typeString": "literal_string \"log(string,string,string)\"" - }, - "value": "log(string,string,string)" - }, - { - "id": 10584, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10573, - "src": "11846:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10585, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10575, - "src": "11850:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10586, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10577, - "src": "11854:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2ced7cef693312206c21f0e92e3b54e2e16bf33db5eec350c78866822c665e1f", - "typeString": "literal_string \"log(string,string,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 10581, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11793:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10582, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11797:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11793:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11793:64:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10580, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "11777:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11777:81:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10589, - "nodeType": "ExpressionStatement", - "src": "11777:81:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11695:3:14", - "parameters": { - "id": 10578, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10573, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11713:2:14", - "nodeType": "VariableDeclaration", - "scope": 10591, - "src": "11699:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10572, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11699:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10575, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11731:2:14", - "nodeType": "VariableDeclaration", - "scope": 10591, - "src": "11717:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10574, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11717:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10577, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11749:2:14", - "nodeType": "VariableDeclaration", - "scope": 10591, - "src": "11735:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10576, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11735:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11698:54:14" - }, - "returnParameters": { - "id": 10579, - "nodeType": "ParameterList", - "parameters": [], - "src": "11767:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10611, - "nodeType": "FunctionDefinition", - "src": "11871:168:14", - "nodes": [], - "body": { - "id": 10610, - "nodeType": "Block", - "src": "11943:96:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c29", - "id": 10603, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11993:25:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b0e0f9b5ad960213f9ab262d120ce4ec3edffc58d1ad51b99628a777e82d8acb", - "typeString": "literal_string \"log(string,string,bool)\"" - }, - "value": "log(string,string,bool)" - }, - { - "id": 10604, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10593, - "src": "12020:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10605, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10595, - "src": "12024:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10606, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10597, - "src": "12028:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b0e0f9b5ad960213f9ab262d120ce4ec3edffc58d1ad51b99628a777e82d8acb", - "typeString": "literal_string \"log(string,string,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 10601, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11969:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10602, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11973:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11969:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11969:62:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10600, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "11953:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10608, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11953:79:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10609, - "nodeType": "ExpressionStatement", - "src": "11953:79:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11880:3:14", - "parameters": { - "id": 10598, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10593, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11898:2:14", - "nodeType": "VariableDeclaration", - "scope": 10611, - "src": "11884:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10592, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11884:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10595, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11916:2:14", - "nodeType": "VariableDeclaration", - "scope": 10611, - "src": "11902:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10594, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11902:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10597, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11925:2:14", - "nodeType": "VariableDeclaration", - "scope": 10611, - "src": "11920:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10596, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11920:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "11883:45:14" - }, - "returnParameters": { - "id": 10599, - "nodeType": "ParameterList", - "parameters": [], - "src": "11943:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10631, - "nodeType": "FunctionDefinition", - "src": "12045:174:14", - "nodes": [], - "body": { - "id": 10630, - "nodeType": "Block", - "src": "12120:99:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c6164647265737329", - "id": 10623, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12170:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_95ed0195ee22a092ad93d352c33e8dc78b91f0c01eab9cff270af55b2ae65768", - "typeString": "literal_string \"log(string,string,address)\"" - }, - "value": "log(string,string,address)" - }, - { - "id": 10624, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10613, - "src": "12200:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10625, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10615, - "src": "12204:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10626, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10617, - "src": "12208:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_95ed0195ee22a092ad93d352c33e8dc78b91f0c01eab9cff270af55b2ae65768", - "typeString": "literal_string \"log(string,string,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 10621, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12146:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10622, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12150:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12146:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10627, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12146:65:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10620, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "12130:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10628, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12130:82:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10629, - "nodeType": "ExpressionStatement", - "src": "12130:82:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12054:3:14", - "parameters": { - "id": 10618, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10613, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12072:2:14", - "nodeType": "VariableDeclaration", - "scope": 10631, - "src": "12058:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10612, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12058:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10615, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12090:2:14", - "nodeType": "VariableDeclaration", - "scope": 10631, - "src": "12076:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10614, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12076:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10617, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12102:2:14", - "nodeType": "VariableDeclaration", - "scope": 10631, - "src": "12094:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10616, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12094:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "12057:48:14" - }, - "returnParameters": { - "id": 10619, - "nodeType": "ParameterList", - "parameters": [], - "src": "12120:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10651, - "nodeType": "FunctionDefinition", - "src": "12225:157:14", - "nodes": [], - "body": { - "id": 10650, - "nodeType": "Block", - "src": "12288:94:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e7429", - "id": 10643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12338:23:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_291bb9d00defdc1b95c66c8b4bc10ef714a549c4f22fb190fe687dc5e85a4db1", - "typeString": "literal_string \"log(string,bool,uint)\"" - }, - "value": "log(string,bool,uint)" - }, - { - "id": 10644, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10633, - "src": "12363:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10645, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10635, - "src": "12367:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10646, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10637, - "src": "12371:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_291bb9d00defdc1b95c66c8b4bc10ef714a549c4f22fb190fe687dc5e85a4db1", - "typeString": "literal_string \"log(string,bool,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 10641, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12314:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10642, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12318:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12314:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12314:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10640, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "12298:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12298:77:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10649, - "nodeType": "ExpressionStatement", - "src": "12298:77:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12234:3:14", - "parameters": { - "id": 10638, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10633, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12252:2:14", - "nodeType": "VariableDeclaration", - "scope": 10651, - "src": "12238:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10632, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12238:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10635, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12261:2:14", - "nodeType": "VariableDeclaration", - "scope": 10651, - "src": "12256:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10634, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12256:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10637, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12270:2:14", - "nodeType": "VariableDeclaration", - "scope": 10651, - "src": "12265:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10636, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12265:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12237:36:14" - }, - "returnParameters": { - "id": 10639, - "nodeType": "ParameterList", - "parameters": [], - "src": "12288:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10671, - "nodeType": "FunctionDefinition", - "src": "12388:168:14", - "nodes": [], - "body": { - "id": 10670, - "nodeType": "Block", - "src": "12460:96:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e6729", - "id": 10663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12510:25:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e298f47d872a89293d316b9b936000a26f83eda2ba3171b2f9f16e2bf618c3e7", - "typeString": "literal_string \"log(string,bool,string)\"" - }, - "value": "log(string,bool,string)" - }, - { - "id": 10664, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10653, - "src": "12537:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10665, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10655, - "src": "12541:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10666, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10657, - "src": "12545:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e298f47d872a89293d316b9b936000a26f83eda2ba3171b2f9f16e2bf618c3e7", - "typeString": "literal_string \"log(string,bool,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 10661, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12486:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10662, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12490:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12486:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12486:62:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10660, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "12470:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12470:79:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10669, - "nodeType": "ExpressionStatement", - "src": "12470:79:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12397:3:14", - "parameters": { - "id": 10658, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10653, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12415:2:14", - "nodeType": "VariableDeclaration", - "scope": 10671, - "src": "12401:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10652, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12401:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10655, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12424:2:14", - "nodeType": "VariableDeclaration", - "scope": 10671, - "src": "12419:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10654, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12419:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10657, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12442:2:14", - "nodeType": "VariableDeclaration", - "scope": 10671, - "src": "12428:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10656, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12428:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12400:45:14" - }, - "returnParameters": { - "id": 10659, - "nodeType": "ParameterList", - "parameters": [], - "src": "12460:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10691, - "nodeType": "FunctionDefinition", - "src": "12562:157:14", - "nodes": [], - "body": { - "id": 10690, - "nodeType": "Block", - "src": "12625:94:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c29", - "id": 10683, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12675:23:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_850b7ad637241a873b861925ccffb71aaffb030b1df8850f324c9804bc7b443d", - "typeString": "literal_string \"log(string,bool,bool)\"" - }, - "value": "log(string,bool,bool)" - }, - { - "id": 10684, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10673, - "src": "12700:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10685, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10675, - "src": "12704:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10686, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10677, - "src": "12708:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_850b7ad637241a873b861925ccffb71aaffb030b1df8850f324c9804bc7b443d", - "typeString": "literal_string \"log(string,bool,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 10681, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12651:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10682, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12655:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12651:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10687, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12651:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10680, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "12635:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12635:77:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10689, - "nodeType": "ExpressionStatement", - "src": "12635:77:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12571:3:14", - "parameters": { - "id": 10678, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10673, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12589:2:14", - "nodeType": "VariableDeclaration", - "scope": 10691, - "src": "12575:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10672, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12575:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10675, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12598:2:14", - "nodeType": "VariableDeclaration", - "scope": 10691, - "src": "12593:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10674, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12593:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10677, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12607:2:14", - "nodeType": "VariableDeclaration", - "scope": 10691, - "src": "12602:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10676, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12602:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "12574:36:14" - }, - "returnParameters": { - "id": 10679, - "nodeType": "ParameterList", - "parameters": [], - "src": "12625:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10711, - "nodeType": "FunctionDefinition", - "src": "12725:163:14", - "nodes": [], - "body": { - "id": 10710, - "nodeType": "Block", - "src": "12791:97:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c6164647265737329", - "id": 10703, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12841:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_932bbb385d479707ff387e3bb2d8968a7b4115e938510c531aa15b50507fc27f", - "typeString": "literal_string \"log(string,bool,address)\"" - }, - "value": "log(string,bool,address)" - }, - { - "id": 10704, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10693, - "src": "12869:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10705, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10695, - "src": "12873:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10706, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10697, - "src": "12877:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_932bbb385d479707ff387e3bb2d8968a7b4115e938510c531aa15b50507fc27f", - "typeString": "literal_string \"log(string,bool,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 10701, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12817:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10702, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12821:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12817:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12817:63:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10700, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "12801:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12801:80:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10709, - "nodeType": "ExpressionStatement", - "src": "12801:80:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12734:3:14", - "parameters": { - "id": 10698, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10693, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12752:2:14", - "nodeType": "VariableDeclaration", - "scope": 10711, - "src": "12738:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10692, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12738:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10695, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12761:2:14", - "nodeType": "VariableDeclaration", - "scope": 10711, - "src": "12756:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10694, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12756:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10697, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12773:2:14", - "nodeType": "VariableDeclaration", - "scope": 10711, - "src": "12765:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10696, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12765:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "12737:39:14" - }, - "returnParameters": { - "id": 10699, - "nodeType": "ParameterList", - "parameters": [], - "src": "12791:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10731, - "nodeType": "FunctionDefinition", - "src": "12894:163:14", - "nodes": [], - "body": { - "id": 10730, - "nodeType": "Block", - "src": "12960:97:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e7429", - "id": 10723, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13010:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_07c81217b9c48682941345dce61bbd916a12dd883642c9077891090a71c93a13", - "typeString": "literal_string \"log(string,address,uint)\"" - }, - "value": "log(string,address,uint)" - }, - { - "id": 10724, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10713, - "src": "13038:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10725, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10715, - "src": "13042:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10726, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10717, - "src": "13046:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_07c81217b9c48682941345dce61bbd916a12dd883642c9077891090a71c93a13", - "typeString": "literal_string \"log(string,address,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 10721, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12986:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10722, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12990:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12986:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10727, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12986:63:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10720, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "12970:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12970:80:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10729, - "nodeType": "ExpressionStatement", - "src": "12970:80:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12903:3:14", - "parameters": { - "id": 10718, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10713, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12921:2:14", - "nodeType": "VariableDeclaration", - "scope": 10731, - "src": "12907:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10712, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12907:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10715, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12933:2:14", - "nodeType": "VariableDeclaration", - "scope": 10731, - "src": "12925:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10714, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12925:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10717, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12942:2:14", - "nodeType": "VariableDeclaration", - "scope": 10731, - "src": "12937:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10716, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12937:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12906:39:14" - }, - "returnParameters": { - "id": 10719, - "nodeType": "ParameterList", - "parameters": [], - "src": "12960:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10751, - "nodeType": "FunctionDefinition", - "src": "13063:174:14", - "nodes": [], - "body": { - "id": 10750, - "nodeType": "Block", - "src": "13138:99:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e6729", - "id": 10743, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13188:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e0e9ad4f87059a51cce5555e129ca819f7e5d52e9c65a4e175882207ee47d634", - "typeString": "literal_string \"log(string,address,string)\"" - }, - "value": "log(string,address,string)" - }, - { - "id": 10744, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10733, - "src": "13218:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10745, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10735, - "src": "13222:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10746, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10737, - "src": "13226:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e0e9ad4f87059a51cce5555e129ca819f7e5d52e9c65a4e175882207ee47d634", - "typeString": "literal_string \"log(string,address,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 10741, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13164:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10742, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13168:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13164:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13164:65:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10740, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "13148:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13148:82:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10749, - "nodeType": "ExpressionStatement", - "src": "13148:82:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13072:3:14", - "parameters": { - "id": 10738, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10733, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13090:2:14", - "nodeType": "VariableDeclaration", - "scope": 10751, - "src": "13076:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10732, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13076:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10735, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13102:2:14", - "nodeType": "VariableDeclaration", - "scope": 10751, - "src": "13094:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10734, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13094:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10737, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13120:2:14", - "nodeType": "VariableDeclaration", - "scope": 10751, - "src": "13106:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10736, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13106:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13075:48:14" - }, - "returnParameters": { - "id": 10739, - "nodeType": "ParameterList", - "parameters": [], - "src": "13138:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10771, - "nodeType": "FunctionDefinition", - "src": "13243:163:14", - "nodes": [], - "body": { - "id": 10770, - "nodeType": "Block", - "src": "13309:97:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c29", - "id": 10763, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13359:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c91d5ed4480e0b3323f998bcee9594aa98173c7324b015a4713a7c8429afd0b8", - "typeString": "literal_string \"log(string,address,bool)\"" - }, - "value": "log(string,address,bool)" - }, - { - "id": 10764, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10753, - "src": "13387:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10765, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10755, - "src": "13391:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10766, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10757, - "src": "13395:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c91d5ed4480e0b3323f998bcee9594aa98173c7324b015a4713a7c8429afd0b8", - "typeString": "literal_string \"log(string,address,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 10761, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13335:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10762, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13339:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13335:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10767, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13335:63:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10760, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "13319:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10768, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13319:80:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10769, - "nodeType": "ExpressionStatement", - "src": "13319:80:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13252:3:14", - "parameters": { - "id": 10758, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10753, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13270:2:14", - "nodeType": "VariableDeclaration", - "scope": 10771, - "src": "13256:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10752, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13256:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10755, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13282:2:14", - "nodeType": "VariableDeclaration", - "scope": 10771, - "src": "13274:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10754, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13274:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10757, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13291:2:14", - "nodeType": "VariableDeclaration", - "scope": 10771, - "src": "13286:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10756, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13286:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "13255:39:14" - }, - "returnParameters": { - "id": 10759, - "nodeType": "ParameterList", - "parameters": [], - "src": "13309:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10791, - "nodeType": "FunctionDefinition", - "src": "13412:169:14", - "nodes": [], - "body": { - "id": 10790, - "nodeType": "Block", - "src": "13481:100:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c6164647265737329", - "id": 10783, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13531:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fcec75e0902c9d61eded5d9f2eed16d5b0f2cd255fe6fa77733f59e1063823e8", - "typeString": "literal_string \"log(string,address,address)\"" - }, - "value": "log(string,address,address)" - }, - { - "id": 10784, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10773, - "src": "13562:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10785, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10775, - "src": "13566:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10786, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10777, - "src": "13570:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_fcec75e0902c9d61eded5d9f2eed16d5b0f2cd255fe6fa77733f59e1063823e8", - "typeString": "literal_string \"log(string,address,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 10781, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13507:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10782, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13511:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13507:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13507:66:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10780, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "13491:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13491:83:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10789, - "nodeType": "ExpressionStatement", - "src": "13491:83:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13421:3:14", - "parameters": { - "id": 10778, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10773, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13439:2:14", - "nodeType": "VariableDeclaration", - "scope": 10791, - "src": "13425:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10772, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13425:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10775, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13451:2:14", - "nodeType": "VariableDeclaration", - "scope": 10791, - "src": "13443:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10774, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13443:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10777, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13463:2:14", - "nodeType": "VariableDeclaration", - "scope": 10791, - "src": "13455:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10776, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13455:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "13424:42:14" - }, - "returnParameters": { - "id": 10779, - "nodeType": "ParameterList", - "parameters": [], - "src": "13481:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10811, - "nodeType": "FunctionDefinition", - "src": "13587:146:14", - "nodes": [], - "body": { - "id": 10810, - "nodeType": "Block", - "src": "13641:92:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c75696e7429", - "id": 10803, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13691:21:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3b5c03e061c862e366b964ce1ef4845511d610b73a90137eb2b2afa3099b1a4e", - "typeString": "literal_string \"log(bool,uint,uint)\"" - }, - "value": "log(bool,uint,uint)" - }, - { - "id": 10804, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10793, - "src": "13714:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10805, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10795, - "src": "13718:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10806, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10797, - "src": "13722:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3b5c03e061c862e366b964ce1ef4845511d610b73a90137eb2b2afa3099b1a4e", - "typeString": "literal_string \"log(bool,uint,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 10801, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13667:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10802, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13671:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13667:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13667:58:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10800, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "13651:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10808, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13651:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10809, - "nodeType": "ExpressionStatement", - "src": "13651:75:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13596:3:14", - "parameters": { - "id": 10798, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10793, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13605:2:14", - "nodeType": "VariableDeclaration", - "scope": 10811, - "src": "13600:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10792, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13600:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10795, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13614:2:14", - "nodeType": "VariableDeclaration", - "scope": 10811, - "src": "13609:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10794, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "13609:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10797, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13623:2:14", - "nodeType": "VariableDeclaration", - "scope": 10811, - "src": "13618:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10796, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "13618:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13599:27:14" - }, - "returnParameters": { - "id": 10799, - "nodeType": "ParameterList", - "parameters": [], - "src": "13641:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10831, - "nodeType": "FunctionDefinition", - "src": "13739:157:14", - "nodes": [], - "body": { - "id": 10830, - "nodeType": "Block", - "src": "13802:94:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c737472696e6729", - "id": 10823, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13852:23:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c8397eb0de34bc3ec2853d625c1649c0c0abb20941c30ba650cc738adade018f", - "typeString": "literal_string \"log(bool,uint,string)\"" - }, - "value": "log(bool,uint,string)" - }, - { - "id": 10824, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10813, - "src": "13877:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10825, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10815, - "src": "13881:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10826, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10817, - "src": "13885:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c8397eb0de34bc3ec2853d625c1649c0c0abb20941c30ba650cc738adade018f", - "typeString": "literal_string \"log(bool,uint,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 10821, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13828:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10822, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13832:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13828:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10827, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13828:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10820, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "13812:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10828, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13812:77:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10829, - "nodeType": "ExpressionStatement", - "src": "13812:77:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13748:3:14", - "parameters": { - "id": 10818, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10813, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13757:2:14", - "nodeType": "VariableDeclaration", - "scope": 10831, - "src": "13752:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10812, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13752:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10815, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13766:2:14", - "nodeType": "VariableDeclaration", - "scope": 10831, - "src": "13761:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10814, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "13761:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10817, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13784:2:14", - "nodeType": "VariableDeclaration", - "scope": 10831, - "src": "13770:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10816, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13770:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13751:36:14" - }, - "returnParameters": { - "id": 10819, - "nodeType": "ParameterList", - "parameters": [], - "src": "13802:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10851, - "nodeType": "FunctionDefinition", - "src": "13902:146:14", - "nodes": [], - "body": { - "id": 10850, - "nodeType": "Block", - "src": "13956:92:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c626f6f6c29", - "id": 10843, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14006:21:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1badc9eb6813ec769c33a3918f278565b7e2e9ed34d2ae2d50d951cc0f602ae0", - "typeString": "literal_string \"log(bool,uint,bool)\"" - }, - "value": "log(bool,uint,bool)" - }, - { - "id": 10844, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10833, - "src": "14029:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10845, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10835, - "src": "14033:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10846, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10837, - "src": "14037:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1badc9eb6813ec769c33a3918f278565b7e2e9ed34d2ae2d50d951cc0f602ae0", - "typeString": "literal_string \"log(bool,uint,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 10841, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13982:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10842, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13986:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13982:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10847, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13982:58:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10840, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "13966:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10848, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13966:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10849, - "nodeType": "ExpressionStatement", - "src": "13966:75:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13911:3:14", - "parameters": { - "id": 10838, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10833, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13920:2:14", - "nodeType": "VariableDeclaration", - "scope": 10851, - "src": "13915:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10832, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13915:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10835, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13929:2:14", - "nodeType": "VariableDeclaration", - "scope": 10851, - "src": "13924:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10834, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "13924:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10837, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13938:2:14", - "nodeType": "VariableDeclaration", - "scope": 10851, - "src": "13933:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10836, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13933:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "13914:27:14" - }, - "returnParameters": { - "id": 10839, - "nodeType": "ParameterList", - "parameters": [], - "src": "13956:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10871, - "nodeType": "FunctionDefinition", - "src": "14054:152:14", - "nodes": [], - "body": { - "id": 10870, - "nodeType": "Block", - "src": "14111:95:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c6164647265737329", - "id": 10863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14161:24:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c4d23507f52009aec241457bf26dc51305bd2896aa08c5b47f04709554b39440", - "typeString": "literal_string \"log(bool,uint,address)\"" - }, - "value": "log(bool,uint,address)" - }, - { - "id": 10864, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10853, - "src": "14187:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10865, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10855, - "src": "14191:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10866, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10857, - "src": "14195:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c4d23507f52009aec241457bf26dc51305bd2896aa08c5b47f04709554b39440", - "typeString": "literal_string \"log(bool,uint,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 10861, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14137:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10862, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14141:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14137:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10867, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14137:61:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10860, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "14121:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10868, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14121:78:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10869, - "nodeType": "ExpressionStatement", - "src": "14121:78:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14063:3:14", - "parameters": { - "id": 10858, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10853, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14072:2:14", - "nodeType": "VariableDeclaration", - "scope": 10871, - "src": "14067:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10852, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14067:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10855, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14081:2:14", - "nodeType": "VariableDeclaration", - "scope": 10871, - "src": "14076:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10854, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14076:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10857, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14093:2:14", - "nodeType": "VariableDeclaration", - "scope": 10871, - "src": "14085:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10856, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14085:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14066:30:14" - }, - "returnParameters": { - "id": 10859, - "nodeType": "ParameterList", - "parameters": [], - "src": "14111:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10891, - "nodeType": "FunctionDefinition", - "src": "14212:157:14", - "nodes": [], - "body": { - "id": 10890, - "nodeType": "Block", - "src": "14275:94:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e7429", - "id": 10883, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14325:23:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c0382aac3e9b237c9c8f246cdb8152d44351aaafa72d99e3640be65f754ac807", - "typeString": "literal_string \"log(bool,string,uint)\"" - }, - "value": "log(bool,string,uint)" - }, - { - "id": 10884, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10873, - "src": "14350:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10885, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10875, - "src": "14354:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10886, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10877, - "src": "14358:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c0382aac3e9b237c9c8f246cdb8152d44351aaafa72d99e3640be65f754ac807", - "typeString": "literal_string \"log(bool,string,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 10881, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14301:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10882, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14305:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14301:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14301:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10880, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "14285:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10888, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14285:77:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10889, - "nodeType": "ExpressionStatement", - "src": "14285:77:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14221:3:14", - "parameters": { - "id": 10878, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10873, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14230:2:14", - "nodeType": "VariableDeclaration", - "scope": 10891, - "src": "14225:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10872, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14225:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10875, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14248:2:14", - "nodeType": "VariableDeclaration", - "scope": 10891, - "src": "14234:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10874, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14234:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10877, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14257:2:14", - "nodeType": "VariableDeclaration", - "scope": 10891, - "src": "14252:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10876, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14252:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "14224:36:14" - }, - "returnParameters": { - "id": 10879, - "nodeType": "ParameterList", - "parameters": [], - "src": "14275:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10911, - "nodeType": "FunctionDefinition", - "src": "14375:168:14", - "nodes": [], - "body": { - "id": 10910, - "nodeType": "Block", - "src": "14447:96:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e6729", - "id": 10903, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14497:25:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b076847f8b4aee0cfbf46ec501532f9f3c85a581aff135287ff8e917c0a39102", - "typeString": "literal_string \"log(bool,string,string)\"" - }, - "value": "log(bool,string,string)" - }, - { - "id": 10904, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10893, - "src": "14524:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10905, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10895, - "src": "14528:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10906, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10897, - "src": "14532:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b076847f8b4aee0cfbf46ec501532f9f3c85a581aff135287ff8e917c0a39102", - "typeString": "literal_string \"log(bool,string,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 10901, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14473:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10902, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14477:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14473:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14473:62:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10900, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "14457:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14457:79:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10909, - "nodeType": "ExpressionStatement", - "src": "14457:79:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14384:3:14", - "parameters": { - "id": 10898, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10893, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14393:2:14", - "nodeType": "VariableDeclaration", - "scope": 10911, - "src": "14388:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10892, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14388:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10895, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14411:2:14", - "nodeType": "VariableDeclaration", - "scope": 10911, - "src": "14397:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10894, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14397:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10897, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14429:2:14", - "nodeType": "VariableDeclaration", - "scope": 10911, - "src": "14415:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10896, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14415:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "14387:45:14" - }, - "returnParameters": { - "id": 10899, - "nodeType": "ParameterList", - "parameters": [], - "src": "14447:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10931, - "nodeType": "FunctionDefinition", - "src": "14549:157:14", - "nodes": [], - "body": { - "id": 10930, - "nodeType": "Block", - "src": "14612:94:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c29", - "id": 10923, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14662:23:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dbb4c2477dacc98e0e5b96fd6ca6bf0ae1f82dd042439d9f53f8d963bef43eaa", - "typeString": "literal_string \"log(bool,string,bool)\"" - }, - "value": "log(bool,string,bool)" - }, - { - "id": 10924, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10913, - "src": "14687:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10925, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10915, - "src": "14691:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10926, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10917, - "src": "14695:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_dbb4c2477dacc98e0e5b96fd6ca6bf0ae1f82dd042439d9f53f8d963bef43eaa", - "typeString": "literal_string \"log(bool,string,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 10921, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14638:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10922, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14642:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14638:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10927, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14638:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10920, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "14622:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10928, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14622:77:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10929, - "nodeType": "ExpressionStatement", - "src": "14622:77:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14558:3:14", - "parameters": { - "id": 10918, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10913, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14567:2:14", - "nodeType": "VariableDeclaration", - "scope": 10931, - "src": "14562:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10912, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14562:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10915, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14585:2:14", - "nodeType": "VariableDeclaration", - "scope": 10931, - "src": "14571:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10914, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14571:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10917, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14594:2:14", - "nodeType": "VariableDeclaration", - "scope": 10931, - "src": "14589:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10916, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14589:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "14561:36:14" - }, - "returnParameters": { - "id": 10919, - "nodeType": "ParameterList", - "parameters": [], - "src": "14612:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10951, - "nodeType": "FunctionDefinition", - "src": "14712:163:14", - "nodes": [], - "body": { - "id": 10950, - "nodeType": "Block", - "src": "14778:97:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c6164647265737329", - "id": 10943, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14828:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9591b953c9b1d0af9d1e3bc0f6ea9aa5b0e1af8c702f85b36e21b9b2d7e4da79", - "typeString": "literal_string \"log(bool,string,address)\"" - }, - "value": "log(bool,string,address)" - }, - { - "id": 10944, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10933, - "src": "14856:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10945, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10935, - "src": "14860:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10946, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10937, - "src": "14864:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9591b953c9b1d0af9d1e3bc0f6ea9aa5b0e1af8c702f85b36e21b9b2d7e4da79", - "typeString": "literal_string \"log(bool,string,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 10941, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14804:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14808:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14804:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14804:63:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10940, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "14788:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10948, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14788:80:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10949, - "nodeType": "ExpressionStatement", - "src": "14788:80:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14721:3:14", - "parameters": { - "id": 10938, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10933, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14730:2:14", - "nodeType": "VariableDeclaration", - "scope": 10951, - "src": "14725:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10932, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14725:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10935, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14748:2:14", - "nodeType": "VariableDeclaration", - "scope": 10951, - "src": "14734:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10934, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14734:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10937, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14760:2:14", - "nodeType": "VariableDeclaration", - "scope": 10951, - "src": "14752:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10936, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14752:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14724:39:14" - }, - "returnParameters": { - "id": 10939, - "nodeType": "ParameterList", - "parameters": [], - "src": "14778:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10971, - "nodeType": "FunctionDefinition", - "src": "14881:146:14", - "nodes": [], - "body": { - "id": 10970, - "nodeType": "Block", - "src": "14935:92:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e7429", - "id": 10963, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14985:21:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b01365bbae43503e22260bcc9cf23ffef37ffc9f6c1580737fe2489955065877", - "typeString": "literal_string \"log(bool,bool,uint)\"" - }, - "value": "log(bool,bool,uint)" - }, - { - "id": 10964, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10953, - "src": "15008:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10965, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10955, - "src": "15012:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10966, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10957, - "src": "15016:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b01365bbae43503e22260bcc9cf23ffef37ffc9f6c1580737fe2489955065877", - "typeString": "literal_string \"log(bool,bool,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 10961, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14961:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10962, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14965:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14961:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10967, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14961:58:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10960, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "14945:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14945:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10969, - "nodeType": "ExpressionStatement", - "src": "14945:75:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14890:3:14", - "parameters": { - "id": 10958, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10953, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14899:2:14", - "nodeType": "VariableDeclaration", - "scope": 10971, - "src": "14894:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10952, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14894:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10955, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14908:2:14", - "nodeType": "VariableDeclaration", - "scope": 10971, - "src": "14903:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10954, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14903:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10957, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14917:2:14", - "nodeType": "VariableDeclaration", - "scope": 10971, - "src": "14912:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10956, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14912:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "14893:27:14" - }, - "returnParameters": { - "id": 10959, - "nodeType": "ParameterList", - "parameters": [], - "src": "14935:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10991, - "nodeType": "FunctionDefinition", - "src": "15033:157:14", - "nodes": [], - "body": { - "id": 10990, - "nodeType": "Block", - "src": "15096:94:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e6729", - "id": 10983, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15146:23:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2555fa465662416fc443b21c515f245dc550a66f7c658773f7bd7ad91c82f2cc", - "typeString": "literal_string \"log(bool,bool,string)\"" - }, - "value": "log(bool,bool,string)" - }, - { - "id": 10984, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10973, - "src": "15171:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10985, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10975, - "src": "15175:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10986, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10977, - "src": "15179:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2555fa465662416fc443b21c515f245dc550a66f7c658773f7bd7ad91c82f2cc", - "typeString": "literal_string \"log(bool,bool,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 10981, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15122:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10982, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15126:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15122:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15122:60:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10980, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "15106:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10988, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15106:77:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10989, - "nodeType": "ExpressionStatement", - "src": "15106:77:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15042:3:14", - "parameters": { - "id": 10978, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10973, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15051:2:14", - "nodeType": "VariableDeclaration", - "scope": 10991, - "src": "15046:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10972, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15046:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10975, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15060:2:14", - "nodeType": "VariableDeclaration", - "scope": 10991, - "src": "15055:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10974, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15055:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10977, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15078:2:14", - "nodeType": "VariableDeclaration", - "scope": 10991, - "src": "15064:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10976, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15064:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "15045:36:14" - }, - "returnParameters": { - "id": 10979, - "nodeType": "ParameterList", - "parameters": [], - "src": "15096:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11011, - "nodeType": "FunctionDefinition", - "src": "15196:146:14", - "nodes": [], - "body": { - "id": 11010, - "nodeType": "Block", - "src": "15250:92:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c29", - "id": 11003, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15300:21:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_50709698278bb02f656e4ac53a2ae8ef0ec4064d340360a5fa4d933e9a742590", - "typeString": "literal_string \"log(bool,bool,bool)\"" - }, - "value": "log(bool,bool,bool)" - }, - { - "id": 11004, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10993, - "src": "15323:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11005, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10995, - "src": "15327:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11006, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10997, - "src": "15331:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_50709698278bb02f656e4ac53a2ae8ef0ec4064d340360a5fa4d933e9a742590", - "typeString": "literal_string \"log(bool,bool,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 11001, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15276:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11002, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15280:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15276:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15276:58:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11000, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "15260:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11008, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15260:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11009, - "nodeType": "ExpressionStatement", - "src": "15260:75:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15205:3:14", - "parameters": { - "id": 10998, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10993, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15214:2:14", - "nodeType": "VariableDeclaration", - "scope": 11011, - "src": "15209:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10992, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15209:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10995, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15223:2:14", - "nodeType": "VariableDeclaration", - "scope": 11011, - "src": "15218:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10994, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15218:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10997, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15232:2:14", - "nodeType": "VariableDeclaration", - "scope": 11011, - "src": "15227:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10996, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15227:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "15208:27:14" - }, - "returnParameters": { - "id": 10999, - "nodeType": "ParameterList", - "parameters": [], - "src": "15250:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11031, - "nodeType": "FunctionDefinition", - "src": "15348:152:14", - "nodes": [], - "body": { - "id": 11030, - "nodeType": "Block", - "src": "15405:95:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c6164647265737329", - "id": 11023, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15455:24:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1078f68da6ddbbe80f829fe8d54d1f2c6347e1ee4ec5a2a7a3a330ada9eccf81", - "typeString": "literal_string \"log(bool,bool,address)\"" - }, - "value": "log(bool,bool,address)" - }, - { - "id": 11024, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11013, - "src": "15481:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11025, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11015, - "src": "15485:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11026, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11017, - "src": "15489:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1078f68da6ddbbe80f829fe8d54d1f2c6347e1ee4ec5a2a7a3a330ada9eccf81", - "typeString": "literal_string \"log(bool,bool,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 11021, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15431:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11022, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15435:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15431:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15431:61:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11020, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "15415:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15415:78:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11029, - "nodeType": "ExpressionStatement", - "src": "15415:78:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15357:3:14", - "parameters": { - "id": 11018, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11013, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15366:2:14", - "nodeType": "VariableDeclaration", - "scope": 11031, - "src": "15361:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11012, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15361:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11015, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15375:2:14", - "nodeType": "VariableDeclaration", - "scope": 11031, - "src": "15370:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11014, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15370:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11017, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15387:2:14", - "nodeType": "VariableDeclaration", - "scope": 11031, - "src": "15379:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11016, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15379:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "15360:30:14" - }, - "returnParameters": { - "id": 11019, - "nodeType": "ParameterList", - "parameters": [], - "src": "15405:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11051, - "nodeType": "FunctionDefinition", - "src": "15506:152:14", - "nodes": [], - "body": { - "id": 11050, - "nodeType": "Block", - "src": "15563:95:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e7429", - "id": 11043, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15613:24:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb704bafbd89369a907d48394b6acdacf482ae42cc2aaedd1cc37e89b4054b3d", - "typeString": "literal_string \"log(bool,address,uint)\"" - }, - "value": "log(bool,address,uint)" - }, - { - "id": 11044, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11033, - "src": "15639:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11045, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11035, - "src": "15643:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11046, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11037, - "src": "15647:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_eb704bafbd89369a907d48394b6acdacf482ae42cc2aaedd1cc37e89b4054b3d", - "typeString": "literal_string \"log(bool,address,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 11041, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15589:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15593:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15589:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11047, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15589:61:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11040, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "15573:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11048, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15573:78:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11049, - "nodeType": "ExpressionStatement", - "src": "15573:78:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15515:3:14", - "parameters": { - "id": 11038, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11033, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15524:2:14", - "nodeType": "VariableDeclaration", - "scope": 11051, - "src": "15519:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11032, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15519:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11035, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15536:2:14", - "nodeType": "VariableDeclaration", - "scope": 11051, - "src": "15528:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11034, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15528:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11037, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15545:2:14", - "nodeType": "VariableDeclaration", - "scope": 11051, - "src": "15540:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11036, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "15540:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "15518:30:14" - }, - "returnParameters": { - "id": 11039, - "nodeType": "ParameterList", - "parameters": [], - "src": "15563:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11071, - "nodeType": "FunctionDefinition", - "src": "15664:163:14", - "nodes": [], - "body": { - "id": 11070, - "nodeType": "Block", - "src": "15730:97:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e6729", - "id": 11063, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15780:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_de9a927090b15ed84eefc0c471675a23ce67fd75011b1652fe17ca2dd0dcd06d", - "typeString": "literal_string \"log(bool,address,string)\"" - }, - "value": "log(bool,address,string)" - }, - { - "id": 11064, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11053, - "src": "15808:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11065, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11055, - "src": "15812:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11066, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11057, - "src": "15816:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_de9a927090b15ed84eefc0c471675a23ce67fd75011b1652fe17ca2dd0dcd06d", - "typeString": "literal_string \"log(bool,address,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 11061, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15756:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11062, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15760:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15756:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15756:63:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11060, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "15740:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11068, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15740:80:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11069, - "nodeType": "ExpressionStatement", - "src": "15740:80:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15673:3:14", - "parameters": { - "id": 11058, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11053, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15682:2:14", - "nodeType": "VariableDeclaration", - "scope": 11071, - "src": "15677:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11052, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15677:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11055, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15694:2:14", - "nodeType": "VariableDeclaration", - "scope": 11071, - "src": "15686:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11054, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15686:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11057, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15712:2:14", - "nodeType": "VariableDeclaration", - "scope": 11071, - "src": "15698:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11056, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15698:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "15676:39:14" - }, - "returnParameters": { - "id": 11059, - "nodeType": "ParameterList", - "parameters": [], - "src": "15730:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11091, - "nodeType": "FunctionDefinition", - "src": "15833:152:14", - "nodes": [], - "body": { - "id": 11090, - "nodeType": "Block", - "src": "15890:95:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c29", - "id": 11083, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15940:24:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_18c9c746c9d0e38e4dc234ee76e678bbaa4e473eca3dce0969637d7f01e4a908", - "typeString": "literal_string \"log(bool,address,bool)\"" - }, - "value": "log(bool,address,bool)" - }, - { - "id": 11084, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11073, - "src": "15966:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11085, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11075, - "src": "15970:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11086, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11077, - "src": "15974:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_18c9c746c9d0e38e4dc234ee76e678bbaa4e473eca3dce0969637d7f01e4a908", - "typeString": "literal_string \"log(bool,address,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 11081, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15916:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11082, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15920:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15916:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11087, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15916:61:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11080, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "15900:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11088, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15900:78:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11089, - "nodeType": "ExpressionStatement", - "src": "15900:78:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15842:3:14", - "parameters": { - "id": 11078, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11073, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15851:2:14", - "nodeType": "VariableDeclaration", - "scope": 11091, - "src": "15846:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11072, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15846:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11075, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15863:2:14", - "nodeType": "VariableDeclaration", - "scope": 11091, - "src": "15855:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11074, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15855:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11077, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15872:2:14", - "nodeType": "VariableDeclaration", - "scope": 11091, - "src": "15867:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11076, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15867:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "15845:30:14" - }, - "returnParameters": { - "id": 11079, - "nodeType": "ParameterList", - "parameters": [], - "src": "15890:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11111, - "nodeType": "FunctionDefinition", - "src": "15991:158:14", - "nodes": [], - "body": { - "id": 11110, - "nodeType": "Block", - "src": "16051:98:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c6164647265737329", - "id": 11103, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16101:27:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d2763667477f08a6a3f8ce84e1cc1aeb5e67ee2996f5f36e8939da2b8b8f0265", - "typeString": "literal_string \"log(bool,address,address)\"" - }, - "value": "log(bool,address,address)" - }, - { - "id": 11104, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11093, - "src": "16130:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11105, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11095, - "src": "16134:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11106, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11097, - "src": "16138:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d2763667477f08a6a3f8ce84e1cc1aeb5e67ee2996f5f36e8939da2b8b8f0265", - "typeString": "literal_string \"log(bool,address,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 11101, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16077:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11102, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16081:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16077:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16077:64:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11100, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "16061:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11108, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16061:81:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11109, - "nodeType": "ExpressionStatement", - "src": "16061:81:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16000:3:14", - "parameters": { - "id": 11098, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11093, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16009:2:14", - "nodeType": "VariableDeclaration", - "scope": 11111, - "src": "16004:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11092, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16004:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11095, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16021:2:14", - "nodeType": "VariableDeclaration", - "scope": 11111, - "src": "16013:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11094, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16013:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11097, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16033:2:14", - "nodeType": "VariableDeclaration", - "scope": 11111, - "src": "16025:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11096, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16025:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "16003:33:14" - }, - "returnParameters": { - "id": 11099, - "nodeType": "ParameterList", - "parameters": [], - "src": "16051:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11131, - "nodeType": "FunctionDefinition", - "src": "16155:152:14", - "nodes": [], - "body": { - "id": 11130, - "nodeType": "Block", - "src": "16212:95:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c75696e7429", - "id": 11123, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16262:24:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8786135eae1a8e4736031518026bd3bd30886c3cc8d3e8bdedd6faea426de5ea", - "typeString": "literal_string \"log(address,uint,uint)\"" - }, - "value": "log(address,uint,uint)" - }, - { - "id": 11124, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11113, - "src": "16288:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11125, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11115, - "src": "16292:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11126, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11117, - "src": "16296:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8786135eae1a8e4736031518026bd3bd30886c3cc8d3e8bdedd6faea426de5ea", - "typeString": "literal_string \"log(address,uint,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 11121, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16238:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11122, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16242:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16238:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16238:61:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11120, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "16222:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11128, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16222:78:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11129, - "nodeType": "ExpressionStatement", - "src": "16222:78:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16164:3:14", - "parameters": { - "id": 11118, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11113, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16176:2:14", - "nodeType": "VariableDeclaration", - "scope": 11131, - "src": "16168:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11112, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16168:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11115, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16185:2:14", - "nodeType": "VariableDeclaration", - "scope": 11131, - "src": "16180:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11114, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "16180:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11117, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16194:2:14", - "nodeType": "VariableDeclaration", - "scope": 11131, - "src": "16189:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11116, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "16189:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "16167:30:14" - }, - "returnParameters": { - "id": 11119, - "nodeType": "ParameterList", - "parameters": [], - "src": "16212:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11151, - "nodeType": "FunctionDefinition", - "src": "16313:163:14", - "nodes": [], - "body": { - "id": 11150, - "nodeType": "Block", - "src": "16379:97:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c737472696e6729", - "id": 11143, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16429:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_baf968498a2094de432bd16841b992056c14db9f313a6b44c3156c2b5f1dc2b4", - "typeString": "literal_string \"log(address,uint,string)\"" - }, - "value": "log(address,uint,string)" - }, - { - "id": 11144, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11133, - "src": "16457:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11145, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11135, - "src": "16461:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11146, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11137, - "src": "16465:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_baf968498a2094de432bd16841b992056c14db9f313a6b44c3156c2b5f1dc2b4", - "typeString": "literal_string \"log(address,uint,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 11141, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16405:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11142, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16409:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16405:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16405:63:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11140, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "16389:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11148, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16389:80:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11149, - "nodeType": "ExpressionStatement", - "src": "16389:80:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16322:3:14", - "parameters": { - "id": 11138, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11133, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16334:2:14", - "nodeType": "VariableDeclaration", - "scope": 11151, - "src": "16326:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11132, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16326:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11135, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16343:2:14", - "nodeType": "VariableDeclaration", - "scope": 11151, - "src": "16338:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11134, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "16338:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11137, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16361:2:14", - "nodeType": "VariableDeclaration", - "scope": 11151, - "src": "16347:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11136, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16347:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "16325:39:14" - }, - "returnParameters": { - "id": 11139, - "nodeType": "ParameterList", - "parameters": [], - "src": "16379:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11171, - "nodeType": "FunctionDefinition", - "src": "16482:152:14", - "nodes": [], - "body": { - "id": 11170, - "nodeType": "Block", - "src": "16539:95:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c626f6f6c29", - "id": 11163, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16589:24:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e54ae1445cd51f09e801fc5885e33c709102997417d3d9b6f543f7724468b4e4", - "typeString": "literal_string \"log(address,uint,bool)\"" - }, - "value": "log(address,uint,bool)" - }, - { - "id": 11164, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11153, - "src": "16615:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11165, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11155, - "src": "16619:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11166, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11157, - "src": "16623:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e54ae1445cd51f09e801fc5885e33c709102997417d3d9b6f543f7724468b4e4", - "typeString": "literal_string \"log(address,uint,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 11161, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16565:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11162, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16569:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16565:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11167, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16565:61:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11160, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "16549:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16549:78:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11169, - "nodeType": "ExpressionStatement", - "src": "16549:78:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16491:3:14", - "parameters": { - "id": 11158, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11153, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16503:2:14", - "nodeType": "VariableDeclaration", - "scope": 11171, - "src": "16495:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11152, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16495:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11155, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16512:2:14", - "nodeType": "VariableDeclaration", - "scope": 11171, - "src": "16507:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11154, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "16507:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11157, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16521:2:14", - "nodeType": "VariableDeclaration", - "scope": 11171, - "src": "16516:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11156, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16516:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "16494:30:14" - }, - "returnParameters": { - "id": 11159, - "nodeType": "ParameterList", - "parameters": [], - "src": "16539:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11191, - "nodeType": "FunctionDefinition", - "src": "16640:158:14", - "nodes": [], - "body": { - "id": 11190, - "nodeType": "Block", - "src": "16700:98:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c6164647265737329", - "id": 11183, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16750:27:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_97eca3948a309251ff02cc4a3cb96f84ac4b6b4bdc56e86c9f0131c9b70c6259", - "typeString": "literal_string \"log(address,uint,address)\"" - }, - "value": "log(address,uint,address)" - }, - { - "id": 11184, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11173, - "src": "16779:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11185, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11175, - "src": "16783:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11186, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11177, - "src": "16787:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_97eca3948a309251ff02cc4a3cb96f84ac4b6b4bdc56e86c9f0131c9b70c6259", - "typeString": "literal_string \"log(address,uint,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 11181, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16726:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11182, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16730:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16726:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11187, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16726:64:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11180, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "16710:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11188, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16710:81:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11189, - "nodeType": "ExpressionStatement", - "src": "16710:81:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16649:3:14", - "parameters": { - "id": 11178, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11173, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16661:2:14", - "nodeType": "VariableDeclaration", - "scope": 11191, - "src": "16653:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11172, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16653:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11175, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16670:2:14", - "nodeType": "VariableDeclaration", - "scope": 11191, - "src": "16665:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11174, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "16665:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11177, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16682:2:14", - "nodeType": "VariableDeclaration", - "scope": 11191, - "src": "16674:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11176, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16674:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "16652:33:14" - }, - "returnParameters": { - "id": 11179, - "nodeType": "ParameterList", - "parameters": [], - "src": "16700:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11211, - "nodeType": "FunctionDefinition", - "src": "16804:163:14", - "nodes": [], - "body": { - "id": 11210, - "nodeType": "Block", - "src": "16870:97:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e7429", - "id": 11203, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16920:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1cdaf28a630ff01c83e1629295cea6793da60638603e831a5c07be53dbee3597", - "typeString": "literal_string \"log(address,string,uint)\"" - }, - "value": "log(address,string,uint)" - }, - { - "id": 11204, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11193, - "src": "16948:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11205, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11195, - "src": "16952:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11206, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11197, - "src": "16956:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1cdaf28a630ff01c83e1629295cea6793da60638603e831a5c07be53dbee3597", - "typeString": "literal_string \"log(address,string,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 11201, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16896:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11202, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16900:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16896:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16896:63:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11200, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "16880:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16880:80:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11209, - "nodeType": "ExpressionStatement", - "src": "16880:80:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16813:3:14", - "parameters": { - "id": 11198, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11193, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16825:2:14", - "nodeType": "VariableDeclaration", - "scope": 11211, - "src": "16817:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11192, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16817:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11195, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16843:2:14", - "nodeType": "VariableDeclaration", - "scope": 11211, - "src": "16829:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11194, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16829:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11197, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16852:2:14", - "nodeType": "VariableDeclaration", - "scope": 11211, - "src": "16847:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11196, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "16847:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "16816:39:14" - }, - "returnParameters": { - "id": 11199, - "nodeType": "ParameterList", - "parameters": [], - "src": "16870:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11231, - "nodeType": "FunctionDefinition", - "src": "16973:174:14", - "nodes": [], - "body": { - "id": 11230, - "nodeType": "Block", - "src": "17048:99:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e6729", - "id": 11223, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17098:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fb77226597c11cd0c52945168d7176a06b9af41edea6a51823db111f35573158", - "typeString": "literal_string \"log(address,string,string)\"" - }, - "value": "log(address,string,string)" - }, - { - "id": 11224, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11213, - "src": "17128:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11225, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11215, - "src": "17132:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11226, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11217, - "src": "17136:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_fb77226597c11cd0c52945168d7176a06b9af41edea6a51823db111f35573158", - "typeString": "literal_string \"log(address,string,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 11221, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17074:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11222, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17078:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17074:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11227, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17074:65:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11220, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "17058:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11228, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17058:82:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11229, - "nodeType": "ExpressionStatement", - "src": "17058:82:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16982:3:14", - "parameters": { - "id": 11218, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11213, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16994:2:14", - "nodeType": "VariableDeclaration", - "scope": 11231, - "src": "16986:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11212, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16986:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11215, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17012:2:14", - "nodeType": "VariableDeclaration", - "scope": 11231, - "src": "16998:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11214, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16998:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11217, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17030:2:14", - "nodeType": "VariableDeclaration", - "scope": 11231, - "src": "17016:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11216, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17016:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "16985:48:14" - }, - "returnParameters": { - "id": 11219, - "nodeType": "ParameterList", - "parameters": [], - "src": "17048:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11251, - "nodeType": "FunctionDefinition", - "src": "17153:163:14", - "nodes": [], - "body": { - "id": 11250, - "nodeType": "Block", - "src": "17219:97:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c29", - "id": 11243, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17269:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cf020fb14f49566c5748de1f455c699a10a4ed1d7cf32f9adb28d22878df1b96", - "typeString": "literal_string \"log(address,string,bool)\"" - }, - "value": "log(address,string,bool)" - }, - { - "id": 11244, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11233, - "src": "17297:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11245, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11235, - "src": "17301:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11246, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11237, - "src": "17305:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cf020fb14f49566c5748de1f455c699a10a4ed1d7cf32f9adb28d22878df1b96", - "typeString": "literal_string \"log(address,string,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 11241, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17245:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11242, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17249:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17245:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11247, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17245:63:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11240, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "17229:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11248, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17229:80:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11249, - "nodeType": "ExpressionStatement", - "src": "17229:80:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17162:3:14", - "parameters": { - "id": 11238, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11233, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17174:2:14", - "nodeType": "VariableDeclaration", - "scope": 11251, - "src": "17166:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11232, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17166:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11235, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17192:2:14", - "nodeType": "VariableDeclaration", - "scope": 11251, - "src": "17178:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11234, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17178:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11237, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17201:2:14", - "nodeType": "VariableDeclaration", - "scope": 11251, - "src": "17196:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11236, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "17196:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "17165:39:14" - }, - "returnParameters": { - "id": 11239, - "nodeType": "ParameterList", - "parameters": [], - "src": "17219:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11271, - "nodeType": "FunctionDefinition", - "src": "17322:169:14", - "nodes": [], - "body": { - "id": 11270, - "nodeType": "Block", - "src": "17391:100:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c6164647265737329", - "id": 11263, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17441:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f08744e82875525f1ef885a48453f58e96cac98a5d32bd6d8c38e4977aede231", - "typeString": "literal_string \"log(address,string,address)\"" - }, - "value": "log(address,string,address)" - }, - { - "id": 11264, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11253, - "src": "17472:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11265, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11255, - "src": "17476:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11266, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11257, - "src": "17480:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f08744e82875525f1ef885a48453f58e96cac98a5d32bd6d8c38e4977aede231", - "typeString": "literal_string \"log(address,string,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 11261, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17417:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11262, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17421:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17417:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17417:66:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11260, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "17401:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11268, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17401:83:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11269, - "nodeType": "ExpressionStatement", - "src": "17401:83:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17331:3:14", - "parameters": { - "id": 11258, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11253, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17343:2:14", - "nodeType": "VariableDeclaration", - "scope": 11271, - "src": "17335:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11252, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17335:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11255, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17361:2:14", - "nodeType": "VariableDeclaration", - "scope": 11271, - "src": "17347:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11254, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17347:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11257, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17373:2:14", - "nodeType": "VariableDeclaration", - "scope": 11271, - "src": "17365:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11256, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17365:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "17334:42:14" - }, - "returnParameters": { - "id": 11259, - "nodeType": "ParameterList", - "parameters": [], - "src": "17391:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11291, - "nodeType": "FunctionDefinition", - "src": "17497:152:14", - "nodes": [], - "body": { - "id": 11290, - "nodeType": "Block", - "src": "17554:95:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e7429", - "id": 11283, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17604:24:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c468d157d9cb3bd4f3bc977d201b067de313f8e774b0377d5c5b2b5c9426095", - "typeString": "literal_string \"log(address,bool,uint)\"" - }, - "value": "log(address,bool,uint)" - }, - { - "id": 11284, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11273, - "src": "17630:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11285, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11275, - "src": "17634:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11286, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11277, - "src": "17638:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2c468d157d9cb3bd4f3bc977d201b067de313f8e774b0377d5c5b2b5c9426095", - "typeString": "literal_string \"log(address,bool,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 11281, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17580:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11282, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17584:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17580:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11287, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17580:61:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11280, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "17564:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11288, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17564:78:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11289, - "nodeType": "ExpressionStatement", - "src": "17564:78:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17506:3:14", - "parameters": { - "id": 11278, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11273, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17518:2:14", - "nodeType": "VariableDeclaration", - "scope": 11291, - "src": "17510:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11272, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17510:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11275, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17527:2:14", - "nodeType": "VariableDeclaration", - "scope": 11291, - "src": "17522:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11274, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "17522:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11277, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17536:2:14", - "nodeType": "VariableDeclaration", - "scope": 11291, - "src": "17531:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11276, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "17531:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17509:30:14" - }, - "returnParameters": { - "id": 11279, - "nodeType": "ParameterList", - "parameters": [], - "src": "17554:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11311, - "nodeType": "FunctionDefinition", - "src": "17655:163:14", - "nodes": [], - "body": { - "id": 11310, - "nodeType": "Block", - "src": "17721:97:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e6729", - "id": 11303, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17771:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_212255cc5ff4a2d867f69451c60f51c24e41784276f4ceffe8ec3af322690750", - "typeString": "literal_string \"log(address,bool,string)\"" - }, - "value": "log(address,bool,string)" - }, - { - "id": 11304, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11293, - "src": "17799:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11305, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11295, - "src": "17803:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11306, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11297, - "src": "17807:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_212255cc5ff4a2d867f69451c60f51c24e41784276f4ceffe8ec3af322690750", - "typeString": "literal_string \"log(address,bool,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 11301, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17747:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11302, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17751:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17747:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11307, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17747:63:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11300, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "17731:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11308, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17731:80:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11309, - "nodeType": "ExpressionStatement", - "src": "17731:80:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17664:3:14", - "parameters": { - "id": 11298, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11293, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17676:2:14", - "nodeType": "VariableDeclaration", - "scope": 11311, - "src": "17668:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11292, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17668:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11295, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17685:2:14", - "nodeType": "VariableDeclaration", - "scope": 11311, - "src": "17680:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11294, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "17680:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11297, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17703:2:14", - "nodeType": "VariableDeclaration", - "scope": 11311, - "src": "17689:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11296, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17689:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "17667:39:14" - }, - "returnParameters": { - "id": 11299, - "nodeType": "ParameterList", - "parameters": [], - "src": "17721:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11331, - "nodeType": "FunctionDefinition", - "src": "17824:152:14", - "nodes": [], - "body": { - "id": 11330, - "nodeType": "Block", - "src": "17881:95:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c29", - "id": 11323, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17931:24:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb830c92a079b46f3abcb83e519f578cffe7387941b6885067265feec096d279", - "typeString": "literal_string \"log(address,bool,bool)\"" - }, - "value": "log(address,bool,bool)" - }, - { - "id": 11324, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11313, - "src": "17957:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11325, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11315, - "src": "17961:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11326, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11317, - "src": "17965:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_eb830c92a079b46f3abcb83e519f578cffe7387941b6885067265feec096d279", - "typeString": "literal_string \"log(address,bool,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 11321, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17907:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11322, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17911:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17907:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17907:61:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11320, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "17891:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11328, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17891:78:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11329, - "nodeType": "ExpressionStatement", - "src": "17891:78:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17833:3:14", - "parameters": { - "id": 11318, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11313, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17845:2:14", - "nodeType": "VariableDeclaration", - "scope": 11331, - "src": "17837:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11312, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17837:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11315, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17854:2:14", - "nodeType": "VariableDeclaration", - "scope": 11331, - "src": "17849:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11314, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "17849:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11317, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17863:2:14", - "nodeType": "VariableDeclaration", - "scope": 11331, - "src": "17858:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11316, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "17858:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "17836:30:14" - }, - "returnParameters": { - "id": 11319, - "nodeType": "ParameterList", - "parameters": [], - "src": "17881:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11351, - "nodeType": "FunctionDefinition", - "src": "17982:158:14", - "nodes": [], - "body": { - "id": 11350, - "nodeType": "Block", - "src": "18042:98:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c6164647265737329", - "id": 11343, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18092:27:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f11699ed537119f000a51ba9fbd5bb55b3990a1a718acbe99659bd1bc84dc18d", - "typeString": "literal_string \"log(address,bool,address)\"" - }, - "value": "log(address,bool,address)" - }, - { - "id": 11344, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11333, - "src": "18121:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11345, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11335, - "src": "18125:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11346, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11337, - "src": "18129:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f11699ed537119f000a51ba9fbd5bb55b3990a1a718acbe99659bd1bc84dc18d", - "typeString": "literal_string \"log(address,bool,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 11341, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18068:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11342, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18072:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18068:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18068:64:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11340, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "18052:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18052:81:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11349, - "nodeType": "ExpressionStatement", - "src": "18052:81:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17991:3:14", - "parameters": { - "id": 11338, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11333, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18003:2:14", - "nodeType": "VariableDeclaration", - "scope": 11351, - "src": "17995:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11332, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17995:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11335, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18012:2:14", - "nodeType": "VariableDeclaration", - "scope": 11351, - "src": "18007:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11334, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "18007:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11337, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18024:2:14", - "nodeType": "VariableDeclaration", - "scope": 11351, - "src": "18016:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11336, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18016:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "17994:33:14" - }, - "returnParameters": { - "id": 11339, - "nodeType": "ParameterList", - "parameters": [], - "src": "18042:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11371, - "nodeType": "FunctionDefinition", - "src": "18146:158:14", - "nodes": [], - "body": { - "id": 11370, - "nodeType": "Block", - "src": "18206:98:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e7429", - "id": 11363, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18256:27:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6c366d7295b93bbfacc4df0ea28f0eef60efacfffd447f8f2823cbe5b2fedb07", - "typeString": "literal_string \"log(address,address,uint)\"" - }, - "value": "log(address,address,uint)" - }, - { - "id": 11364, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11353, - "src": "18285:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11365, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11355, - "src": "18289:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11366, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11357, - "src": "18293:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6c366d7295b93bbfacc4df0ea28f0eef60efacfffd447f8f2823cbe5b2fedb07", - "typeString": "literal_string \"log(address,address,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 11361, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18232:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11362, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18236:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18232:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11367, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18232:64:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11360, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "18216:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11368, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18216:81:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11369, - "nodeType": "ExpressionStatement", - "src": "18216:81:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18155:3:14", - "parameters": { - "id": 11358, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11353, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18167:2:14", - "nodeType": "VariableDeclaration", - "scope": 11371, - "src": "18159:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11352, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18159:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11355, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18179:2:14", - "nodeType": "VariableDeclaration", - "scope": 11371, - "src": "18171:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11354, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18171:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11357, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18188:2:14", - "nodeType": "VariableDeclaration", - "scope": 11371, - "src": "18183:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11356, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "18183:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18158:33:14" - }, - "returnParameters": { - "id": 11359, - "nodeType": "ParameterList", - "parameters": [], - "src": "18206:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11391, - "nodeType": "FunctionDefinition", - "src": "18310:169:14", - "nodes": [], - "body": { - "id": 11390, - "nodeType": "Block", - "src": "18379:100:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e6729", - "id": 11383, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18429:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_007150be50a4671a6be318012e9cd2eabb1e1bc8869b45c34abbaa04d81c8eee", - "typeString": "literal_string \"log(address,address,string)\"" - }, - "value": "log(address,address,string)" - }, - { - "id": 11384, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11373, - "src": "18460:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11385, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11375, - "src": "18464:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11386, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11377, - "src": "18468:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_007150be50a4671a6be318012e9cd2eabb1e1bc8869b45c34abbaa04d81c8eee", - "typeString": "literal_string \"log(address,address,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 11381, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18405:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11382, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18409:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18405:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11387, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18405:66:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11380, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "18389:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11388, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18389:83:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11389, - "nodeType": "ExpressionStatement", - "src": "18389:83:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18319:3:14", - "parameters": { - "id": 11378, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11373, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18331:2:14", - "nodeType": "VariableDeclaration", - "scope": 11391, - "src": "18323:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18323:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11375, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18343:2:14", - "nodeType": "VariableDeclaration", - "scope": 11391, - "src": "18335:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11374, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18335:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11377, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18361:2:14", - "nodeType": "VariableDeclaration", - "scope": 11391, - "src": "18347:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11376, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18347:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "18322:42:14" - }, - "returnParameters": { - "id": 11379, - "nodeType": "ParameterList", - "parameters": [], - "src": "18379:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11411, - "nodeType": "FunctionDefinition", - "src": "18485:158:14", - "nodes": [], - "body": { - "id": 11410, - "nodeType": "Block", - "src": "18545:98:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c29", - "id": 11403, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18595:27:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f2a6628622808c8bbef4f3e513ab11e708a8f5073988f2f7988e111aa26586dc", - "typeString": "literal_string \"log(address,address,bool)\"" - }, - "value": "log(address,address,bool)" - }, - { - "id": 11404, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11393, - "src": "18624:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11405, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11395, - "src": "18628:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11406, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11397, - "src": "18632:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f2a6628622808c8bbef4f3e513ab11e708a8f5073988f2f7988e111aa26586dc", - "typeString": "literal_string \"log(address,address,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 11401, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18571:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11402, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18575:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18571:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11407, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18571:64:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11400, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "18555:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11408, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18555:81:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11409, - "nodeType": "ExpressionStatement", - "src": "18555:81:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18494:3:14", - "parameters": { - "id": 11398, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11393, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18506:2:14", - "nodeType": "VariableDeclaration", - "scope": 11411, - "src": "18498:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11392, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18498:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11395, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18518:2:14", - "nodeType": "VariableDeclaration", - "scope": 11411, - "src": "18510:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11394, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18510:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11397, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18527:2:14", - "nodeType": "VariableDeclaration", - "scope": 11411, - "src": "18522:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11396, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "18522:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "18497:33:14" - }, - "returnParameters": { - "id": 11399, - "nodeType": "ParameterList", - "parameters": [], - "src": "18545:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11431, - "nodeType": "FunctionDefinition", - "src": "18649:164:14", - "nodes": [], - "body": { - "id": 11430, - "nodeType": "Block", - "src": "18712:101:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c6164647265737329", - "id": 11423, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18762:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_018c84c25fb680b5bcd4e1ab1848682497c9dd3b635564a91c36ce3d1414c830", - "typeString": "literal_string \"log(address,address,address)\"" - }, - "value": "log(address,address,address)" - }, - { - "id": 11424, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11413, - "src": "18794:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11425, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11415, - "src": "18798:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11426, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11417, - "src": "18802:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_018c84c25fb680b5bcd4e1ab1848682497c9dd3b635564a91c36ce3d1414c830", - "typeString": "literal_string \"log(address,address,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 11421, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18738:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11422, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18742:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18738:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18738:67:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11420, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "18722:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18722:84:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11429, - "nodeType": "ExpressionStatement", - "src": "18722:84:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18658:3:14", - "parameters": { - "id": 11418, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11413, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18670:2:14", - "nodeType": "VariableDeclaration", - "scope": 11431, - "src": "18662:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11412, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18662:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11415, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18682:2:14", - "nodeType": "VariableDeclaration", - "scope": 11431, - "src": "18674:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11414, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18674:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11417, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18694:2:14", - "nodeType": "VariableDeclaration", - "scope": 11431, - "src": "18686:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11416, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18686:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "18661:36:14" - }, - "returnParameters": { - "id": 11419, - "nodeType": "ParameterList", - "parameters": [], - "src": "18712:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11454, - "nodeType": "FunctionDefinition", - "src": "18819:164:14", - "nodes": [], - "body": { - "id": 11453, - "nodeType": "Block", - "src": "18882:101:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c75696e742c75696e7429", - "id": 11445, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18932:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5ca0ad3ec7f731e4661cde447171efd221faf44c50b57eba4cc4965c1f89c0b6", - "typeString": "literal_string \"log(uint,uint,uint,uint)\"" - }, - "value": "log(uint,uint,uint,uint)" - }, - { - "id": 11446, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11433, - "src": "18960:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11447, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11435, - "src": "18964:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11448, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11437, - "src": "18968:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11449, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11439, - "src": "18972:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5ca0ad3ec7f731e4661cde447171efd221faf44c50b57eba4cc4965c1f89c0b6", - "typeString": "literal_string \"log(uint,uint,uint,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 11443, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18908:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11444, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18912:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18908:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18908:67:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11442, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "18892:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18892:84:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11452, - "nodeType": "ExpressionStatement", - "src": "18892:84:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18828:3:14", - "parameters": { - "id": 11440, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11433, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18837:2:14", - "nodeType": "VariableDeclaration", - "scope": 11454, - "src": "18832:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11432, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "18832:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11435, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18846:2:14", - "nodeType": "VariableDeclaration", - "scope": 11454, - "src": "18841:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11434, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "18841:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11437, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18855:2:14", - "nodeType": "VariableDeclaration", - "scope": 11454, - "src": "18850:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11436, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "18850:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11439, - "mutability": "mutable", - "name": "p3", - "nameLocation": "18864:2:14", - "nodeType": "VariableDeclaration", - "scope": 11454, - "src": "18859:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11438, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "18859:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18831:36:14" - }, - "returnParameters": { - "id": 11441, - "nodeType": "ParameterList", - "parameters": [], - "src": "18882:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11477, - "nodeType": "FunctionDefinition", - "src": "18989:175:14", - "nodes": [], - "body": { - "id": 11476, - "nodeType": "Block", - "src": "19061:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c75696e742c737472696e6729", - "id": 11468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19111:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_78ad7a0c8cf57ba0e3b9e892fd6558ba40a5d4c84ef5c8c5e36bfc8d7f23b0c5", - "typeString": "literal_string \"log(uint,uint,uint,string)\"" - }, - "value": "log(uint,uint,uint,string)" - }, - { - "id": 11469, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11456, - "src": "19141:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11470, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11458, - "src": "19145:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11471, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11460, - "src": "19149:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11472, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11462, - "src": "19153:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_78ad7a0c8cf57ba0e3b9e892fd6558ba40a5d4c84ef5c8c5e36bfc8d7f23b0c5", - "typeString": "literal_string \"log(uint,uint,uint,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 11466, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19087:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11467, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19091:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19087:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19087:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11465, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "19071:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19071:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11475, - "nodeType": "ExpressionStatement", - "src": "19071:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18998:3:14", - "parameters": { - "id": 11463, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11456, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19007:2:14", - "nodeType": "VariableDeclaration", - "scope": 11477, - "src": "19002:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11455, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19002:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11458, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19016:2:14", - "nodeType": "VariableDeclaration", - "scope": 11477, - "src": "19011:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11457, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19011:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11460, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19025:2:14", - "nodeType": "VariableDeclaration", - "scope": 11477, - "src": "19020:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11459, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19020:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11462, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19043:2:14", - "nodeType": "VariableDeclaration", - "scope": 11477, - "src": "19029:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11461, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19029:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "19001:45:14" - }, - "returnParameters": { - "id": 11464, - "nodeType": "ParameterList", - "parameters": [], - "src": "19061:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11500, - "nodeType": "FunctionDefinition", - "src": "19170:164:14", - "nodes": [], - "body": { - "id": 11499, - "nodeType": "Block", - "src": "19233:101:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c75696e742c626f6f6c29", - "id": 11491, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19283:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6452b9cbdf8b8479d7ee301237b2d6dfa173fc92538628ab30d643fb4351918f", - "typeString": "literal_string \"log(uint,uint,uint,bool)\"" - }, - "value": "log(uint,uint,uint,bool)" - }, - { - "id": 11492, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11479, - "src": "19311:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11493, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11481, - "src": "19315:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11494, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11483, - "src": "19319:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11495, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11485, - "src": "19323:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6452b9cbdf8b8479d7ee301237b2d6dfa173fc92538628ab30d643fb4351918f", - "typeString": "literal_string \"log(uint,uint,uint,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 11489, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19259:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11490, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19263:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19259:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11496, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19259:67:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11488, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "19243:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11497, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19243:84:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11498, - "nodeType": "ExpressionStatement", - "src": "19243:84:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19179:3:14", - "parameters": { - "id": 11486, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11479, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19188:2:14", - "nodeType": "VariableDeclaration", - "scope": 11500, - "src": "19183:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11478, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19183:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11481, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19197:2:14", - "nodeType": "VariableDeclaration", - "scope": 11500, - "src": "19192:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11480, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19192:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11483, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19206:2:14", - "nodeType": "VariableDeclaration", - "scope": 11500, - "src": "19201:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11482, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19201:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11485, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19215:2:14", - "nodeType": "VariableDeclaration", - "scope": 11500, - "src": "19210:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11484, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19210:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "19182:36:14" - }, - "returnParameters": { - "id": 11487, - "nodeType": "ParameterList", - "parameters": [], - "src": "19233:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11523, - "nodeType": "FunctionDefinition", - "src": "19340:170:14", - "nodes": [], - "body": { - "id": 11522, - "nodeType": "Block", - "src": "19406:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c75696e742c6164647265737329", - "id": 11514, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19456:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e0853f69a5584c9e0aa87ddae9bd870cf5164166d612d334644e66176c1213ba", - "typeString": "literal_string \"log(uint,uint,uint,address)\"" - }, - "value": "log(uint,uint,uint,address)" - }, - { - "id": 11515, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11502, - "src": "19487:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11516, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11504, - "src": "19491:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11517, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11506, - "src": "19495:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11518, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11508, - "src": "19499:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e0853f69a5584c9e0aa87ddae9bd870cf5164166d612d334644e66176c1213ba", - "typeString": "literal_string \"log(uint,uint,uint,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 11512, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19432:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11513, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19436:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19432:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11519, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19432:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11511, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "19416:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19416:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11521, - "nodeType": "ExpressionStatement", - "src": "19416:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19349:3:14", - "parameters": { - "id": 11509, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11502, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19358:2:14", - "nodeType": "VariableDeclaration", - "scope": 11523, - "src": "19353:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11501, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19353:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11504, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19367:2:14", - "nodeType": "VariableDeclaration", - "scope": 11523, - "src": "19362:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11503, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19362:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11506, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19376:2:14", - "nodeType": "VariableDeclaration", - "scope": 11523, - "src": "19371:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11505, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19371:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11508, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19388:2:14", - "nodeType": "VariableDeclaration", - "scope": 11523, - "src": "19380:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11507, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19380:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "19352:39:14" - }, - "returnParameters": { - "id": 11510, - "nodeType": "ParameterList", - "parameters": [], - "src": "19406:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11546, - "nodeType": "FunctionDefinition", - "src": "19516:175:14", - "nodes": [], - "body": { - "id": 11545, - "nodeType": "Block", - "src": "19588:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c737472696e672c75696e7429", - "id": 11537, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19638:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3894163d4e8f3eec101fb8e2c1029563bd05d05ee1d1790a46910ebbbdc3072e", - "typeString": "literal_string \"log(uint,uint,string,uint)\"" - }, - "value": "log(uint,uint,string,uint)" - }, - { - "id": 11538, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11525, - "src": "19668:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11539, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11527, - "src": "19672:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11540, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11529, - "src": "19676:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11541, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11531, - "src": "19680:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3894163d4e8f3eec101fb8e2c1029563bd05d05ee1d1790a46910ebbbdc3072e", - "typeString": "literal_string \"log(uint,uint,string,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 11535, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19614:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11536, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19618:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19614:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11542, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19614:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11534, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "19598:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11543, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19598:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11544, - "nodeType": "ExpressionStatement", - "src": "19598:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19525:3:14", - "parameters": { - "id": 11532, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11525, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19534:2:14", - "nodeType": "VariableDeclaration", - "scope": 11546, - "src": "19529:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11524, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19529:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11527, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19543:2:14", - "nodeType": "VariableDeclaration", - "scope": 11546, - "src": "19538:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11526, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19538:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11529, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19561:2:14", - "nodeType": "VariableDeclaration", - "scope": 11546, - "src": "19547:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11528, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19547:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11531, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19570:2:14", - "nodeType": "VariableDeclaration", - "scope": 11546, - "src": "19565:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11530, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19565:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "19528:45:14" - }, - "returnParameters": { - "id": 11533, - "nodeType": "ParameterList", - "parameters": [], - "src": "19588:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11569, - "nodeType": "FunctionDefinition", - "src": "19697:186:14", - "nodes": [], - "body": { - "id": 11568, - "nodeType": "Block", - "src": "19778:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c737472696e672c737472696e6729", - "id": 11560, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19828:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7c032a3207958e3d969ab52b045e7a59226129ee4b9e813f7071f9a5e80813f6", - "typeString": "literal_string \"log(uint,uint,string,string)\"" - }, - "value": "log(uint,uint,string,string)" - }, - { - "id": 11561, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11548, - "src": "19860:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11562, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11550, - "src": "19864:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11563, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11552, - "src": "19868:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11564, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11554, - "src": "19872:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7c032a3207958e3d969ab52b045e7a59226129ee4b9e813f7071f9a5e80813f6", - "typeString": "literal_string \"log(uint,uint,string,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 11558, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19804:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11559, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19808:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19804:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11565, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19804:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11557, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "19788:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11566, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19788:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11567, - "nodeType": "ExpressionStatement", - "src": "19788:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19706:3:14", - "parameters": { - "id": 11555, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11548, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19715:2:14", - "nodeType": "VariableDeclaration", - "scope": 11569, - "src": "19710:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11547, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19710:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11550, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19724:2:14", - "nodeType": "VariableDeclaration", - "scope": 11569, - "src": "19719:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11549, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19719:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11552, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19742:2:14", - "nodeType": "VariableDeclaration", - "scope": 11569, - "src": "19728:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11551, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19728:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11554, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19760:2:14", - "nodeType": "VariableDeclaration", - "scope": 11569, - "src": "19746:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11553, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19746:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "19709:54:14" - }, - "returnParameters": { - "id": 11556, - "nodeType": "ParameterList", - "parameters": [], - "src": "19778:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11592, - "nodeType": "FunctionDefinition", - "src": "19889:175:14", - "nodes": [], - "body": { - "id": 11591, - "nodeType": "Block", - "src": "19961:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c737472696e672c626f6f6c29", - "id": 11583, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20011:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b22eaf06d72d481cf9b94b8f4d5fb89cf08bbfd924ee166a250ac94617be65b9", - "typeString": "literal_string \"log(uint,uint,string,bool)\"" - }, - "value": "log(uint,uint,string,bool)" - }, - { - "id": 11584, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11571, - "src": "20041:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11585, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11573, - "src": "20045:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11586, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11575, - "src": "20049:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11587, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11577, - "src": "20053:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b22eaf06d72d481cf9b94b8f4d5fb89cf08bbfd924ee166a250ac94617be65b9", - "typeString": "literal_string \"log(uint,uint,string,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 11581, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19987:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11582, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19991:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19987:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19987:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11580, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "19971:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19971:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11590, - "nodeType": "ExpressionStatement", - "src": "19971:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19898:3:14", - "parameters": { - "id": 11578, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11571, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19907:2:14", - "nodeType": "VariableDeclaration", - "scope": 11592, - "src": "19902:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11570, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19902:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11573, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19916:2:14", - "nodeType": "VariableDeclaration", - "scope": 11592, - "src": "19911:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11572, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19911:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11575, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19934:2:14", - "nodeType": "VariableDeclaration", - "scope": 11592, - "src": "19920:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11574, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19920:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11577, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19943:2:14", - "nodeType": "VariableDeclaration", - "scope": 11592, - "src": "19938:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11576, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19938:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "19901:45:14" - }, - "returnParameters": { - "id": 11579, - "nodeType": "ParameterList", - "parameters": [], - "src": "19961:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11615, - "nodeType": "FunctionDefinition", - "src": "20070:181:14", - "nodes": [], - "body": { - "id": 11614, - "nodeType": "Block", - "src": "20145:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c737472696e672c6164647265737329", - "id": 11606, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20195:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_433285a23ec6b1f0f76da64682232527561857544109f80e3e5d46b0e16980e7", - "typeString": "literal_string \"log(uint,uint,string,address)\"" - }, - "value": "log(uint,uint,string,address)" - }, - { - "id": 11607, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11594, - "src": "20228:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11608, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11596, - "src": "20232:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11609, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11598, - "src": "20236:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11610, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11600, - "src": "20240:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_433285a23ec6b1f0f76da64682232527561857544109f80e3e5d46b0e16980e7", - "typeString": "literal_string \"log(uint,uint,string,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 11604, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20171:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20175:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20171:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11611, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20171:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11603, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "20155:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20155:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11613, - "nodeType": "ExpressionStatement", - "src": "20155:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20079:3:14", - "parameters": { - "id": 11601, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11594, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20088:2:14", - "nodeType": "VariableDeclaration", - "scope": 11615, - "src": "20083:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11593, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20083:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11596, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20097:2:14", - "nodeType": "VariableDeclaration", - "scope": 11615, - "src": "20092:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11595, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20092:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11598, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20115:2:14", - "nodeType": "VariableDeclaration", - "scope": 11615, - "src": "20101:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11597, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "20101:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11600, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20127:2:14", - "nodeType": "VariableDeclaration", - "scope": 11615, - "src": "20119:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11599, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20119:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20082:48:14" - }, - "returnParameters": { - "id": 11602, - "nodeType": "ParameterList", - "parameters": [], - "src": "20145:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11638, - "nodeType": "FunctionDefinition", - "src": "20257:164:14", - "nodes": [], - "body": { - "id": 11637, - "nodeType": "Block", - "src": "20320:101:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c626f6f6c2c75696e7429", - "id": 11629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20370:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6c647c8c5fed6e02ad4f1c7bfb891e58ba00758f5d6cb92966fd0684c5b3fc8d", - "typeString": "literal_string \"log(uint,uint,bool,uint)\"" - }, - "value": "log(uint,uint,bool,uint)" - }, - { - "id": 11630, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11617, - "src": "20398:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11631, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11619, - "src": "20402:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11632, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11621, - "src": "20406:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11633, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11623, - "src": "20410:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6c647c8c5fed6e02ad4f1c7bfb891e58ba00758f5d6cb92966fd0684c5b3fc8d", - "typeString": "literal_string \"log(uint,uint,bool,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 11627, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20346:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20350:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20346:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20346:67:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11626, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "20330:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11635, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20330:84:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11636, - "nodeType": "ExpressionStatement", - "src": "20330:84:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20266:3:14", - "parameters": { - "id": 11624, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11617, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20275:2:14", - "nodeType": "VariableDeclaration", - "scope": 11638, - "src": "20270:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11616, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20270:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11619, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20284:2:14", - "nodeType": "VariableDeclaration", - "scope": 11638, - "src": "20279:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11618, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20279:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11621, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20293:2:14", - "nodeType": "VariableDeclaration", - "scope": 11638, - "src": "20288:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11620, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "20288:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11623, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20302:2:14", - "nodeType": "VariableDeclaration", - "scope": 11638, - "src": "20297:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11622, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20297:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "20269:36:14" - }, - "returnParameters": { - "id": 11625, - "nodeType": "ParameterList", - "parameters": [], - "src": "20320:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11661, - "nodeType": "FunctionDefinition", - "src": "20427:175:14", - "nodes": [], - "body": { - "id": 11660, - "nodeType": "Block", - "src": "20499:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c626f6f6c2c737472696e6729", - "id": 11652, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20549:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_efd9cbeee79713372dd0a748a26a3fb36cbe4eb4e01a37fbde0cde0e101fc85a", - "typeString": "literal_string \"log(uint,uint,bool,string)\"" - }, - "value": "log(uint,uint,bool,string)" - }, - { - "id": 11653, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11640, - "src": "20579:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11654, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11642, - "src": "20583:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11655, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11644, - "src": "20587:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11656, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11646, - "src": "20591:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_efd9cbeee79713372dd0a748a26a3fb36cbe4eb4e01a37fbde0cde0e101fc85a", - "typeString": "literal_string \"log(uint,uint,bool,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 11650, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20525:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11651, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20529:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20525:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11657, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20525:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11649, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "20509:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20509:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11659, - "nodeType": "ExpressionStatement", - "src": "20509:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20436:3:14", - "parameters": { - "id": 11647, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11640, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20445:2:14", - "nodeType": "VariableDeclaration", - "scope": 11661, - "src": "20440:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11639, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20440:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11642, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20454:2:14", - "nodeType": "VariableDeclaration", - "scope": 11661, - "src": "20449:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11641, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20449:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11644, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20463:2:14", - "nodeType": "VariableDeclaration", - "scope": 11661, - "src": "20458:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11643, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "20458:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11646, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20481:2:14", - "nodeType": "VariableDeclaration", - "scope": 11661, - "src": "20467:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11645, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "20467:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "20439:45:14" - }, - "returnParameters": { - "id": 11648, - "nodeType": "ParameterList", - "parameters": [], - "src": "20499:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11684, - "nodeType": "FunctionDefinition", - "src": "20608:164:14", - "nodes": [], - "body": { - "id": 11683, - "nodeType": "Block", - "src": "20671:101:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c626f6f6c2c626f6f6c29", - "id": 11675, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20721:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_94be3bb13e096cdbc5a1999a524e3b6664a32da7e2c2954ae0e2b792a0dd1f41", - "typeString": "literal_string \"log(uint,uint,bool,bool)\"" - }, - "value": "log(uint,uint,bool,bool)" - }, - { - "id": 11676, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11663, - "src": "20749:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11677, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11665, - "src": "20753:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11678, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11667, - "src": "20757:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11679, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11669, - "src": "20761:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_94be3bb13e096cdbc5a1999a524e3b6664a32da7e2c2954ae0e2b792a0dd1f41", - "typeString": "literal_string \"log(uint,uint,bool,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 11673, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20697:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11674, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20701:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20697:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11680, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20697:67:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11672, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "20681:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11681, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20681:84:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11682, - "nodeType": "ExpressionStatement", - "src": "20681:84:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20617:3:14", - "parameters": { - "id": 11670, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11663, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20626:2:14", - "nodeType": "VariableDeclaration", - "scope": 11684, - "src": "20621:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11662, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20621:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11665, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20635:2:14", - "nodeType": "VariableDeclaration", - "scope": 11684, - "src": "20630:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11664, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20630:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11667, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20644:2:14", - "nodeType": "VariableDeclaration", - "scope": 11684, - "src": "20639:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11666, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "20639:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11669, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20653:2:14", - "nodeType": "VariableDeclaration", - "scope": 11684, - "src": "20648:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11668, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "20648:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "20620:36:14" - }, - "returnParameters": { - "id": 11671, - "nodeType": "ParameterList", - "parameters": [], - "src": "20671:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11707, - "nodeType": "FunctionDefinition", - "src": "20778:170:14", - "nodes": [], - "body": { - "id": 11706, - "nodeType": "Block", - "src": "20844:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c626f6f6c2c6164647265737329", - "id": 11698, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20894:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e117744fcc46e4484cabd18d640497b4a9d76b7f775e79fe9a95e42427bd8976", - "typeString": "literal_string \"log(uint,uint,bool,address)\"" - }, - "value": "log(uint,uint,bool,address)" - }, - { - "id": 11699, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11686, - "src": "20925:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11700, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11688, - "src": "20929:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11701, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11690, - "src": "20933:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11702, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11692, - "src": "20937:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e117744fcc46e4484cabd18d640497b4a9d76b7f775e79fe9a95e42427bd8976", - "typeString": "literal_string \"log(uint,uint,bool,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 11696, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20870:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11697, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20874:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20870:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20870:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11695, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "20854:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20854:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11705, - "nodeType": "ExpressionStatement", - "src": "20854:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20787:3:14", - "parameters": { - "id": 11693, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11686, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20796:2:14", - "nodeType": "VariableDeclaration", - "scope": 11707, - "src": "20791:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11685, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20791:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11688, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20805:2:14", - "nodeType": "VariableDeclaration", - "scope": 11707, - "src": "20800:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11687, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20800:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11690, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20814:2:14", - "nodeType": "VariableDeclaration", - "scope": 11707, - "src": "20809:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11689, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "20809:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11692, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20826:2:14", - "nodeType": "VariableDeclaration", - "scope": 11707, - "src": "20818:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11691, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20818:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20790:39:14" - }, - "returnParameters": { - "id": 11694, - "nodeType": "ParameterList", - "parameters": [], - "src": "20844:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11730, - "nodeType": "FunctionDefinition", - "src": "20954:170:14", - "nodes": [], - "body": { - "id": 11729, - "nodeType": "Block", - "src": "21020:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c616464726573732c75696e7429", - "id": 11721, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21070:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_610ba8c0cae1123f7f8ad76791afd86dc185a4f1fe79a263112118ddb5231e9f", - "typeString": "literal_string \"log(uint,uint,address,uint)\"" - }, - "value": "log(uint,uint,address,uint)" - }, - { - "id": 11722, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11709, - "src": "21101:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11723, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11711, - "src": "21105:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11724, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11713, - "src": "21109:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11725, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11715, - "src": "21113:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_610ba8c0cae1123f7f8ad76791afd86dc185a4f1fe79a263112118ddb5231e9f", - "typeString": "literal_string \"log(uint,uint,address,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 11719, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21046:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11720, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21050:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21046:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11726, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21046:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11718, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "21030:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11727, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21030:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11728, - "nodeType": "ExpressionStatement", - "src": "21030:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20963:3:14", - "parameters": { - "id": 11716, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11709, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20972:2:14", - "nodeType": "VariableDeclaration", - "scope": 11730, - "src": "20967:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11708, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20967:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11711, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20981:2:14", - "nodeType": "VariableDeclaration", - "scope": 11730, - "src": "20976:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11710, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20976:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11713, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20993:2:14", - "nodeType": "VariableDeclaration", - "scope": 11730, - "src": "20985:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11712, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20985:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11715, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21002:2:14", - "nodeType": "VariableDeclaration", - "scope": 11730, - "src": "20997:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11714, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20997:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "20966:39:14" - }, - "returnParameters": { - "id": 11717, - "nodeType": "ParameterList", - "parameters": [], - "src": "21020:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11753, - "nodeType": "FunctionDefinition", - "src": "21130:181:14", - "nodes": [], - "body": { - "id": 11752, - "nodeType": "Block", - "src": "21205:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c616464726573732c737472696e6729", - "id": 11744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21255:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d6a2d1de1bf5c0a47e82220cd592c8fb4a4a43f17ecab471044861ef70454227", - "typeString": "literal_string \"log(uint,uint,address,string)\"" - }, - "value": "log(uint,uint,address,string)" - }, - { - "id": 11745, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11732, - "src": "21288:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11746, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11734, - "src": "21292:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11747, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11736, - "src": "21296:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11748, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11738, - "src": "21300:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d6a2d1de1bf5c0a47e82220cd592c8fb4a4a43f17ecab471044861ef70454227", - "typeString": "literal_string \"log(uint,uint,address,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 11742, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21231:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11743, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21235:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21231:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21231:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11741, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "21215:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21215:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11751, - "nodeType": "ExpressionStatement", - "src": "21215:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21139:3:14", - "parameters": { - "id": 11739, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11732, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21148:2:14", - "nodeType": "VariableDeclaration", - "scope": 11753, - "src": "21143:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11731, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21143:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11734, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21157:2:14", - "nodeType": "VariableDeclaration", - "scope": 11753, - "src": "21152:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11733, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21152:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11736, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21169:2:14", - "nodeType": "VariableDeclaration", - "scope": 11753, - "src": "21161:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11735, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21161:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11738, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21187:2:14", - "nodeType": "VariableDeclaration", - "scope": 11753, - "src": "21173:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11737, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21173:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "21142:48:14" - }, - "returnParameters": { - "id": 11740, - "nodeType": "ParameterList", - "parameters": [], - "src": "21205:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11776, - "nodeType": "FunctionDefinition", - "src": "21317:170:14", - "nodes": [], - "body": { - "id": 11775, - "nodeType": "Block", - "src": "21383:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c616464726573732c626f6f6c29", - "id": 11767, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21433:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a8e820ae9dc5fd5a845e5dabf2b296e5588fe5a0d8101de14323ebe3e8e2b6c0", - "typeString": "literal_string \"log(uint,uint,address,bool)\"" - }, - "value": "log(uint,uint,address,bool)" - }, - { - "id": 11768, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11755, - "src": "21464:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11769, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11757, - "src": "21468:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11770, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11759, - "src": "21472:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11771, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11761, - "src": "21476:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a8e820ae9dc5fd5a845e5dabf2b296e5588fe5a0d8101de14323ebe3e8e2b6c0", - "typeString": "literal_string \"log(uint,uint,address,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 11765, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21409:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11766, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21413:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21409:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11772, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21409:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11764, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "21393:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21393:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11774, - "nodeType": "ExpressionStatement", - "src": "21393:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21326:3:14", - "parameters": { - "id": 11762, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11755, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21335:2:14", - "nodeType": "VariableDeclaration", - "scope": 11776, - "src": "21330:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11754, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21330:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11757, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21344:2:14", - "nodeType": "VariableDeclaration", - "scope": 11776, - "src": "21339:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11756, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21339:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11759, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21356:2:14", - "nodeType": "VariableDeclaration", - "scope": 11776, - "src": "21348:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11758, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21348:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11761, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21365:2:14", - "nodeType": "VariableDeclaration", - "scope": 11776, - "src": "21360:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11760, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21360:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "21329:39:14" - }, - "returnParameters": { - "id": 11763, - "nodeType": "ParameterList", - "parameters": [], - "src": "21383:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11799, - "nodeType": "FunctionDefinition", - "src": "21493:176:14", - "nodes": [], - "body": { - "id": 11798, - "nodeType": "Block", - "src": "21562:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c616464726573732c6164647265737329", - "id": 11790, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21612:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ca939b20e9284d76bbbc091d0d45d06f650171230ac4f1f35652b8b6e1579811", - "typeString": "literal_string \"log(uint,uint,address,address)\"" - }, - "value": "log(uint,uint,address,address)" - }, - { - "id": 11791, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11778, - "src": "21646:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11792, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11780, - "src": "21650:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11793, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11782, - "src": "21654:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11794, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11784, - "src": "21658:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ca939b20e9284d76bbbc091d0d45d06f650171230ac4f1f35652b8b6e1579811", - "typeString": "literal_string \"log(uint,uint,address,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 11788, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21588:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11789, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21592:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21588:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21588:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11787, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "21572:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11796, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21572:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11797, - "nodeType": "ExpressionStatement", - "src": "21572:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21502:3:14", - "parameters": { - "id": 11785, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11778, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21511:2:14", - "nodeType": "VariableDeclaration", - "scope": 11799, - "src": "21506:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11777, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21506:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11780, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21520:2:14", - "nodeType": "VariableDeclaration", - "scope": 11799, - "src": "21515:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11779, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21515:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11782, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21532:2:14", - "nodeType": "VariableDeclaration", - "scope": 11799, - "src": "21524:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11781, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21524:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11784, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21544:2:14", - "nodeType": "VariableDeclaration", - "scope": 11799, - "src": "21536:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11783, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21536:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "21505:42:14" - }, - "returnParameters": { - "id": 11786, - "nodeType": "ParameterList", - "parameters": [], - "src": "21562:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11822, - "nodeType": "FunctionDefinition", - "src": "21675:175:14", - "nodes": [], - "body": { - "id": 11821, - "nodeType": "Block", - "src": "21747:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c75696e742c75696e7429", - "id": 11813, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21797:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c0043807b5f951e0375253205c951c6e6a6b19b5de111342e8f6be7c7f284628", - "typeString": "literal_string \"log(uint,string,uint,uint)\"" - }, - "value": "log(uint,string,uint,uint)" - }, - { - "id": 11814, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11801, - "src": "21827:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11815, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11803, - "src": "21831:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11816, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11805, - "src": "21835:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11817, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11807, - "src": "21839:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c0043807b5f951e0375253205c951c6e6a6b19b5de111342e8f6be7c7f284628", - "typeString": "literal_string \"log(uint,string,uint,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 11811, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21773:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21777:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21773:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11818, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21773:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11810, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "21757:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21757:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11820, - "nodeType": "ExpressionStatement", - "src": "21757:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21684:3:14", - "parameters": { - "id": 11808, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11801, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21693:2:14", - "nodeType": "VariableDeclaration", - "scope": 11822, - "src": "21688:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11800, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21688:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11803, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21711:2:14", - "nodeType": "VariableDeclaration", - "scope": 11822, - "src": "21697:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11802, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21697:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11805, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21720:2:14", - "nodeType": "VariableDeclaration", - "scope": 11822, - "src": "21715:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11804, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21715:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11807, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21729:2:14", - "nodeType": "VariableDeclaration", - "scope": 11822, - "src": "21724:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11806, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21724:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "21687:45:14" - }, - "returnParameters": { - "id": 11809, - "nodeType": "ParameterList", - "parameters": [], - "src": "21747:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11845, - "nodeType": "FunctionDefinition", - "src": "21856:186:14", - "nodes": [], - "body": { - "id": 11844, - "nodeType": "Block", - "src": "21937:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c75696e742c737472696e6729", - "id": 11836, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21987:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a2bc0c99cedfd873182e8eb1e68799dc8925c663b8ce2430858586fba62fe313", - "typeString": "literal_string \"log(uint,string,uint,string)\"" - }, - "value": "log(uint,string,uint,string)" - }, - { - "id": 11837, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11824, - "src": "22019:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11838, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11826, - "src": "22023:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11839, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11828, - "src": "22027:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11840, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11830, - "src": "22031:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a2bc0c99cedfd873182e8eb1e68799dc8925c663b8ce2430858586fba62fe313", - "typeString": "literal_string \"log(uint,string,uint,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 11834, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21963:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11835, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21967:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21963:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11841, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21963:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11833, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "21947:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21947:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11843, - "nodeType": "ExpressionStatement", - "src": "21947:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21865:3:14", - "parameters": { - "id": 11831, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11824, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21874:2:14", - "nodeType": "VariableDeclaration", - "scope": 11845, - "src": "21869:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11823, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21869:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11826, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21892:2:14", - "nodeType": "VariableDeclaration", - "scope": 11845, - "src": "21878:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11825, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21878:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11828, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21901:2:14", - "nodeType": "VariableDeclaration", - "scope": 11845, - "src": "21896:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11827, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21896:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11830, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21919:2:14", - "nodeType": "VariableDeclaration", - "scope": 11845, - "src": "21905:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11829, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21905:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "21868:54:14" - }, - "returnParameters": { - "id": 11832, - "nodeType": "ParameterList", - "parameters": [], - "src": "21937:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11868, - "nodeType": "FunctionDefinition", - "src": "22048:175:14", - "nodes": [], - "body": { - "id": 11867, - "nodeType": "Block", - "src": "22120:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c75696e742c626f6f6c29", - "id": 11859, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22170:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_875a6e2ed2444d0d09e264b06717914212d8a793bea0f48b5633e707ac53784d", - "typeString": "literal_string \"log(uint,string,uint,bool)\"" - }, - "value": "log(uint,string,uint,bool)" - }, - { - "id": 11860, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11847, - "src": "22200:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11861, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11849, - "src": "22204:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11862, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11851, - "src": "22208:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11863, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11853, - "src": "22212:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_875a6e2ed2444d0d09e264b06717914212d8a793bea0f48b5633e707ac53784d", - "typeString": "literal_string \"log(uint,string,uint,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 11857, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22146:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11858, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22150:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22146:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22146:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11856, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "22130:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22130:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11866, - "nodeType": "ExpressionStatement", - "src": "22130:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22057:3:14", - "parameters": { - "id": 11854, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11847, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22066:2:14", - "nodeType": "VariableDeclaration", - "scope": 11868, - "src": "22061:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11846, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "22061:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11849, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22084:2:14", - "nodeType": "VariableDeclaration", - "scope": 11868, - "src": "22070:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11848, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22070:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11851, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22093:2:14", - "nodeType": "VariableDeclaration", - "scope": 11868, - "src": "22088:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11850, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "22088:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11853, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22102:2:14", - "nodeType": "VariableDeclaration", - "scope": 11868, - "src": "22097:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11852, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "22097:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "22060:45:14" - }, - "returnParameters": { - "id": 11855, - "nodeType": "ParameterList", - "parameters": [], - "src": "22120:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11891, - "nodeType": "FunctionDefinition", - "src": "22229:181:14", - "nodes": [], - "body": { - "id": 11890, - "nodeType": "Block", - "src": "22304:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c75696e742c6164647265737329", - "id": 11882, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22354:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ab7bd9fd9b149127bbb235a3e1bec9a2e844f3968bdc1f48944c4b1973dacfda", - "typeString": "literal_string \"log(uint,string,uint,address)\"" - }, - "value": "log(uint,string,uint,address)" - }, - { - "id": 11883, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11870, - "src": "22387:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11884, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11872, - "src": "22391:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11885, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11874, - "src": "22395:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11886, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11876, - "src": "22399:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ab7bd9fd9b149127bbb235a3e1bec9a2e844f3968bdc1f48944c4b1973dacfda", - "typeString": "literal_string \"log(uint,string,uint,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 11880, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22330:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11881, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22334:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22330:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22330:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11879, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "22314:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11888, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22314:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11889, - "nodeType": "ExpressionStatement", - "src": "22314:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22238:3:14", - "parameters": { - "id": 11877, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11870, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22247:2:14", - "nodeType": "VariableDeclaration", - "scope": 11891, - "src": "22242:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11869, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "22242:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11872, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22265:2:14", - "nodeType": "VariableDeclaration", - "scope": 11891, - "src": "22251:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11871, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22251:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11874, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22274:2:14", - "nodeType": "VariableDeclaration", - "scope": 11891, - "src": "22269:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11873, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "22269:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11876, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22286:2:14", - "nodeType": "VariableDeclaration", - "scope": 11891, - "src": "22278:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11875, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "22278:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "22241:48:14" - }, - "returnParameters": { - "id": 11878, - "nodeType": "ParameterList", - "parameters": [], - "src": "22304:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11914, - "nodeType": "FunctionDefinition", - "src": "22416:186:14", - "nodes": [], - "body": { - "id": 11913, - "nodeType": "Block", - "src": "22497:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c737472696e672c75696e7429", - "id": 11905, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22547:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_76ec635e4702367bf449b895743175fa2654af8170b6d9c20dd183616d0a192b", - "typeString": "literal_string \"log(uint,string,string,uint)\"" - }, - "value": "log(uint,string,string,uint)" - }, - { - "id": 11906, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11893, - "src": "22579:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11907, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11895, - "src": "22583:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11908, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11897, - "src": "22587:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11909, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11899, - "src": "22591:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_76ec635e4702367bf449b895743175fa2654af8170b6d9c20dd183616d0a192b", - "typeString": "literal_string \"log(uint,string,string,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 11903, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22523:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11904, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22527:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22523:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22523:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11902, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "22507:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11911, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22507:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11912, - "nodeType": "ExpressionStatement", - "src": "22507:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22425:3:14", - "parameters": { - "id": 11900, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11893, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22434:2:14", - "nodeType": "VariableDeclaration", - "scope": 11914, - "src": "22429:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11892, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "22429:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11895, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22452:2:14", - "nodeType": "VariableDeclaration", - "scope": 11914, - "src": "22438:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11894, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22438:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11897, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22470:2:14", - "nodeType": "VariableDeclaration", - "scope": 11914, - "src": "22456:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11896, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22456:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11899, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22479:2:14", - "nodeType": "VariableDeclaration", - "scope": 11914, - "src": "22474:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11898, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "22474:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "22428:54:14" - }, - "returnParameters": { - "id": 11901, - "nodeType": "ParameterList", - "parameters": [], - "src": "22497:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11937, - "nodeType": "FunctionDefinition", - "src": "22608:197:14", - "nodes": [], - "body": { - "id": 11936, - "nodeType": "Block", - "src": "22698:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c737472696e672c737472696e6729", - "id": 11928, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22748:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_57dd0a119927787a0c91b48333e191a1b3a4082dcb6efc912e2ba5b047e15156", - "typeString": "literal_string \"log(uint,string,string,string)\"" - }, - "value": "log(uint,string,string,string)" - }, - { - "id": 11929, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11916, - "src": "22782:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11930, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11918, - "src": "22786:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11931, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11920, - "src": "22790:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11932, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11922, - "src": "22794:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_57dd0a119927787a0c91b48333e191a1b3a4082dcb6efc912e2ba5b047e15156", - "typeString": "literal_string \"log(uint,string,string,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 11926, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22724:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11927, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22728:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22724:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11933, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22724:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11925, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "22708:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11934, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22708:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11935, - "nodeType": "ExpressionStatement", - "src": "22708:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22617:3:14", - "parameters": { - "id": 11923, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11916, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22626:2:14", - "nodeType": "VariableDeclaration", - "scope": 11937, - "src": "22621:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11915, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "22621:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11918, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22644:2:14", - "nodeType": "VariableDeclaration", - "scope": 11937, - "src": "22630:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11917, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22630:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11920, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22662:2:14", - "nodeType": "VariableDeclaration", - "scope": 11937, - "src": "22648:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11919, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22648:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11922, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22680:2:14", - "nodeType": "VariableDeclaration", - "scope": 11937, - "src": "22666:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11921, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22666:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "22620:63:14" - }, - "returnParameters": { - "id": 11924, - "nodeType": "ParameterList", - "parameters": [], - "src": "22698:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11960, - "nodeType": "FunctionDefinition", - "src": "22811:186:14", - "nodes": [], - "body": { - "id": 11959, - "nodeType": "Block", - "src": "22892:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c737472696e672c626f6f6c29", - "id": 11951, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22942:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_12862b98fdb7950b0e6908443bc9d7894b44d5616424da5cdb6206a848affcbc", - "typeString": "literal_string \"log(uint,string,string,bool)\"" - }, - "value": "log(uint,string,string,bool)" - }, - { - "id": 11952, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11939, - "src": "22974:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11953, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11941, - "src": "22978:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11954, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11943, - "src": "22982:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11955, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11945, - "src": "22986:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_12862b98fdb7950b0e6908443bc9d7894b44d5616424da5cdb6206a848affcbc", - "typeString": "literal_string \"log(uint,string,string,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 11949, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22918:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22922:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22918:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22918:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11948, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "22902:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22902:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11958, - "nodeType": "ExpressionStatement", - "src": "22902:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22820:3:14", - "parameters": { - "id": 11946, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11939, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22829:2:14", - "nodeType": "VariableDeclaration", - "scope": 11960, - "src": "22824:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11938, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "22824:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11941, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22847:2:14", - "nodeType": "VariableDeclaration", - "scope": 11960, - "src": "22833:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11940, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22833:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11943, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22865:2:14", - "nodeType": "VariableDeclaration", - "scope": 11960, - "src": "22851:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11942, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22851:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11945, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22874:2:14", - "nodeType": "VariableDeclaration", - "scope": 11960, - "src": "22869:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11944, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "22869:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "22823:54:14" - }, - "returnParameters": { - "id": 11947, - "nodeType": "ParameterList", - "parameters": [], - "src": "22892:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11983, - "nodeType": "FunctionDefinition", - "src": "23003:192:14", - "nodes": [], - "body": { - "id": 11982, - "nodeType": "Block", - "src": "23087:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c737472696e672c6164647265737329", - "id": 11974, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23137:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cc988aa0514d1ed8be70a6bf2bdff4972e3f3420811b4adbd40f9b75b873fded", - "typeString": "literal_string \"log(uint,string,string,address)\"" - }, - "value": "log(uint,string,string,address)" - }, - { - "id": 11975, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11962, - "src": "23172:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11976, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11964, - "src": "23176:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11977, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11966, - "src": "23180:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11978, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11968, - "src": "23184:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cc988aa0514d1ed8be70a6bf2bdff4972e3f3420811b4adbd40f9b75b873fded", - "typeString": "literal_string \"log(uint,string,string,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 11972, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23113:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11973, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23117:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23113:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23113:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11971, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "23097:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23097:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11981, - "nodeType": "ExpressionStatement", - "src": "23097:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23012:3:14", - "parameters": { - "id": 11969, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11962, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23021:2:14", - "nodeType": "VariableDeclaration", - "scope": 11983, - "src": "23016:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11961, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23016:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11964, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23039:2:14", - "nodeType": "VariableDeclaration", - "scope": 11983, - "src": "23025:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11963, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23025:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11966, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23057:2:14", - "nodeType": "VariableDeclaration", - "scope": 11983, - "src": "23043:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11965, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23043:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11968, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23069:2:14", - "nodeType": "VariableDeclaration", - "scope": 11983, - "src": "23061:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11967, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "23061:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "23015:57:14" - }, - "returnParameters": { - "id": 11970, - "nodeType": "ParameterList", - "parameters": [], - "src": "23087:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12006, - "nodeType": "FunctionDefinition", - "src": "23201:175:14", - "nodes": [], - "body": { - "id": 12005, - "nodeType": "Block", - "src": "23273:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c626f6f6c2c75696e7429", - "id": 11997, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23323:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a4b48a7f4bdefee99950b35e5da7ba9724c3954e445cc3077000bce7a4265081", - "typeString": "literal_string \"log(uint,string,bool,uint)\"" - }, - "value": "log(uint,string,bool,uint)" - }, - { - "id": 11998, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11985, - "src": "23353:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11999, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11987, - "src": "23357:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12000, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11989, - "src": "23361:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12001, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11991, - "src": "23365:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a4b48a7f4bdefee99950b35e5da7ba9724c3954e445cc3077000bce7a4265081", - "typeString": "literal_string \"log(uint,string,bool,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 11995, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23299:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11996, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23303:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23299:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23299:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11994, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "23283:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12003, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23283:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12004, - "nodeType": "ExpressionStatement", - "src": "23283:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23210:3:14", - "parameters": { - "id": 11992, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11985, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23219:2:14", - "nodeType": "VariableDeclaration", - "scope": 12006, - "src": "23214:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11984, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23214:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11987, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23237:2:14", - "nodeType": "VariableDeclaration", - "scope": 12006, - "src": "23223:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11986, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23223:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11989, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23246:2:14", - "nodeType": "VariableDeclaration", - "scope": 12006, - "src": "23241:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11988, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23241:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11991, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23255:2:14", - "nodeType": "VariableDeclaration", - "scope": 12006, - "src": "23250:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11990, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23250:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "23213:45:14" - }, - "returnParameters": { - "id": 11993, - "nodeType": "ParameterList", - "parameters": [], - "src": "23273:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12029, - "nodeType": "FunctionDefinition", - "src": "23382:186:14", - "nodes": [], - "body": { - "id": 12028, - "nodeType": "Block", - "src": "23463:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c626f6f6c2c737472696e6729", - "id": 12020, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23513:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8d489ca064b1083bafb8388fd8f3d44c2255dbe322f7a52abe786a76257d06e4", - "typeString": "literal_string \"log(uint,string,bool,string)\"" - }, - "value": "log(uint,string,bool,string)" - }, - { - "id": 12021, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12008, - "src": "23545:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12022, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12010, - "src": "23549:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12023, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12012, - "src": "23553:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12024, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12014, - "src": "23557:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8d489ca064b1083bafb8388fd8f3d44c2255dbe322f7a52abe786a76257d06e4", - "typeString": "literal_string \"log(uint,string,bool,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 12018, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23489:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12019, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23493:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23489:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23489:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12017, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "23473:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12026, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23473:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12027, - "nodeType": "ExpressionStatement", - "src": "23473:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23391:3:14", - "parameters": { - "id": 12015, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12008, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23400:2:14", - "nodeType": "VariableDeclaration", - "scope": 12029, - "src": "23395:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12007, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23395:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12010, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23418:2:14", - "nodeType": "VariableDeclaration", - "scope": 12029, - "src": "23404:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12009, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23404:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12012, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23427:2:14", - "nodeType": "VariableDeclaration", - "scope": 12029, - "src": "23422:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12011, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23422:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12014, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23445:2:14", - "nodeType": "VariableDeclaration", - "scope": 12029, - "src": "23431:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12013, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23431:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "23394:54:14" - }, - "returnParameters": { - "id": 12016, - "nodeType": "ParameterList", - "parameters": [], - "src": "23463:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12052, - "nodeType": "FunctionDefinition", - "src": "23574:175:14", - "nodes": [], - "body": { - "id": 12051, - "nodeType": "Block", - "src": "23646:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c626f6f6c2c626f6f6c29", - "id": 12043, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23696:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51bc2bc161debf765eefa84d88e06440adeb87045d559377a9edb97406168b2a", - "typeString": "literal_string \"log(uint,string,bool,bool)\"" - }, - "value": "log(uint,string,bool,bool)" - }, - { - "id": 12044, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12031, - "src": "23726:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12045, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12033, - "src": "23730:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12046, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12035, - "src": "23734:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12047, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12037, - "src": "23738:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_51bc2bc161debf765eefa84d88e06440adeb87045d559377a9edb97406168b2a", - "typeString": "literal_string \"log(uint,string,bool,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 12041, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23672:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23676:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23672:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12048, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23672:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12040, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "23656:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12049, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23656:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12050, - "nodeType": "ExpressionStatement", - "src": "23656:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23583:3:14", - "parameters": { - "id": 12038, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12031, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23592:2:14", - "nodeType": "VariableDeclaration", - "scope": 12052, - "src": "23587:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12030, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23587:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12033, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23610:2:14", - "nodeType": "VariableDeclaration", - "scope": 12052, - "src": "23596:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12032, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23596:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12035, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23619:2:14", - "nodeType": "VariableDeclaration", - "scope": 12052, - "src": "23614:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12034, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23614:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12037, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23628:2:14", - "nodeType": "VariableDeclaration", - "scope": 12052, - "src": "23623:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12036, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23623:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "23586:45:14" - }, - "returnParameters": { - "id": 12039, - "nodeType": "ParameterList", - "parameters": [], - "src": "23646:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12075, - "nodeType": "FunctionDefinition", - "src": "23755:181:14", - "nodes": [], - "body": { - "id": 12074, - "nodeType": "Block", - "src": "23830:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c626f6f6c2c6164647265737329", - "id": 12066, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23880:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_796f28a06ededa438107c0866560412d4d4337e29da4c7300f50c49a73c18829", - "typeString": "literal_string \"log(uint,string,bool,address)\"" - }, - "value": "log(uint,string,bool,address)" - }, - { - "id": 12067, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12054, - "src": "23913:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12068, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12056, - "src": "23917:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12069, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12058, - "src": "23921:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12070, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12060, - "src": "23925:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_796f28a06ededa438107c0866560412d4d4337e29da4c7300f50c49a73c18829", - "typeString": "literal_string \"log(uint,string,bool,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 12064, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23856:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12065, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23860:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23856:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23856:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12063, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "23840:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23840:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12073, - "nodeType": "ExpressionStatement", - "src": "23840:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23764:3:14", - "parameters": { - "id": 12061, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12054, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23773:2:14", - "nodeType": "VariableDeclaration", - "scope": 12075, - "src": "23768:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12053, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23768:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12056, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23791:2:14", - "nodeType": "VariableDeclaration", - "scope": 12075, - "src": "23777:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12055, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23777:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12058, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23800:2:14", - "nodeType": "VariableDeclaration", - "scope": 12075, - "src": "23795:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12057, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23795:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12060, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23812:2:14", - "nodeType": "VariableDeclaration", - "scope": 12075, - "src": "23804:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12059, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "23804:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "23767:48:14" - }, - "returnParameters": { - "id": 12062, - "nodeType": "ParameterList", - "parameters": [], - "src": "23830:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12098, - "nodeType": "FunctionDefinition", - "src": "23942:181:14", - "nodes": [], - "body": { - "id": 12097, - "nodeType": "Block", - "src": "24017:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c616464726573732c75696e7429", - "id": 12089, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24067:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_98e7f3f3a2c39a91982b0a3ae7f29043579abd563fc10531c052f92c3317af43", - "typeString": "literal_string \"log(uint,string,address,uint)\"" - }, - "value": "log(uint,string,address,uint)" - }, - { - "id": 12090, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12077, - "src": "24100:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12091, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12079, - "src": "24104:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12092, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12081, - "src": "24108:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12093, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12083, - "src": "24112:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_98e7f3f3a2c39a91982b0a3ae7f29043579abd563fc10531c052f92c3317af43", - "typeString": "literal_string \"log(uint,string,address,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 12087, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24043:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24047:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24043:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24043:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12086, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "24027:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12095, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24027:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12096, - "nodeType": "ExpressionStatement", - "src": "24027:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23951:3:14", - "parameters": { - "id": 12084, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12077, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23960:2:14", - "nodeType": "VariableDeclaration", - "scope": 12098, - "src": "23955:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12076, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23955:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12079, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23978:2:14", - "nodeType": "VariableDeclaration", - "scope": 12098, - "src": "23964:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12078, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23964:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12081, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23990:2:14", - "nodeType": "VariableDeclaration", - "scope": 12098, - "src": "23982:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12080, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "23982:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12083, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23999:2:14", - "nodeType": "VariableDeclaration", - "scope": 12098, - "src": "23994:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12082, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23994:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "23954:48:14" - }, - "returnParameters": { - "id": 12085, - "nodeType": "ParameterList", - "parameters": [], - "src": "24017:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12121, - "nodeType": "FunctionDefinition", - "src": "24129:192:14", - "nodes": [], - "body": { - "id": 12120, - "nodeType": "Block", - "src": "24213:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c616464726573732c737472696e6729", - "id": 12112, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24263:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f898577fdc87bf80b54b2b838f8b58bf5a74554c7beeb61b98f3c2b7d59f31e2", - "typeString": "literal_string \"log(uint,string,address,string)\"" - }, - "value": "log(uint,string,address,string)" - }, - { - "id": 12113, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12100, - "src": "24298:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12114, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12102, - "src": "24302:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12115, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12104, - "src": "24306:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12116, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12106, - "src": "24310:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f898577fdc87bf80b54b2b838f8b58bf5a74554c7beeb61b98f3c2b7d59f31e2", - "typeString": "literal_string \"log(uint,string,address,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 12110, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24239:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12111, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24243:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24239:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24239:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12109, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "24223:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12118, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24223:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12119, - "nodeType": "ExpressionStatement", - "src": "24223:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24138:3:14", - "parameters": { - "id": 12107, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12100, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24147:2:14", - "nodeType": "VariableDeclaration", - "scope": 12121, - "src": "24142:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12099, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "24142:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12102, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24165:2:14", - "nodeType": "VariableDeclaration", - "scope": 12121, - "src": "24151:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12101, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24151:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12104, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24177:2:14", - "nodeType": "VariableDeclaration", - "scope": 12121, - "src": "24169:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12103, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "24169:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12106, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24195:2:14", - "nodeType": "VariableDeclaration", - "scope": 12121, - "src": "24181:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12105, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24181:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "24141:57:14" - }, - "returnParameters": { - "id": 12108, - "nodeType": "ParameterList", - "parameters": [], - "src": "24213:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12144, - "nodeType": "FunctionDefinition", - "src": "24327:181:14", - "nodes": [], - "body": { - "id": 12143, - "nodeType": "Block", - "src": "24402:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c616464726573732c626f6f6c29", - "id": 12135, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24452:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f93fff378483bab1a84a8ae346090ff91e793863821a5430c45153390c3262e1", - "typeString": "literal_string \"log(uint,string,address,bool)\"" - }, - "value": "log(uint,string,address,bool)" - }, - { - "id": 12136, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12123, - "src": "24485:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12137, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12125, - "src": "24489:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12138, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12127, - "src": "24493:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12139, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12129, - "src": "24497:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f93fff378483bab1a84a8ae346090ff91e793863821a5430c45153390c3262e1", - "typeString": "literal_string \"log(uint,string,address,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 12133, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24428:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12134, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24432:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24428:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12140, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24428:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12132, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "24412:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24412:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12142, - "nodeType": "ExpressionStatement", - "src": "24412:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24336:3:14", - "parameters": { - "id": 12130, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12123, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24345:2:14", - "nodeType": "VariableDeclaration", - "scope": 12144, - "src": "24340:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12122, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "24340:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12125, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24363:2:14", - "nodeType": "VariableDeclaration", - "scope": 12144, - "src": "24349:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12124, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24349:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12127, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24375:2:14", - "nodeType": "VariableDeclaration", - "scope": 12144, - "src": "24367:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12126, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "24367:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12129, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24384:2:14", - "nodeType": "VariableDeclaration", - "scope": 12144, - "src": "24379:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12128, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24379:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "24339:48:14" - }, - "returnParameters": { - "id": 12131, - "nodeType": "ParameterList", - "parameters": [], - "src": "24402:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12167, - "nodeType": "FunctionDefinition", - "src": "24514:187:14", - "nodes": [], - "body": { - "id": 12166, - "nodeType": "Block", - "src": "24592:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c616464726573732c6164647265737329", - "id": 12158, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24642:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7fa5458bb859a8b444c46f9915b7879afe7e200298580a00c5813ecf5c0a77cb", - "typeString": "literal_string \"log(uint,string,address,address)\"" - }, - "value": "log(uint,string,address,address)" - }, - { - "id": 12159, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12146, - "src": "24678:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12160, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12148, - "src": "24682:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12161, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12150, - "src": "24686:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12162, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12152, - "src": "24690:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7fa5458bb859a8b444c46f9915b7879afe7e200298580a00c5813ecf5c0a77cb", - "typeString": "literal_string \"log(uint,string,address,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 12156, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24618:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12157, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24622:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24618:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24618:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12155, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "24602:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12164, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24602:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12165, - "nodeType": "ExpressionStatement", - "src": "24602:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24523:3:14", - "parameters": { - "id": 12153, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12146, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24532:2:14", - "nodeType": "VariableDeclaration", - "scope": 12167, - "src": "24527:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12145, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "24527:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12148, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24550:2:14", - "nodeType": "VariableDeclaration", - "scope": 12167, - "src": "24536:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12147, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24536:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12150, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24562:2:14", - "nodeType": "VariableDeclaration", - "scope": 12167, - "src": "24554:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12149, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "24554:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12152, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24574:2:14", - "nodeType": "VariableDeclaration", - "scope": 12167, - "src": "24566:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12151, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "24566:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "24526:51:14" - }, - "returnParameters": { - "id": 12154, - "nodeType": "ParameterList", - "parameters": [], - "src": "24592:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12190, - "nodeType": "FunctionDefinition", - "src": "24707:164:14", - "nodes": [], - "body": { - "id": 12189, - "nodeType": "Block", - "src": "24770:101:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c75696e742c75696e7429", - "id": 12181, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24820:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_56828da42a6ecdc94480e6d223af96b676cdc4ca9a00b1d88a7646ef1e12541e", - "typeString": "literal_string \"log(uint,bool,uint,uint)\"" - }, - "value": "log(uint,bool,uint,uint)" - }, - { - "id": 12182, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12169, - "src": "24848:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12183, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12171, - "src": "24852:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12184, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12173, - "src": "24856:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12185, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12175, - "src": "24860:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_56828da42a6ecdc94480e6d223af96b676cdc4ca9a00b1d88a7646ef1e12541e", - "typeString": "literal_string \"log(uint,bool,uint,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 12179, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24796:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12180, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24800:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24796:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12186, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24796:67:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12178, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "24780:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12187, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24780:84:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12188, - "nodeType": "ExpressionStatement", - "src": "24780:84:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24716:3:14", - "parameters": { - "id": 12176, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12169, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24725:2:14", - "nodeType": "VariableDeclaration", - "scope": 12190, - "src": "24720:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12168, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "24720:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12171, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24734:2:14", - "nodeType": "VariableDeclaration", - "scope": 12190, - "src": "24729:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12170, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24729:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12173, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24743:2:14", - "nodeType": "VariableDeclaration", - "scope": 12190, - "src": "24738:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12172, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "24738:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12175, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24752:2:14", - "nodeType": "VariableDeclaration", - "scope": 12190, - "src": "24747:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12174, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "24747:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "24719:36:14" - }, - "returnParameters": { - "id": 12177, - "nodeType": "ParameterList", - "parameters": [], - "src": "24770:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12213, - "nodeType": "FunctionDefinition", - "src": "24877:175:14", - "nodes": [], - "body": { - "id": 12212, - "nodeType": "Block", - "src": "24949:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c75696e742c737472696e6729", - "id": 12204, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24999:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e8ddbc56b4712607102717eb35a3ee6aa0309358d07a4257a282d4a44ceb2f63", - "typeString": "literal_string \"log(uint,bool,uint,string)\"" - }, - "value": "log(uint,bool,uint,string)" - }, - { - "id": 12205, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12192, - "src": "25029:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12206, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12194, - "src": "25033:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12207, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12196, - "src": "25037:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12208, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12198, - "src": "25041:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e8ddbc56b4712607102717eb35a3ee6aa0309358d07a4257a282d4a44ceb2f63", - "typeString": "literal_string \"log(uint,bool,uint,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 12202, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24975:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12203, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24979:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24975:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12209, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24975:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12201, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "24959:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12210, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24959:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12211, - "nodeType": "ExpressionStatement", - "src": "24959:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24886:3:14", - "parameters": { - "id": 12199, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12192, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24895:2:14", - "nodeType": "VariableDeclaration", - "scope": 12213, - "src": "24890:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12191, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "24890:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12194, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24904:2:14", - "nodeType": "VariableDeclaration", - "scope": 12213, - "src": "24899:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12193, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24899:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12196, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24913:2:14", - "nodeType": "VariableDeclaration", - "scope": 12213, - "src": "24908:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12195, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "24908:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12198, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24931:2:14", - "nodeType": "VariableDeclaration", - "scope": 12213, - "src": "24917:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12197, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24917:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "24889:45:14" - }, - "returnParameters": { - "id": 12200, - "nodeType": "ParameterList", - "parameters": [], - "src": "24949:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12236, - "nodeType": "FunctionDefinition", - "src": "25058:164:14", - "nodes": [], - "body": { - "id": 12235, - "nodeType": "Block", - "src": "25121:101:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c75696e742c626f6f6c29", - "id": 12227, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25171:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d2abc4fdef6f35f3785755f2ca3a26416b52c0c4c5ad8b27342fc84a56532f2f", - "typeString": "literal_string \"log(uint,bool,uint,bool)\"" - }, - "value": "log(uint,bool,uint,bool)" - }, - { - "id": 12228, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12215, - "src": "25199:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12229, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12217, - "src": "25203:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12230, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12219, - "src": "25207:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12231, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12221, - "src": "25211:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d2abc4fdef6f35f3785755f2ca3a26416b52c0c4c5ad8b27342fc84a56532f2f", - "typeString": "literal_string \"log(uint,bool,uint,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 12225, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25147:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12226, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25151:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25147:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25147:67:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12224, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "25131:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12233, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25131:84:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12234, - "nodeType": "ExpressionStatement", - "src": "25131:84:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25067:3:14", - "parameters": { - "id": 12222, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12215, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25076:2:14", - "nodeType": "VariableDeclaration", - "scope": 12236, - "src": "25071:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12214, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25071:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12217, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25085:2:14", - "nodeType": "VariableDeclaration", - "scope": 12236, - "src": "25080:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12216, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25080:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12219, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25094:2:14", - "nodeType": "VariableDeclaration", - "scope": 12236, - "src": "25089:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12218, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25089:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12221, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25103:2:14", - "nodeType": "VariableDeclaration", - "scope": 12236, - "src": "25098:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12220, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25098:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "25070:36:14" - }, - "returnParameters": { - "id": 12223, - "nodeType": "ParameterList", - "parameters": [], - "src": "25121:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12259, - "nodeType": "FunctionDefinition", - "src": "25228:170:14", - "nodes": [], - "body": { - "id": 12258, - "nodeType": "Block", - "src": "25294:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c75696e742c6164647265737329", - "id": 12250, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25344:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4f40058ea8927b23c60661eeb28f54d3ce10f5f6cdd8e3ce445d34409ceb50a3", - "typeString": "literal_string \"log(uint,bool,uint,address)\"" - }, - "value": "log(uint,bool,uint,address)" - }, - { - "id": 12251, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12238, - "src": "25375:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12252, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12240, - "src": "25379:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12253, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12242, - "src": "25383:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12254, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12244, - "src": "25387:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4f40058ea8927b23c60661eeb28f54d3ce10f5f6cdd8e3ce445d34409ceb50a3", - "typeString": "literal_string \"log(uint,bool,uint,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 12248, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25320:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12249, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25324:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25320:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25320:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12247, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "25304:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12256, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25304:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12257, - "nodeType": "ExpressionStatement", - "src": "25304:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25237:3:14", - "parameters": { - "id": 12245, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12238, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25246:2:14", - "nodeType": "VariableDeclaration", - "scope": 12259, - "src": "25241:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12237, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25241:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12240, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25255:2:14", - "nodeType": "VariableDeclaration", - "scope": 12259, - "src": "25250:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12239, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25250:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12242, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25264:2:14", - "nodeType": "VariableDeclaration", - "scope": 12259, - "src": "25259:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12241, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25259:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12244, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25276:2:14", - "nodeType": "VariableDeclaration", - "scope": 12259, - "src": "25268:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12243, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "25268:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "25240:39:14" - }, - "returnParameters": { - "id": 12246, - "nodeType": "ParameterList", - "parameters": [], - "src": "25294:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12282, - "nodeType": "FunctionDefinition", - "src": "25404:175:14", - "nodes": [], - "body": { - "id": 12281, - "nodeType": "Block", - "src": "25476:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c737472696e672c75696e7429", - "id": 12273, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25526:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_915fdb28841654f5e04882ad0aa4f5de28bd90db1a700dae8b1eb5e67e36a012", - "typeString": "literal_string \"log(uint,bool,string,uint)\"" - }, - "value": "log(uint,bool,string,uint)" - }, - { - "id": 12274, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12261, - "src": "25556:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12275, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12263, - "src": "25560:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12276, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12265, - "src": "25564:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12277, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12267, - "src": "25568:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_915fdb28841654f5e04882ad0aa4f5de28bd90db1a700dae8b1eb5e67e36a012", - "typeString": "literal_string \"log(uint,bool,string,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 12271, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25502:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12272, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25506:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25502:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12278, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25502:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12270, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "25486:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12279, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25486:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12280, - "nodeType": "ExpressionStatement", - "src": "25486:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25413:3:14", - "parameters": { - "id": 12268, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12261, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25422:2:14", - "nodeType": "VariableDeclaration", - "scope": 12282, - "src": "25417:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12260, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25417:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12263, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25431:2:14", - "nodeType": "VariableDeclaration", - "scope": 12282, - "src": "25426:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12262, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25426:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12265, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25449:2:14", - "nodeType": "VariableDeclaration", - "scope": 12282, - "src": "25435:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12264, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25435:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12267, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25458:2:14", - "nodeType": "VariableDeclaration", - "scope": 12282, - "src": "25453:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12266, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25453:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "25416:45:14" - }, - "returnParameters": { - "id": 12269, - "nodeType": "ParameterList", - "parameters": [], - "src": "25476:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12305, - "nodeType": "FunctionDefinition", - "src": "25585:186:14", - "nodes": [], - "body": { - "id": 12304, - "nodeType": "Block", - "src": "25666:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c737472696e672c737472696e6729", - "id": 12296, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25716:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a433fcfd538cd0e077747fbb2c5a6453c1804c6ad4af653273e0d14ab4a0566a", - "typeString": "literal_string \"log(uint,bool,string,string)\"" - }, - "value": "log(uint,bool,string,string)" - }, - { - "id": 12297, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12284, - "src": "25748:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12298, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12286, - "src": "25752:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12299, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12288, - "src": "25756:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12300, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12290, - "src": "25760:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a433fcfd538cd0e077747fbb2c5a6453c1804c6ad4af653273e0d14ab4a0566a", - "typeString": "literal_string \"log(uint,bool,string,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 12294, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25692:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12295, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25696:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25692:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12301, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25692:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12293, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "25676:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12302, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25676:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12303, - "nodeType": "ExpressionStatement", - "src": "25676:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25594:3:14", - "parameters": { - "id": 12291, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12284, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25603:2:14", - "nodeType": "VariableDeclaration", - "scope": 12305, - "src": "25598:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12283, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25598:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12286, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25612:2:14", - "nodeType": "VariableDeclaration", - "scope": 12305, - "src": "25607:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12285, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25607:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12288, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25630:2:14", - "nodeType": "VariableDeclaration", - "scope": 12305, - "src": "25616:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12287, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25616:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12290, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25648:2:14", - "nodeType": "VariableDeclaration", - "scope": 12305, - "src": "25634:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12289, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25634:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "25597:54:14" - }, - "returnParameters": { - "id": 12292, - "nodeType": "ParameterList", - "parameters": [], - "src": "25666:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12328, - "nodeType": "FunctionDefinition", - "src": "25777:175:14", - "nodes": [], - "body": { - "id": 12327, - "nodeType": "Block", - "src": "25849:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c737472696e672c626f6f6c29", - "id": 12319, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25899:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_346eb8c74221bcb2c0a69b8dde628b7e6175c4f090782c8f07996b251212e22d", - "typeString": "literal_string \"log(uint,bool,string,bool)\"" - }, - "value": "log(uint,bool,string,bool)" - }, - { - "id": 12320, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12307, - "src": "25929:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12321, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12309, - "src": "25933:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12322, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12311, - "src": "25937:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12323, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12313, - "src": "25941:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_346eb8c74221bcb2c0a69b8dde628b7e6175c4f090782c8f07996b251212e22d", - "typeString": "literal_string \"log(uint,bool,string,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 12317, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25875:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12318, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25879:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25875:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25875:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12316, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "25859:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12325, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25859:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12326, - "nodeType": "ExpressionStatement", - "src": "25859:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25786:3:14", - "parameters": { - "id": 12314, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12307, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25795:2:14", - "nodeType": "VariableDeclaration", - "scope": 12328, - "src": "25790:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12306, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25790:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12309, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25804:2:14", - "nodeType": "VariableDeclaration", - "scope": 12328, - "src": "25799:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12308, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25799:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12311, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25822:2:14", - "nodeType": "VariableDeclaration", - "scope": 12328, - "src": "25808:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12310, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25808:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12313, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25831:2:14", - "nodeType": "VariableDeclaration", - "scope": 12328, - "src": "25826:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12312, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25826:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "25789:45:14" - }, - "returnParameters": { - "id": 12315, - "nodeType": "ParameterList", - "parameters": [], - "src": "25849:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12351, - "nodeType": "FunctionDefinition", - "src": "25958:181:14", - "nodes": [], - "body": { - "id": 12350, - "nodeType": "Block", - "src": "26033:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c737472696e672c6164647265737329", - "id": 12342, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26083:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_496e2bb45f5cdd3680c3e807c53955b9de163e898851c7844433c0a9c91dcd9d", - "typeString": "literal_string \"log(uint,bool,string,address)\"" - }, - "value": "log(uint,bool,string,address)" - }, - { - "id": 12343, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12330, - "src": "26116:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12344, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12332, - "src": "26120:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12345, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12334, - "src": "26124:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12346, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12336, - "src": "26128:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_496e2bb45f5cdd3680c3e807c53955b9de163e898851c7844433c0a9c91dcd9d", - "typeString": "literal_string \"log(uint,bool,string,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 12340, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26059:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12341, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26063:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26059:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26059:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12339, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "26043:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26043:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12349, - "nodeType": "ExpressionStatement", - "src": "26043:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25967:3:14", - "parameters": { - "id": 12337, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12330, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25976:2:14", - "nodeType": "VariableDeclaration", - "scope": 12351, - "src": "25971:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12329, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25971:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12332, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25985:2:14", - "nodeType": "VariableDeclaration", - "scope": 12351, - "src": "25980:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12331, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25980:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12334, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26003:2:14", - "nodeType": "VariableDeclaration", - "scope": 12351, - "src": "25989:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12333, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25989:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12336, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26015:2:14", - "nodeType": "VariableDeclaration", - "scope": 12351, - "src": "26007:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12335, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "26007:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "25970:48:14" - }, - "returnParameters": { - "id": 12338, - "nodeType": "ParameterList", - "parameters": [], - "src": "26033:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12374, - "nodeType": "FunctionDefinition", - "src": "26145:164:14", - "nodes": [], - "body": { - "id": 12373, - "nodeType": "Block", - "src": "26208:101:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c626f6f6c2c75696e7429", - "id": 12365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26258:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bd25ad5987e2f3e90d5ff2c9e0dad802782e9040e45e823722ccf598278cf7ed", - "typeString": "literal_string \"log(uint,bool,bool,uint)\"" - }, - "value": "log(uint,bool,bool,uint)" - }, - { - "id": 12366, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12353, - "src": "26286:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12367, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12355, - "src": "26290:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12368, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12357, - "src": "26294:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12369, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12359, - "src": "26298:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_bd25ad5987e2f3e90d5ff2c9e0dad802782e9040e45e823722ccf598278cf7ed", - "typeString": "literal_string \"log(uint,bool,bool,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 12363, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26234:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12364, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26238:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26234:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12370, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26234:67:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12362, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "26218:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12371, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26218:84:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12372, - "nodeType": "ExpressionStatement", - "src": "26218:84:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26154:3:14", - "parameters": { - "id": 12360, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12353, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26163:2:14", - "nodeType": "VariableDeclaration", - "scope": 12374, - "src": "26158:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12352, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "26158:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12355, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26172:2:14", - "nodeType": "VariableDeclaration", - "scope": 12374, - "src": "26167:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12354, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26167:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12357, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26181:2:14", - "nodeType": "VariableDeclaration", - "scope": 12374, - "src": "26176:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12356, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26176:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12359, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26190:2:14", - "nodeType": "VariableDeclaration", - "scope": 12374, - "src": "26185:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12358, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "26185:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "26157:36:14" - }, - "returnParameters": { - "id": 12361, - "nodeType": "ParameterList", - "parameters": [], - "src": "26208:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12397, - "nodeType": "FunctionDefinition", - "src": "26315:175:14", - "nodes": [], - "body": { - "id": 12396, - "nodeType": "Block", - "src": "26387:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c626f6f6c2c737472696e6729", - "id": 12388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26437:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_318ae59b506d4efe5cd02b34be9f24009f0134ab1136defc4789a09e425a8861", - "typeString": "literal_string \"log(uint,bool,bool,string)\"" - }, - "value": "log(uint,bool,bool,string)" - }, - { - "id": 12389, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12376, - "src": "26467:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12390, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12378, - "src": "26471:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12391, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12380, - "src": "26475:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12392, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12382, - "src": "26479:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_318ae59b506d4efe5cd02b34be9f24009f0134ab1136defc4789a09e425a8861", - "typeString": "literal_string \"log(uint,bool,bool,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 12386, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26413:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12387, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26417:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26413:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26413:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12385, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "26397:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12394, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26397:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12395, - "nodeType": "ExpressionStatement", - "src": "26397:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26324:3:14", - "parameters": { - "id": 12383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12376, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26333:2:14", - "nodeType": "VariableDeclaration", - "scope": 12397, - "src": "26328:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12375, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "26328:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12378, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26342:2:14", - "nodeType": "VariableDeclaration", - "scope": 12397, - "src": "26337:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12377, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26337:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12380, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26351:2:14", - "nodeType": "VariableDeclaration", - "scope": 12397, - "src": "26346:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12379, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26346:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12382, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26369:2:14", - "nodeType": "VariableDeclaration", - "scope": 12397, - "src": "26355:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12381, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "26355:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "26327:45:14" - }, - "returnParameters": { - "id": 12384, - "nodeType": "ParameterList", - "parameters": [], - "src": "26387:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12420, - "nodeType": "FunctionDefinition", - "src": "26496:164:14", - "nodes": [], - "body": { - "id": 12419, - "nodeType": "Block", - "src": "26559:101:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 12411, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26609:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e6c5315e6998332ba87ae2545bc72447c94349a51e999446a98bfab04167b32", - "typeString": "literal_string \"log(uint,bool,bool,bool)\"" - }, - "value": "log(uint,bool,bool,bool)" - }, - { - "id": 12412, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12399, - "src": "26637:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12413, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12401, - "src": "26641:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12414, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12403, - "src": "26645:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12415, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12405, - "src": "26649:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4e6c5315e6998332ba87ae2545bc72447c94349a51e999446a98bfab04167b32", - "typeString": "literal_string \"log(uint,bool,bool,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 12409, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26585:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12410, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26589:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26585:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12416, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26585:67:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12408, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "26569:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12417, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26569:84:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12418, - "nodeType": "ExpressionStatement", - "src": "26569:84:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26505:3:14", - "parameters": { - "id": 12406, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12399, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26514:2:14", - "nodeType": "VariableDeclaration", - "scope": 12420, - "src": "26509:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12398, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "26509:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12401, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26523:2:14", - "nodeType": "VariableDeclaration", - "scope": 12420, - "src": "26518:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12400, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26518:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12403, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26532:2:14", - "nodeType": "VariableDeclaration", - "scope": 12420, - "src": "26527:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12402, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26527:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12405, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26541:2:14", - "nodeType": "VariableDeclaration", - "scope": 12420, - "src": "26536:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12404, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26536:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "26508:36:14" - }, - "returnParameters": { - "id": 12407, - "nodeType": "ParameterList", - "parameters": [], - "src": "26559:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12443, - "nodeType": "FunctionDefinition", - "src": "26666:170:14", - "nodes": [], - "body": { - "id": 12442, - "nodeType": "Block", - "src": "26732:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c626f6f6c2c6164647265737329", - "id": 12434, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26782:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5306225d3f6a0c340e12a634d8571b24a659d0fdcb96dd45e3bd062feb68355b", - "typeString": "literal_string \"log(uint,bool,bool,address)\"" - }, - "value": "log(uint,bool,bool,address)" - }, - { - "id": 12435, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12422, - "src": "26813:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12436, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12424, - "src": "26817:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12437, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12426, - "src": "26821:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12438, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12428, - "src": "26825:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5306225d3f6a0c340e12a634d8571b24a659d0fdcb96dd45e3bd062feb68355b", - "typeString": "literal_string \"log(uint,bool,bool,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 12432, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26758:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26762:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26758:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12439, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26758:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12431, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "26742:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12440, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26742:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12441, - "nodeType": "ExpressionStatement", - "src": "26742:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26675:3:14", - "parameters": { - "id": 12429, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12422, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26684:2:14", - "nodeType": "VariableDeclaration", - "scope": 12443, - "src": "26679:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12421, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "26679:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12424, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26693:2:14", - "nodeType": "VariableDeclaration", - "scope": 12443, - "src": "26688:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12423, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26688:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12426, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26702:2:14", - "nodeType": "VariableDeclaration", - "scope": 12443, - "src": "26697:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12425, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26697:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12428, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26714:2:14", - "nodeType": "VariableDeclaration", - "scope": 12443, - "src": "26706:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12427, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "26706:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "26678:39:14" - }, - "returnParameters": { - "id": 12430, - "nodeType": "ParameterList", - "parameters": [], - "src": "26732:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12466, - "nodeType": "FunctionDefinition", - "src": "26842:170:14", - "nodes": [], - "body": { - "id": 12465, - "nodeType": "Block", - "src": "26908:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c616464726573732c75696e7429", - "id": 12457, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26958:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_41b5ef3bc57cb6072d9bbab757f04e68fb78a6a8b29741a7b963761abce32fb1", - "typeString": "literal_string \"log(uint,bool,address,uint)\"" - }, - "value": "log(uint,bool,address,uint)" - }, - { - "id": 12458, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12445, - "src": "26989:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12459, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12447, - "src": "26993:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12460, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12449, - "src": "26997:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12461, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12451, - "src": "27001:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_41b5ef3bc57cb6072d9bbab757f04e68fb78a6a8b29741a7b963761abce32fb1", - "typeString": "literal_string \"log(uint,bool,address,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 12455, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26934:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12456, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26938:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26934:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12462, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26934:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12454, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "26918:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12463, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26918:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12464, - "nodeType": "ExpressionStatement", - "src": "26918:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26851:3:14", - "parameters": { - "id": 12452, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12445, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26860:2:14", - "nodeType": "VariableDeclaration", - "scope": 12466, - "src": "26855:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12444, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "26855:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12447, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26869:2:14", - "nodeType": "VariableDeclaration", - "scope": 12466, - "src": "26864:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12446, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26864:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12449, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26881:2:14", - "nodeType": "VariableDeclaration", - "scope": 12466, - "src": "26873:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "26873:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12451, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26890:2:14", - "nodeType": "VariableDeclaration", - "scope": 12466, - "src": "26885:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12450, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "26885:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "26854:39:14" - }, - "returnParameters": { - "id": 12453, - "nodeType": "ParameterList", - "parameters": [], - "src": "26908:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12489, - "nodeType": "FunctionDefinition", - "src": "27018:181:14", - "nodes": [], - "body": { - "id": 12488, - "nodeType": "Block", - "src": "27093:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c616464726573732c737472696e6729", - "id": 12480, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27143:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a230761e3811ae33e11d91e6667cf79e7e0ce8023ec276bdd69859f68587933c", - "typeString": "literal_string \"log(uint,bool,address,string)\"" - }, - "value": "log(uint,bool,address,string)" - }, - { - "id": 12481, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12468, - "src": "27176:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12482, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12470, - "src": "27180:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12483, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12472, - "src": "27184:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12484, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12474, - "src": "27188:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a230761e3811ae33e11d91e6667cf79e7e0ce8023ec276bdd69859f68587933c", - "typeString": "literal_string \"log(uint,bool,address,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 12478, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27119:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12479, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27123:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27119:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27119:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12477, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "27103:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27103:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12487, - "nodeType": "ExpressionStatement", - "src": "27103:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27027:3:14", - "parameters": { - "id": 12475, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12468, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27036:2:14", - "nodeType": "VariableDeclaration", - "scope": 12489, - "src": "27031:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12467, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27031:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12470, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27045:2:14", - "nodeType": "VariableDeclaration", - "scope": 12489, - "src": "27040:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12469, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27040:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12472, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27057:2:14", - "nodeType": "VariableDeclaration", - "scope": 12489, - "src": "27049:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12471, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27049:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12474, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27075:2:14", - "nodeType": "VariableDeclaration", - "scope": 12489, - "src": "27061:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12473, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "27061:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "27030:48:14" - }, - "returnParameters": { - "id": 12476, - "nodeType": "ParameterList", - "parameters": [], - "src": "27093:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12512, - "nodeType": "FunctionDefinition", - "src": "27205:170:14", - "nodes": [], - "body": { - "id": 12511, - "nodeType": "Block", - "src": "27271:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c616464726573732c626f6f6c29", - "id": 12503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27321:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_91fb124272873b32f25c28f6935451e3d46ffd78ac8ebaaa0e096a7942db5445", - "typeString": "literal_string \"log(uint,bool,address,bool)\"" - }, - "value": "log(uint,bool,address,bool)" - }, - { - "id": 12504, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12491, - "src": "27352:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12505, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12493, - "src": "27356:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12506, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12495, - "src": "27360:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12507, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12497, - "src": "27364:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_91fb124272873b32f25c28f6935451e3d46ffd78ac8ebaaa0e096a7942db5445", - "typeString": "literal_string \"log(uint,bool,address,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 12501, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27297:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12502, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27301:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27297:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12508, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27297:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12500, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "27281:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12509, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27281:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12510, - "nodeType": "ExpressionStatement", - "src": "27281:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27214:3:14", - "parameters": { - "id": 12498, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12491, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27223:2:14", - "nodeType": "VariableDeclaration", - "scope": 12512, - "src": "27218:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12490, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27218:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12493, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27232:2:14", - "nodeType": "VariableDeclaration", - "scope": 12512, - "src": "27227:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12492, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27227:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12495, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27244:2:14", - "nodeType": "VariableDeclaration", - "scope": 12512, - "src": "27236:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12494, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27236:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12497, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27253:2:14", - "nodeType": "VariableDeclaration", - "scope": 12512, - "src": "27248:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12496, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27248:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "27217:39:14" - }, - "returnParameters": { - "id": 12499, - "nodeType": "ParameterList", - "parameters": [], - "src": "27271:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12535, - "nodeType": "FunctionDefinition", - "src": "27381:176:14", - "nodes": [], - "body": { - "id": 12534, - "nodeType": "Block", - "src": "27450:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c616464726573732c6164647265737329", - "id": 12526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27500:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_86edc10cd85187c3b3f180e68e570c794e768808cdffe5158045d6f841ae33f2", - "typeString": "literal_string \"log(uint,bool,address,address)\"" - }, - "value": "log(uint,bool,address,address)" - }, - { - "id": 12527, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12514, - "src": "27534:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12528, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12516, - "src": "27538:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12529, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12518, - "src": "27542:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12530, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12520, - "src": "27546:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_86edc10cd85187c3b3f180e68e570c794e768808cdffe5158045d6f841ae33f2", - "typeString": "literal_string \"log(uint,bool,address,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 12524, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27476:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12525, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27480:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27476:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27476:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12523, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "27460:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27460:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12533, - "nodeType": "ExpressionStatement", - "src": "27460:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27390:3:14", - "parameters": { - "id": 12521, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12514, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27399:2:14", - "nodeType": "VariableDeclaration", - "scope": 12535, - "src": "27394:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12513, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27394:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12516, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27408:2:14", - "nodeType": "VariableDeclaration", - "scope": 12535, - "src": "27403:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12515, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27403:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12518, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27420:2:14", - "nodeType": "VariableDeclaration", - "scope": 12535, - "src": "27412:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12517, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27412:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12520, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27432:2:14", - "nodeType": "VariableDeclaration", - "scope": 12535, - "src": "27424:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12519, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27424:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "27393:42:14" - }, - "returnParameters": { - "id": 12522, - "nodeType": "ParameterList", - "parameters": [], - "src": "27450:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12558, - "nodeType": "FunctionDefinition", - "src": "27563:170:14", - "nodes": [], - "body": { - "id": 12557, - "nodeType": "Block", - "src": "27629:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c75696e742c75696e7429", - "id": 12549, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27679:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ca9a3eb4a61979ee5cc1814fa8df2504ab7831148afaa3d4c17622578eab7412", - "typeString": "literal_string \"log(uint,address,uint,uint)\"" - }, - "value": "log(uint,address,uint,uint)" - }, - { - "id": 12550, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12537, - "src": "27710:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12551, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12539, - "src": "27714:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12552, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12541, - "src": "27718:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12553, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12543, - "src": "27722:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ca9a3eb4a61979ee5cc1814fa8df2504ab7831148afaa3d4c17622578eab7412", - "typeString": "literal_string \"log(uint,address,uint,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 12547, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27655:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12548, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27659:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27655:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12554, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27655:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12546, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "27639:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12555, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27639:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12556, - "nodeType": "ExpressionStatement", - "src": "27639:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27572:3:14", - "parameters": { - "id": 12544, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12537, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27581:2:14", - "nodeType": "VariableDeclaration", - "scope": 12558, - "src": "27576:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12536, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27576:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12539, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27593:2:14", - "nodeType": "VariableDeclaration", - "scope": 12558, - "src": "27585:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12538, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27585:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12541, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27602:2:14", - "nodeType": "VariableDeclaration", - "scope": 12558, - "src": "27597:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12540, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27597:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12543, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27611:2:14", - "nodeType": "VariableDeclaration", - "scope": 12558, - "src": "27606:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12542, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27606:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "27575:39:14" - }, - "returnParameters": { - "id": 12545, - "nodeType": "ParameterList", - "parameters": [], - "src": "27629:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12581, - "nodeType": "FunctionDefinition", - "src": "27739:181:14", - "nodes": [], - "body": { - "id": 12580, - "nodeType": "Block", - "src": "27814:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c75696e742c737472696e6729", - "id": 12572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27864:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3ed3bd282d1a27244fa4d3668aff783448c1a1864ff920057fa9f1c8144bb10b", - "typeString": "literal_string \"log(uint,address,uint,string)\"" - }, - "value": "log(uint,address,uint,string)" - }, - { - "id": 12573, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12560, - "src": "27897:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12574, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12562, - "src": "27901:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12575, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12564, - "src": "27905:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12576, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12566, - "src": "27909:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3ed3bd282d1a27244fa4d3668aff783448c1a1864ff920057fa9f1c8144bb10b", - "typeString": "literal_string \"log(uint,address,uint,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 12570, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27840:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12571, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27844:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27840:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12577, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27840:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12569, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "27824:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12578, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27824:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12579, - "nodeType": "ExpressionStatement", - "src": "27824:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27748:3:14", - "parameters": { - "id": 12567, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12560, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27757:2:14", - "nodeType": "VariableDeclaration", - "scope": 12581, - "src": "27752:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12559, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27752:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12562, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27769:2:14", - "nodeType": "VariableDeclaration", - "scope": 12581, - "src": "27761:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12561, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27761:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12564, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27778:2:14", - "nodeType": "VariableDeclaration", - "scope": 12581, - "src": "27773:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12563, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27773:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12566, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27796:2:14", - "nodeType": "VariableDeclaration", - "scope": 12581, - "src": "27782:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12565, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "27782:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "27751:48:14" - }, - "returnParameters": { - "id": 12568, - "nodeType": "ParameterList", - "parameters": [], - "src": "27814:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12604, - "nodeType": "FunctionDefinition", - "src": "27926:170:14", - "nodes": [], - "body": { - "id": 12603, - "nodeType": "Block", - "src": "27992:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c75696e742c626f6f6c29", - "id": 12595, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28042:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_19f67369d42bc0582d07ae744348ad46b79a6c16f354e3d3fb3c6bff2ecfa9f8", - "typeString": "literal_string \"log(uint,address,uint,bool)\"" - }, - "value": "log(uint,address,uint,bool)" - }, - { - "id": 12596, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12583, - "src": "28073:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12597, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12585, - "src": "28077:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12598, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12587, - "src": "28081:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12599, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12589, - "src": "28085:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_19f67369d42bc0582d07ae744348ad46b79a6c16f354e3d3fb3c6bff2ecfa9f8", - "typeString": "literal_string \"log(uint,address,uint,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 12593, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28018:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12594, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28022:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28018:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28018:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12592, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "28002:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28002:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12602, - "nodeType": "ExpressionStatement", - "src": "28002:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27935:3:14", - "parameters": { - "id": 12590, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12583, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27944:2:14", - "nodeType": "VariableDeclaration", - "scope": 12604, - "src": "27939:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12582, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27939:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12585, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27956:2:14", - "nodeType": "VariableDeclaration", - "scope": 12604, - "src": "27948:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12584, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27948:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12587, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27965:2:14", - "nodeType": "VariableDeclaration", - "scope": 12604, - "src": "27960:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12586, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27960:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12589, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27974:2:14", - "nodeType": "VariableDeclaration", - "scope": 12604, - "src": "27969:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12588, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27969:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "27938:39:14" - }, - "returnParameters": { - "id": 12591, - "nodeType": "ParameterList", - "parameters": [], - "src": "27992:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12627, - "nodeType": "FunctionDefinition", - "src": "28102:176:14", - "nodes": [], - "body": { - "id": 12626, - "nodeType": "Block", - "src": "28171:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c75696e742c6164647265737329", - "id": 12618, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28221:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fdb2ecd415c75df8f66285a054607fa1335126fb1d8930dfc21744a3de7298e3", - "typeString": "literal_string \"log(uint,address,uint,address)\"" - }, - "value": "log(uint,address,uint,address)" - }, - { - "id": 12619, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12606, - "src": "28255:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12620, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12608, - "src": "28259:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12621, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12610, - "src": "28263:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12622, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12612, - "src": "28267:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_fdb2ecd415c75df8f66285a054607fa1335126fb1d8930dfc21744a3de7298e3", - "typeString": "literal_string \"log(uint,address,uint,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 12616, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28197:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12617, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28201:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28197:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12623, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28197:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12615, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "28181:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12624, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28181:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12625, - "nodeType": "ExpressionStatement", - "src": "28181:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28111:3:14", - "parameters": { - "id": 12613, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12606, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28120:2:14", - "nodeType": "VariableDeclaration", - "scope": 12627, - "src": "28115:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12605, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "28115:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12608, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28132:2:14", - "nodeType": "VariableDeclaration", - "scope": 12627, - "src": "28124:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12607, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28124:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12610, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28141:2:14", - "nodeType": "VariableDeclaration", - "scope": 12627, - "src": "28136:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12609, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "28136:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12612, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28153:2:14", - "nodeType": "VariableDeclaration", - "scope": 12627, - "src": "28145:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12611, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28145:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "28114:42:14" - }, - "returnParameters": { - "id": 12614, - "nodeType": "ParameterList", - "parameters": [], - "src": "28171:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12650, - "nodeType": "FunctionDefinition", - "src": "28284:181:14", - "nodes": [], - "body": { - "id": 12649, - "nodeType": "Block", - "src": "28359:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c737472696e672c75696e7429", - "id": 12641, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28409:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a0c414e8ba2ea65b865dd0bf68b2357e81261b47f237c68a4a8a63051bbef2eb", - "typeString": "literal_string \"log(uint,address,string,uint)\"" - }, - "value": "log(uint,address,string,uint)" - }, - { - "id": 12642, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12629, - "src": "28442:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12643, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12631, - "src": "28446:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12644, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12633, - "src": "28450:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12645, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12635, - "src": "28454:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a0c414e8ba2ea65b865dd0bf68b2357e81261b47f237c68a4a8a63051bbef2eb", - "typeString": "literal_string \"log(uint,address,string,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 12639, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28385:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12640, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28389:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28385:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28385:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12638, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "28369:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28369:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12648, - "nodeType": "ExpressionStatement", - "src": "28369:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28293:3:14", - "parameters": { - "id": 12636, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12629, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28302:2:14", - "nodeType": "VariableDeclaration", - "scope": 12650, - "src": "28297:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12628, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "28297:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12631, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28314:2:14", - "nodeType": "VariableDeclaration", - "scope": 12650, - "src": "28306:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12630, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28306:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12633, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28332:2:14", - "nodeType": "VariableDeclaration", - "scope": 12650, - "src": "28318:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12632, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "28318:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12635, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28341:2:14", - "nodeType": "VariableDeclaration", - "scope": 12650, - "src": "28336:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12634, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "28336:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "28296:48:14" - }, - "returnParameters": { - "id": 12637, - "nodeType": "ParameterList", - "parameters": [], - "src": "28359:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12673, - "nodeType": "FunctionDefinition", - "src": "28471:192:14", - "nodes": [], - "body": { - "id": 12672, - "nodeType": "Block", - "src": "28555:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c737472696e672c737472696e6729", - "id": 12664, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28605:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8d778624e1d83269ce0415864bb54677b540f778c6b8503cf9035bc7517326f1", - "typeString": "literal_string \"log(uint,address,string,string)\"" - }, - "value": "log(uint,address,string,string)" - }, - { - "id": 12665, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12652, - "src": "28640:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12666, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12654, - "src": "28644:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12667, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12656, - "src": "28648:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12668, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12658, - "src": "28652:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8d778624e1d83269ce0415864bb54677b540f778c6b8503cf9035bc7517326f1", - "typeString": "literal_string \"log(uint,address,string,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 12662, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28581:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28585:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28581:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12669, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28581:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12661, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "28565:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12670, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28565:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12671, - "nodeType": "ExpressionStatement", - "src": "28565:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28480:3:14", - "parameters": { - "id": 12659, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12652, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28489:2:14", - "nodeType": "VariableDeclaration", - "scope": 12673, - "src": "28484:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12651, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "28484:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12654, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28501:2:14", - "nodeType": "VariableDeclaration", - "scope": 12673, - "src": "28493:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12653, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28493:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12656, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28519:2:14", - "nodeType": "VariableDeclaration", - "scope": 12673, - "src": "28505:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12655, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "28505:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12658, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28537:2:14", - "nodeType": "VariableDeclaration", - "scope": 12673, - "src": "28523:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12657, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "28523:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "28483:57:14" - }, - "returnParameters": { - "id": 12660, - "nodeType": "ParameterList", - "parameters": [], - "src": "28555:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12696, - "nodeType": "FunctionDefinition", - "src": "28669:181:14", - "nodes": [], - "body": { - "id": 12695, - "nodeType": "Block", - "src": "28744:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c737472696e672c626f6f6c29", - "id": 12687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28794:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_22a479a660b74b7598155f369ed227a5a93527fbdb04ff6f78fbf35fa23aacbf", - "typeString": "literal_string \"log(uint,address,string,bool)\"" - }, - "value": "log(uint,address,string,bool)" - }, - { - "id": 12688, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12675, - "src": "28827:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12689, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12677, - "src": "28831:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12690, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12679, - "src": "28835:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12691, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12681, - "src": "28839:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_22a479a660b74b7598155f369ed227a5a93527fbdb04ff6f78fbf35fa23aacbf", - "typeString": "literal_string \"log(uint,address,string,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 12685, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28770:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12686, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28774:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28770:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28770:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12684, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "28754:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12693, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28754:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12694, - "nodeType": "ExpressionStatement", - "src": "28754:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28678:3:14", - "parameters": { - "id": 12682, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12675, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28687:2:14", - "nodeType": "VariableDeclaration", - "scope": 12696, - "src": "28682:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12674, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "28682:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12677, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28699:2:14", - "nodeType": "VariableDeclaration", - "scope": 12696, - "src": "28691:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12676, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28691:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12679, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28717:2:14", - "nodeType": "VariableDeclaration", - "scope": 12696, - "src": "28703:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12678, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "28703:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12681, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28726:2:14", - "nodeType": "VariableDeclaration", - "scope": 12696, - "src": "28721:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12680, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "28721:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "28681:48:14" - }, - "returnParameters": { - "id": 12683, - "nodeType": "ParameterList", - "parameters": [], - "src": "28744:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12719, - "nodeType": "FunctionDefinition", - "src": "28856:187:14", - "nodes": [], - "body": { - "id": 12718, - "nodeType": "Block", - "src": "28934:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c737472696e672c6164647265737329", - "id": 12710, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28984:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cbe58efddc067d74914c3479914810966ae688ac66ca2bbcae69cd9d0395796f", - "typeString": "literal_string \"log(uint,address,string,address)\"" - }, - "value": "log(uint,address,string,address)" - }, - { - "id": 12711, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12698, - "src": "29020:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12712, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12700, - "src": "29024:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12713, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12702, - "src": "29028:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12714, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12704, - "src": "29032:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cbe58efddc067d74914c3479914810966ae688ac66ca2bbcae69cd9d0395796f", - "typeString": "literal_string \"log(uint,address,string,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 12708, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28960:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28964:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28960:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28960:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12707, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "28944:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12716, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28944:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12717, - "nodeType": "ExpressionStatement", - "src": "28944:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28865:3:14", - "parameters": { - "id": 12705, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12698, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28874:2:14", - "nodeType": "VariableDeclaration", - "scope": 12719, - "src": "28869:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12697, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "28869:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12700, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28886:2:14", - "nodeType": "VariableDeclaration", - "scope": 12719, - "src": "28878:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12699, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28878:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12702, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28904:2:14", - "nodeType": "VariableDeclaration", - "scope": 12719, - "src": "28890:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12701, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "28890:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12704, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28916:2:14", - "nodeType": "VariableDeclaration", - "scope": 12719, - "src": "28908:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12703, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28908:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "28868:51:14" - }, - "returnParameters": { - "id": 12706, - "nodeType": "ParameterList", - "parameters": [], - "src": "28934:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12742, - "nodeType": "FunctionDefinition", - "src": "29049:170:14", - "nodes": [], - "body": { - "id": 12741, - "nodeType": "Block", - "src": "29115:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c626f6f6c2c75696e7429", - "id": 12733, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29165:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7b08e8ebd6be8a04c54551194ba5143f1a555d43fe60d53843383a9915eeccb2", - "typeString": "literal_string \"log(uint,address,bool,uint)\"" - }, - "value": "log(uint,address,bool,uint)" - }, - { - "id": 12734, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12721, - "src": "29196:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12735, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12723, - "src": "29200:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12736, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12725, - "src": "29204:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12737, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12727, - "src": "29208:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7b08e8ebd6be8a04c54551194ba5143f1a555d43fe60d53843383a9915eeccb2", - "typeString": "literal_string \"log(uint,address,bool,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 12731, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29141:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12732, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29145:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29141:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29141:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12730, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "29125:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29125:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12740, - "nodeType": "ExpressionStatement", - "src": "29125:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29058:3:14", - "parameters": { - "id": 12728, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12721, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29067:2:14", - "nodeType": "VariableDeclaration", - "scope": 12742, - "src": "29062:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12720, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "29062:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12723, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29079:2:14", - "nodeType": "VariableDeclaration", - "scope": 12742, - "src": "29071:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12722, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29071:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12725, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29088:2:14", - "nodeType": "VariableDeclaration", - "scope": 12742, - "src": "29083:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12724, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "29083:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12727, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29097:2:14", - "nodeType": "VariableDeclaration", - "scope": 12742, - "src": "29092:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12726, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "29092:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "29061:39:14" - }, - "returnParameters": { - "id": 12729, - "nodeType": "ParameterList", - "parameters": [], - "src": "29115:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12765, - "nodeType": "FunctionDefinition", - "src": "29225:181:14", - "nodes": [], - "body": { - "id": 12764, - "nodeType": "Block", - "src": "29300:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c626f6f6c2c737472696e6729", - "id": 12756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29350:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_63f0e24221aeb6c531ea500a191ac35497bf48695fb29864fe57726a12d605c6", - "typeString": "literal_string \"log(uint,address,bool,string)\"" - }, - "value": "log(uint,address,bool,string)" - }, - { - "id": 12757, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12744, - "src": "29383:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12758, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12746, - "src": "29387:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12759, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12748, - "src": "29391:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12760, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12750, - "src": "29395:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_63f0e24221aeb6c531ea500a191ac35497bf48695fb29864fe57726a12d605c6", - "typeString": "literal_string \"log(uint,address,bool,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 12754, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29326:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12755, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29330:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29326:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29326:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12753, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "29310:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12762, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29310:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12763, - "nodeType": "ExpressionStatement", - "src": "29310:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29234:3:14", - "parameters": { - "id": 12751, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12744, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29243:2:14", - "nodeType": "VariableDeclaration", - "scope": 12765, - "src": "29238:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12743, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "29238:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12746, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29255:2:14", - "nodeType": "VariableDeclaration", - "scope": 12765, - "src": "29247:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12745, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29247:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12748, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29264:2:14", - "nodeType": "VariableDeclaration", - "scope": 12765, - "src": "29259:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12747, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "29259:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12750, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29282:2:14", - "nodeType": "VariableDeclaration", - "scope": 12765, - "src": "29268:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12749, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29268:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "29237:48:14" - }, - "returnParameters": { - "id": 12752, - "nodeType": "ParameterList", - "parameters": [], - "src": "29300:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12788, - "nodeType": "FunctionDefinition", - "src": "29412:170:14", - "nodes": [], - "body": { - "id": 12787, - "nodeType": "Block", - "src": "29478:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c626f6f6c2c626f6f6c29", - "id": 12779, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29528:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7e27410dc86ab22a92f2a269c9cf538b707bde3ac248f933df1f4d0b76947d32", - "typeString": "literal_string \"log(uint,address,bool,bool)\"" - }, - "value": "log(uint,address,bool,bool)" - }, - { - "id": 12780, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12767, - "src": "29559:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12781, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12769, - "src": "29563:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12782, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12771, - "src": "29567:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12783, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12773, - "src": "29571:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7e27410dc86ab22a92f2a269c9cf538b707bde3ac248f933df1f4d0b76947d32", - "typeString": "literal_string \"log(uint,address,bool,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 12777, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29504:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12778, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29508:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29504:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12784, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29504:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12776, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "29488:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12785, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29488:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12786, - "nodeType": "ExpressionStatement", - "src": "29488:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29421:3:14", - "parameters": { - "id": 12774, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12767, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29430:2:14", - "nodeType": "VariableDeclaration", - "scope": 12788, - "src": "29425:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12766, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "29425:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12769, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29442:2:14", - "nodeType": "VariableDeclaration", - "scope": 12788, - "src": "29434:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12768, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29434:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12771, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29451:2:14", - "nodeType": "VariableDeclaration", - "scope": 12788, - "src": "29446:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12770, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "29446:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12773, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29460:2:14", - "nodeType": "VariableDeclaration", - "scope": 12788, - "src": "29455:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12772, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "29455:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "29424:39:14" - }, - "returnParameters": { - "id": 12775, - "nodeType": "ParameterList", - "parameters": [], - "src": "29478:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12811, - "nodeType": "FunctionDefinition", - "src": "29588:176:14", - "nodes": [], - "body": { - "id": 12810, - "nodeType": "Block", - "src": "29657:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c626f6f6c2c6164647265737329", - "id": 12802, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29707:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b6313094a820841f3156e32d271c63cceded7f62875d471e1e87ef33ec252789", - "typeString": "literal_string \"log(uint,address,bool,address)\"" - }, - "value": "log(uint,address,bool,address)" - }, - { - "id": 12803, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12790, - "src": "29741:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12804, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12792, - "src": "29745:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12805, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12794, - "src": "29749:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12806, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12796, - "src": "29753:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b6313094a820841f3156e32d271c63cceded7f62875d471e1e87ef33ec252789", - "typeString": "literal_string \"log(uint,address,bool,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 12800, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29683:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12801, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29687:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29683:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29683:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12799, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "29667:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12808, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29667:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12809, - "nodeType": "ExpressionStatement", - "src": "29667:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29597:3:14", - "parameters": { - "id": 12797, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12790, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29606:2:14", - "nodeType": "VariableDeclaration", - "scope": 12811, - "src": "29601:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12789, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "29601:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12792, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29618:2:14", - "nodeType": "VariableDeclaration", - "scope": 12811, - "src": "29610:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12791, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29610:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12794, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29627:2:14", - "nodeType": "VariableDeclaration", - "scope": 12811, - "src": "29622:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12793, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "29622:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12796, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29639:2:14", - "nodeType": "VariableDeclaration", - "scope": 12811, - "src": "29631:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12795, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29631:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "29600:42:14" - }, - "returnParameters": { - "id": 12798, - "nodeType": "ParameterList", - "parameters": [], - "src": "29657:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12834, - "nodeType": "FunctionDefinition", - "src": "29770:176:14", - "nodes": [], - "body": { - "id": 12833, - "nodeType": "Block", - "src": "29839:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c616464726573732c75696e7429", - "id": 12825, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29889:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9a3cbf9603c94c357c6f62b7a32789d9ca5caa81518d1277c9ca986a5650734b", - "typeString": "literal_string \"log(uint,address,address,uint)\"" - }, - "value": "log(uint,address,address,uint)" - }, - { - "id": 12826, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12813, - "src": "29923:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12827, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12815, - "src": "29927:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12828, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12817, - "src": "29931:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12829, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12819, - "src": "29935:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9a3cbf9603c94c357c6f62b7a32789d9ca5caa81518d1277c9ca986a5650734b", - "typeString": "literal_string \"log(uint,address,address,uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 12823, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29865:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12824, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29869:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29865:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29865:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12822, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "29849:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29849:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12832, - "nodeType": "ExpressionStatement", - "src": "29849:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29779:3:14", - "parameters": { - "id": 12820, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12813, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29788:2:14", - "nodeType": "VariableDeclaration", - "scope": 12834, - "src": "29783:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12812, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "29783:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12815, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29800:2:14", - "nodeType": "VariableDeclaration", - "scope": 12834, - "src": "29792:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12814, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29792:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12817, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29812:2:14", - "nodeType": "VariableDeclaration", - "scope": 12834, - "src": "29804:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12816, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29804:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12819, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29821:2:14", - "nodeType": "VariableDeclaration", - "scope": 12834, - "src": "29816:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12818, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "29816:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "29782:42:14" - }, - "returnParameters": { - "id": 12821, - "nodeType": "ParameterList", - "parameters": [], - "src": "29839:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12857, - "nodeType": "FunctionDefinition", - "src": "29952:187:14", - "nodes": [], - "body": { - "id": 12856, - "nodeType": "Block", - "src": "30030:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c616464726573732c737472696e6729", - "id": 12848, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30080:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7943dc6627d308affd474fe50b563bcfbf09518236383b806f11730459213622", - "typeString": "literal_string \"log(uint,address,address,string)\"" - }, - "value": "log(uint,address,address,string)" - }, - { - "id": 12849, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12836, - "src": "30116:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12850, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12838, - "src": "30120:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12851, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12840, - "src": "30124:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12852, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12842, - "src": "30128:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7943dc6627d308affd474fe50b563bcfbf09518236383b806f11730459213622", - "typeString": "literal_string \"log(uint,address,address,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 12846, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30056:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12847, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30060:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30056:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30056:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12845, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "30040:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30040:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12855, - "nodeType": "ExpressionStatement", - "src": "30040:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29961:3:14", - "parameters": { - "id": 12843, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12836, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29970:2:14", - "nodeType": "VariableDeclaration", - "scope": 12857, - "src": "29965:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12835, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "29965:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12838, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29982:2:14", - "nodeType": "VariableDeclaration", - "scope": 12857, - "src": "29974:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12837, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29974:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12840, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29994:2:14", - "nodeType": "VariableDeclaration", - "scope": 12857, - "src": "29986:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12839, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29986:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12842, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30012:2:14", - "nodeType": "VariableDeclaration", - "scope": 12857, - "src": "29998:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12841, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29998:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "29964:51:14" - }, - "returnParameters": { - "id": 12844, - "nodeType": "ParameterList", - "parameters": [], - "src": "30030:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12880, - "nodeType": "FunctionDefinition", - "src": "30145:176:14", - "nodes": [], - "body": { - "id": 12879, - "nodeType": "Block", - "src": "30214:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c616464726573732c626f6f6c29", - "id": 12871, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30264:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_01550b04ea9916da7bc495d1b5ca5c4bd8d92ef3a98e2cca5a948cec5011f38c", - "typeString": "literal_string \"log(uint,address,address,bool)\"" - }, - "value": "log(uint,address,address,bool)" - }, - { - "id": 12872, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12859, - "src": "30298:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12873, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12861, - "src": "30302:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12874, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12863, - "src": "30306:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12875, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12865, - "src": "30310:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_01550b04ea9916da7bc495d1b5ca5c4bd8d92ef3a98e2cca5a948cec5011f38c", - "typeString": "literal_string \"log(uint,address,address,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 12869, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30240:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12870, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30244:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30240:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12876, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30240:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12868, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "30224:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12877, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30224:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12878, - "nodeType": "ExpressionStatement", - "src": "30224:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30154:3:14", - "parameters": { - "id": 12866, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12859, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30163:2:14", - "nodeType": "VariableDeclaration", - "scope": 12880, - "src": "30158:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12858, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "30158:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12861, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30175:2:14", - "nodeType": "VariableDeclaration", - "scope": 12880, - "src": "30167:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12860, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30167:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12863, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30187:2:14", - "nodeType": "VariableDeclaration", - "scope": 12880, - "src": "30179:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12862, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30179:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12865, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30196:2:14", - "nodeType": "VariableDeclaration", - "scope": 12880, - "src": "30191:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12864, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30191:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "30157:42:14" - }, - "returnParameters": { - "id": 12867, - "nodeType": "ParameterList", - "parameters": [], - "src": "30214:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12903, - "nodeType": "FunctionDefinition", - "src": "30327:182:14", - "nodes": [], - "body": { - "id": 12902, - "nodeType": "Block", - "src": "30399:110:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c616464726573732c6164647265737329", - "id": 12894, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30449:35:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_554745f9e6550eea6000ea2febc94de95d453100d5d60359e62cd398b366bfc4", - "typeString": "literal_string \"log(uint,address,address,address)\"" - }, - "value": "log(uint,address,address,address)" - }, - { - "id": 12895, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12882, - "src": "30486:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12896, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12884, - "src": "30490:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12897, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12886, - "src": "30494:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12898, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12888, - "src": "30498:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_554745f9e6550eea6000ea2febc94de95d453100d5d60359e62cd398b366bfc4", - "typeString": "literal_string \"log(uint,address,address,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 12892, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30425:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12893, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30429:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30425:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30425:76:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12891, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "30409:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12900, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30409:93:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12901, - "nodeType": "ExpressionStatement", - "src": "30409:93:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30336:3:14", - "parameters": { - "id": 12889, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12882, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30345:2:14", - "nodeType": "VariableDeclaration", - "scope": 12903, - "src": "30340:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12881, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "30340:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12884, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30357:2:14", - "nodeType": "VariableDeclaration", - "scope": 12903, - "src": "30349:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12883, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30349:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12886, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30369:2:14", - "nodeType": "VariableDeclaration", - "scope": 12903, - "src": "30361:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12885, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30361:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12888, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30381:2:14", - "nodeType": "VariableDeclaration", - "scope": 12903, - "src": "30373:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12887, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30373:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "30339:45:14" - }, - "returnParameters": { - "id": 12890, - "nodeType": "ParameterList", - "parameters": [], - "src": "30399:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12926, - "nodeType": "FunctionDefinition", - "src": "30515:175:14", - "nodes": [], - "body": { - "id": 12925, - "nodeType": "Block", - "src": "30587:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c75696e742c75696e7429", - "id": 12917, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30637:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_08ee5666d6bd329d27af528e563bb238dedf631fe471effe31c7123dcb5164f2", - "typeString": "literal_string \"log(string,uint,uint,uint)\"" - }, - "value": "log(string,uint,uint,uint)" - }, - { - "id": 12918, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12905, - "src": "30667:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12919, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12907, - "src": "30671:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12920, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12909, - "src": "30675:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12921, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12911, - "src": "30679:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_08ee5666d6bd329d27af528e563bb238dedf631fe471effe31c7123dcb5164f2", - "typeString": "literal_string \"log(string,uint,uint,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 12915, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30613:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12916, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30617:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30613:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30613:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12914, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "30597:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12923, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30597:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12924, - "nodeType": "ExpressionStatement", - "src": "30597:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30524:3:14", - "parameters": { - "id": 12912, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12905, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30542:2:14", - "nodeType": "VariableDeclaration", - "scope": 12926, - "src": "30528:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12904, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30528:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12907, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30551:2:14", - "nodeType": "VariableDeclaration", - "scope": 12926, - "src": "30546:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12906, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "30546:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12909, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30560:2:14", - "nodeType": "VariableDeclaration", - "scope": 12926, - "src": "30555:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12908, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "30555:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12911, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30569:2:14", - "nodeType": "VariableDeclaration", - "scope": 12926, - "src": "30564:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12910, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "30564:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "30527:45:14" - }, - "returnParameters": { - "id": 12913, - "nodeType": "ParameterList", - "parameters": [], - "src": "30587:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12949, - "nodeType": "FunctionDefinition", - "src": "30696:186:14", - "nodes": [], - "body": { - "id": 12948, - "nodeType": "Block", - "src": "30777:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c75696e742c737472696e6729", - "id": 12940, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30827:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a54ed4bdd39588715cd10f1b9730ac9f0db064013c8dc11e216fa2ef3a5948b8", - "typeString": "literal_string \"log(string,uint,uint,string)\"" - }, - "value": "log(string,uint,uint,string)" - }, - { - "id": 12941, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12928, - "src": "30859:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12942, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12930, - "src": "30863:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12943, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12932, - "src": "30867:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12944, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12934, - "src": "30871:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a54ed4bdd39588715cd10f1b9730ac9f0db064013c8dc11e216fa2ef3a5948b8", - "typeString": "literal_string \"log(string,uint,uint,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 12938, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30803:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12939, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30807:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30803:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12945, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30803:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12937, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "30787:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12946, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30787:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12947, - "nodeType": "ExpressionStatement", - "src": "30787:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30705:3:14", - "parameters": { - "id": 12935, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12928, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30723:2:14", - "nodeType": "VariableDeclaration", - "scope": 12949, - "src": "30709:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12927, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30709:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12930, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30732:2:14", - "nodeType": "VariableDeclaration", - "scope": 12949, - "src": "30727:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12929, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "30727:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12932, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30741:2:14", - "nodeType": "VariableDeclaration", - "scope": 12949, - "src": "30736:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12931, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "30736:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12934, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30759:2:14", - "nodeType": "VariableDeclaration", - "scope": 12949, - "src": "30745:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12933, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30745:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "30708:54:14" - }, - "returnParameters": { - "id": 12936, - "nodeType": "ParameterList", - "parameters": [], - "src": "30777:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12972, - "nodeType": "FunctionDefinition", - "src": "30888:175:14", - "nodes": [], - "body": { - "id": 12971, - "nodeType": "Block", - "src": "30960:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c75696e742c626f6f6c29", - "id": 12963, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31010:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f73c7e3dc5b5cecd5787e08e359612e609c17649291b138c8f184ee441526f2d", - "typeString": "literal_string \"log(string,uint,uint,bool)\"" - }, - "value": "log(string,uint,uint,bool)" - }, - { - "id": 12964, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12951, - "src": "31040:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12965, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12953, - "src": "31044:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12966, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12955, - "src": "31048:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12967, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12957, - "src": "31052:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f73c7e3dc5b5cecd5787e08e359612e609c17649291b138c8f184ee441526f2d", - "typeString": "literal_string \"log(string,uint,uint,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 12961, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30986:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12962, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30990:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30986:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30986:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12960, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "30970:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12969, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30970:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12970, - "nodeType": "ExpressionStatement", - "src": "30970:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30897:3:14", - "parameters": { - "id": 12958, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12951, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30915:2:14", - "nodeType": "VariableDeclaration", - "scope": 12972, - "src": "30901:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12950, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30901:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12953, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30924:2:14", - "nodeType": "VariableDeclaration", - "scope": 12972, - "src": "30919:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12952, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "30919:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12955, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30933:2:14", - "nodeType": "VariableDeclaration", - "scope": 12972, - "src": "30928:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12954, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "30928:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12957, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30942:2:14", - "nodeType": "VariableDeclaration", - "scope": 12972, - "src": "30937:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12956, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30937:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "30900:45:14" - }, - "returnParameters": { - "id": 12959, - "nodeType": "ParameterList", - "parameters": [], - "src": "30960:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12995, - "nodeType": "FunctionDefinition", - "src": "31069:181:14", - "nodes": [], - "body": { - "id": 12994, - "nodeType": "Block", - "src": "31144:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c75696e742c6164647265737329", - "id": 12986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31194:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bed728bf5bf9afc41a2cff142cfc289808bbba64cbab683d8e6689e6f6f14abc", - "typeString": "literal_string \"log(string,uint,uint,address)\"" - }, - "value": "log(string,uint,uint,address)" - }, - { - "id": 12987, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12974, - "src": "31227:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12988, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12976, - "src": "31231:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12989, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12978, - "src": "31235:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12990, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12980, - "src": "31239:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_bed728bf5bf9afc41a2cff142cfc289808bbba64cbab683d8e6689e6f6f14abc", - "typeString": "literal_string \"log(string,uint,uint,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 12984, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31170:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12985, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31174:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31170:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31170:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12983, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "31154:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31154:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12993, - "nodeType": "ExpressionStatement", - "src": "31154:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31078:3:14", - "parameters": { - "id": 12981, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12974, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31096:2:14", - "nodeType": "VariableDeclaration", - "scope": 12995, - "src": "31082:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12973, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31082:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12976, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31105:2:14", - "nodeType": "VariableDeclaration", - "scope": 12995, - "src": "31100:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12975, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "31100:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12978, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31114:2:14", - "nodeType": "VariableDeclaration", - "scope": 12995, - "src": "31109:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12977, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "31109:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12980, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31126:2:14", - "nodeType": "VariableDeclaration", - "scope": 12995, - "src": "31118:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12979, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31118:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "31081:48:14" - }, - "returnParameters": { - "id": 12982, - "nodeType": "ParameterList", - "parameters": [], - "src": "31144:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13018, - "nodeType": "FunctionDefinition", - "src": "31256:186:14", - "nodes": [], - "body": { - "id": 13017, - "nodeType": "Block", - "src": "31337:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c737472696e672c75696e7429", - "id": 13009, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31387:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a0c4b225a555b1198e8b1e32117070e759cad9a7266d99901b8a7fd2482d0e2f", - "typeString": "literal_string \"log(string,uint,string,uint)\"" - }, - "value": "log(string,uint,string,uint)" - }, - { - "id": 13010, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12997, - "src": "31419:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13011, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12999, - "src": "31423:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13012, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13001, - "src": "31427:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13013, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13003, - "src": "31431:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a0c4b225a555b1198e8b1e32117070e759cad9a7266d99901b8a7fd2482d0e2f", - "typeString": "literal_string \"log(string,uint,string,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 13007, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31363:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31367:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31363:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31363:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13006, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "31347:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13015, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31347:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13016, - "nodeType": "ExpressionStatement", - "src": "31347:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31265:3:14", - "parameters": { - "id": 13004, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12997, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31283:2:14", - "nodeType": "VariableDeclaration", - "scope": 13018, - "src": "31269:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12996, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31269:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12999, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31292:2:14", - "nodeType": "VariableDeclaration", - "scope": 13018, - "src": "31287:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12998, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "31287:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13001, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31310:2:14", - "nodeType": "VariableDeclaration", - "scope": 13018, - "src": "31296:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13000, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31296:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13003, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31319:2:14", - "nodeType": "VariableDeclaration", - "scope": 13018, - "src": "31314:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13002, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "31314:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "31268:54:14" - }, - "returnParameters": { - "id": 13005, - "nodeType": "ParameterList", - "parameters": [], - "src": "31337:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13041, - "nodeType": "FunctionDefinition", - "src": "31448:197:14", - "nodes": [], - "body": { - "id": 13040, - "nodeType": "Block", - "src": "31538:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c737472696e672c737472696e6729", - "id": 13032, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31588:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6c98dae27db048edb14bb31b4326832aa1fb54be52caaf49d1cecb59aa297c07", - "typeString": "literal_string \"log(string,uint,string,string)\"" - }, - "value": "log(string,uint,string,string)" - }, - { - "id": 13033, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13020, - "src": "31622:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13034, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13022, - "src": "31626:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13035, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13024, - "src": "31630:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13036, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13026, - "src": "31634:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6c98dae27db048edb14bb31b4326832aa1fb54be52caaf49d1cecb59aa297c07", - "typeString": "literal_string \"log(string,uint,string,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 13030, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31564:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13031, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31568:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31564:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31564:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13029, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "31548:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31548:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13039, - "nodeType": "ExpressionStatement", - "src": "31548:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31457:3:14", - "parameters": { - "id": 13027, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13020, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31475:2:14", - "nodeType": "VariableDeclaration", - "scope": 13041, - "src": "31461:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13019, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31461:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13022, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31484:2:14", - "nodeType": "VariableDeclaration", - "scope": 13041, - "src": "31479:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13021, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "31479:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13024, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31502:2:14", - "nodeType": "VariableDeclaration", - "scope": 13041, - "src": "31488:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13023, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31488:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13026, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31520:2:14", - "nodeType": "VariableDeclaration", - "scope": 13041, - "src": "31506:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13025, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31506:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "31460:63:14" - }, - "returnParameters": { - "id": 13028, - "nodeType": "ParameterList", - "parameters": [], - "src": "31538:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13064, - "nodeType": "FunctionDefinition", - "src": "31651:186:14", - "nodes": [], - "body": { - "id": 13063, - "nodeType": "Block", - "src": "31732:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c737472696e672c626f6f6c29", - "id": 13055, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31782:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e99f82cf29cb9d7551a843a55617f00569395570d3a9816be530f7c6197ec7c8", - "typeString": "literal_string \"log(string,uint,string,bool)\"" - }, - "value": "log(string,uint,string,bool)" - }, - { - "id": 13056, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13043, - "src": "31814:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13057, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13045, - "src": "31818:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13058, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13047, - "src": "31822:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13059, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13049, - "src": "31826:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e99f82cf29cb9d7551a843a55617f00569395570d3a9816be530f7c6197ec7c8", - "typeString": "literal_string \"log(string,uint,string,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 13053, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31758:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13054, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31762:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31758:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31758:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13052, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "31742:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31742:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13062, - "nodeType": "ExpressionStatement", - "src": "31742:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31660:3:14", - "parameters": { - "id": 13050, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13043, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31678:2:14", - "nodeType": "VariableDeclaration", - "scope": 13064, - "src": "31664:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13042, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31664:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13045, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31687:2:14", - "nodeType": "VariableDeclaration", - "scope": 13064, - "src": "31682:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13044, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "31682:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13047, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31705:2:14", - "nodeType": "VariableDeclaration", - "scope": 13064, - "src": "31691:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13046, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31691:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13049, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31714:2:14", - "nodeType": "VariableDeclaration", - "scope": 13064, - "src": "31709:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13048, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "31709:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "31663:54:14" - }, - "returnParameters": { - "id": 13051, - "nodeType": "ParameterList", - "parameters": [], - "src": "31732:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13087, - "nodeType": "FunctionDefinition", - "src": "31843:192:14", - "nodes": [], - "body": { - "id": 13086, - "nodeType": "Block", - "src": "31927:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c737472696e672c6164647265737329", - "id": 13078, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31977:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bb7235e9977380af5de9932c5c28e18d22806b4b0a15ac7e98086e795e59b31c", - "typeString": "literal_string \"log(string,uint,string,address)\"" - }, - "value": "log(string,uint,string,address)" - }, - { - "id": 13079, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13066, - "src": "32012:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13080, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13068, - "src": "32016:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13081, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13070, - "src": "32020:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13082, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13072, - "src": "32024:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_bb7235e9977380af5de9932c5c28e18d22806b4b0a15ac7e98086e795e59b31c", - "typeString": "literal_string \"log(string,uint,string,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 13076, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31953:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13077, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31957:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31953:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13083, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31953:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13075, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "31937:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13084, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31937:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13085, - "nodeType": "ExpressionStatement", - "src": "31937:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31852:3:14", - "parameters": { - "id": 13073, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13066, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31870:2:14", - "nodeType": "VariableDeclaration", - "scope": 13087, - "src": "31856:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13065, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31856:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13068, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31879:2:14", - "nodeType": "VariableDeclaration", - "scope": 13087, - "src": "31874:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13067, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "31874:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13070, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31897:2:14", - "nodeType": "VariableDeclaration", - "scope": 13087, - "src": "31883:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13069, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31883:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13072, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31909:2:14", - "nodeType": "VariableDeclaration", - "scope": 13087, - "src": "31901:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13071, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31901:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "31855:57:14" - }, - "returnParameters": { - "id": 13074, - "nodeType": "ParameterList", - "parameters": [], - "src": "31927:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13110, - "nodeType": "FunctionDefinition", - "src": "32041:175:14", - "nodes": [], - "body": { - "id": 13109, - "nodeType": "Block", - "src": "32113:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c626f6f6c2c75696e7429", - "id": 13101, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32163:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_550e6ef516f1b3b5be9432b068022af744a919b7f9554b6605ddb59dad27875f", - "typeString": "literal_string \"log(string,uint,bool,uint)\"" - }, - "value": "log(string,uint,bool,uint)" - }, - { - "id": 13102, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13089, - "src": "32193:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13103, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13091, - "src": "32197:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13104, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13093, - "src": "32201:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13105, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13095, - "src": "32205:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_550e6ef516f1b3b5be9432b068022af744a919b7f9554b6605ddb59dad27875f", - "typeString": "literal_string \"log(string,uint,bool,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 13099, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32139:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13100, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32143:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32139:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13106, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32139:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13098, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "32123:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32123:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13108, - "nodeType": "ExpressionStatement", - "src": "32123:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32050:3:14", - "parameters": { - "id": 13096, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13089, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32068:2:14", - "nodeType": "VariableDeclaration", - "scope": 13110, - "src": "32054:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13088, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32054:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13091, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32077:2:14", - "nodeType": "VariableDeclaration", - "scope": 13110, - "src": "32072:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13090, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "32072:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13093, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32086:2:14", - "nodeType": "VariableDeclaration", - "scope": 13110, - "src": "32081:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13092, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "32081:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13095, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32095:2:14", - "nodeType": "VariableDeclaration", - "scope": 13110, - "src": "32090:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13094, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "32090:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "32053:45:14" - }, - "returnParameters": { - "id": 13097, - "nodeType": "ParameterList", - "parameters": [], - "src": "32113:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13133, - "nodeType": "FunctionDefinition", - "src": "32222:186:14", - "nodes": [], - "body": { - "id": 13132, - "nodeType": "Block", - "src": "32303:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c626f6f6c2c737472696e6729", - "id": 13124, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32353:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_76cc6064a225b36730abdd64aa9dcb74a19c97e79a6eaa7e7a7381b59d8b3f68", - "typeString": "literal_string \"log(string,uint,bool,string)\"" - }, - "value": "log(string,uint,bool,string)" - }, - { - "id": 13125, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13112, - "src": "32385:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13126, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13114, - "src": "32389:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13127, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13116, - "src": "32393:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13128, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13118, - "src": "32397:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_76cc6064a225b36730abdd64aa9dcb74a19c97e79a6eaa7e7a7381b59d8b3f68", - "typeString": "literal_string \"log(string,uint,bool,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 13122, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32329:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13123, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32333:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32329:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13129, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32329:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13121, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "32313:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32313:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13131, - "nodeType": "ExpressionStatement", - "src": "32313:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32231:3:14", - "parameters": { - "id": 13119, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13112, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32249:2:14", - "nodeType": "VariableDeclaration", - "scope": 13133, - "src": "32235:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13111, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32235:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13114, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32258:2:14", - "nodeType": "VariableDeclaration", - "scope": 13133, - "src": "32253:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13113, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "32253:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13116, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32267:2:14", - "nodeType": "VariableDeclaration", - "scope": 13133, - "src": "32262:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13115, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "32262:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13118, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32285:2:14", - "nodeType": "VariableDeclaration", - "scope": 13133, - "src": "32271:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13117, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32271:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "32234:54:14" - }, - "returnParameters": { - "id": 13120, - "nodeType": "ParameterList", - "parameters": [], - "src": "32303:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13156, - "nodeType": "FunctionDefinition", - "src": "32414:175:14", - "nodes": [], - "body": { - "id": 13155, - "nodeType": "Block", - "src": "32486:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c626f6f6c2c626f6f6c29", - "id": 13147, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32536:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e37ff3d07873d5117abd74fe9be70fdadf355b74510a6f7507b0edd4a0032d7f", - "typeString": "literal_string \"log(string,uint,bool,bool)\"" - }, - "value": "log(string,uint,bool,bool)" - }, - { - "id": 13148, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13135, - "src": "32566:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13149, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13137, - "src": "32570:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13150, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13139, - "src": "32574:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13151, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13141, - "src": "32578:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e37ff3d07873d5117abd74fe9be70fdadf355b74510a6f7507b0edd4a0032d7f", - "typeString": "literal_string \"log(string,uint,bool,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 13145, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32512:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13146, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32516:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32512:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13152, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32512:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13144, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "32496:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13153, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32496:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13154, - "nodeType": "ExpressionStatement", - "src": "32496:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32423:3:14", - "parameters": { - "id": 13142, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13135, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32441:2:14", - "nodeType": "VariableDeclaration", - "scope": 13156, - "src": "32427:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13134, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32427:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13137, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32450:2:14", - "nodeType": "VariableDeclaration", - "scope": 13156, - "src": "32445:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13136, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "32445:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13139, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32459:2:14", - "nodeType": "VariableDeclaration", - "scope": 13156, - "src": "32454:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13138, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "32454:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13141, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32468:2:14", - "nodeType": "VariableDeclaration", - "scope": 13156, - "src": "32463:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13140, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "32463:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "32426:45:14" - }, - "returnParameters": { - "id": 13143, - "nodeType": "ParameterList", - "parameters": [], - "src": "32486:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13179, - "nodeType": "FunctionDefinition", - "src": "32595:181:14", - "nodes": [], - "body": { - "id": 13178, - "nodeType": "Block", - "src": "32670:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c626f6f6c2c6164647265737329", - "id": 13170, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32720:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e5549d91ec2998207f70463fe94a71d0edc39b13b219ff8feb87dd990a616539", - "typeString": "literal_string \"log(string,uint,bool,address)\"" - }, - "value": "log(string,uint,bool,address)" - }, - { - "id": 13171, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13158, - "src": "32753:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13172, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13160, - "src": "32757:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13173, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13162, - "src": "32761:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13174, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13164, - "src": "32765:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e5549d91ec2998207f70463fe94a71d0edc39b13b219ff8feb87dd990a616539", - "typeString": "literal_string \"log(string,uint,bool,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 13168, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32696:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32700:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32696:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13175, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32696:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13167, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "32680:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32680:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13177, - "nodeType": "ExpressionStatement", - "src": "32680:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32604:3:14", - "parameters": { - "id": 13165, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13158, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32622:2:14", - "nodeType": "VariableDeclaration", - "scope": 13179, - "src": "32608:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13157, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32608:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13160, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32631:2:14", - "nodeType": "VariableDeclaration", - "scope": 13179, - "src": "32626:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13159, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "32626:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13162, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32640:2:14", - "nodeType": "VariableDeclaration", - "scope": 13179, - "src": "32635:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13161, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "32635:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13164, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32652:2:14", - "nodeType": "VariableDeclaration", - "scope": 13179, - "src": "32644:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13163, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "32644:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "32607:48:14" - }, - "returnParameters": { - "id": 13166, - "nodeType": "ParameterList", - "parameters": [], - "src": "32670:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13202, - "nodeType": "FunctionDefinition", - "src": "32782:181:14", - "nodes": [], - "body": { - "id": 13201, - "nodeType": "Block", - "src": "32857:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c616464726573732c75696e7429", - "id": 13193, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32907:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_58497afe9e509136f5cf2fb1db9876437d9cbd769be5985b518ff094427e4f75", - "typeString": "literal_string \"log(string,uint,address,uint)\"" - }, - "value": "log(string,uint,address,uint)" - }, - { - "id": 13194, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13181, - "src": "32940:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13195, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13183, - "src": "32944:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13196, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13185, - "src": "32948:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13197, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13187, - "src": "32952:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_58497afe9e509136f5cf2fb1db9876437d9cbd769be5985b518ff094427e4f75", - "typeString": "literal_string \"log(string,uint,address,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 13191, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32883:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13192, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32887:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32883:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32883:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13190, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "32867:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13199, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32867:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13200, - "nodeType": "ExpressionStatement", - "src": "32867:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32791:3:14", - "parameters": { - "id": 13188, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13181, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32809:2:14", - "nodeType": "VariableDeclaration", - "scope": 13202, - "src": "32795:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13180, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32795:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13183, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32818:2:14", - "nodeType": "VariableDeclaration", - "scope": 13202, - "src": "32813:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13182, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "32813:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13185, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32830:2:14", - "nodeType": "VariableDeclaration", - "scope": 13202, - "src": "32822:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13184, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "32822:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13187, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32839:2:14", - "nodeType": "VariableDeclaration", - "scope": 13202, - "src": "32834:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13186, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "32834:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "32794:48:14" - }, - "returnParameters": { - "id": 13189, - "nodeType": "ParameterList", - "parameters": [], - "src": "32857:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13225, - "nodeType": "FunctionDefinition", - "src": "32969:192:14", - "nodes": [], - "body": { - "id": 13224, - "nodeType": "Block", - "src": "33053:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c616464726573732c737472696e6729", - "id": 13216, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33103:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3254c2e85e824e7dd0b3e2e602f95218ed23a331406e197386693086d91053c0", - "typeString": "literal_string \"log(string,uint,address,string)\"" - }, - "value": "log(string,uint,address,string)" - }, - { - "id": 13217, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13204, - "src": "33138:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13218, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13206, - "src": "33142:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13219, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13208, - "src": "33146:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13220, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13210, - "src": "33150:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3254c2e85e824e7dd0b3e2e602f95218ed23a331406e197386693086d91053c0", - "typeString": "literal_string \"log(string,uint,address,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 13214, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33079:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13215, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33083:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33079:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13221, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33079:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13213, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "33063:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33063:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13223, - "nodeType": "ExpressionStatement", - "src": "33063:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32978:3:14", - "parameters": { - "id": 13211, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13204, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32996:2:14", - "nodeType": "VariableDeclaration", - "scope": 13225, - "src": "32982:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13203, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32982:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13206, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33005:2:14", - "nodeType": "VariableDeclaration", - "scope": 13225, - "src": "33000:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13205, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "33000:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13208, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33017:2:14", - "nodeType": "VariableDeclaration", - "scope": 13225, - "src": "33009:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13207, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33009:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13210, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33035:2:14", - "nodeType": "VariableDeclaration", - "scope": 13225, - "src": "33021:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13209, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33021:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "32981:57:14" - }, - "returnParameters": { - "id": 13212, - "nodeType": "ParameterList", - "parameters": [], - "src": "33053:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13248, - "nodeType": "FunctionDefinition", - "src": "33167:181:14", - "nodes": [], - "body": { - "id": 13247, - "nodeType": "Block", - "src": "33242:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c616464726573732c626f6f6c29", - "id": 13239, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33292:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1106a8f7a9fdb0743cc8f33bcf28da92f358b488bfc5eb2426dcc116571bae10", - "typeString": "literal_string \"log(string,uint,address,bool)\"" - }, - "value": "log(string,uint,address,bool)" - }, - { - "id": 13240, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13227, - "src": "33325:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13241, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13229, - "src": "33329:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13242, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13231, - "src": "33333:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13243, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13233, - "src": "33337:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1106a8f7a9fdb0743cc8f33bcf28da92f358b488bfc5eb2426dcc116571bae10", - "typeString": "literal_string \"log(string,uint,address,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 13237, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33268:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13238, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33272:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33268:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33268:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13236, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "33252:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13245, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33252:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13246, - "nodeType": "ExpressionStatement", - "src": "33252:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33176:3:14", - "parameters": { - "id": 13234, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13227, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33194:2:14", - "nodeType": "VariableDeclaration", - "scope": 13248, - "src": "33180:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13226, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33180:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13229, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33203:2:14", - "nodeType": "VariableDeclaration", - "scope": 13248, - "src": "33198:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13228, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "33198:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13231, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33215:2:14", - "nodeType": "VariableDeclaration", - "scope": 13248, - "src": "33207:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13230, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33207:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13233, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33224:2:14", - "nodeType": "VariableDeclaration", - "scope": 13248, - "src": "33219:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13232, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "33219:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "33179:48:14" - }, - "returnParameters": { - "id": 13235, - "nodeType": "ParameterList", - "parameters": [], - "src": "33242:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13271, - "nodeType": "FunctionDefinition", - "src": "33354:187:14", - "nodes": [], - "body": { - "id": 13270, - "nodeType": "Block", - "src": "33432:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c616464726573732c6164647265737329", - "id": 13262, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33482:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eac892812ad5b43e056a005de5f4269f3430ecb19d3374f0e27d055022fbb381", - "typeString": "literal_string \"log(string,uint,address,address)\"" - }, - "value": "log(string,uint,address,address)" - }, - { - "id": 13263, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13250, - "src": "33518:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13264, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13252, - "src": "33522:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13265, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13254, - "src": "33526:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13266, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13256, - "src": "33530:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_eac892812ad5b43e056a005de5f4269f3430ecb19d3374f0e27d055022fbb381", - "typeString": "literal_string \"log(string,uint,address,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 13260, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33458:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13261, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33462:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33458:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33458:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13259, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "33442:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13268, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33442:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13269, - "nodeType": "ExpressionStatement", - "src": "33442:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33363:3:14", - "parameters": { - "id": 13257, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13250, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33381:2:14", - "nodeType": "VariableDeclaration", - "scope": 13271, - "src": "33367:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13249, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33367:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13252, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33390:2:14", - "nodeType": "VariableDeclaration", - "scope": 13271, - "src": "33385:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13251, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "33385:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13254, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33402:2:14", - "nodeType": "VariableDeclaration", - "scope": 13271, - "src": "33394:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13253, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33394:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13256, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33414:2:14", - "nodeType": "VariableDeclaration", - "scope": 13271, - "src": "33406:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13255, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33406:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "33366:51:14" - }, - "returnParameters": { - "id": 13258, - "nodeType": "ParameterList", - "parameters": [], - "src": "33432:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13294, - "nodeType": "FunctionDefinition", - "src": "33547:186:14", - "nodes": [], - "body": { - "id": 13293, - "nodeType": "Block", - "src": "33628:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e742c75696e7429", - "id": 13285, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33678:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d5cf17d093c9068e0703e037cea1f6c3048599508dc7985106a94aa34c08c926", - "typeString": "literal_string \"log(string,string,uint,uint)\"" - }, - "value": "log(string,string,uint,uint)" - }, - { - "id": 13286, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13273, - "src": "33710:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13287, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13275, - "src": "33714:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13288, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13277, - "src": "33718:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13289, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13279, - "src": "33722:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d5cf17d093c9068e0703e037cea1f6c3048599508dc7985106a94aa34c08c926", - "typeString": "literal_string \"log(string,string,uint,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 13283, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33654:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13284, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33658:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33654:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33654:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13282, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "33638:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33638:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13292, - "nodeType": "ExpressionStatement", - "src": "33638:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33556:3:14", - "parameters": { - "id": 13280, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13273, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33574:2:14", - "nodeType": "VariableDeclaration", - "scope": 13294, - "src": "33560:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13272, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33560:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13275, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33592:2:14", - "nodeType": "VariableDeclaration", - "scope": 13294, - "src": "33578:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13274, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33578:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13277, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33601:2:14", - "nodeType": "VariableDeclaration", - "scope": 13294, - "src": "33596:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13276, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "33596:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13279, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33610:2:14", - "nodeType": "VariableDeclaration", - "scope": 13294, - "src": "33605:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13278, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "33605:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "33559:54:14" - }, - "returnParameters": { - "id": 13281, - "nodeType": "ParameterList", - "parameters": [], - "src": "33628:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13317, - "nodeType": "FunctionDefinition", - "src": "33739:197:14", - "nodes": [], - "body": { - "id": 13316, - "nodeType": "Block", - "src": "33829:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e742c737472696e6729", - "id": 13308, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33879:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8d142cdddf40ab944834474e14a37534e67dcf2f6ffd68fd3d894f907fb76a0a", - "typeString": "literal_string \"log(string,string,uint,string)\"" - }, - "value": "log(string,string,uint,string)" - }, - { - "id": 13309, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13296, - "src": "33913:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13310, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13298, - "src": "33917:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13311, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13300, - "src": "33921:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13312, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13302, - "src": "33925:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8d142cdddf40ab944834474e14a37534e67dcf2f6ffd68fd3d894f907fb76a0a", - "typeString": "literal_string \"log(string,string,uint,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 13306, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33855:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13307, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33859:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33855:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33855:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13305, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "33839:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13314, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33839:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13315, - "nodeType": "ExpressionStatement", - "src": "33839:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33748:3:14", - "parameters": { - "id": 13303, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13296, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33766:2:14", - "nodeType": "VariableDeclaration", - "scope": 13317, - "src": "33752:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13295, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33752:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13298, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33784:2:14", - "nodeType": "VariableDeclaration", - "scope": 13317, - "src": "33770:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13297, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33770:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13300, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33793:2:14", - "nodeType": "VariableDeclaration", - "scope": 13317, - "src": "33788:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13299, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "33788:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13302, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33811:2:14", - "nodeType": "VariableDeclaration", - "scope": 13317, - "src": "33797:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13301, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33797:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "33751:63:14" - }, - "returnParameters": { - "id": 13304, - "nodeType": "ParameterList", - "parameters": [], - "src": "33829:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13340, - "nodeType": "FunctionDefinition", - "src": "33942:186:14", - "nodes": [], - "body": { - "id": 13339, - "nodeType": "Block", - "src": "34023:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e742c626f6f6c29", - "id": 13331, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34073:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e65658ca6578795ac405c3487ab68ec21d76f9a79d734a9ab869db5d96b4556b", - "typeString": "literal_string \"log(string,string,uint,bool)\"" - }, - "value": "log(string,string,uint,bool)" - }, - { - "id": 13332, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13319, - "src": "34105:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13333, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13321, - "src": "34109:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13334, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13323, - "src": "34113:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13335, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13325, - "src": "34117:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e65658ca6578795ac405c3487ab68ec21d76f9a79d734a9ab869db5d96b4556b", - "typeString": "literal_string \"log(string,string,uint,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 13329, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34049:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13330, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34053:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34049:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34049:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13328, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "34033:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34033:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13338, - "nodeType": "ExpressionStatement", - "src": "34033:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33951:3:14", - "parameters": { - "id": 13326, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13319, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33969:2:14", - "nodeType": "VariableDeclaration", - "scope": 13340, - "src": "33955:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13318, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33955:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13321, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33987:2:14", - "nodeType": "VariableDeclaration", - "scope": 13340, - "src": "33973:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13320, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33973:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13323, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33996:2:14", - "nodeType": "VariableDeclaration", - "scope": 13340, - "src": "33991:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13322, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "33991:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13325, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34005:2:14", - "nodeType": "VariableDeclaration", - "scope": 13340, - "src": "34000:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13324, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "34000:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "33954:54:14" - }, - "returnParameters": { - "id": 13327, - "nodeType": "ParameterList", - "parameters": [], - "src": "34023:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13363, - "nodeType": "FunctionDefinition", - "src": "34134:192:14", - "nodes": [], - "body": { - "id": 13362, - "nodeType": "Block", - "src": "34218:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e742c6164647265737329", - "id": 13354, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34268:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d4f46805293f3e84ba6dbfe353f76b3d1f1cfb2ff1e8024fb2adb45e2b7a128", - "typeString": "literal_string \"log(string,string,uint,address)\"" - }, - "value": "log(string,string,uint,address)" - }, - { - "id": 13355, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13342, - "src": "34303:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13356, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13344, - "src": "34307:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13357, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13346, - "src": "34311:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13358, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13348, - "src": "34315:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5d4f46805293f3e84ba6dbfe353f76b3d1f1cfb2ff1e8024fb2adb45e2b7a128", - "typeString": "literal_string \"log(string,string,uint,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 13352, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34244:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13353, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34248:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34244:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13359, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34244:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13351, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "34228:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34228:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13361, - "nodeType": "ExpressionStatement", - "src": "34228:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34143:3:14", - "parameters": { - "id": 13349, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13342, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34161:2:14", - "nodeType": "VariableDeclaration", - "scope": 13363, - "src": "34147:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13341, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34147:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13344, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34179:2:14", - "nodeType": "VariableDeclaration", - "scope": 13363, - "src": "34165:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13343, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34165:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13346, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34188:2:14", - "nodeType": "VariableDeclaration", - "scope": 13363, - "src": "34183:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13345, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "34183:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13348, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34200:2:14", - "nodeType": "VariableDeclaration", - "scope": 13363, - "src": "34192:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13347, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34192:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "34146:57:14" - }, - "returnParameters": { - "id": 13350, - "nodeType": "ParameterList", - "parameters": [], - "src": "34218:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13386, - "nodeType": "FunctionDefinition", - "src": "34332:197:14", - "nodes": [], - "body": { - "id": 13385, - "nodeType": "Block", - "src": "34422:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c75696e7429", - "id": 13377, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34472:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9fd009f5f31a16d665d9be327a4a2b17dc428108ae31e46ab875e747b5ee155f", - "typeString": "literal_string \"log(string,string,string,uint)\"" - }, - "value": "log(string,string,string,uint)" - }, - { - "id": 13378, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13365, - "src": "34506:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13379, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13367, - "src": "34510:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13380, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13369, - "src": "34514:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13381, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13371, - "src": "34518:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9fd009f5f31a16d665d9be327a4a2b17dc428108ae31e46ab875e747b5ee155f", - "typeString": "literal_string \"log(string,string,string,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 13375, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34448:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13376, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34452:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34448:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34448:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13374, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "34432:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13383, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34432:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13384, - "nodeType": "ExpressionStatement", - "src": "34432:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34341:3:14", - "parameters": { - "id": 13372, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13365, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34359:2:14", - "nodeType": "VariableDeclaration", - "scope": 13386, - "src": "34345:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13364, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34345:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13367, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34377:2:14", - "nodeType": "VariableDeclaration", - "scope": 13386, - "src": "34363:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13366, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34363:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13369, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34395:2:14", - "nodeType": "VariableDeclaration", - "scope": 13386, - "src": "34381:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13368, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34381:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13371, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34404:2:14", - "nodeType": "VariableDeclaration", - "scope": 13386, - "src": "34399:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13370, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "34399:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "34344:63:14" - }, - "returnParameters": { - "id": 13373, - "nodeType": "ParameterList", - "parameters": [], - "src": "34422:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13409, - "nodeType": "FunctionDefinition", - "src": "34535:208:14", - "nodes": [], - "body": { - "id": 13408, - "nodeType": "Block", - "src": "34634:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c737472696e6729", - "id": 13400, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34684:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_de68f20a8e88f68d54c5aa294860ee37b58680632686e2f1101e4e042a2cbcbe", - "typeString": "literal_string \"log(string,string,string,string)\"" - }, - "value": "log(string,string,string,string)" - }, - { - "id": 13401, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13388, - "src": "34720:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13402, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13390, - "src": "34724:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13403, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13392, - "src": "34728:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13404, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13394, - "src": "34732:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_de68f20a8e88f68d54c5aa294860ee37b58680632686e2f1101e4e042a2cbcbe", - "typeString": "literal_string \"log(string,string,string,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 13398, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34660:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13399, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34664:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34660:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13405, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34660:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13397, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "34644:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13406, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34644:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13407, - "nodeType": "ExpressionStatement", - "src": "34644:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34544:3:14", - "parameters": { - "id": 13395, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13388, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34562:2:14", - "nodeType": "VariableDeclaration", - "scope": 13409, - "src": "34548:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13387, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34548:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13390, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34580:2:14", - "nodeType": "VariableDeclaration", - "scope": 13409, - "src": "34566:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13389, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34566:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13392, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34598:2:14", - "nodeType": "VariableDeclaration", - "scope": 13409, - "src": "34584:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13391, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34584:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13394, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34616:2:14", - "nodeType": "VariableDeclaration", - "scope": 13409, - "src": "34602:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13393, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34602:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "34547:72:14" - }, - "returnParameters": { - "id": 13396, - "nodeType": "ParameterList", - "parameters": [], - "src": "34634:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13432, - "nodeType": "FunctionDefinition", - "src": "34749:197:14", - "nodes": [], - "body": { - "id": 13431, - "nodeType": "Block", - "src": "34839:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c626f6f6c29", - "id": 13423, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34889:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c1754ed9d3bc50669c3e71e3115dc4403f3cff35aa9b6b58799f80b5496f332", - "typeString": "literal_string \"log(string,string,string,bool)\"" - }, - "value": "log(string,string,string,bool)" - }, - { - "id": 13424, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13411, - "src": "34923:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13425, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13413, - "src": "34927:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13426, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13415, - "src": "34931:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13427, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13417, - "src": "34935:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2c1754ed9d3bc50669c3e71e3115dc4403f3cff35aa9b6b58799f80b5496f332", - "typeString": "literal_string \"log(string,string,string,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 13421, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34865:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13422, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34869:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34865:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34865:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13420, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "34849:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13429, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34849:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13430, - "nodeType": "ExpressionStatement", - "src": "34849:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34758:3:14", - "parameters": { - "id": 13418, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13411, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34776:2:14", - "nodeType": "VariableDeclaration", - "scope": 13432, - "src": "34762:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13410, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34762:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13413, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34794:2:14", - "nodeType": "VariableDeclaration", - "scope": 13432, - "src": "34780:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13412, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34780:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13415, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34812:2:14", - "nodeType": "VariableDeclaration", - "scope": 13432, - "src": "34798:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13414, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34798:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13417, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34821:2:14", - "nodeType": "VariableDeclaration", - "scope": 13432, - "src": "34816:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13416, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "34816:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "34761:63:14" - }, - "returnParameters": { - "id": 13419, - "nodeType": "ParameterList", - "parameters": [], - "src": "34839:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13455, - "nodeType": "FunctionDefinition", - "src": "34952:203:14", - "nodes": [], - "body": { - "id": 13454, - "nodeType": "Block", - "src": "35045:110:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c6164647265737329", - "id": 13446, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35095:35:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d572f449cf1e446ea3ace51a34ce30628f4f1588a39dc5d550cefb210c5bb16", - "typeString": "literal_string \"log(string,string,string,address)\"" - }, - "value": "log(string,string,string,address)" - }, - { - "id": 13447, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13434, - "src": "35132:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13448, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13436, - "src": "35136:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13449, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13438, - "src": "35140:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13450, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13440, - "src": "35144:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6d572f449cf1e446ea3ace51a34ce30628f4f1588a39dc5d550cefb210c5bb16", - "typeString": "literal_string \"log(string,string,string,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 13444, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35071:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13445, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35075:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35071:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35071:76:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13443, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "35055:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13452, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35055:93:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13453, - "nodeType": "ExpressionStatement", - "src": "35055:93:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34961:3:14", - "parameters": { - "id": 13441, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13434, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34979:2:14", - "nodeType": "VariableDeclaration", - "scope": 13455, - "src": "34965:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13433, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34965:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13436, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34997:2:14", - "nodeType": "VariableDeclaration", - "scope": 13455, - "src": "34983:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13435, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34983:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13438, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35015:2:14", - "nodeType": "VariableDeclaration", - "scope": 13455, - "src": "35001:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13437, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35001:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13440, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35027:2:14", - "nodeType": "VariableDeclaration", - "scope": 13455, - "src": "35019:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13439, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35019:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "34964:66:14" - }, - "returnParameters": { - "id": 13442, - "nodeType": "ParameterList", - "parameters": [], - "src": "35045:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13478, - "nodeType": "FunctionDefinition", - "src": "35161:186:14", - "nodes": [], - "body": { - "id": 13477, - "nodeType": "Block", - "src": "35242:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c75696e7429", - "id": 13469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35292:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_86818a7aa9bc994aa800ce554e865f0047fd8aaa8799a458e8fea2db0986c5c1", - "typeString": "literal_string \"log(string,string,bool,uint)\"" - }, - "value": "log(string,string,bool,uint)" - }, - { - "id": 13470, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13457, - "src": "35324:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13471, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13459, - "src": "35328:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13472, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13461, - "src": "35332:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13473, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13463, - "src": "35336:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_86818a7aa9bc994aa800ce554e865f0047fd8aaa8799a458e8fea2db0986c5c1", - "typeString": "literal_string \"log(string,string,bool,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 13467, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35268:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35272:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35268:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35268:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13466, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "35252:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35252:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13476, - "nodeType": "ExpressionStatement", - "src": "35252:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35170:3:14", - "parameters": { - "id": 13464, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13457, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35188:2:14", - "nodeType": "VariableDeclaration", - "scope": 13478, - "src": "35174:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13456, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35174:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13459, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35206:2:14", - "nodeType": "VariableDeclaration", - "scope": 13478, - "src": "35192:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13458, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35192:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13461, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35215:2:14", - "nodeType": "VariableDeclaration", - "scope": 13478, - "src": "35210:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13460, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35210:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13463, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35224:2:14", - "nodeType": "VariableDeclaration", - "scope": 13478, - "src": "35219:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13462, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "35219:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "35173:54:14" - }, - "returnParameters": { - "id": 13465, - "nodeType": "ParameterList", - "parameters": [], - "src": "35242:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13501, - "nodeType": "FunctionDefinition", - "src": "35353:197:14", - "nodes": [], - "body": { - "id": 13500, - "nodeType": "Block", - "src": "35443:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c737472696e6729", - "id": 13492, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35493:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5e84b0ea51a130c3c7e1443097f28cb5c541ea8487836ae7cb1ca9c6e683699b", - "typeString": "literal_string \"log(string,string,bool,string)\"" - }, - "value": "log(string,string,bool,string)" - }, - { - "id": 13493, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13480, - "src": "35527:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13494, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13482, - "src": "35531:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13495, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13484, - "src": "35535:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13496, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13486, - "src": "35539:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5e84b0ea51a130c3c7e1443097f28cb5c541ea8487836ae7cb1ca9c6e683699b", - "typeString": "literal_string \"log(string,string,bool,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 13490, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35469:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13491, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35473:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35469:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13497, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35469:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13489, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "35453:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35453:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13499, - "nodeType": "ExpressionStatement", - "src": "35453:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35362:3:14", - "parameters": { - "id": 13487, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13480, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35380:2:14", - "nodeType": "VariableDeclaration", - "scope": 13501, - "src": "35366:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13479, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35366:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13482, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35398:2:14", - "nodeType": "VariableDeclaration", - "scope": 13501, - "src": "35384:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13481, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35384:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13484, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35407:2:14", - "nodeType": "VariableDeclaration", - "scope": 13501, - "src": "35402:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13483, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35402:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13486, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35425:2:14", - "nodeType": "VariableDeclaration", - "scope": 13501, - "src": "35411:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13485, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35411:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "35365:63:14" - }, - "returnParameters": { - "id": 13488, - "nodeType": "ParameterList", - "parameters": [], - "src": "35443:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13524, - "nodeType": "FunctionDefinition", - "src": "35556:186:14", - "nodes": [], - "body": { - "id": 13523, - "nodeType": "Block", - "src": "35637:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c626f6f6c29", - "id": 13515, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35687:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_40785869c0ea63ca2ccbcf7415552989c2f1ce04f151eb3b2bd695c64d21af10", - "typeString": "literal_string \"log(string,string,bool,bool)\"" - }, - "value": "log(string,string,bool,bool)" - }, - { - "id": 13516, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13503, - "src": "35719:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13517, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13505, - "src": "35723:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13518, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13507, - "src": "35727:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13519, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13509, - "src": "35731:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_40785869c0ea63ca2ccbcf7415552989c2f1ce04f151eb3b2bd695c64d21af10", - "typeString": "literal_string \"log(string,string,bool,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 13513, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35663:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13514, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35667:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35663:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35663:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13512, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "35647:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35647:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13522, - "nodeType": "ExpressionStatement", - "src": "35647:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35565:3:14", - "parameters": { - "id": 13510, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13503, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35583:2:14", - "nodeType": "VariableDeclaration", - "scope": 13524, - "src": "35569:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13502, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35569:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13505, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35601:2:14", - "nodeType": "VariableDeclaration", - "scope": 13524, - "src": "35587:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13504, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35587:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13507, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35610:2:14", - "nodeType": "VariableDeclaration", - "scope": 13524, - "src": "35605:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13506, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35605:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13509, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35619:2:14", - "nodeType": "VariableDeclaration", - "scope": 13524, - "src": "35614:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13508, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35614:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "35568:54:14" - }, - "returnParameters": { - "id": 13511, - "nodeType": "ParameterList", - "parameters": [], - "src": "35637:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13547, - "nodeType": "FunctionDefinition", - "src": "35748:192:14", - "nodes": [], - "body": { - "id": 13546, - "nodeType": "Block", - "src": "35832:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c6164647265737329", - "id": 13538, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35882:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c371c7db0a4b104babdbdf00d079eb75cb5aa1d401c4fb726c8e5559029df84d", - "typeString": "literal_string \"log(string,string,bool,address)\"" - }, - "value": "log(string,string,bool,address)" - }, - { - "id": 13539, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13526, - "src": "35917:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13540, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13528, - "src": "35921:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13541, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13530, - "src": "35925:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13542, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13532, - "src": "35929:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c371c7db0a4b104babdbdf00d079eb75cb5aa1d401c4fb726c8e5559029df84d", - "typeString": "literal_string \"log(string,string,bool,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 13536, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35858:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13537, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35862:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35858:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13543, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35858:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13535, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "35842:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13544, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35842:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13545, - "nodeType": "ExpressionStatement", - "src": "35842:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35757:3:14", - "parameters": { - "id": 13533, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13526, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35775:2:14", - "nodeType": "VariableDeclaration", - "scope": 13547, - "src": "35761:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13525, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35761:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13528, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35793:2:14", - "nodeType": "VariableDeclaration", - "scope": 13547, - "src": "35779:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13527, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35779:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13530, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35802:2:14", - "nodeType": "VariableDeclaration", - "scope": 13547, - "src": "35797:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13529, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35797:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13532, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35814:2:14", - "nodeType": "VariableDeclaration", - "scope": 13547, - "src": "35806:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13531, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35806:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "35760:57:14" - }, - "returnParameters": { - "id": 13534, - "nodeType": "ParameterList", - "parameters": [], - "src": "35832:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13570, - "nodeType": "FunctionDefinition", - "src": "35946:192:14", - "nodes": [], - "body": { - "id": 13569, - "nodeType": "Block", - "src": "36030:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c75696e7429", - "id": 13561, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36080:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4a81a56a33247069679e8b6a463a3b29deb4b1020ce6e03b978132074cad28c2", - "typeString": "literal_string \"log(string,string,address,uint)\"" - }, - "value": "log(string,string,address,uint)" - }, - { - "id": 13562, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13549, - "src": "36115:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13563, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13551, - "src": "36119:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13564, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13553, - "src": "36123:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13565, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13555, - "src": "36127:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4a81a56a33247069679e8b6a463a3b29deb4b1020ce6e03b978132074cad28c2", - "typeString": "literal_string \"log(string,string,address,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 13559, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36056:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13560, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36060:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36056:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13566, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36056:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13558, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "36040:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13567, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36040:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13568, - "nodeType": "ExpressionStatement", - "src": "36040:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35955:3:14", - "parameters": { - "id": 13556, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13549, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35973:2:14", - "nodeType": "VariableDeclaration", - "scope": 13570, - "src": "35959:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13548, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35959:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13551, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35991:2:14", - "nodeType": "VariableDeclaration", - "scope": 13570, - "src": "35977:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13550, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35977:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13553, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36003:2:14", - "nodeType": "VariableDeclaration", - "scope": 13570, - "src": "35995:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13552, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35995:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13555, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36012:2:14", - "nodeType": "VariableDeclaration", - "scope": 13570, - "src": "36007:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13554, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "36007:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "35958:57:14" - }, - "returnParameters": { - "id": 13557, - "nodeType": "ParameterList", - "parameters": [], - "src": "36030:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13593, - "nodeType": "FunctionDefinition", - "src": "36144:203:14", - "nodes": [], - "body": { - "id": 13592, - "nodeType": "Block", - "src": "36237:110:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c737472696e6729", - "id": 13584, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36287:35:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb1bff805ef136c60bfed230c7b932a14c6f7a62608edeaf56f8f2c0575d25b6", - "typeString": "literal_string \"log(string,string,address,string)\"" - }, - "value": "log(string,string,address,string)" - }, - { - "id": 13585, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13572, - "src": "36324:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13586, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13574, - "src": "36328:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13587, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13576, - "src": "36332:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13588, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13578, - "src": "36336:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_eb1bff805ef136c60bfed230c7b932a14c6f7a62608edeaf56f8f2c0575d25b6", - "typeString": "literal_string \"log(string,string,address,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 13582, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36263:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13583, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36267:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36263:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36263:76:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13581, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "36247:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13590, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36247:93:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13591, - "nodeType": "ExpressionStatement", - "src": "36247:93:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36153:3:14", - "parameters": { - "id": 13579, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13572, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36171:2:14", - "nodeType": "VariableDeclaration", - "scope": 13593, - "src": "36157:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13571, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36157:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13574, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36189:2:14", - "nodeType": "VariableDeclaration", - "scope": 13593, - "src": "36175:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13573, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36175:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13576, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36201:2:14", - "nodeType": "VariableDeclaration", - "scope": 13593, - "src": "36193:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13575, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "36193:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13578, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36219:2:14", - "nodeType": "VariableDeclaration", - "scope": 13593, - "src": "36205:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13577, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36205:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "36156:66:14" - }, - "returnParameters": { - "id": 13580, - "nodeType": "ParameterList", - "parameters": [], - "src": "36237:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13616, - "nodeType": "FunctionDefinition", - "src": "36353:192:14", - "nodes": [], - "body": { - "id": 13615, - "nodeType": "Block", - "src": "36437:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c626f6f6c29", - "id": 13607, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36487:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5ccd4e373eb6ae26626c8607ae861c55cda5fd321363edde7e6328e09072ba63", - "typeString": "literal_string \"log(string,string,address,bool)\"" - }, - "value": "log(string,string,address,bool)" - }, - { - "id": 13608, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13595, - "src": "36522:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13609, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13597, - "src": "36526:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13610, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13599, - "src": "36530:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13611, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13601, - "src": "36534:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5ccd4e373eb6ae26626c8607ae861c55cda5fd321363edde7e6328e09072ba63", - "typeString": "literal_string \"log(string,string,address,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 13605, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36463:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13606, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36467:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36463:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36463:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13604, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "36447:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36447:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13614, - "nodeType": "ExpressionStatement", - "src": "36447:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36362:3:14", - "parameters": { - "id": 13602, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13595, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36380:2:14", - "nodeType": "VariableDeclaration", - "scope": 13616, - "src": "36366:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13594, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36366:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13597, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36398:2:14", - "nodeType": "VariableDeclaration", - "scope": 13616, - "src": "36384:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13596, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36384:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13599, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36410:2:14", - "nodeType": "VariableDeclaration", - "scope": 13616, - "src": "36402:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13598, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "36402:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13601, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36419:2:14", - "nodeType": "VariableDeclaration", - "scope": 13616, - "src": "36414:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13600, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36414:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "36365:57:14" - }, - "returnParameters": { - "id": 13603, - "nodeType": "ParameterList", - "parameters": [], - "src": "36437:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13639, - "nodeType": "FunctionDefinition", - "src": "36551:198:14", - "nodes": [], - "body": { - "id": 13638, - "nodeType": "Block", - "src": "36638:111:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c6164647265737329", - "id": 13630, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36688:36:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_439c7befd1b6bfcb9bd001c1f3a991ef43c070f0ace0c190dd9f16d7ae338a5d", - "typeString": "literal_string \"log(string,string,address,address)\"" - }, - "value": "log(string,string,address,address)" - }, - { - "id": 13631, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13618, - "src": "36726:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13632, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13620, - "src": "36730:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13633, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13622, - "src": "36734:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13634, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13624, - "src": "36738:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_439c7befd1b6bfcb9bd001c1f3a991ef43c070f0ace0c190dd9f16d7ae338a5d", - "typeString": "literal_string \"log(string,string,address,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 13628, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36664:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36668:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36664:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13635, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36664:77:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13627, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "36648:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36648:94:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13637, - "nodeType": "ExpressionStatement", - "src": "36648:94:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36560:3:14", - "parameters": { - "id": 13625, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13618, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36578:2:14", - "nodeType": "VariableDeclaration", - "scope": 13639, - "src": "36564:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13617, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36564:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13620, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36596:2:14", - "nodeType": "VariableDeclaration", - "scope": 13639, - "src": "36582:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13619, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36582:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13622, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36608:2:14", - "nodeType": "VariableDeclaration", - "scope": 13639, - "src": "36600:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13621, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "36600:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13624, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36620:2:14", - "nodeType": "VariableDeclaration", - "scope": 13639, - "src": "36612:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13623, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "36612:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "36563:60:14" - }, - "returnParameters": { - "id": 13626, - "nodeType": "ParameterList", - "parameters": [], - "src": "36638:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13662, - "nodeType": "FunctionDefinition", - "src": "36755:175:14", - "nodes": [], - "body": { - "id": 13661, - "nodeType": "Block", - "src": "36827:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e742c75696e7429", - "id": 13653, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36877:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5dbff038873b5f716761e9dcaab0713a903ceaebb2ba8c30b199c4dc534f7701", - "typeString": "literal_string \"log(string,bool,uint,uint)\"" - }, - "value": "log(string,bool,uint,uint)" - }, - { - "id": 13654, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13641, - "src": "36907:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13655, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13643, - "src": "36911:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13656, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13645, - "src": "36915:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13657, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13647, - "src": "36919:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5dbff038873b5f716761e9dcaab0713a903ceaebb2ba8c30b199c4dc534f7701", - "typeString": "literal_string \"log(string,bool,uint,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 13651, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36853:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13652, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36857:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36853:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36853:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13650, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "36837:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36837:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13660, - "nodeType": "ExpressionStatement", - "src": "36837:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36764:3:14", - "parameters": { - "id": 13648, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13641, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36782:2:14", - "nodeType": "VariableDeclaration", - "scope": 13662, - "src": "36768:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13640, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36768:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13643, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36791:2:14", - "nodeType": "VariableDeclaration", - "scope": 13662, - "src": "36786:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13642, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36786:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13645, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36800:2:14", - "nodeType": "VariableDeclaration", - "scope": 13662, - "src": "36795:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13644, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "36795:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13647, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36809:2:14", - "nodeType": "VariableDeclaration", - "scope": 13662, - "src": "36804:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13646, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "36804:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "36767:45:14" - }, - "returnParameters": { - "id": 13649, - "nodeType": "ParameterList", - "parameters": [], - "src": "36827:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13685, - "nodeType": "FunctionDefinition", - "src": "36936:186:14", - "nodes": [], - "body": { - "id": 13684, - "nodeType": "Block", - "src": "37017:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e742c737472696e6729", - "id": 13676, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37067:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42b9a2274d0e9ab9211da679bc79f433c4055060036260a350e95cf10b9004ee", - "typeString": "literal_string \"log(string,bool,uint,string)\"" - }, - "value": "log(string,bool,uint,string)" - }, - { - "id": 13677, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13664, - "src": "37099:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13678, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13666, - "src": "37103:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13679, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13668, - "src": "37107:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13680, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13670, - "src": "37111:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42b9a2274d0e9ab9211da679bc79f433c4055060036260a350e95cf10b9004ee", - "typeString": "literal_string \"log(string,bool,uint,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 13674, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37043:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13675, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37047:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37043:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13681, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37043:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13673, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "37027:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37027:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13683, - "nodeType": "ExpressionStatement", - "src": "37027:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36945:3:14", - "parameters": { - "id": 13671, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13664, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36963:2:14", - "nodeType": "VariableDeclaration", - "scope": 13685, - "src": "36949:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13663, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36949:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13666, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36972:2:14", - "nodeType": "VariableDeclaration", - "scope": 13685, - "src": "36967:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13665, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36967:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13668, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36981:2:14", - "nodeType": "VariableDeclaration", - "scope": 13685, - "src": "36976:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13667, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "36976:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13670, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36999:2:14", - "nodeType": "VariableDeclaration", - "scope": 13685, - "src": "36985:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13669, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36985:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "36948:54:14" - }, - "returnParameters": { - "id": 13672, - "nodeType": "ParameterList", - "parameters": [], - "src": "37017:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13708, - "nodeType": "FunctionDefinition", - "src": "37128:175:14", - "nodes": [], - "body": { - "id": 13707, - "nodeType": "Block", - "src": "37200:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e742c626f6f6c29", - "id": 13699, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37250:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3cc5b5d38fa67d61ad4f760e2dab344ea54d36d39a7b72ff747c1e117e2289bb", - "typeString": "literal_string \"log(string,bool,uint,bool)\"" - }, - "value": "log(string,bool,uint,bool)" - }, - { - "id": 13700, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13687, - "src": "37280:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13701, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13689, - "src": "37284:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13702, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13691, - "src": "37288:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13703, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13693, - "src": "37292:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3cc5b5d38fa67d61ad4f760e2dab344ea54d36d39a7b72ff747c1e117e2289bb", - "typeString": "literal_string \"log(string,bool,uint,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 13697, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37226:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13698, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37230:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37226:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37226:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13696, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "37210:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37210:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13706, - "nodeType": "ExpressionStatement", - "src": "37210:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37137:3:14", - "parameters": { - "id": 13694, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13687, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37155:2:14", - "nodeType": "VariableDeclaration", - "scope": 13708, - "src": "37141:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13686, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37141:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13689, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37164:2:14", - "nodeType": "VariableDeclaration", - "scope": 13708, - "src": "37159:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13688, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37159:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13691, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37173:2:14", - "nodeType": "VariableDeclaration", - "scope": 13708, - "src": "37168:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13690, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "37168:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13693, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37182:2:14", - "nodeType": "VariableDeclaration", - "scope": 13708, - "src": "37177:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13692, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37177:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "37140:45:14" - }, - "returnParameters": { - "id": 13695, - "nodeType": "ParameterList", - "parameters": [], - "src": "37200:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13731, - "nodeType": "FunctionDefinition", - "src": "37309:181:14", - "nodes": [], - "body": { - "id": 13730, - "nodeType": "Block", - "src": "37384:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e742c6164647265737329", - "id": 13722, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37434:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_71d3850da171f493bcf1bd9faa0694f71484214d8459bca427251a9ad3e9bbd6", - "typeString": "literal_string \"log(string,bool,uint,address)\"" - }, - "value": "log(string,bool,uint,address)" - }, - { - "id": 13723, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13710, - "src": "37467:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13724, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13712, - "src": "37471:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13725, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13714, - "src": "37475:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13726, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13716, - "src": "37479:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_71d3850da171f493bcf1bd9faa0694f71484214d8459bca427251a9ad3e9bbd6", - "typeString": "literal_string \"log(string,bool,uint,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 13720, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37410:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13721, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37414:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37410:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13727, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37410:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13719, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "37394:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37394:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13729, - "nodeType": "ExpressionStatement", - "src": "37394:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37318:3:14", - "parameters": { - "id": 13717, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13710, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37336:2:14", - "nodeType": "VariableDeclaration", - "scope": 13731, - "src": "37322:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13709, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37322:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13712, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37345:2:14", - "nodeType": "VariableDeclaration", - "scope": 13731, - "src": "37340:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13711, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37340:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13714, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37354:2:14", - "nodeType": "VariableDeclaration", - "scope": 13731, - "src": "37349:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13713, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "37349:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13716, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37366:2:14", - "nodeType": "VariableDeclaration", - "scope": 13731, - "src": "37358:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13715, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "37358:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "37321:48:14" - }, - "returnParameters": { - "id": 13718, - "nodeType": "ParameterList", - "parameters": [], - "src": "37384:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13754, - "nodeType": "FunctionDefinition", - "src": "37496:186:14", - "nodes": [], - "body": { - "id": 13753, - "nodeType": "Block", - "src": "37577:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c75696e7429", - "id": 13745, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37627:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_34cb308d42fc37e3a239bcd0d717cf3713a336733737bee1d82ac9061e969d72", - "typeString": "literal_string \"log(string,bool,string,uint)\"" - }, - "value": "log(string,bool,string,uint)" - }, - { - "id": 13746, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13733, - "src": "37659:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13747, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13735, - "src": "37663:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13748, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13737, - "src": "37667:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13749, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13739, - "src": "37671:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_34cb308d42fc37e3a239bcd0d717cf3713a336733737bee1d82ac9061e969d72", - "typeString": "literal_string \"log(string,bool,string,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 13743, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37603:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37607:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37603:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37603:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13742, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "37587:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37587:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13752, - "nodeType": "ExpressionStatement", - "src": "37587:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37505:3:14", - "parameters": { - "id": 13740, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13733, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37523:2:14", - "nodeType": "VariableDeclaration", - "scope": 13754, - "src": "37509:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13732, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37509:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13735, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37532:2:14", - "nodeType": "VariableDeclaration", - "scope": 13754, - "src": "37527:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13734, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37527:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13737, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37550:2:14", - "nodeType": "VariableDeclaration", - "scope": 13754, - "src": "37536:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13736, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37536:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13739, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37559:2:14", - "nodeType": "VariableDeclaration", - "scope": 13754, - "src": "37554:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13738, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "37554:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37508:54:14" - }, - "returnParameters": { - "id": 13741, - "nodeType": "ParameterList", - "parameters": [], - "src": "37577:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13777, - "nodeType": "FunctionDefinition", - "src": "37688:197:14", - "nodes": [], - "body": { - "id": 13776, - "nodeType": "Block", - "src": "37778:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c737472696e6729", - "id": 13768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37828:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a826caebc65f4a71211c1c7fd8dc9bdd856d7ef7dbeef42d8af156e9f73bc47d", - "typeString": "literal_string \"log(string,bool,string,string)\"" - }, - "value": "log(string,bool,string,string)" - }, - { - "id": 13769, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13756, - "src": "37862:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13770, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13758, - "src": "37866:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13771, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13760, - "src": "37870:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13772, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13762, - "src": "37874:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a826caebc65f4a71211c1c7fd8dc9bdd856d7ef7dbeef42d8af156e9f73bc47d", - "typeString": "literal_string \"log(string,bool,string,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 13766, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37804:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13767, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37808:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37804:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37804:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13765, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "37788:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13774, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37788:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13775, - "nodeType": "ExpressionStatement", - "src": "37788:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37697:3:14", - "parameters": { - "id": 13763, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13756, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37715:2:14", - "nodeType": "VariableDeclaration", - "scope": 13777, - "src": "37701:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13755, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37701:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13758, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37724:2:14", - "nodeType": "VariableDeclaration", - "scope": 13777, - "src": "37719:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13757, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37719:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13760, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37742:2:14", - "nodeType": "VariableDeclaration", - "scope": 13777, - "src": "37728:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13759, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37728:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13762, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37760:2:14", - "nodeType": "VariableDeclaration", - "scope": 13777, - "src": "37746:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13761, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37746:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "37700:63:14" - }, - "returnParameters": { - "id": 13764, - "nodeType": "ParameterList", - "parameters": [], - "src": "37778:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13800, - "nodeType": "FunctionDefinition", - "src": "37891:186:14", - "nodes": [], - "body": { - "id": 13799, - "nodeType": "Block", - "src": "37972:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c626f6f6c29", - "id": 13791, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38022:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3f8a701d00386d6ad9c7b7a930805b985bcbbe108e894a7d5cb9493e87e57e8b", - "typeString": "literal_string \"log(string,bool,string,bool)\"" - }, - "value": "log(string,bool,string,bool)" - }, - { - "id": 13792, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13779, - "src": "38054:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13793, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13781, - "src": "38058:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13794, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13783, - "src": "38062:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13795, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13785, - "src": "38066:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3f8a701d00386d6ad9c7b7a930805b985bcbbe108e894a7d5cb9493e87e57e8b", - "typeString": "literal_string \"log(string,bool,string,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 13789, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37998:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13790, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38002:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37998:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13796, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37998:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13788, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "37982:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13797, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37982:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13798, - "nodeType": "ExpressionStatement", - "src": "37982:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37900:3:14", - "parameters": { - "id": 13786, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13779, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37918:2:14", - "nodeType": "VariableDeclaration", - "scope": 13800, - "src": "37904:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13778, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37904:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13781, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37927:2:14", - "nodeType": "VariableDeclaration", - "scope": 13800, - "src": "37922:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13780, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37922:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13783, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37945:2:14", - "nodeType": "VariableDeclaration", - "scope": 13800, - "src": "37931:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13782, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37931:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13785, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37954:2:14", - "nodeType": "VariableDeclaration", - "scope": 13800, - "src": "37949:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13784, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37949:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "37903:54:14" - }, - "returnParameters": { - "id": 13787, - "nodeType": "ParameterList", - "parameters": [], - "src": "37972:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13823, - "nodeType": "FunctionDefinition", - "src": "38083:192:14", - "nodes": [], - "body": { - "id": 13822, - "nodeType": "Block", - "src": "38167:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c6164647265737329", - "id": 13814, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38217:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e0625b292fa5cbc865b55f61713cbbe0ce7abb244ec2df45291ea19c30ddfaf8", - "typeString": "literal_string \"log(string,bool,string,address)\"" - }, - "value": "log(string,bool,string,address)" - }, - { - "id": 13815, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13802, - "src": "38252:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13816, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13804, - "src": "38256:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13817, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13806, - "src": "38260:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13818, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13808, - "src": "38264:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e0625b292fa5cbc865b55f61713cbbe0ce7abb244ec2df45291ea19c30ddfaf8", - "typeString": "literal_string \"log(string,bool,string,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 13812, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38193:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13813, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38197:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38193:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38193:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13811, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "38177:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38177:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13821, - "nodeType": "ExpressionStatement", - "src": "38177:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38092:3:14", - "parameters": { - "id": 13809, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13802, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38110:2:14", - "nodeType": "VariableDeclaration", - "scope": 13823, - "src": "38096:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13801, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38096:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13804, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38119:2:14", - "nodeType": "VariableDeclaration", - "scope": 13823, - "src": "38114:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13803, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38114:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13806, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38137:2:14", - "nodeType": "VariableDeclaration", - "scope": 13823, - "src": "38123:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13805, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38123:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13808, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38149:2:14", - "nodeType": "VariableDeclaration", - "scope": 13823, - "src": "38141:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13807, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "38141:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "38095:57:14" - }, - "returnParameters": { - "id": 13810, - "nodeType": "ParameterList", - "parameters": [], - "src": "38167:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13846, - "nodeType": "FunctionDefinition", - "src": "38281:175:14", - "nodes": [], - "body": { - "id": 13845, - "nodeType": "Block", - "src": "38353:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c75696e7429", - "id": 13837, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38403:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_807531e8eafdd7a15a803e586dd9a01b2aa8ae2cdd52f093775c0dcb0c977edf", - "typeString": "literal_string \"log(string,bool,bool,uint)\"" - }, - "value": "log(string,bool,bool,uint)" - }, - { - "id": 13838, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13825, - "src": "38433:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13839, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13827, - "src": "38437:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13840, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13829, - "src": "38441:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13841, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13831, - "src": "38445:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_807531e8eafdd7a15a803e586dd9a01b2aa8ae2cdd52f093775c0dcb0c977edf", - "typeString": "literal_string \"log(string,bool,bool,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 13835, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38379:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13836, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38383:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38379:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38379:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13834, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "38363:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38363:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13844, - "nodeType": "ExpressionStatement", - "src": "38363:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38290:3:14", - "parameters": { - "id": 13832, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13825, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38308:2:14", - "nodeType": "VariableDeclaration", - "scope": 13846, - "src": "38294:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13824, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38294:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13827, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38317:2:14", - "nodeType": "VariableDeclaration", - "scope": 13846, - "src": "38312:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13826, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38312:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13829, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38326:2:14", - "nodeType": "VariableDeclaration", - "scope": 13846, - "src": "38321:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13828, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38321:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13831, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38335:2:14", - "nodeType": "VariableDeclaration", - "scope": 13846, - "src": "38330:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13830, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "38330:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "38293:45:14" - }, - "returnParameters": { - "id": 13833, - "nodeType": "ParameterList", - "parameters": [], - "src": "38353:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13869, - "nodeType": "FunctionDefinition", - "src": "38462:186:14", - "nodes": [], - "body": { - "id": 13868, - "nodeType": "Block", - "src": "38543:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c737472696e6729", - "id": 13860, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38593:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9d22d5dd5fa6b44920526f32944af8a0b12651bcfe7d5e4d9330573146eaf058", - "typeString": "literal_string \"log(string,bool,bool,string)\"" - }, - "value": "log(string,bool,bool,string)" - }, - { - "id": 13861, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13848, - "src": "38625:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13862, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13850, - "src": "38629:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13863, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13852, - "src": "38633:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13864, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13854, - "src": "38637:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9d22d5dd5fa6b44920526f32944af8a0b12651bcfe7d5e4d9330573146eaf058", - "typeString": "literal_string \"log(string,bool,bool,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 13858, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38569:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13859, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38573:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38569:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38569:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13857, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "38553:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38553:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13867, - "nodeType": "ExpressionStatement", - "src": "38553:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38471:3:14", - "parameters": { - "id": 13855, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13848, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38489:2:14", - "nodeType": "VariableDeclaration", - "scope": 13869, - "src": "38475:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13847, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38475:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13850, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38498:2:14", - "nodeType": "VariableDeclaration", - "scope": 13869, - "src": "38493:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13849, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38493:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13852, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38507:2:14", - "nodeType": "VariableDeclaration", - "scope": 13869, - "src": "38502:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13851, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38502:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13854, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38525:2:14", - "nodeType": "VariableDeclaration", - "scope": 13869, - "src": "38511:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13853, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38511:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "38474:54:14" - }, - "returnParameters": { - "id": 13856, - "nodeType": "ParameterList", - "parameters": [], - "src": "38543:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13892, - "nodeType": "FunctionDefinition", - "src": "38654:175:14", - "nodes": [], - "body": { - "id": 13891, - "nodeType": "Block", - "src": "38726:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 13883, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38776:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_895af8c5b50078ceec3119054e20583155eeb3e1a8f56b8ed56efbec57456ad2", - "typeString": "literal_string \"log(string,bool,bool,bool)\"" - }, - "value": "log(string,bool,bool,bool)" - }, - { - "id": 13884, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13871, - "src": "38806:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13885, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13873, - "src": "38810:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13886, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13875, - "src": "38814:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13887, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13877, - "src": "38818:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_895af8c5b50078ceec3119054e20583155eeb3e1a8f56b8ed56efbec57456ad2", - "typeString": "literal_string \"log(string,bool,bool,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 13881, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38752:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13882, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38756:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38752:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13888, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38752:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13880, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "38736:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13889, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38736:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13890, - "nodeType": "ExpressionStatement", - "src": "38736:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38663:3:14", - "parameters": { - "id": 13878, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13871, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38681:2:14", - "nodeType": "VariableDeclaration", - "scope": 13892, - "src": "38667:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13870, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38667:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13873, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38690:2:14", - "nodeType": "VariableDeclaration", - "scope": 13892, - "src": "38685:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13872, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38685:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13875, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38699:2:14", - "nodeType": "VariableDeclaration", - "scope": 13892, - "src": "38694:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13874, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38694:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13877, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38708:2:14", - "nodeType": "VariableDeclaration", - "scope": 13892, - "src": "38703:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13876, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38703:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "38666:45:14" - }, - "returnParameters": { - "id": 13879, - "nodeType": "ParameterList", - "parameters": [], - "src": "38726:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13915, - "nodeType": "FunctionDefinition", - "src": "38835:181:14", - "nodes": [], - "body": { - "id": 13914, - "nodeType": "Block", - "src": "38910:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c6164647265737329", - "id": 13906, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38960:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7190a529624f3e9168945b9053b9648f6439313f31cad0801b50f9dc38a45d4d", - "typeString": "literal_string \"log(string,bool,bool,address)\"" - }, - "value": "log(string,bool,bool,address)" - }, - { - "id": 13907, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13894, - "src": "38993:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13908, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13896, - "src": "38997:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13909, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13898, - "src": "39001:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13910, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13900, - "src": "39005:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7190a529624f3e9168945b9053b9648f6439313f31cad0801b50f9dc38a45d4d", - "typeString": "literal_string \"log(string,bool,bool,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 13904, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38936:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13905, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38940:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38936:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13911, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38936:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13903, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "38920:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13912, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38920:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13913, - "nodeType": "ExpressionStatement", - "src": "38920:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38844:3:14", - "parameters": { - "id": 13901, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13894, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38862:2:14", - "nodeType": "VariableDeclaration", - "scope": 13915, - "src": "38848:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13893, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38848:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13896, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38871:2:14", - "nodeType": "VariableDeclaration", - "scope": 13915, - "src": "38866:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13895, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38866:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13898, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38880:2:14", - "nodeType": "VariableDeclaration", - "scope": 13915, - "src": "38875:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13897, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38875:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13900, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38892:2:14", - "nodeType": "VariableDeclaration", - "scope": 13915, - "src": "38884:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13899, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "38884:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "38847:48:14" - }, - "returnParameters": { - "id": 13902, - "nodeType": "ParameterList", - "parameters": [], - "src": "38910:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13938, - "nodeType": "FunctionDefinition", - "src": "39022:181:14", - "nodes": [], - "body": { - "id": 13937, - "nodeType": "Block", - "src": "39097:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c75696e7429", - "id": 13929, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39147:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_28df4e96d50017c69e64253ea877c992512b689fb9fed17cf6af78f104f1200b", - "typeString": "literal_string \"log(string,bool,address,uint)\"" - }, - "value": "log(string,bool,address,uint)" - }, - { - "id": 13930, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13917, - "src": "39180:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13931, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13919, - "src": "39184:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13932, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13921, - "src": "39188:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13933, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13923, - "src": "39192:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_28df4e96d50017c69e64253ea877c992512b689fb9fed17cf6af78f104f1200b", - "typeString": "literal_string \"log(string,bool,address,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 13927, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39123:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13928, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39127:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39123:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13934, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39123:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13926, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "39107:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13935, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39107:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13936, - "nodeType": "ExpressionStatement", - "src": "39107:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39031:3:14", - "parameters": { - "id": 13924, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13917, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39049:2:14", - "nodeType": "VariableDeclaration", - "scope": 13938, - "src": "39035:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13916, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39035:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13919, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39058:2:14", - "nodeType": "VariableDeclaration", - "scope": 13938, - "src": "39053:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13918, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39053:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13921, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39070:2:14", - "nodeType": "VariableDeclaration", - "scope": 13938, - "src": "39062:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13920, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39062:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13923, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39079:2:14", - "nodeType": "VariableDeclaration", - "scope": 13938, - "src": "39074:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13922, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "39074:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "39034:48:14" - }, - "returnParameters": { - "id": 13925, - "nodeType": "ParameterList", - "parameters": [], - "src": "39097:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13961, - "nodeType": "FunctionDefinition", - "src": "39209:192:14", - "nodes": [], - "body": { - "id": 13960, - "nodeType": "Block", - "src": "39293:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c737472696e6729", - "id": 13952, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39343:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2d8e33a4e52268aad313274a8446eec6f40466a28da2456a8f12d83b298c13ef", - "typeString": "literal_string \"log(string,bool,address,string)\"" - }, - "value": "log(string,bool,address,string)" - }, - { - "id": 13953, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13940, - "src": "39378:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13954, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13942, - "src": "39382:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13955, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13944, - "src": "39386:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13956, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13946, - "src": "39390:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2d8e33a4e52268aad313274a8446eec6f40466a28da2456a8f12d83b298c13ef", - "typeString": "literal_string \"log(string,bool,address,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 13950, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39319:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13951, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39323:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39319:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39319:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13949, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "39303:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13958, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39303:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13959, - "nodeType": "ExpressionStatement", - "src": "39303:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39218:3:14", - "parameters": { - "id": 13947, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13940, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39236:2:14", - "nodeType": "VariableDeclaration", - "scope": 13961, - "src": "39222:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13939, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39222:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13942, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39245:2:14", - "nodeType": "VariableDeclaration", - "scope": 13961, - "src": "39240:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13941, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39240:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13944, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39257:2:14", - "nodeType": "VariableDeclaration", - "scope": 13961, - "src": "39249:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13943, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39249:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13946, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39275:2:14", - "nodeType": "VariableDeclaration", - "scope": 13961, - "src": "39261:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13945, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39261:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "39221:57:14" - }, - "returnParameters": { - "id": 13948, - "nodeType": "ParameterList", - "parameters": [], - "src": "39293:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13984, - "nodeType": "FunctionDefinition", - "src": "39407:181:14", - "nodes": [], - "body": { - "id": 13983, - "nodeType": "Block", - "src": "39482:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c626f6f6c29", - "id": 13975, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39532:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_958c28c6e7bd79de7ce7f6f112cbcb194d9e383764dfb947492ee1374ff5c482", - "typeString": "literal_string \"log(string,bool,address,bool)\"" - }, - "value": "log(string,bool,address,bool)" - }, - { - "id": 13976, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13963, - "src": "39565:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13977, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13965, - "src": "39569:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13978, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13967, - "src": "39573:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13979, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13969, - "src": "39577:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_958c28c6e7bd79de7ce7f6f112cbcb194d9e383764dfb947492ee1374ff5c482", - "typeString": "literal_string \"log(string,bool,address,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 13973, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39508:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13974, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39512:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39508:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39508:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13972, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "39492:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13981, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39492:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13982, - "nodeType": "ExpressionStatement", - "src": "39492:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39416:3:14", - "parameters": { - "id": 13970, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13963, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39434:2:14", - "nodeType": "VariableDeclaration", - "scope": 13984, - "src": "39420:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13962, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39420:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13965, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39443:2:14", - "nodeType": "VariableDeclaration", - "scope": 13984, - "src": "39438:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13964, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39438:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13967, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39455:2:14", - "nodeType": "VariableDeclaration", - "scope": 13984, - "src": "39447:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13966, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39447:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13969, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39464:2:14", - "nodeType": "VariableDeclaration", - "scope": 13984, - "src": "39459:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13968, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39459:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "39419:48:14" - }, - "returnParameters": { - "id": 13971, - "nodeType": "ParameterList", - "parameters": [], - "src": "39482:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14007, - "nodeType": "FunctionDefinition", - "src": "39594:187:14", - "nodes": [], - "body": { - "id": 14006, - "nodeType": "Block", - "src": "39672:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c6164647265737329", - "id": 13998, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39722:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_33e9dd1deb33816160eb59d86987de501b214bedbbe3c70103eff4092834b53d", - "typeString": "literal_string \"log(string,bool,address,address)\"" - }, - "value": "log(string,bool,address,address)" - }, - { - "id": 13999, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13986, - "src": "39758:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14000, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13988, - "src": "39762:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14001, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13990, - "src": "39766:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14002, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13992, - "src": "39770:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_33e9dd1deb33816160eb59d86987de501b214bedbbe3c70103eff4092834b53d", - "typeString": "literal_string \"log(string,bool,address,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 13996, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39698:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13997, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39702:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39698:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14003, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39698:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13995, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "39682:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14004, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39682:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14005, - "nodeType": "ExpressionStatement", - "src": "39682:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39603:3:14", - "parameters": { - "id": 13993, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13986, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39621:2:14", - "nodeType": "VariableDeclaration", - "scope": 14007, - "src": "39607:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13985, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39607:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13988, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39630:2:14", - "nodeType": "VariableDeclaration", - "scope": 14007, - "src": "39625:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13987, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39625:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13990, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39642:2:14", - "nodeType": "VariableDeclaration", - "scope": 14007, - "src": "39634:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13989, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39634:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13992, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39654:2:14", - "nodeType": "VariableDeclaration", - "scope": 14007, - "src": "39646:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13991, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39646:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "39606:51:14" - }, - "returnParameters": { - "id": 13994, - "nodeType": "ParameterList", - "parameters": [], - "src": "39672:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14030, - "nodeType": "FunctionDefinition", - "src": "39787:181:14", - "nodes": [], - "body": { - "id": 14029, - "nodeType": "Block", - "src": "39862:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e742c75696e7429", - "id": 14021, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39912:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_daa394bd4914eaece965f4173c7699746dff411e470b03385f052bd7b13f1bd3", - "typeString": "literal_string \"log(string,address,uint,uint)\"" - }, - "value": "log(string,address,uint,uint)" - }, - { - "id": 14022, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14009, - "src": "39945:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14023, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14011, - "src": "39949:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14024, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14013, - "src": "39953:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14025, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14015, - "src": "39957:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_daa394bd4914eaece965f4173c7699746dff411e470b03385f052bd7b13f1bd3", - "typeString": "literal_string \"log(string,address,uint,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 14019, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39888:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14020, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39892:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39888:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14026, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39888:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14018, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "39872:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39872:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14028, - "nodeType": "ExpressionStatement", - "src": "39872:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39796:3:14", - "parameters": { - "id": 14016, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14009, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39814:2:14", - "nodeType": "VariableDeclaration", - "scope": 14030, - "src": "39800:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14008, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39800:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14011, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39826:2:14", - "nodeType": "VariableDeclaration", - "scope": 14030, - "src": "39818:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14010, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39818:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14013, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39835:2:14", - "nodeType": "VariableDeclaration", - "scope": 14030, - "src": "39830:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14012, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "39830:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14015, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39844:2:14", - "nodeType": "VariableDeclaration", - "scope": 14030, - "src": "39839:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14014, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "39839:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "39799:48:14" - }, - "returnParameters": { - "id": 14017, - "nodeType": "ParameterList", - "parameters": [], - "src": "39862:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14053, - "nodeType": "FunctionDefinition", - "src": "39974:192:14", - "nodes": [], - "body": { - "id": 14052, - "nodeType": "Block", - "src": "40058:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e742c737472696e6729", - "id": 14044, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40108:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4c55f234d048f08e770926729ee5d8a9c70d6b9a607ce037165c7e0f36155a98", - "typeString": "literal_string \"log(string,address,uint,string)\"" - }, - "value": "log(string,address,uint,string)" - }, - { - "id": 14045, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14032, - "src": "40143:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14046, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14034, - "src": "40147:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14047, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14036, - "src": "40151:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14048, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14038, - "src": "40155:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4c55f234d048f08e770926729ee5d8a9c70d6b9a607ce037165c7e0f36155a98", - "typeString": "literal_string \"log(string,address,uint,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 14042, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40084:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14043, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40088:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40084:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14049, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40084:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14041, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "40068:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14050, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40068:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14051, - "nodeType": "ExpressionStatement", - "src": "40068:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39983:3:14", - "parameters": { - "id": 14039, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14032, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40001:2:14", - "nodeType": "VariableDeclaration", - "scope": 14053, - "src": "39987:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14031, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39987:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14034, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40013:2:14", - "nodeType": "VariableDeclaration", - "scope": 14053, - "src": "40005:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14033, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40005:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14036, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40022:2:14", - "nodeType": "VariableDeclaration", - "scope": 14053, - "src": "40017:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14035, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "40017:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14038, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40040:2:14", - "nodeType": "VariableDeclaration", - "scope": 14053, - "src": "40026:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14037, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40026:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "39986:57:14" - }, - "returnParameters": { - "id": 14040, - "nodeType": "ParameterList", - "parameters": [], - "src": "40058:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14076, - "nodeType": "FunctionDefinition", - "src": "40172:181:14", - "nodes": [], - "body": { - "id": 14075, - "nodeType": "Block", - "src": "40247:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e742c626f6f6c29", - "id": 14067, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40297:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5ac1c13c91f65a91284d9d77ba7484e75b0a3dd9b57a01fd497babb7d6ebc554", - "typeString": "literal_string \"log(string,address,uint,bool)\"" - }, - "value": "log(string,address,uint,bool)" - }, - { - "id": 14068, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14055, - "src": "40330:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14069, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14057, - "src": "40334:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14070, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14059, - "src": "40338:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14071, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14061, - "src": "40342:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5ac1c13c91f65a91284d9d77ba7484e75b0a3dd9b57a01fd497babb7d6ebc554", - "typeString": "literal_string \"log(string,address,uint,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 14065, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40273:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14066, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40277:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40273:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40273:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14064, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "40257:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14073, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40257:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14074, - "nodeType": "ExpressionStatement", - "src": "40257:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40181:3:14", - "parameters": { - "id": 14062, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14055, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40199:2:14", - "nodeType": "VariableDeclaration", - "scope": 14076, - "src": "40185:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14054, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40185:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14057, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40211:2:14", - "nodeType": "VariableDeclaration", - "scope": 14076, - "src": "40203:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14056, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40203:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14059, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40220:2:14", - "nodeType": "VariableDeclaration", - "scope": 14076, - "src": "40215:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14058, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "40215:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14061, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40229:2:14", - "nodeType": "VariableDeclaration", - "scope": 14076, - "src": "40224:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14060, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40224:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "40184:48:14" - }, - "returnParameters": { - "id": 14063, - "nodeType": "ParameterList", - "parameters": [], - "src": "40247:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14099, - "nodeType": "FunctionDefinition", - "src": "40359:187:14", - "nodes": [], - "body": { - "id": 14098, - "nodeType": "Block", - "src": "40437:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e742c6164647265737329", - "id": 14090, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40487:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a366ec808c8af1aa091e8102642939a99436cf04d3dfac2ae23c299404f821b2", - "typeString": "literal_string \"log(string,address,uint,address)\"" - }, - "value": "log(string,address,uint,address)" - }, - { - "id": 14091, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14078, - "src": "40523:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14092, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14080, - "src": "40527:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14093, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14082, - "src": "40531:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14094, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14084, - "src": "40535:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a366ec808c8af1aa091e8102642939a99436cf04d3dfac2ae23c299404f821b2", - "typeString": "literal_string \"log(string,address,uint,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 14088, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40463:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14089, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40467:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40463:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14095, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40463:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14087, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "40447:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14096, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40447:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14097, - "nodeType": "ExpressionStatement", - "src": "40447:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40368:3:14", - "parameters": { - "id": 14085, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14078, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40386:2:14", - "nodeType": "VariableDeclaration", - "scope": 14099, - "src": "40372:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14077, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40372:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14080, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40398:2:14", - "nodeType": "VariableDeclaration", - "scope": 14099, - "src": "40390:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14079, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40390:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14082, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40407:2:14", - "nodeType": "VariableDeclaration", - "scope": 14099, - "src": "40402:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14081, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "40402:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14084, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40419:2:14", - "nodeType": "VariableDeclaration", - "scope": 14099, - "src": "40411:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14083, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40411:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "40371:51:14" - }, - "returnParameters": { - "id": 14086, - "nodeType": "ParameterList", - "parameters": [], - "src": "40437:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14122, - "nodeType": "FunctionDefinition", - "src": "40552:192:14", - "nodes": [], - "body": { - "id": 14121, - "nodeType": "Block", - "src": "40636:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c75696e7429", - "id": 14113, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40686:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8f624be9ea3983abac9c65ced8f562a492ebb84e6f74cd40f35387eff4d66349", - "typeString": "literal_string \"log(string,address,string,uint)\"" - }, - "value": "log(string,address,string,uint)" - }, - { - "id": 14114, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14101, - "src": "40721:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14115, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14103, - "src": "40725:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14116, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14105, - "src": "40729:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14117, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14107, - "src": "40733:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8f624be9ea3983abac9c65ced8f562a492ebb84e6f74cd40f35387eff4d66349", - "typeString": "literal_string \"log(string,address,string,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 14111, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40662:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14112, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40666:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40662:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14118, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40662:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14110, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "40646:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40646:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14120, - "nodeType": "ExpressionStatement", - "src": "40646:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40561:3:14", - "parameters": { - "id": 14108, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14101, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40579:2:14", - "nodeType": "VariableDeclaration", - "scope": 14122, - "src": "40565:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14100, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40565:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14103, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40591:2:14", - "nodeType": "VariableDeclaration", - "scope": 14122, - "src": "40583:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14102, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40583:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14105, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40609:2:14", - "nodeType": "VariableDeclaration", - "scope": 14122, - "src": "40595:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14104, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40595:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14107, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40618:2:14", - "nodeType": "VariableDeclaration", - "scope": 14122, - "src": "40613:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14106, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "40613:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "40564:57:14" - }, - "returnParameters": { - "id": 14109, - "nodeType": "ParameterList", - "parameters": [], - "src": "40636:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14145, - "nodeType": "FunctionDefinition", - "src": "40750:203:14", - "nodes": [], - "body": { - "id": 14144, - "nodeType": "Block", - "src": "40843:110:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c737472696e6729", - "id": 14136, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40893:35:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_245986f22170901865e76245a48ee28ce0127ca357f6ad576a72190e1d358797", - "typeString": "literal_string \"log(string,address,string,string)\"" - }, - "value": "log(string,address,string,string)" - }, - { - "id": 14137, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14124, - "src": "40930:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14138, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14126, - "src": "40934:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14139, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14128, - "src": "40938:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14140, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14130, - "src": "40942:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_245986f22170901865e76245a48ee28ce0127ca357f6ad576a72190e1d358797", - "typeString": "literal_string \"log(string,address,string,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 14134, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40869:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14135, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40873:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40869:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40869:76:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14133, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "40853:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14142, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40853:93:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14143, - "nodeType": "ExpressionStatement", - "src": "40853:93:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40759:3:14", - "parameters": { - "id": 14131, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14124, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40777:2:14", - "nodeType": "VariableDeclaration", - "scope": 14145, - "src": "40763:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14123, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40763:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14126, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40789:2:14", - "nodeType": "VariableDeclaration", - "scope": 14145, - "src": "40781:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14125, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40781:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14128, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40807:2:14", - "nodeType": "VariableDeclaration", - "scope": 14145, - "src": "40793:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14127, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40793:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14130, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40825:2:14", - "nodeType": "VariableDeclaration", - "scope": 14145, - "src": "40811:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14129, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40811:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "40762:66:14" - }, - "returnParameters": { - "id": 14132, - "nodeType": "ParameterList", - "parameters": [], - "src": "40843:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14168, - "nodeType": "FunctionDefinition", - "src": "40959:192:14", - "nodes": [], - "body": { - "id": 14167, - "nodeType": "Block", - "src": "41043:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c626f6f6c29", - "id": 14159, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41093:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5f15d28c15ddff15fba1c00f6a4975ae6af8b36c9b2a875bf59bd45049046154", - "typeString": "literal_string \"log(string,address,string,bool)\"" - }, - "value": "log(string,address,string,bool)" - }, - { - "id": 14160, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14147, - "src": "41128:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14161, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14149, - "src": "41132:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14162, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14151, - "src": "41136:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14163, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14153, - "src": "41140:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5f15d28c15ddff15fba1c00f6a4975ae6af8b36c9b2a875bf59bd45049046154", - "typeString": "literal_string \"log(string,address,string,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 14157, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41069:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14158, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41073:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41069:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14164, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41069:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14156, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "41053:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14165, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41053:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14166, - "nodeType": "ExpressionStatement", - "src": "41053:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40968:3:14", - "parameters": { - "id": 14154, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14147, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40986:2:14", - "nodeType": "VariableDeclaration", - "scope": 14168, - "src": "40972:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14146, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40972:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14149, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40998:2:14", - "nodeType": "VariableDeclaration", - "scope": 14168, - "src": "40990:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14148, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40990:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14151, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41016:2:14", - "nodeType": "VariableDeclaration", - "scope": 14168, - "src": "41002:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14150, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41002:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14153, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41025:2:14", - "nodeType": "VariableDeclaration", - "scope": 14168, - "src": "41020:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14152, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41020:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "40971:57:14" - }, - "returnParameters": { - "id": 14155, - "nodeType": "ParameterList", - "parameters": [], - "src": "41043:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14191, - "nodeType": "FunctionDefinition", - "src": "41157:198:14", - "nodes": [], - "body": { - "id": 14190, - "nodeType": "Block", - "src": "41244:111:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c6164647265737329", - "id": 14182, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41294:36:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_aabc9a311ab49789834b120d81155a7fee846a9f0d4f740bbeb970770190c82d", - "typeString": "literal_string \"log(string,address,string,address)\"" - }, - "value": "log(string,address,string,address)" - }, - { - "id": 14183, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14170, - "src": "41332:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14184, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14172, - "src": "41336:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14185, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14174, - "src": "41340:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14186, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14176, - "src": "41344:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_aabc9a311ab49789834b120d81155a7fee846a9f0d4f740bbeb970770190c82d", - "typeString": "literal_string \"log(string,address,string,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 14180, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41270:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14181, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41274:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41270:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14187, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41270:77:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14179, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "41254:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14188, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41254:94:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14189, - "nodeType": "ExpressionStatement", - "src": "41254:94:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41166:3:14", - "parameters": { - "id": 14177, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14170, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41184:2:14", - "nodeType": "VariableDeclaration", - "scope": 14191, - "src": "41170:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14169, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41170:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14172, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41196:2:14", - "nodeType": "VariableDeclaration", - "scope": 14191, - "src": "41188:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14171, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41188:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14174, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41214:2:14", - "nodeType": "VariableDeclaration", - "scope": 14191, - "src": "41200:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14173, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41200:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14176, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41226:2:14", - "nodeType": "VariableDeclaration", - "scope": 14191, - "src": "41218:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14175, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41218:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "41169:60:14" - }, - "returnParameters": { - "id": 14178, - "nodeType": "ParameterList", - "parameters": [], - "src": "41244:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14214, - "nodeType": "FunctionDefinition", - "src": "41361:181:14", - "nodes": [], - "body": { - "id": 14213, - "nodeType": "Block", - "src": "41436:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c75696e7429", - "id": 14205, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41486:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d1bb8ba57e795e9925065473f653a381a99be37bdcfbeaf49f38097f35af7f", - "typeString": "literal_string \"log(string,address,bool,uint)\"" - }, - "value": "log(string,address,bool,uint)" - }, - { - "id": 14206, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14193, - "src": "41519:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14207, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14195, - "src": "41523:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14208, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14197, - "src": "41527:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14209, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14199, - "src": "41531:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c5d1bb8ba57e795e9925065473f653a381a99be37bdcfbeaf49f38097f35af7f", - "typeString": "literal_string \"log(string,address,bool,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 14203, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41462:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14204, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41466:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41462:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14210, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41462:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14202, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "41446:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14211, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41446:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14212, - "nodeType": "ExpressionStatement", - "src": "41446:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41370:3:14", - "parameters": { - "id": 14200, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14193, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41388:2:14", - "nodeType": "VariableDeclaration", - "scope": 14214, - "src": "41374:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14192, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41374:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14195, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41400:2:14", - "nodeType": "VariableDeclaration", - "scope": 14214, - "src": "41392:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14194, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41392:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14197, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41409:2:14", - "nodeType": "VariableDeclaration", - "scope": 14214, - "src": "41404:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14196, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41404:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14199, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41418:2:14", - "nodeType": "VariableDeclaration", - "scope": 14214, - "src": "41413:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14198, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "41413:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "41373:48:14" - }, - "returnParameters": { - "id": 14201, - "nodeType": "ParameterList", - "parameters": [], - "src": "41436:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14237, - "nodeType": "FunctionDefinition", - "src": "41548:192:14", - "nodes": [], - "body": { - "id": 14236, - "nodeType": "Block", - "src": "41632:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c737472696e6729", - "id": 14228, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41682:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0454c0793d4a41e5f630eb9a887926f8a67ff9e817a5feb968698354ac9d22fb", - "typeString": "literal_string \"log(string,address,bool,string)\"" - }, - "value": "log(string,address,bool,string)" - }, - { - "id": 14229, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14216, - "src": "41717:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14230, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14218, - "src": "41721:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14231, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14220, - "src": "41725:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14232, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14222, - "src": "41729:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0454c0793d4a41e5f630eb9a887926f8a67ff9e817a5feb968698354ac9d22fb", - "typeString": "literal_string \"log(string,address,bool,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 14226, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41658:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14227, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41662:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41658:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14233, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41658:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14225, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "41642:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14234, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41642:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14235, - "nodeType": "ExpressionStatement", - "src": "41642:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41557:3:14", - "parameters": { - "id": 14223, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14216, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41575:2:14", - "nodeType": "VariableDeclaration", - "scope": 14237, - "src": "41561:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14215, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41561:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14218, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41587:2:14", - "nodeType": "VariableDeclaration", - "scope": 14237, - "src": "41579:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14217, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41579:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14220, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41596:2:14", - "nodeType": "VariableDeclaration", - "scope": 14237, - "src": "41591:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14219, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41591:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14222, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41614:2:14", - "nodeType": "VariableDeclaration", - "scope": 14237, - "src": "41600:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14221, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41600:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "41560:57:14" - }, - "returnParameters": { - "id": 14224, - "nodeType": "ParameterList", - "parameters": [], - "src": "41632:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14260, - "nodeType": "FunctionDefinition", - "src": "41746:181:14", - "nodes": [], - "body": { - "id": 14259, - "nodeType": "Block", - "src": "41821:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c626f6f6c29", - "id": 14251, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41871:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_79884c2bc85eb73c854df1610df373a05f191b834f79cd47a7ab28be2308c039", - "typeString": "literal_string \"log(string,address,bool,bool)\"" - }, - "value": "log(string,address,bool,bool)" - }, - { - "id": 14252, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14239, - "src": "41904:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14253, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14241, - "src": "41908:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14254, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14243, - "src": "41912:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14255, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14245, - "src": "41916:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_79884c2bc85eb73c854df1610df373a05f191b834f79cd47a7ab28be2308c039", - "typeString": "literal_string \"log(string,address,bool,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 14249, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41847:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14250, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41851:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41847:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14256, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41847:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14248, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "41831:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14257, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41831:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14258, - "nodeType": "ExpressionStatement", - "src": "41831:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41755:3:14", - "parameters": { - "id": 14246, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14239, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41773:2:14", - "nodeType": "VariableDeclaration", - "scope": 14260, - "src": "41759:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14238, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41759:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14241, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41785:2:14", - "nodeType": "VariableDeclaration", - "scope": 14260, - "src": "41777:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14240, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41777:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14243, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41794:2:14", - "nodeType": "VariableDeclaration", - "scope": 14260, - "src": "41789:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14242, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41789:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14245, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41803:2:14", - "nodeType": "VariableDeclaration", - "scope": 14260, - "src": "41798:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14244, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41798:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "41758:48:14" - }, - "returnParameters": { - "id": 14247, - "nodeType": "ParameterList", - "parameters": [], - "src": "41821:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14283, - "nodeType": "FunctionDefinition", - "src": "41933:187:14", - "nodes": [], - "body": { - "id": 14282, - "nodeType": "Block", - "src": "42011:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c6164647265737329", - "id": 14274, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42061:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_223603bd064d72559a7d519ad0f1c6a8da707a49f5718dfa23a5ccb01bf9ab76", - "typeString": "literal_string \"log(string,address,bool,address)\"" - }, - "value": "log(string,address,bool,address)" - }, - { - "id": 14275, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14262, - "src": "42097:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14276, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14264, - "src": "42101:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14277, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14266, - "src": "42105:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14278, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14268, - "src": "42109:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_223603bd064d72559a7d519ad0f1c6a8da707a49f5718dfa23a5ccb01bf9ab76", - "typeString": "literal_string \"log(string,address,bool,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 14272, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42037:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14273, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42041:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42037:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14279, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42037:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14271, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "42021:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14280, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42021:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14281, - "nodeType": "ExpressionStatement", - "src": "42021:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41942:3:14", - "parameters": { - "id": 14269, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14262, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41960:2:14", - "nodeType": "VariableDeclaration", - "scope": 14283, - "src": "41946:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14261, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41946:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14264, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41972:2:14", - "nodeType": "VariableDeclaration", - "scope": 14283, - "src": "41964:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14263, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41964:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14266, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41981:2:14", - "nodeType": "VariableDeclaration", - "scope": 14283, - "src": "41976:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14265, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41976:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14268, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41993:2:14", - "nodeType": "VariableDeclaration", - "scope": 14283, - "src": "41985:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14267, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41985:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "41945:51:14" - }, - "returnParameters": { - "id": 14270, - "nodeType": "ParameterList", - "parameters": [], - "src": "42011:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14306, - "nodeType": "FunctionDefinition", - "src": "42126:187:14", - "nodes": [], - "body": { - "id": 14305, - "nodeType": "Block", - "src": "42204:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c75696e7429", - "id": 14297, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42254:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6eb7943d4272e495e7f5cdeb25ef89b9c3c1042d5c1e0e6e11a8fdc842ff5e02", - "typeString": "literal_string \"log(string,address,address,uint)\"" - }, - "value": "log(string,address,address,uint)" - }, - { - "id": 14298, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14285, - "src": "42290:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14299, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14287, - "src": "42294:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14300, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14289, - "src": "42298:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14301, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14291, - "src": "42302:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6eb7943d4272e495e7f5cdeb25ef89b9c3c1042d5c1e0e6e11a8fdc842ff5e02", - "typeString": "literal_string \"log(string,address,address,uint)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 14295, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42230:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14296, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42234:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42230:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14302, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42230:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14294, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "42214:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14303, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42214:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14304, - "nodeType": "ExpressionStatement", - "src": "42214:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42135:3:14", - "parameters": { - "id": 14292, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14285, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42153:2:14", - "nodeType": "VariableDeclaration", - "scope": 14306, - "src": "42139:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14284, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42139:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14287, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42165:2:14", - "nodeType": "VariableDeclaration", - "scope": 14306, - "src": "42157:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14286, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42157:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14289, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42177:2:14", - "nodeType": "VariableDeclaration", - "scope": 14306, - "src": "42169:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14288, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42169:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14291, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42186:2:14", - "nodeType": "VariableDeclaration", - "scope": 14306, - "src": "42181:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14290, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "42181:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "42138:51:14" - }, - "returnParameters": { - "id": 14293, - "nodeType": "ParameterList", - "parameters": [], - "src": "42204:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14329, - "nodeType": "FunctionDefinition", - "src": "42319:198:14", - "nodes": [], - "body": { - "id": 14328, - "nodeType": "Block", - "src": "42406:111:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c737472696e6729", - "id": 14320, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42456:36:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_800a1c6756a402b6162ca8653fd8e87e2c52d1c019c876e92eb2980479636a76", - "typeString": "literal_string \"log(string,address,address,string)\"" - }, - "value": "log(string,address,address,string)" - }, - { - "id": 14321, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14308, - "src": "42494:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14322, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14310, - "src": "42498:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14323, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14312, - "src": "42502:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14324, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14314, - "src": "42506:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_800a1c6756a402b6162ca8653fd8e87e2c52d1c019c876e92eb2980479636a76", - "typeString": "literal_string \"log(string,address,address,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 14318, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42432:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14319, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42436:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42432:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14325, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42432:77:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14317, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "42416:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42416:94:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14327, - "nodeType": "ExpressionStatement", - "src": "42416:94:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42328:3:14", - "parameters": { - "id": 14315, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14308, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42346:2:14", - "nodeType": "VariableDeclaration", - "scope": 14329, - "src": "42332:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14307, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42332:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14310, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42358:2:14", - "nodeType": "VariableDeclaration", - "scope": 14329, - "src": "42350:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14309, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42350:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14312, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42370:2:14", - "nodeType": "VariableDeclaration", - "scope": 14329, - "src": "42362:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14311, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42362:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14314, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42388:2:14", - "nodeType": "VariableDeclaration", - "scope": 14329, - "src": "42374:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14313, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42374:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "42331:60:14" - }, - "returnParameters": { - "id": 14316, - "nodeType": "ParameterList", - "parameters": [], - "src": "42406:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14352, - "nodeType": "FunctionDefinition", - "src": "42523:187:14", - "nodes": [], - "body": { - "id": 14351, - "nodeType": "Block", - "src": "42601:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c626f6f6c29", - "id": 14343, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42651:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b59dbd60587b4eeae521d5427cbc88bff32729f88aff059e7deb0a3a4320aaf4", - "typeString": "literal_string \"log(string,address,address,bool)\"" - }, - "value": "log(string,address,address,bool)" - }, - { - "id": 14344, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14331, - "src": "42687:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14345, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14333, - "src": "42691:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14346, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14335, - "src": "42695:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14347, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14337, - "src": "42699:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b59dbd60587b4eeae521d5427cbc88bff32729f88aff059e7deb0a3a4320aaf4", - "typeString": "literal_string \"log(string,address,address,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 14341, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42627:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14342, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42631:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42627:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42627:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14340, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "42611:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14349, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42611:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14350, - "nodeType": "ExpressionStatement", - "src": "42611:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42532:3:14", - "parameters": { - "id": 14338, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14331, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42550:2:14", - "nodeType": "VariableDeclaration", - "scope": 14352, - "src": "42536:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14330, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42536:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14333, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42562:2:14", - "nodeType": "VariableDeclaration", - "scope": 14352, - "src": "42554:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14332, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42554:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14335, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42574:2:14", - "nodeType": "VariableDeclaration", - "scope": 14352, - "src": "42566:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14334, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42566:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14337, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42583:2:14", - "nodeType": "VariableDeclaration", - "scope": 14352, - "src": "42578:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14336, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "42578:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "42535:51:14" - }, - "returnParameters": { - "id": 14339, - "nodeType": "ParameterList", - "parameters": [], - "src": "42601:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14375, - "nodeType": "FunctionDefinition", - "src": "42716:193:14", - "nodes": [], - "body": { - "id": 14374, - "nodeType": "Block", - "src": "42797:112:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c6164647265737329", - "id": 14366, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42847:37:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ed8f28f6f4b5d54b1d37f705e543f556805f28b9d1bb3aef0ef7e57ef4992d15", - "typeString": "literal_string \"log(string,address,address,address)\"" - }, - "value": "log(string,address,address,address)" - }, - { - "id": 14367, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14354, - "src": "42886:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14368, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14356, - "src": "42890:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14369, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14358, - "src": "42894:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14370, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14360, - "src": "42898:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ed8f28f6f4b5d54b1d37f705e543f556805f28b9d1bb3aef0ef7e57ef4992d15", - "typeString": "literal_string \"log(string,address,address,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 14364, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42823:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42827:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42823:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14371, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42823:78:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14363, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "42807:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14372, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42807:95:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14373, - "nodeType": "ExpressionStatement", - "src": "42807:95:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42725:3:14", - "parameters": { - "id": 14361, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14354, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42743:2:14", - "nodeType": "VariableDeclaration", - "scope": 14375, - "src": "42729:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14353, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42729:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14356, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42755:2:14", - "nodeType": "VariableDeclaration", - "scope": 14375, - "src": "42747:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14355, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42747:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14358, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42767:2:14", - "nodeType": "VariableDeclaration", - "scope": 14375, - "src": "42759:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14357, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42759:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14360, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42779:2:14", - "nodeType": "VariableDeclaration", - "scope": 14375, - "src": "42771:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14359, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42771:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "42728:54:14" - }, - "returnParameters": { - "id": 14362, - "nodeType": "ParameterList", - "parameters": [], - "src": "42797:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14398, - "nodeType": "FunctionDefinition", - "src": "42915:164:14", - "nodes": [], - "body": { - "id": 14397, - "nodeType": "Block", - "src": "42978:101:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c75696e742c75696e7429", - "id": 14389, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43028:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_32dfa524f720faf836764864b46011dc5eb74e494d57e12b294a68048585d558", - "typeString": "literal_string \"log(bool,uint,uint,uint)\"" - }, - "value": "log(bool,uint,uint,uint)" - }, - { - "id": 14390, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14377, - "src": "43056:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14391, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14379, - "src": "43060:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14392, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14381, - "src": "43064:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14393, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14383, - "src": "43068:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_32dfa524f720faf836764864b46011dc5eb74e494d57e12b294a68048585d558", - "typeString": "literal_string \"log(bool,uint,uint,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 14387, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43004:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43008:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43004:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14394, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43004:67:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14386, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "42988:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14395, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42988:84:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14396, - "nodeType": "ExpressionStatement", - "src": "42988:84:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42924:3:14", - "parameters": { - "id": 14384, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14377, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42933:2:14", - "nodeType": "VariableDeclaration", - "scope": 14398, - "src": "42928:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14376, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "42928:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14379, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42942:2:14", - "nodeType": "VariableDeclaration", - "scope": 14398, - "src": "42937:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14378, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "42937:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14381, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42951:2:14", - "nodeType": "VariableDeclaration", - "scope": 14398, - "src": "42946:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14380, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "42946:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14383, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42960:2:14", - "nodeType": "VariableDeclaration", - "scope": 14398, - "src": "42955:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14382, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "42955:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "42927:36:14" - }, - "returnParameters": { - "id": 14385, - "nodeType": "ParameterList", - "parameters": [], - "src": "42978:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14421, - "nodeType": "FunctionDefinition", - "src": "43085:175:14", - "nodes": [], - "body": { - "id": 14420, - "nodeType": "Block", - "src": "43157:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c75696e742c737472696e6729", - "id": 14412, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43207:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_da0666c89b01999f5c8980ce90fe9d0a367a350fd8d2ec7d1f94587b6281ebd3", - "typeString": "literal_string \"log(bool,uint,uint,string)\"" - }, - "value": "log(bool,uint,uint,string)" - }, - { - "id": 14413, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14400, - "src": "43237:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14414, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14402, - "src": "43241:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14415, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14404, - "src": "43245:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14416, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14406, - "src": "43249:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_da0666c89b01999f5c8980ce90fe9d0a367a350fd8d2ec7d1f94587b6281ebd3", - "typeString": "literal_string \"log(bool,uint,uint,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 14410, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43183:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14411, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43187:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43183:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14417, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43183:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14409, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "43167:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14418, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43167:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14419, - "nodeType": "ExpressionStatement", - "src": "43167:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43094:3:14", - "parameters": { - "id": 14407, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14400, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43103:2:14", - "nodeType": "VariableDeclaration", - "scope": 14421, - "src": "43098:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14399, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43098:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14402, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43112:2:14", - "nodeType": "VariableDeclaration", - "scope": 14421, - "src": "43107:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14401, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "43107:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14404, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43121:2:14", - "nodeType": "VariableDeclaration", - "scope": 14421, - "src": "43116:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14403, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "43116:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14406, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43139:2:14", - "nodeType": "VariableDeclaration", - "scope": 14421, - "src": "43125:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14405, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43125:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "43097:45:14" - }, - "returnParameters": { - "id": 14408, - "nodeType": "ParameterList", - "parameters": [], - "src": "43157:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14444, - "nodeType": "FunctionDefinition", - "src": "43266:164:14", - "nodes": [], - "body": { - "id": 14443, - "nodeType": "Block", - "src": "43329:101:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c75696e742c626f6f6c29", - "id": 14435, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43379:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a41d81dec511172fa866e067fea22fe074eb6260a116ec078e2e0e79a7fd8ef2", - "typeString": "literal_string \"log(bool,uint,uint,bool)\"" - }, - "value": "log(bool,uint,uint,bool)" - }, - { - "id": 14436, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14423, - "src": "43407:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14437, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14425, - "src": "43411:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14438, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14427, - "src": "43415:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14439, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14429, - "src": "43419:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a41d81dec511172fa866e067fea22fe074eb6260a116ec078e2e0e79a7fd8ef2", - "typeString": "literal_string \"log(bool,uint,uint,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 14433, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43355:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14434, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43359:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43355:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14440, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43355:67:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14432, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "43339:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14441, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43339:84:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14442, - "nodeType": "ExpressionStatement", - "src": "43339:84:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43275:3:14", - "parameters": { - "id": 14430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14423, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43284:2:14", - "nodeType": "VariableDeclaration", - "scope": 14444, - "src": "43279:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14422, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43279:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14425, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43293:2:14", - "nodeType": "VariableDeclaration", - "scope": 14444, - "src": "43288:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14424, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "43288:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14427, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43302:2:14", - "nodeType": "VariableDeclaration", - "scope": 14444, - "src": "43297:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14426, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "43297:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14429, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43311:2:14", - "nodeType": "VariableDeclaration", - "scope": 14444, - "src": "43306:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14428, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43306:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "43278:36:14" - }, - "returnParameters": { - "id": 14431, - "nodeType": "ParameterList", - "parameters": [], - "src": "43329:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14467, - "nodeType": "FunctionDefinition", - "src": "43436:170:14", - "nodes": [], - "body": { - "id": 14466, - "nodeType": "Block", - "src": "43502:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c75696e742c6164647265737329", - "id": 14458, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43552:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f161b2216765f7746c6d62a843721a4e56fa83880464de0ff958770fd9704e33", - "typeString": "literal_string \"log(bool,uint,uint,address)\"" - }, - "value": "log(bool,uint,uint,address)" - }, - { - "id": 14459, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14446, - "src": "43583:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14460, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14448, - "src": "43587:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14461, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14450, - "src": "43591:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14462, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14452, - "src": "43595:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f161b2216765f7746c6d62a843721a4e56fa83880464de0ff958770fd9704e33", - "typeString": "literal_string \"log(bool,uint,uint,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 14456, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43528:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14457, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43532:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43528:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14463, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43528:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14455, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "43512:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14464, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43512:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14465, - "nodeType": "ExpressionStatement", - "src": "43512:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43445:3:14", - "parameters": { - "id": 14453, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14446, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43454:2:14", - "nodeType": "VariableDeclaration", - "scope": 14467, - "src": "43449:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14445, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43449:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14448, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43463:2:14", - "nodeType": "VariableDeclaration", - "scope": 14467, - "src": "43458:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14447, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "43458:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14450, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43472:2:14", - "nodeType": "VariableDeclaration", - "scope": 14467, - "src": "43467:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14449, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "43467:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14452, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43484:2:14", - "nodeType": "VariableDeclaration", - "scope": 14467, - "src": "43476:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14451, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43476:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "43448:39:14" - }, - "returnParameters": { - "id": 14454, - "nodeType": "ParameterList", - "parameters": [], - "src": "43502:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14490, - "nodeType": "FunctionDefinition", - "src": "43612:175:14", - "nodes": [], - "body": { - "id": 14489, - "nodeType": "Block", - "src": "43684:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c737472696e672c75696e7429", - "id": 14481, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43734:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4180011b79de474cdb825b6c4cfbc6d05927b06d92ab7c90ba7ff48d251e1813", - "typeString": "literal_string \"log(bool,uint,string,uint)\"" - }, - "value": "log(bool,uint,string,uint)" - }, - { - "id": 14482, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14469, - "src": "43764:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14483, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14471, - "src": "43768:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14484, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14473, - "src": "43772:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14485, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14475, - "src": "43776:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4180011b79de474cdb825b6c4cfbc6d05927b06d92ab7c90ba7ff48d251e1813", - "typeString": "literal_string \"log(bool,uint,string,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 14479, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43710:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14480, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43714:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43710:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43710:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14478, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "43694:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14487, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43694:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14488, - "nodeType": "ExpressionStatement", - "src": "43694:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43621:3:14", - "parameters": { - "id": 14476, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14469, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43630:2:14", - "nodeType": "VariableDeclaration", - "scope": 14490, - "src": "43625:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14468, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43625:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14471, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43639:2:14", - "nodeType": "VariableDeclaration", - "scope": 14490, - "src": "43634:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14470, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "43634:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14473, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43657:2:14", - "nodeType": "VariableDeclaration", - "scope": 14490, - "src": "43643:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14472, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43643:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14475, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43666:2:14", - "nodeType": "VariableDeclaration", - "scope": 14490, - "src": "43661:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14474, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "43661:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "43624:45:14" - }, - "returnParameters": { - "id": 14477, - "nodeType": "ParameterList", - "parameters": [], - "src": "43684:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14513, - "nodeType": "FunctionDefinition", - "src": "43793:186:14", - "nodes": [], - "body": { - "id": 14512, - "nodeType": "Block", - "src": "43874:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c737472696e672c737472696e6729", - "id": 14504, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43924:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d32a654812cf9bc5514c83d6adb00987a26a725c531c254b4dfe4eef4cdfc8ee", - "typeString": "literal_string \"log(bool,uint,string,string)\"" - }, - "value": "log(bool,uint,string,string)" - }, - { - "id": 14505, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14492, - "src": "43956:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14506, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14494, - "src": "43960:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14507, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14496, - "src": "43964:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14508, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14498, - "src": "43968:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d32a654812cf9bc5514c83d6adb00987a26a725c531c254b4dfe4eef4cdfc8ee", - "typeString": "literal_string \"log(bool,uint,string,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 14502, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43900:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43904:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43900:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14509, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43900:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14501, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "43884:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43884:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14511, - "nodeType": "ExpressionStatement", - "src": "43884:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43802:3:14", - "parameters": { - "id": 14499, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14492, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43811:2:14", - "nodeType": "VariableDeclaration", - "scope": 14513, - "src": "43806:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14491, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43806:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14494, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43820:2:14", - "nodeType": "VariableDeclaration", - "scope": 14513, - "src": "43815:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14493, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "43815:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14496, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43838:2:14", - "nodeType": "VariableDeclaration", - "scope": 14513, - "src": "43824:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14495, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43824:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14498, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43856:2:14", - "nodeType": "VariableDeclaration", - "scope": 14513, - "src": "43842:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14497, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43842:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "43805:54:14" - }, - "returnParameters": { - "id": 14500, - "nodeType": "ParameterList", - "parameters": [], - "src": "43874:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14536, - "nodeType": "FunctionDefinition", - "src": "43985:175:14", - "nodes": [], - "body": { - "id": 14535, - "nodeType": "Block", - "src": "44057:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c737472696e672c626f6f6c29", - "id": 14527, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44107:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_91d2f813beb255a90e7ea595fb27355b60d93c3f818aac6b4c27388d34e0ea16", - "typeString": "literal_string \"log(bool,uint,string,bool)\"" - }, - "value": "log(bool,uint,string,bool)" - }, - { - "id": 14528, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14515, - "src": "44137:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14529, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14517, - "src": "44141:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14530, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14519, - "src": "44145:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14531, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14521, - "src": "44149:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_91d2f813beb255a90e7ea595fb27355b60d93c3f818aac6b4c27388d34e0ea16", - "typeString": "literal_string \"log(bool,uint,string,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 14525, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44083:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44087:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44083:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44083:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14524, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "44067:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14533, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44067:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14534, - "nodeType": "ExpressionStatement", - "src": "44067:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43994:3:14", - "parameters": { - "id": 14522, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14515, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44003:2:14", - "nodeType": "VariableDeclaration", - "scope": 14536, - "src": "43998:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14514, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43998:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14517, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44012:2:14", - "nodeType": "VariableDeclaration", - "scope": 14536, - "src": "44007:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14516, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "44007:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14519, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44030:2:14", - "nodeType": "VariableDeclaration", - "scope": 14536, - "src": "44016:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14518, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44016:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14521, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44039:2:14", - "nodeType": "VariableDeclaration", - "scope": 14536, - "src": "44034:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14520, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44034:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "43997:45:14" - }, - "returnParameters": { - "id": 14523, - "nodeType": "ParameterList", - "parameters": [], - "src": "44057:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14559, - "nodeType": "FunctionDefinition", - "src": "44166:181:14", - "nodes": [], - "body": { - "id": 14558, - "nodeType": "Block", - "src": "44241:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c737472696e672c6164647265737329", - "id": 14550, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44291:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a5c70d29969a9ad21bdf8986348e5dc44eea151f64e0f90231a45219c4d0e3d5", - "typeString": "literal_string \"log(bool,uint,string,address)\"" - }, - "value": "log(bool,uint,string,address)" - }, - { - "id": 14551, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14538, - "src": "44324:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14552, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14540, - "src": "44328:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14553, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14542, - "src": "44332:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14554, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14544, - "src": "44336:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a5c70d29969a9ad21bdf8986348e5dc44eea151f64e0f90231a45219c4d0e3d5", - "typeString": "literal_string \"log(bool,uint,string,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 14548, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44267:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14549, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44271:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44267:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14555, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44267:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14547, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "44251:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14556, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44251:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14557, - "nodeType": "ExpressionStatement", - "src": "44251:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44175:3:14", - "parameters": { - "id": 14545, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14538, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44184:2:14", - "nodeType": "VariableDeclaration", - "scope": 14559, - "src": "44179:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14537, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44179:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14540, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44193:2:14", - "nodeType": "VariableDeclaration", - "scope": 14559, - "src": "44188:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14539, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "44188:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14542, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44211:2:14", - "nodeType": "VariableDeclaration", - "scope": 14559, - "src": "44197:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14541, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44197:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14544, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44223:2:14", - "nodeType": "VariableDeclaration", - "scope": 14559, - "src": "44215:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14543, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44215:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "44178:48:14" - }, - "returnParameters": { - "id": 14546, - "nodeType": "ParameterList", - "parameters": [], - "src": "44241:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14582, - "nodeType": "FunctionDefinition", - "src": "44353:164:14", - "nodes": [], - "body": { - "id": 14581, - "nodeType": "Block", - "src": "44416:101:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c626f6f6c2c75696e7429", - "id": 14573, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44466:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d3de5593988099d08808f80d2a972ea3da18ecd746f0a3e437c530efaad65aa0", - "typeString": "literal_string \"log(bool,uint,bool,uint)\"" - }, - "value": "log(bool,uint,bool,uint)" - }, - { - "id": 14574, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14561, - "src": "44494:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14575, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14563, - "src": "44498:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14576, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14565, - "src": "44502:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14577, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14567, - "src": "44506:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d3de5593988099d08808f80d2a972ea3da18ecd746f0a3e437c530efaad65aa0", - "typeString": "literal_string \"log(bool,uint,bool,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 14571, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44442:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44446:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44442:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14578, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44442:67:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14570, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "44426:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14579, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44426:84:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14580, - "nodeType": "ExpressionStatement", - "src": "44426:84:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44362:3:14", - "parameters": { - "id": 14568, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14561, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44371:2:14", - "nodeType": "VariableDeclaration", - "scope": 14582, - "src": "44366:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14560, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44366:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14563, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44380:2:14", - "nodeType": "VariableDeclaration", - "scope": 14582, - "src": "44375:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14562, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "44375:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14565, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44389:2:14", - "nodeType": "VariableDeclaration", - "scope": 14582, - "src": "44384:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14564, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44384:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14567, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44398:2:14", - "nodeType": "VariableDeclaration", - "scope": 14582, - "src": "44393:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14566, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "44393:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "44365:36:14" - }, - "returnParameters": { - "id": 14569, - "nodeType": "ParameterList", - "parameters": [], - "src": "44416:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14605, - "nodeType": "FunctionDefinition", - "src": "44523:175:14", - "nodes": [], - "body": { - "id": 14604, - "nodeType": "Block", - "src": "44595:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c626f6f6c2c737472696e6729", - "id": 14596, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44645:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b6d569d433e69694879a799e3777d59bc29ee89dcbaf739de9b283882fd259ad", - "typeString": "literal_string \"log(bool,uint,bool,string)\"" - }, - "value": "log(bool,uint,bool,string)" - }, - { - "id": 14597, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14584, - "src": "44675:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14598, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14586, - "src": "44679:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14599, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14588, - "src": "44683:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14600, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14590, - "src": "44687:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b6d569d433e69694879a799e3777d59bc29ee89dcbaf739de9b283882fd259ad", - "typeString": "literal_string \"log(bool,uint,bool,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 14594, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44621:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14595, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44625:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44621:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44621:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14593, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "44605:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14602, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44605:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14603, - "nodeType": "ExpressionStatement", - "src": "44605:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44532:3:14", - "parameters": { - "id": 14591, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14584, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44541:2:14", - "nodeType": "VariableDeclaration", - "scope": 14605, - "src": "44536:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14583, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44536:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14586, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44550:2:14", - "nodeType": "VariableDeclaration", - "scope": 14605, - "src": "44545:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14585, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "44545:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14588, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44559:2:14", - "nodeType": "VariableDeclaration", - "scope": 14605, - "src": "44554:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14587, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44554:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14590, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44577:2:14", - "nodeType": "VariableDeclaration", - "scope": 14605, - "src": "44563:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14589, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44563:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "44535:45:14" - }, - "returnParameters": { - "id": 14592, - "nodeType": "ParameterList", - "parameters": [], - "src": "44595:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14628, - "nodeType": "FunctionDefinition", - "src": "44704:164:14", - "nodes": [], - "body": { - "id": 14627, - "nodeType": "Block", - "src": "44767:101:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c626f6f6c2c626f6f6c29", - "id": 14619, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44817:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9e01f7417c5ff66a2399364b03788fbf8437045d38acf377fab727a3440df7be", - "typeString": "literal_string \"log(bool,uint,bool,bool)\"" - }, - "value": "log(bool,uint,bool,bool)" - }, - { - "id": 14620, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14607, - "src": "44845:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14621, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14609, - "src": "44849:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14622, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14611, - "src": "44853:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14623, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14613, - "src": "44857:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9e01f7417c5ff66a2399364b03788fbf8437045d38acf377fab727a3440df7be", - "typeString": "literal_string \"log(bool,uint,bool,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 14617, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44793:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14618, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44797:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44793:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14624, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44793:67:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14616, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "44777:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14625, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44777:84:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14626, - "nodeType": "ExpressionStatement", - "src": "44777:84:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44713:3:14", - "parameters": { - "id": 14614, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14607, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44722:2:14", - "nodeType": "VariableDeclaration", - "scope": 14628, - "src": "44717:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14606, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44717:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14609, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44731:2:14", - "nodeType": "VariableDeclaration", - "scope": 14628, - "src": "44726:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14608, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "44726:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14611, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44740:2:14", - "nodeType": "VariableDeclaration", - "scope": 14628, - "src": "44735:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14610, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44735:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14613, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44749:2:14", - "nodeType": "VariableDeclaration", - "scope": 14628, - "src": "44744:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14612, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44744:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "44716:36:14" - }, - "returnParameters": { - "id": 14615, - "nodeType": "ParameterList", - "parameters": [], - "src": "44767:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14651, - "nodeType": "FunctionDefinition", - "src": "44874:170:14", - "nodes": [], - "body": { - "id": 14650, - "nodeType": "Block", - "src": "44940:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c626f6f6c2c6164647265737329", - "id": 14642, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44990:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4267c7f8f9987b1bc934e31e016f4d182f67ab95e55c5567fbc71b4f01a83f4b", - "typeString": "literal_string \"log(bool,uint,bool,address)\"" - }, - "value": "log(bool,uint,bool,address)" - }, - { - "id": 14643, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14630, - "src": "45021:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14644, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14632, - "src": "45025:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14645, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14634, - "src": "45029:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14646, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14636, - "src": "45033:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4267c7f8f9987b1bc934e31e016f4d182f67ab95e55c5567fbc71b4f01a83f4b", - "typeString": "literal_string \"log(bool,uint,bool,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 14640, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44966:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14641, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44970:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44966:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44966:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14639, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "44950:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44950:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14649, - "nodeType": "ExpressionStatement", - "src": "44950:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44883:3:14", - "parameters": { - "id": 14637, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14630, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44892:2:14", - "nodeType": "VariableDeclaration", - "scope": 14651, - "src": "44887:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14629, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44887:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14632, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44901:2:14", - "nodeType": "VariableDeclaration", - "scope": 14651, - "src": "44896:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14631, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "44896:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14634, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44910:2:14", - "nodeType": "VariableDeclaration", - "scope": 14651, - "src": "44905:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14633, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44905:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14636, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44922:2:14", - "nodeType": "VariableDeclaration", - "scope": 14651, - "src": "44914:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14635, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44914:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "44886:39:14" - }, - "returnParameters": { - "id": 14638, - "nodeType": "ParameterList", - "parameters": [], - "src": "44940:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14674, - "nodeType": "FunctionDefinition", - "src": "45050:170:14", - "nodes": [], - "body": { - "id": 14673, - "nodeType": "Block", - "src": "45116:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c616464726573732c75696e7429", - "id": 14665, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45166:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_caa5236acb25f4f5a01ec5f570d99d895d397c7e9fd20ed31c9c33fa8a17f26d", - "typeString": "literal_string \"log(bool,uint,address,uint)\"" - }, - "value": "log(bool,uint,address,uint)" - }, - { - "id": 14666, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14653, - "src": "45197:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14667, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14655, - "src": "45201:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14668, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14657, - "src": "45205:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14669, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14659, - "src": "45209:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_caa5236acb25f4f5a01ec5f570d99d895d397c7e9fd20ed31c9c33fa8a17f26d", - "typeString": "literal_string \"log(bool,uint,address,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 14663, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45142:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14664, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45146:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45142:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14670, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45142:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14662, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "45126:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14671, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45126:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14672, - "nodeType": "ExpressionStatement", - "src": "45126:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45059:3:14", - "parameters": { - "id": 14660, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14653, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45068:2:14", - "nodeType": "VariableDeclaration", - "scope": 14674, - "src": "45063:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14652, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45063:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14655, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45077:2:14", - "nodeType": "VariableDeclaration", - "scope": 14674, - "src": "45072:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14654, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "45072:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14657, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45089:2:14", - "nodeType": "VariableDeclaration", - "scope": 14674, - "src": "45081:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14656, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "45081:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14659, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45098:2:14", - "nodeType": "VariableDeclaration", - "scope": 14674, - "src": "45093:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14658, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "45093:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "45062:39:14" - }, - "returnParameters": { - "id": 14661, - "nodeType": "ParameterList", - "parameters": [], - "src": "45116:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14697, - "nodeType": "FunctionDefinition", - "src": "45226:181:14", - "nodes": [], - "body": { - "id": 14696, - "nodeType": "Block", - "src": "45301:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c616464726573732c737472696e6729", - "id": 14688, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45351:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_180913415ccbde45e0d2184e3dd2387bed86df0066bd73fcb896bc02a6226689", - "typeString": "literal_string \"log(bool,uint,address,string)\"" - }, - "value": "log(bool,uint,address,string)" - }, - { - "id": 14689, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14676, - "src": "45384:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14690, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14678, - "src": "45388:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14691, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14680, - "src": "45392:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14692, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14682, - "src": "45396:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_180913415ccbde45e0d2184e3dd2387bed86df0066bd73fcb896bc02a6226689", - "typeString": "literal_string \"log(bool,uint,address,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 14686, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45327:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45331:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45327:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14693, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45327:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14685, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "45311:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14694, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45311:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14695, - "nodeType": "ExpressionStatement", - "src": "45311:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45235:3:14", - "parameters": { - "id": 14683, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14676, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45244:2:14", - "nodeType": "VariableDeclaration", - "scope": 14697, - "src": "45239:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14675, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45239:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14678, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45253:2:14", - "nodeType": "VariableDeclaration", - "scope": 14697, - "src": "45248:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14677, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "45248:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14680, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45265:2:14", - "nodeType": "VariableDeclaration", - "scope": 14697, - "src": "45257:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14679, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "45257:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14682, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45283:2:14", - "nodeType": "VariableDeclaration", - "scope": 14697, - "src": "45269:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14681, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45269:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "45238:48:14" - }, - "returnParameters": { - "id": 14684, - "nodeType": "ParameterList", - "parameters": [], - "src": "45301:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14720, - "nodeType": "FunctionDefinition", - "src": "45413:170:14", - "nodes": [], - "body": { - "id": 14719, - "nodeType": "Block", - "src": "45479:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c616464726573732c626f6f6c29", - "id": 14711, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45529:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_65adf4082cd731bd1252f957eddeecdbdcf11e48975b5ac20d902fcb218153fa", - "typeString": "literal_string \"log(bool,uint,address,bool)\"" - }, - "value": "log(bool,uint,address,bool)" - }, - { - "id": 14712, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14699, - "src": "45560:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14713, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14701, - "src": "45564:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14714, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14703, - "src": "45568:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14715, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14705, - "src": "45572:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_65adf4082cd731bd1252f957eddeecdbdcf11e48975b5ac20d902fcb218153fa", - "typeString": "literal_string \"log(bool,uint,address,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 14709, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45505:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14710, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45509:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45505:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14716, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45505:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14708, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "45489:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14717, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45489:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14718, - "nodeType": "ExpressionStatement", - "src": "45489:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45422:3:14", - "parameters": { - "id": 14706, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14699, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45431:2:14", - "nodeType": "VariableDeclaration", - "scope": 14720, - "src": "45426:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14698, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45426:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14701, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45440:2:14", - "nodeType": "VariableDeclaration", - "scope": 14720, - "src": "45435:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14700, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "45435:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14703, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45452:2:14", - "nodeType": "VariableDeclaration", - "scope": 14720, - "src": "45444:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14702, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "45444:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14705, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45461:2:14", - "nodeType": "VariableDeclaration", - "scope": 14720, - "src": "45456:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14704, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45456:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "45425:39:14" - }, - "returnParameters": { - "id": 14707, - "nodeType": "ParameterList", - "parameters": [], - "src": "45479:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14743, - "nodeType": "FunctionDefinition", - "src": "45589:176:14", - "nodes": [], - "body": { - "id": 14742, - "nodeType": "Block", - "src": "45658:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c616464726573732c6164647265737329", - "id": 14734, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45708:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8a2f90aa07fc9781ea213028ce9aef0a44d6a31a77e2f4d54d97a0d808348d5d", - "typeString": "literal_string \"log(bool,uint,address,address)\"" - }, - "value": "log(bool,uint,address,address)" - }, - { - "id": 14735, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14722, - "src": "45742:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14736, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14724, - "src": "45746:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14737, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14726, - "src": "45750:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14738, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14728, - "src": "45754:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8a2f90aa07fc9781ea213028ce9aef0a44d6a31a77e2f4d54d97a0d808348d5d", - "typeString": "literal_string \"log(bool,uint,address,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 14732, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45684:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14733, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45688:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45684:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45684:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14731, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "45668:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14740, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45668:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14741, - "nodeType": "ExpressionStatement", - "src": "45668:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45598:3:14", - "parameters": { - "id": 14729, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14722, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45607:2:14", - "nodeType": "VariableDeclaration", - "scope": 14743, - "src": "45602:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14721, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45602:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14724, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45616:2:14", - "nodeType": "VariableDeclaration", - "scope": 14743, - "src": "45611:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14723, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "45611:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14726, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45628:2:14", - "nodeType": "VariableDeclaration", - "scope": 14743, - "src": "45620:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14725, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "45620:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14728, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45640:2:14", - "nodeType": "VariableDeclaration", - "scope": 14743, - "src": "45632:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14727, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "45632:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "45601:42:14" - }, - "returnParameters": { - "id": 14730, - "nodeType": "ParameterList", - "parameters": [], - "src": "45658:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14766, - "nodeType": "FunctionDefinition", - "src": "45771:175:14", - "nodes": [], - "body": { - "id": 14765, - "nodeType": "Block", - "src": "45843:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e742c75696e7429", - "id": 14757, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45893:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8e4ae86e71c7c77322d634e39fba7bc2a7e4fbe918bce10fe47326050a13b7c9", - "typeString": "literal_string \"log(bool,string,uint,uint)\"" - }, - "value": "log(bool,string,uint,uint)" - }, - { - "id": 14758, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14745, - "src": "45923:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14759, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14747, - "src": "45927:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14760, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14749, - "src": "45931:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14761, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14751, - "src": "45935:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8e4ae86e71c7c77322d634e39fba7bc2a7e4fbe918bce10fe47326050a13b7c9", - "typeString": "literal_string \"log(bool,string,uint,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 14755, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45869:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45873:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45869:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14762, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45869:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14754, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "45853:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45853:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14764, - "nodeType": "ExpressionStatement", - "src": "45853:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45780:3:14", - "parameters": { - "id": 14752, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14745, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45789:2:14", - "nodeType": "VariableDeclaration", - "scope": 14766, - "src": "45784:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14744, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45784:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14747, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45807:2:14", - "nodeType": "VariableDeclaration", - "scope": 14766, - "src": "45793:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14746, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45793:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14749, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45816:2:14", - "nodeType": "VariableDeclaration", - "scope": 14766, - "src": "45811:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14748, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "45811:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14751, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45825:2:14", - "nodeType": "VariableDeclaration", - "scope": 14766, - "src": "45820:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14750, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "45820:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "45783:45:14" - }, - "returnParameters": { - "id": 14753, - "nodeType": "ParameterList", - "parameters": [], - "src": "45843:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14789, - "nodeType": "FunctionDefinition", - "src": "45952:186:14", - "nodes": [], - "body": { - "id": 14788, - "nodeType": "Block", - "src": "46033:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e742c737472696e6729", - "id": 14780, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46083:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_77a1abed9f9fbc44023408083dd5c1cf42b0b566799470c6ab535b12d0f8f649", - "typeString": "literal_string \"log(bool,string,uint,string)\"" - }, - "value": "log(bool,string,uint,string)" - }, - { - "id": 14781, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14768, - "src": "46115:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14782, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14770, - "src": "46119:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14783, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14772, - "src": "46123:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14784, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14774, - "src": "46127:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_77a1abed9f9fbc44023408083dd5c1cf42b0b566799470c6ab535b12d0f8f649", - "typeString": "literal_string \"log(bool,string,uint,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 14778, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46059:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14779, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46063:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46059:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14785, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46059:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14777, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "46043:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46043:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14787, - "nodeType": "ExpressionStatement", - "src": "46043:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45961:3:14", - "parameters": { - "id": 14775, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14768, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45970:2:14", - "nodeType": "VariableDeclaration", - "scope": 14789, - "src": "45965:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14767, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45965:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14770, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45988:2:14", - "nodeType": "VariableDeclaration", - "scope": 14789, - "src": "45974:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14769, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45974:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14772, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45997:2:14", - "nodeType": "VariableDeclaration", - "scope": 14789, - "src": "45992:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14771, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "45992:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14774, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46015:2:14", - "nodeType": "VariableDeclaration", - "scope": 14789, - "src": "46001:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14773, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46001:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "45964:54:14" - }, - "returnParameters": { - "id": 14776, - "nodeType": "ParameterList", - "parameters": [], - "src": "46033:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14812, - "nodeType": "FunctionDefinition", - "src": "46144:175:14", - "nodes": [], - "body": { - "id": 14811, - "nodeType": "Block", - "src": "46216:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e742c626f6f6c29", - "id": 14803, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46266:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_20bbc9af7c6bae926ffd73678c9130310d497610a5c76e6e2ae48edff96f38a8", - "typeString": "literal_string \"log(bool,string,uint,bool)\"" - }, - "value": "log(bool,string,uint,bool)" - }, - { - "id": 14804, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14791, - "src": "46296:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14805, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14793, - "src": "46300:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14806, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14795, - "src": "46304:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14807, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14797, - "src": "46308:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_20bbc9af7c6bae926ffd73678c9130310d497610a5c76e6e2ae48edff96f38a8", - "typeString": "literal_string \"log(bool,string,uint,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 14801, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46242:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14802, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46246:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46242:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14808, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46242:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14800, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "46226:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46226:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14810, - "nodeType": "ExpressionStatement", - "src": "46226:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46153:3:14", - "parameters": { - "id": 14798, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14791, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46162:2:14", - "nodeType": "VariableDeclaration", - "scope": 14812, - "src": "46157:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14790, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46157:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14793, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46180:2:14", - "nodeType": "VariableDeclaration", - "scope": 14812, - "src": "46166:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14792, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46166:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14795, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46189:2:14", - "nodeType": "VariableDeclaration", - "scope": 14812, - "src": "46184:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14794, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "46184:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14797, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46198:2:14", - "nodeType": "VariableDeclaration", - "scope": 14812, - "src": "46193:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14796, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46193:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "46156:45:14" - }, - "returnParameters": { - "id": 14799, - "nodeType": "ParameterList", - "parameters": [], - "src": "46216:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14835, - "nodeType": "FunctionDefinition", - "src": "46325:181:14", - "nodes": [], - "body": { - "id": 14834, - "nodeType": "Block", - "src": "46400:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e742c6164647265737329", - "id": 14826, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46450:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5b22b938264abfc98de8ea025ac5bd87df03cbffd23b96cdfe194e0ef6fb136a", - "typeString": "literal_string \"log(bool,string,uint,address)\"" - }, - "value": "log(bool,string,uint,address)" - }, - { - "id": 14827, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14814, - "src": "46483:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14828, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14816, - "src": "46487:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14829, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14818, - "src": "46491:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14830, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14820, - "src": "46495:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5b22b938264abfc98de8ea025ac5bd87df03cbffd23b96cdfe194e0ef6fb136a", - "typeString": "literal_string \"log(bool,string,uint,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 14824, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46426:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14825, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46430:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46426:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46426:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14823, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "46410:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46410:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14833, - "nodeType": "ExpressionStatement", - "src": "46410:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46334:3:14", - "parameters": { - "id": 14821, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14814, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46343:2:14", - "nodeType": "VariableDeclaration", - "scope": 14835, - "src": "46338:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14813, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46338:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14816, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46361:2:14", - "nodeType": "VariableDeclaration", - "scope": 14835, - "src": "46347:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14815, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46347:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14818, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46370:2:14", - "nodeType": "VariableDeclaration", - "scope": 14835, - "src": "46365:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14817, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "46365:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14820, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46382:2:14", - "nodeType": "VariableDeclaration", - "scope": 14835, - "src": "46374:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14819, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "46374:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "46337:48:14" - }, - "returnParameters": { - "id": 14822, - "nodeType": "ParameterList", - "parameters": [], - "src": "46400:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14858, - "nodeType": "FunctionDefinition", - "src": "46512:186:14", - "nodes": [], - "body": { - "id": 14857, - "nodeType": "Block", - "src": "46593:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c75696e7429", - "id": 14849, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46643:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5ddb259214a75c0fc75757e8e19b1cf1c4ec17a5eef635b4715f04b86884d5df", - "typeString": "literal_string \"log(bool,string,string,uint)\"" - }, - "value": "log(bool,string,string,uint)" - }, - { - "id": 14850, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14837, - "src": "46675:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14851, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14839, - "src": "46679:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14852, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14841, - "src": "46683:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14853, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14843, - "src": "46687:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5ddb259214a75c0fc75757e8e19b1cf1c4ec17a5eef635b4715f04b86884d5df", - "typeString": "literal_string \"log(bool,string,string,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 14847, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46619:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14848, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46623:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46619:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46619:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14846, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "46603:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14855, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46603:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14856, - "nodeType": "ExpressionStatement", - "src": "46603:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46521:3:14", - "parameters": { - "id": 14844, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14837, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46530:2:14", - "nodeType": "VariableDeclaration", - "scope": 14858, - "src": "46525:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14836, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46525:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14839, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46548:2:14", - "nodeType": "VariableDeclaration", - "scope": 14858, - "src": "46534:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14838, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46534:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14841, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46566:2:14", - "nodeType": "VariableDeclaration", - "scope": 14858, - "src": "46552:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14840, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46552:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14843, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46575:2:14", - "nodeType": "VariableDeclaration", - "scope": 14858, - "src": "46570:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14842, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "46570:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "46524:54:14" - }, - "returnParameters": { - "id": 14845, - "nodeType": "ParameterList", - "parameters": [], - "src": "46593:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14881, - "nodeType": "FunctionDefinition", - "src": "46704:197:14", - "nodes": [], - "body": { - "id": 14880, - "nodeType": "Block", - "src": "46794:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c737472696e6729", - "id": 14872, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46844:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1762e32af9fa924f818d8f4a6c92011d30129df73749081e0b95feea819a17c9", - "typeString": "literal_string \"log(bool,string,string,string)\"" - }, - "value": "log(bool,string,string,string)" - }, - { - "id": 14873, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14860, - "src": "46878:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14874, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14862, - "src": "46882:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14875, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14864, - "src": "46886:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14876, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14866, - "src": "46890:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1762e32af9fa924f818d8f4a6c92011d30129df73749081e0b95feea819a17c9", - "typeString": "literal_string \"log(bool,string,string,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 14870, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46820:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14871, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46824:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46820:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14877, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46820:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14869, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "46804:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46804:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14879, - "nodeType": "ExpressionStatement", - "src": "46804:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46713:3:14", - "parameters": { - "id": 14867, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14860, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46722:2:14", - "nodeType": "VariableDeclaration", - "scope": 14881, - "src": "46717:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14859, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46717:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14862, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46740:2:14", - "nodeType": "VariableDeclaration", - "scope": 14881, - "src": "46726:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14861, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46726:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14864, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46758:2:14", - "nodeType": "VariableDeclaration", - "scope": 14881, - "src": "46744:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14863, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46744:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14866, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46776:2:14", - "nodeType": "VariableDeclaration", - "scope": 14881, - "src": "46762:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14865, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46762:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "46716:63:14" - }, - "returnParameters": { - "id": 14868, - "nodeType": "ParameterList", - "parameters": [], - "src": "46794:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14904, - "nodeType": "FunctionDefinition", - "src": "46907:186:14", - "nodes": [], - "body": { - "id": 14903, - "nodeType": "Block", - "src": "46988:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c626f6f6c29", - "id": 14895, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47038:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e4b87e52d13efc5b368defba0463e423637ec55125c6230945d005f817198d1", - "typeString": "literal_string \"log(bool,string,string,bool)\"" - }, - "value": "log(bool,string,string,bool)" - }, - { - "id": 14896, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14883, - "src": "47070:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14897, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14885, - "src": "47074:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14898, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14887, - "src": "47078:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14899, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14889, - "src": "47082:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1e4b87e52d13efc5b368defba0463e423637ec55125c6230945d005f817198d1", - "typeString": "literal_string \"log(bool,string,string,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 14893, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47014:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14894, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47018:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47014:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14900, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47014:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14892, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "46998:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14901, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46998:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14902, - "nodeType": "ExpressionStatement", - "src": "46998:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46916:3:14", - "parameters": { - "id": 14890, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14883, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46925:2:14", - "nodeType": "VariableDeclaration", - "scope": 14904, - "src": "46920:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14882, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46920:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14885, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46943:2:14", - "nodeType": "VariableDeclaration", - "scope": 14904, - "src": "46929:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14884, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46929:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14887, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46961:2:14", - "nodeType": "VariableDeclaration", - "scope": 14904, - "src": "46947:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14886, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46947:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14889, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46970:2:14", - "nodeType": "VariableDeclaration", - "scope": 14904, - "src": "46965:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14888, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46965:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "46919:54:14" - }, - "returnParameters": { - "id": 14891, - "nodeType": "ParameterList", - "parameters": [], - "src": "46988:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14927, - "nodeType": "FunctionDefinition", - "src": "47099:192:14", - "nodes": [], - "body": { - "id": 14926, - "nodeType": "Block", - "src": "47183:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c6164647265737329", - "id": 14918, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47233:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_97d394d89551bd441d1340d1c3dcc3b6160871bf042c6884bcb4049b2fa2bdb5", - "typeString": "literal_string \"log(bool,string,string,address)\"" - }, - "value": "log(bool,string,string,address)" - }, - { - "id": 14919, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14906, - "src": "47268:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14920, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14908, - "src": "47272:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14921, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14910, - "src": "47276:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14922, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14912, - "src": "47280:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_97d394d89551bd441d1340d1c3dcc3b6160871bf042c6884bcb4049b2fa2bdb5", - "typeString": "literal_string \"log(bool,string,string,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 14916, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47209:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14917, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47213:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47209:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14923, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47209:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14915, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "47193:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14924, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47193:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14925, - "nodeType": "ExpressionStatement", - "src": "47193:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47108:3:14", - "parameters": { - "id": 14913, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14906, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47117:2:14", - "nodeType": "VariableDeclaration", - "scope": 14927, - "src": "47112:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14905, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47112:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14908, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47135:2:14", - "nodeType": "VariableDeclaration", - "scope": 14927, - "src": "47121:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14907, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47121:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14910, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47153:2:14", - "nodeType": "VariableDeclaration", - "scope": 14927, - "src": "47139:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14909, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47139:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14912, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47165:2:14", - "nodeType": "VariableDeclaration", - "scope": 14927, - "src": "47157:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14911, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "47157:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "47111:57:14" - }, - "returnParameters": { - "id": 14914, - "nodeType": "ParameterList", - "parameters": [], - "src": "47183:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14950, - "nodeType": "FunctionDefinition", - "src": "47297:175:14", - "nodes": [], - "body": { - "id": 14949, - "nodeType": "Block", - "src": "47369:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c75696e7429", - "id": 14941, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47419:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8d6f9ca539d16169f184b68d5f2cbc34ada538d6737083559aa5a96068582055", - "typeString": "literal_string \"log(bool,string,bool,uint)\"" - }, - "value": "log(bool,string,bool,uint)" - }, - { - "id": 14942, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14929, - "src": "47449:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14943, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14931, - "src": "47453:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14944, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14933, - "src": "47457:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14945, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14935, - "src": "47461:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8d6f9ca539d16169f184b68d5f2cbc34ada538d6737083559aa5a96068582055", - "typeString": "literal_string \"log(bool,string,bool,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 14939, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47395:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14940, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47399:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47395:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14946, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47395:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14938, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "47379:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47379:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14948, - "nodeType": "ExpressionStatement", - "src": "47379:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47306:3:14", - "parameters": { - "id": 14936, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14929, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47315:2:14", - "nodeType": "VariableDeclaration", - "scope": 14950, - "src": "47310:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14928, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47310:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14931, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47333:2:14", - "nodeType": "VariableDeclaration", - "scope": 14950, - "src": "47319:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14930, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47319:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14933, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47342:2:14", - "nodeType": "VariableDeclaration", - "scope": 14950, - "src": "47337:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14932, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47337:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14935, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47351:2:14", - "nodeType": "VariableDeclaration", - "scope": 14950, - "src": "47346:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14934, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "47346:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "47309:45:14" - }, - "returnParameters": { - "id": 14937, - "nodeType": "ParameterList", - "parameters": [], - "src": "47369:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14973, - "nodeType": "FunctionDefinition", - "src": "47478:186:14", - "nodes": [], - "body": { - "id": 14972, - "nodeType": "Block", - "src": "47559:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c737472696e6729", - "id": 14964, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47609:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_483d0416329d0c81c68975a0cac822497c590c00f8ae8be66af490d0f9215468", - "typeString": "literal_string \"log(bool,string,bool,string)\"" - }, - "value": "log(bool,string,bool,string)" - }, - { - "id": 14965, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14952, - "src": "47641:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14966, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14954, - "src": "47645:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14967, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14956, - "src": "47649:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14968, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14958, - "src": "47653:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_483d0416329d0c81c68975a0cac822497c590c00f8ae8be66af490d0f9215468", - "typeString": "literal_string \"log(bool,string,bool,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 14962, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47585:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14963, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47589:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47585:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14969, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47585:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14961, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "47569:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14970, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47569:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14971, - "nodeType": "ExpressionStatement", - "src": "47569:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47487:3:14", - "parameters": { - "id": 14959, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14952, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47496:2:14", - "nodeType": "VariableDeclaration", - "scope": 14973, - "src": "47491:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14951, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47491:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14954, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47514:2:14", - "nodeType": "VariableDeclaration", - "scope": 14973, - "src": "47500:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14953, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47500:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14956, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47523:2:14", - "nodeType": "VariableDeclaration", - "scope": 14973, - "src": "47518:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14955, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47518:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14958, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47541:2:14", - "nodeType": "VariableDeclaration", - "scope": 14973, - "src": "47527:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14957, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47527:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "47490:54:14" - }, - "returnParameters": { - "id": 14960, - "nodeType": "ParameterList", - "parameters": [], - "src": "47559:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14996, - "nodeType": "FunctionDefinition", - "src": "47670:175:14", - "nodes": [], - "body": { - "id": 14995, - "nodeType": "Block", - "src": "47742:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c626f6f6c29", - "id": 14987, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47792:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dc5e935b9ccf45ff13b5900aeaf3a593df3e9479fc07e9c213f5fcaa0951e91f", - "typeString": "literal_string \"log(bool,string,bool,bool)\"" - }, - "value": "log(bool,string,bool,bool)" - }, - { - "id": 14988, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14975, - "src": "47822:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14989, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14977, - "src": "47826:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14990, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14979, - "src": "47830:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14991, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14981, - "src": "47834:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_dc5e935b9ccf45ff13b5900aeaf3a593df3e9479fc07e9c213f5fcaa0951e91f", - "typeString": "literal_string \"log(bool,string,bool,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 14985, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47768:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47772:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47768:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47768:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14984, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "47752:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14993, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47752:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14994, - "nodeType": "ExpressionStatement", - "src": "47752:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47679:3:14", - "parameters": { - "id": 14982, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14975, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47688:2:14", - "nodeType": "VariableDeclaration", - "scope": 14996, - "src": "47683:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14974, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47683:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14977, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47706:2:14", - "nodeType": "VariableDeclaration", - "scope": 14996, - "src": "47692:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14976, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47692:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14979, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47715:2:14", - "nodeType": "VariableDeclaration", - "scope": 14996, - "src": "47710:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14978, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47710:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14981, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47724:2:14", - "nodeType": "VariableDeclaration", - "scope": 14996, - "src": "47719:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14980, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47719:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "47682:45:14" - }, - "returnParameters": { - "id": 14983, - "nodeType": "ParameterList", - "parameters": [], - "src": "47742:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15019, - "nodeType": "FunctionDefinition", - "src": "47851:181:14", - "nodes": [], - "body": { - "id": 15018, - "nodeType": "Block", - "src": "47926:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c6164647265737329", - "id": 15010, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47976:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_538e06ab06366b189ea53da7c11628ee5730bc373b0bc64719bea1a2afab03c5", - "typeString": "literal_string \"log(bool,string,bool,address)\"" - }, - "value": "log(bool,string,bool,address)" - }, - { - "id": 15011, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14998, - "src": "48009:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15012, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15000, - "src": "48013:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15013, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15002, - "src": "48017:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15014, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15004, - "src": "48021:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_538e06ab06366b189ea53da7c11628ee5730bc373b0bc64719bea1a2afab03c5", - "typeString": "literal_string \"log(bool,string,bool,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 15008, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47952:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15009, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47956:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47952:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15015, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47952:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15007, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "47936:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15016, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47936:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15017, - "nodeType": "ExpressionStatement", - "src": "47936:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47860:3:14", - "parameters": { - "id": 15005, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14998, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47869:2:14", - "nodeType": "VariableDeclaration", - "scope": 15019, - "src": "47864:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14997, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47864:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15000, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47887:2:14", - "nodeType": "VariableDeclaration", - "scope": 15019, - "src": "47873:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14999, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47873:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15002, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47896:2:14", - "nodeType": "VariableDeclaration", - "scope": 15019, - "src": "47891:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15001, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47891:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15004, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47908:2:14", - "nodeType": "VariableDeclaration", - "scope": 15019, - "src": "47900:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15003, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "47900:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "47863:48:14" - }, - "returnParameters": { - "id": 15006, - "nodeType": "ParameterList", - "parameters": [], - "src": "47926:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15042, - "nodeType": "FunctionDefinition", - "src": "48038:181:14", - "nodes": [], - "body": { - "id": 15041, - "nodeType": "Block", - "src": "48113:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c75696e7429", - "id": 15033, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48163:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1b0b955b558cd224468bb20ba92b23519cb59fe363a105b00d7a815c1673c4ca", - "typeString": "literal_string \"log(bool,string,address,uint)\"" - }, - "value": "log(bool,string,address,uint)" - }, - { - "id": 15034, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15021, - "src": "48196:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15035, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15023, - "src": "48200:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15036, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15025, - "src": "48204:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15037, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15027, - "src": "48208:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1b0b955b558cd224468bb20ba92b23519cb59fe363a105b00d7a815c1673c4ca", - "typeString": "literal_string \"log(bool,string,address,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 15031, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48139:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15032, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48143:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48139:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48139:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15030, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "48123:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48123:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15040, - "nodeType": "ExpressionStatement", - "src": "48123:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48047:3:14", - "parameters": { - "id": 15028, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15021, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48056:2:14", - "nodeType": "VariableDeclaration", - "scope": 15042, - "src": "48051:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15020, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48051:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15023, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48074:2:14", - "nodeType": "VariableDeclaration", - "scope": 15042, - "src": "48060:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15022, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48060:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15025, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48086:2:14", - "nodeType": "VariableDeclaration", - "scope": 15042, - "src": "48078:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15024, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "48078:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15027, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48095:2:14", - "nodeType": "VariableDeclaration", - "scope": 15042, - "src": "48090:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15026, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "48090:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "48050:48:14" - }, - "returnParameters": { - "id": 15029, - "nodeType": "ParameterList", - "parameters": [], - "src": "48113:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15065, - "nodeType": "FunctionDefinition", - "src": "48225:192:14", - "nodes": [], - "body": { - "id": 15064, - "nodeType": "Block", - "src": "48309:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c737472696e6729", - "id": 15056, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48359:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_12d6c788fea4d6144f2607e1e8821bec55a5c2dfdc4cece41a536f7b7831e7a7", - "typeString": "literal_string \"log(bool,string,address,string)\"" - }, - "value": "log(bool,string,address,string)" - }, - { - "id": 15057, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15044, - "src": "48394:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15058, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15046, - "src": "48398:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15059, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15048, - "src": "48402:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15060, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15050, - "src": "48406:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_12d6c788fea4d6144f2607e1e8821bec55a5c2dfdc4cece41a536f7b7831e7a7", - "typeString": "literal_string \"log(bool,string,address,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 15054, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48335:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15055, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48339:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48335:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48335:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15053, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "48319:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15062, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48319:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15063, - "nodeType": "ExpressionStatement", - "src": "48319:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48234:3:14", - "parameters": { - "id": 15051, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15044, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48243:2:14", - "nodeType": "VariableDeclaration", - "scope": 15065, - "src": "48238:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15043, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48238:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15046, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48261:2:14", - "nodeType": "VariableDeclaration", - "scope": 15065, - "src": "48247:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15045, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48247:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15048, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48273:2:14", - "nodeType": "VariableDeclaration", - "scope": 15065, - "src": "48265:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15047, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "48265:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15050, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48291:2:14", - "nodeType": "VariableDeclaration", - "scope": 15065, - "src": "48277:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15049, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48277:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "48237:57:14" - }, - "returnParameters": { - "id": 15052, - "nodeType": "ParameterList", - "parameters": [], - "src": "48309:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15088, - "nodeType": "FunctionDefinition", - "src": "48423:181:14", - "nodes": [], - "body": { - "id": 15087, - "nodeType": "Block", - "src": "48498:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c626f6f6c29", - "id": 15079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48548:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6dd434ca1fa26d491bcd72b7fe69eb72d41cae8eadbda5a7f985734e1b80c67d", - "typeString": "literal_string \"log(bool,string,address,bool)\"" - }, - "value": "log(bool,string,address,bool)" - }, - { - "id": 15080, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15067, - "src": "48581:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15081, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15069, - "src": "48585:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15082, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15071, - "src": "48589:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15083, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15073, - "src": "48593:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6dd434ca1fa26d491bcd72b7fe69eb72d41cae8eadbda5a7f985734e1b80c67d", - "typeString": "literal_string \"log(bool,string,address,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 15077, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48524:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15078, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48528:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48524:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15084, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48524:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15076, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "48508:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15085, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48508:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15086, - "nodeType": "ExpressionStatement", - "src": "48508:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48432:3:14", - "parameters": { - "id": 15074, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15067, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48441:2:14", - "nodeType": "VariableDeclaration", - "scope": 15088, - "src": "48436:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15066, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48436:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15069, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48459:2:14", - "nodeType": "VariableDeclaration", - "scope": 15088, - "src": "48445:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15068, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48445:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15071, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48471:2:14", - "nodeType": "VariableDeclaration", - "scope": 15088, - "src": "48463:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15070, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "48463:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15073, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48480:2:14", - "nodeType": "VariableDeclaration", - "scope": 15088, - "src": "48475:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15072, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48475:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "48435:48:14" - }, - "returnParameters": { - "id": 15075, - "nodeType": "ParameterList", - "parameters": [], - "src": "48498:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15111, - "nodeType": "FunctionDefinition", - "src": "48610:187:14", - "nodes": [], - "body": { - "id": 15110, - "nodeType": "Block", - "src": "48688:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c6164647265737329", - "id": 15102, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48738:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2b2b18dc50ecc75180f201de41eca533fbda0c7bf525c06b5b8e87bc1d010822", - "typeString": "literal_string \"log(bool,string,address,address)\"" - }, - "value": "log(bool,string,address,address)" - }, - { - "id": 15103, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15090, - "src": "48774:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15104, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15092, - "src": "48778:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15105, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15094, - "src": "48782:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15106, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15096, - "src": "48786:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2b2b18dc50ecc75180f201de41eca533fbda0c7bf525c06b5b8e87bc1d010822", - "typeString": "literal_string \"log(bool,string,address,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 15100, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48714:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15101, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48718:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48714:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48714:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15099, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "48698:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15108, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48698:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15109, - "nodeType": "ExpressionStatement", - "src": "48698:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48619:3:14", - "parameters": { - "id": 15097, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15090, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48628:2:14", - "nodeType": "VariableDeclaration", - "scope": 15111, - "src": "48623:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15089, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48623:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15092, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48646:2:14", - "nodeType": "VariableDeclaration", - "scope": 15111, - "src": "48632:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15091, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48632:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15094, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48658:2:14", - "nodeType": "VariableDeclaration", - "scope": 15111, - "src": "48650:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15093, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "48650:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15096, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48670:2:14", - "nodeType": "VariableDeclaration", - "scope": 15111, - "src": "48662:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15095, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "48662:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "48622:51:14" - }, - "returnParameters": { - "id": 15098, - "nodeType": "ParameterList", - "parameters": [], - "src": "48688:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15134, - "nodeType": "FunctionDefinition", - "src": "48803:164:14", - "nodes": [], - "body": { - "id": 15133, - "nodeType": "Block", - "src": "48866:101:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e742c75696e7429", - "id": 15125, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48916:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4667de8ece32e91ade336fb6d8a14a500512d40e1162a34636a5bca908b16e6a", - "typeString": "literal_string \"log(bool,bool,uint,uint)\"" - }, - "value": "log(bool,bool,uint,uint)" - }, - { - "id": 15126, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15113, - "src": "48944:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15127, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15115, - "src": "48948:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15128, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15117, - "src": "48952:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15129, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15119, - "src": "48956:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4667de8ece32e91ade336fb6d8a14a500512d40e1162a34636a5bca908b16e6a", - "typeString": "literal_string \"log(bool,bool,uint,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 15123, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48892:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15124, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48896:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48892:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48892:67:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15122, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "48876:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48876:84:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15132, - "nodeType": "ExpressionStatement", - "src": "48876:84:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48812:3:14", - "parameters": { - "id": 15120, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15113, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48821:2:14", - "nodeType": "VariableDeclaration", - "scope": 15134, - "src": "48816:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15112, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48816:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15115, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48830:2:14", - "nodeType": "VariableDeclaration", - "scope": 15134, - "src": "48825:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15114, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48825:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15117, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48839:2:14", - "nodeType": "VariableDeclaration", - "scope": 15134, - "src": "48834:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15116, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "48834:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15119, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48848:2:14", - "nodeType": "VariableDeclaration", - "scope": 15134, - "src": "48843:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15118, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "48843:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "48815:36:14" - }, - "returnParameters": { - "id": 15121, - "nodeType": "ParameterList", - "parameters": [], - "src": "48866:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15157, - "nodeType": "FunctionDefinition", - "src": "48973:175:14", - "nodes": [], - "body": { - "id": 15156, - "nodeType": "Block", - "src": "49045:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e742c737472696e6729", - "id": 15148, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49095:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_50618937639b3b1cb3bbe247efb1fae4eb9a85d1e66ac66dfc77c62561966adc", - "typeString": "literal_string \"log(bool,bool,uint,string)\"" - }, - "value": "log(bool,bool,uint,string)" - }, - { - "id": 15149, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15136, - "src": "49125:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15150, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15138, - "src": "49129:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15151, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15140, - "src": "49133:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15152, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15142, - "src": "49137:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_50618937639b3b1cb3bbe247efb1fae4eb9a85d1e66ac66dfc77c62561966adc", - "typeString": "literal_string \"log(bool,bool,uint,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 15146, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49071:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15147, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49075:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49071:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15153, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49071:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15145, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "49055:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15154, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49055:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15155, - "nodeType": "ExpressionStatement", - "src": "49055:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48982:3:14", - "parameters": { - "id": 15143, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15136, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48991:2:14", - "nodeType": "VariableDeclaration", - "scope": 15157, - "src": "48986:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15135, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48986:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15138, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49000:2:14", - "nodeType": "VariableDeclaration", - "scope": 15157, - "src": "48995:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15137, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48995:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15140, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49009:2:14", - "nodeType": "VariableDeclaration", - "scope": 15157, - "src": "49004:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15139, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "49004:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15142, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49027:2:14", - "nodeType": "VariableDeclaration", - "scope": 15157, - "src": "49013:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15141, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49013:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "48985:45:14" - }, - "returnParameters": { - "id": 15144, - "nodeType": "ParameterList", - "parameters": [], - "src": "49045:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15180, - "nodeType": "FunctionDefinition", - "src": "49154:164:14", - "nodes": [], - "body": { - "id": 15179, - "nodeType": "Block", - "src": "49217:101:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e742c626f6f6c29", - "id": 15171, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49267:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ab5cc1c47d926d79461c86216768f32b6ec0ac12d51c1eb543ea3bd1cfec0110", - "typeString": "literal_string \"log(bool,bool,uint,bool)\"" - }, - "value": "log(bool,bool,uint,bool)" - }, - { - "id": 15172, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15159, - "src": "49295:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15173, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15161, - "src": "49299:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15174, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15163, - "src": "49303:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15175, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15165, - "src": "49307:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ab5cc1c47d926d79461c86216768f32b6ec0ac12d51c1eb543ea3bd1cfec0110", - "typeString": "literal_string \"log(bool,bool,uint,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 15169, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49243:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15170, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49247:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49243:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49243:67:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15168, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "49227:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15177, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49227:84:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15178, - "nodeType": "ExpressionStatement", - "src": "49227:84:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49163:3:14", - "parameters": { - "id": 15166, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15159, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49172:2:14", - "nodeType": "VariableDeclaration", - "scope": 15180, - "src": "49167:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15158, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49167:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15161, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49181:2:14", - "nodeType": "VariableDeclaration", - "scope": 15180, - "src": "49176:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15160, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49176:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15163, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49190:2:14", - "nodeType": "VariableDeclaration", - "scope": 15180, - "src": "49185:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15162, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "49185:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15165, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49199:2:14", - "nodeType": "VariableDeclaration", - "scope": 15180, - "src": "49194:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15164, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49194:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "49166:36:14" - }, - "returnParameters": { - "id": 15167, - "nodeType": "ParameterList", - "parameters": [], - "src": "49217:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15203, - "nodeType": "FunctionDefinition", - "src": "49324:170:14", - "nodes": [], - "body": { - "id": 15202, - "nodeType": "Block", - "src": "49390:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e742c6164647265737329", - "id": 15194, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49440:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0bff950dc175e3e278946e4adb75fffc4ee67cda33555121dd293b95b27a39a7", - "typeString": "literal_string \"log(bool,bool,uint,address)\"" - }, - "value": "log(bool,bool,uint,address)" - }, - { - "id": 15195, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15182, - "src": "49471:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15196, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15184, - "src": "49475:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15197, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15186, - "src": "49479:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15198, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15188, - "src": "49483:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0bff950dc175e3e278946e4adb75fffc4ee67cda33555121dd293b95b27a39a7", - "typeString": "literal_string \"log(bool,bool,uint,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 15192, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49416:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15193, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49420:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49416:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15199, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49416:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15191, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "49400:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49400:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15201, - "nodeType": "ExpressionStatement", - "src": "49400:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49333:3:14", - "parameters": { - "id": 15189, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15182, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49342:2:14", - "nodeType": "VariableDeclaration", - "scope": 15203, - "src": "49337:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15181, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49337:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15184, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49351:2:14", - "nodeType": "VariableDeclaration", - "scope": 15203, - "src": "49346:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15183, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49346:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15186, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49360:2:14", - "nodeType": "VariableDeclaration", - "scope": 15203, - "src": "49355:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15185, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "49355:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15188, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49372:2:14", - "nodeType": "VariableDeclaration", - "scope": 15203, - "src": "49364:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15187, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "49364:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "49336:39:14" - }, - "returnParameters": { - "id": 15190, - "nodeType": "ParameterList", - "parameters": [], - "src": "49390:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15226, - "nodeType": "FunctionDefinition", - "src": "49500:175:14", - "nodes": [], - "body": { - "id": 15225, - "nodeType": "Block", - "src": "49572:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c75696e7429", - "id": 15217, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49622:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_178b4685db1dff62c4ee472c2e6bf50abba0dc230768235e43c6259152d1244e", - "typeString": "literal_string \"log(bool,bool,string,uint)\"" - }, - "value": "log(bool,bool,string,uint)" - }, - { - "id": 15218, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15205, - "src": "49652:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15219, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15207, - "src": "49656:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15220, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15209, - "src": "49660:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15221, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15211, - "src": "49664:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_178b4685db1dff62c4ee472c2e6bf50abba0dc230768235e43c6259152d1244e", - "typeString": "literal_string \"log(bool,bool,string,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 15215, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49598:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15216, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49602:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49598:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49598:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15214, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "49582:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15223, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49582:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15224, - "nodeType": "ExpressionStatement", - "src": "49582:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49509:3:14", - "parameters": { - "id": 15212, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15205, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49518:2:14", - "nodeType": "VariableDeclaration", - "scope": 15226, - "src": "49513:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15204, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49513:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15207, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49527:2:14", - "nodeType": "VariableDeclaration", - "scope": 15226, - "src": "49522:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15206, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49522:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15209, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49545:2:14", - "nodeType": "VariableDeclaration", - "scope": 15226, - "src": "49531:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15208, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49531:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15211, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49554:2:14", - "nodeType": "VariableDeclaration", - "scope": 15226, - "src": "49549:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15210, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "49549:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "49512:45:14" - }, - "returnParameters": { - "id": 15213, - "nodeType": "ParameterList", - "parameters": [], - "src": "49572:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15249, - "nodeType": "FunctionDefinition", - "src": "49681:186:14", - "nodes": [], - "body": { - "id": 15248, - "nodeType": "Block", - "src": "49762:105:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c737472696e6729", - "id": 15240, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49812:30:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d1e87518c98344bc3efd52648f61de340bda51607aec409d641f3467caafaaf", - "typeString": "literal_string \"log(bool,bool,string,string)\"" - }, - "value": "log(bool,bool,string,string)" - }, - { - "id": 15241, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15228, - "src": "49844:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15242, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15230, - "src": "49848:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15243, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15232, - "src": "49852:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15244, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15234, - "src": "49856:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6d1e87518c98344bc3efd52648f61de340bda51607aec409d641f3467caafaaf", - "typeString": "literal_string \"log(bool,bool,string,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 15238, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49788:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15239, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49792:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49788:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15245, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49788:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15237, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "49772:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15246, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49772:88:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15247, - "nodeType": "ExpressionStatement", - "src": "49772:88:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49690:3:14", - "parameters": { - "id": 15235, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15228, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49699:2:14", - "nodeType": "VariableDeclaration", - "scope": 15249, - "src": "49694:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15227, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49694:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15230, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49708:2:14", - "nodeType": "VariableDeclaration", - "scope": 15249, - "src": "49703:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15229, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49703:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15232, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49726:2:14", - "nodeType": "VariableDeclaration", - "scope": 15249, - "src": "49712:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15231, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49712:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15234, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49744:2:14", - "nodeType": "VariableDeclaration", - "scope": 15249, - "src": "49730:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15233, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49730:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "49693:54:14" - }, - "returnParameters": { - "id": 15236, - "nodeType": "ParameterList", - "parameters": [], - "src": "49762:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15272, - "nodeType": "FunctionDefinition", - "src": "49873:175:14", - "nodes": [], - "body": { - "id": 15271, - "nodeType": "Block", - "src": "49945:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c626f6f6c29", - "id": 15263, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49995:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b857163a2b7b8273ed53cefa410aa148f1833bdfc22da11e1e2fb89c6e625d02", - "typeString": "literal_string \"log(bool,bool,string,bool)\"" - }, - "value": "log(bool,bool,string,bool)" - }, - { - "id": 15264, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15251, - "src": "50025:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15265, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15253, - "src": "50029:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15266, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15255, - "src": "50033:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15267, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15257, - "src": "50037:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b857163a2b7b8273ed53cefa410aa148f1833bdfc22da11e1e2fb89c6e625d02", - "typeString": "literal_string \"log(bool,bool,string,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 15261, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49971:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15262, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49975:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49971:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15268, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49971:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15260, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "49955:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15269, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49955:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15270, - "nodeType": "ExpressionStatement", - "src": "49955:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49882:3:14", - "parameters": { - "id": 15258, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15251, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49891:2:14", - "nodeType": "VariableDeclaration", - "scope": 15272, - "src": "49886:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15250, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49886:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15253, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49900:2:14", - "nodeType": "VariableDeclaration", - "scope": 15272, - "src": "49895:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15252, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49895:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15255, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49918:2:14", - "nodeType": "VariableDeclaration", - "scope": 15272, - "src": "49904:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15254, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49904:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15257, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49927:2:14", - "nodeType": "VariableDeclaration", - "scope": 15272, - "src": "49922:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15256, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49922:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "49885:45:14" - }, - "returnParameters": { - "id": 15259, - "nodeType": "ParameterList", - "parameters": [], - "src": "49945:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15295, - "nodeType": "FunctionDefinition", - "src": "50054:181:14", - "nodes": [], - "body": { - "id": 15294, - "nodeType": "Block", - "src": "50129:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c6164647265737329", - "id": 15286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50179:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f9ad2b893873fa31c02b102aa30743b2e44c102daa588ea9d1eb1f2baf23d202", - "typeString": "literal_string \"log(bool,bool,string,address)\"" - }, - "value": "log(bool,bool,string,address)" - }, - { - "id": 15287, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15274, - "src": "50212:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15288, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15276, - "src": "50216:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15289, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15278, - "src": "50220:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15290, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15280, - "src": "50224:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f9ad2b893873fa31c02b102aa30743b2e44c102daa588ea9d1eb1f2baf23d202", - "typeString": "literal_string \"log(bool,bool,string,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 15284, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50155:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15285, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50159:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50155:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50155:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15283, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "50139:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15292, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50139:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15293, - "nodeType": "ExpressionStatement", - "src": "50139:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50063:3:14", - "parameters": { - "id": 15281, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15274, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50072:2:14", - "nodeType": "VariableDeclaration", - "scope": 15295, - "src": "50067:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15273, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50067:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15276, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50081:2:14", - "nodeType": "VariableDeclaration", - "scope": 15295, - "src": "50076:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15275, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50076:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15278, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50099:2:14", - "nodeType": "VariableDeclaration", - "scope": 15295, - "src": "50085:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15277, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50085:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15280, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50111:2:14", - "nodeType": "VariableDeclaration", - "scope": 15295, - "src": "50103:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15279, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50103:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "50066:48:14" - }, - "returnParameters": { - "id": 15282, - "nodeType": "ParameterList", - "parameters": [], - "src": "50129:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15318, - "nodeType": "FunctionDefinition", - "src": "50241:164:14", - "nodes": [], - "body": { - "id": 15317, - "nodeType": "Block", - "src": "50304:101:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c75696e7429", - "id": 15309, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50354:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c248834dff84ca4bcbda9cf249a0d5da3bd0a58b4562085082654d4d9851b501", - "typeString": "literal_string \"log(bool,bool,bool,uint)\"" - }, - "value": "log(bool,bool,bool,uint)" - }, - { - "id": 15310, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15297, - "src": "50382:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15311, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15299, - "src": "50386:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15312, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15301, - "src": "50390:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15313, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15303, - "src": "50394:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c248834dff84ca4bcbda9cf249a0d5da3bd0a58b4562085082654d4d9851b501", - "typeString": "literal_string \"log(bool,bool,bool,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 15307, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50330:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15308, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50334:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50330:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15314, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50330:67:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15306, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "50314:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15315, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50314:84:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15316, - "nodeType": "ExpressionStatement", - "src": "50314:84:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50250:3:14", - "parameters": { - "id": 15304, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15297, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50259:2:14", - "nodeType": "VariableDeclaration", - "scope": 15318, - "src": "50254:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15296, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50254:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15299, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50268:2:14", - "nodeType": "VariableDeclaration", - "scope": 15318, - "src": "50263:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15298, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50263:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15301, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50277:2:14", - "nodeType": "VariableDeclaration", - "scope": 15318, - "src": "50272:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15300, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50272:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15303, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50286:2:14", - "nodeType": "VariableDeclaration", - "scope": 15318, - "src": "50281:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15302, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "50281:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "50253:36:14" - }, - "returnParameters": { - "id": 15305, - "nodeType": "ParameterList", - "parameters": [], - "src": "50304:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15341, - "nodeType": "FunctionDefinition", - "src": "50411:175:14", - "nodes": [], - "body": { - "id": 15340, - "nodeType": "Block", - "src": "50483:103:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c737472696e6729", - "id": 15332, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50533:28:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2ae408d4d030305a0361ad07c397f2b9653613b220d82459c7aeb9a6bab96c15", - "typeString": "literal_string \"log(bool,bool,bool,string)\"" - }, - "value": "log(bool,bool,bool,string)" - }, - { - "id": 15333, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15320, - "src": "50563:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15334, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15322, - "src": "50567:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15335, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15324, - "src": "50571:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15336, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15326, - "src": "50575:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2ae408d4d030305a0361ad07c397f2b9653613b220d82459c7aeb9a6bab96c15", - "typeString": "literal_string \"log(bool,bool,bool,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 15330, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50509:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15331, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50513:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50509:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50509:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15329, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "50493:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50493:86:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15339, - "nodeType": "ExpressionStatement", - "src": "50493:86:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50420:3:14", - "parameters": { - "id": 15327, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15320, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50429:2:14", - "nodeType": "VariableDeclaration", - "scope": 15341, - "src": "50424:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15319, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50424:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15322, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50438:2:14", - "nodeType": "VariableDeclaration", - "scope": 15341, - "src": "50433:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15321, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50433:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15324, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50447:2:14", - "nodeType": "VariableDeclaration", - "scope": 15341, - "src": "50442:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15323, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50442:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15326, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50465:2:14", - "nodeType": "VariableDeclaration", - "scope": 15341, - "src": "50451:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15325, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50451:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "50423:45:14" - }, - "returnParameters": { - "id": 15328, - "nodeType": "ParameterList", - "parameters": [], - "src": "50483:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15364, - "nodeType": "FunctionDefinition", - "src": "50592:164:14", - "nodes": [], - "body": { - "id": 15363, - "nodeType": "Block", - "src": "50655:101:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 15355, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50705:26:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3b2a5ce0ddf7b166153a4354c81efba12a817983a38c6bc3b58fd91ce816d99f", - "typeString": "literal_string \"log(bool,bool,bool,bool)\"" - }, - "value": "log(bool,bool,bool,bool)" - }, - { - "id": 15356, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15343, - "src": "50733:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15357, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15345, - "src": "50737:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15358, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15347, - "src": "50741:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15359, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15349, - "src": "50745:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3b2a5ce0ddf7b166153a4354c81efba12a817983a38c6bc3b58fd91ce816d99f", - "typeString": "literal_string \"log(bool,bool,bool,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 15353, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50681:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15354, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50685:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50681:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50681:67:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15352, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "50665:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15361, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50665:84:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15362, - "nodeType": "ExpressionStatement", - "src": "50665:84:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50601:3:14", - "parameters": { - "id": 15350, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15343, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50610:2:14", - "nodeType": "VariableDeclaration", - "scope": 15364, - "src": "50605:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15342, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50605:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15345, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50619:2:14", - "nodeType": "VariableDeclaration", - "scope": 15364, - "src": "50614:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15344, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50614:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15347, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50628:2:14", - "nodeType": "VariableDeclaration", - "scope": 15364, - "src": "50623:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15346, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50623:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15349, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50637:2:14", - "nodeType": "VariableDeclaration", - "scope": 15364, - "src": "50632:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15348, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50632:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "50604:36:14" - }, - "returnParameters": { - "id": 15351, - "nodeType": "ParameterList", - "parameters": [], - "src": "50655:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15387, - "nodeType": "FunctionDefinition", - "src": "50762:170:14", - "nodes": [], - "body": { - "id": 15386, - "nodeType": "Block", - "src": "50828:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c6164647265737329", - "id": 15378, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50878:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8c329b1a1752dedfc6b781d23096b49b7f905d62405e6e3f0ab0344786ff69f4", - "typeString": "literal_string \"log(bool,bool,bool,address)\"" - }, - "value": "log(bool,bool,bool,address)" - }, - { - "id": 15379, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15366, - "src": "50909:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15380, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15368, - "src": "50913:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15381, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15370, - "src": "50917:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15382, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15372, - "src": "50921:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8c329b1a1752dedfc6b781d23096b49b7f905d62405e6e3f0ab0344786ff69f4", - "typeString": "literal_string \"log(bool,bool,bool,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 15376, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50854:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15377, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50858:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50854:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15383, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50854:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15375, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "50838:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15384, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50838:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15385, - "nodeType": "ExpressionStatement", - "src": "50838:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50771:3:14", - "parameters": { - "id": 15373, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15366, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50780:2:14", - "nodeType": "VariableDeclaration", - "scope": 15387, - "src": "50775:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15365, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50775:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15368, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50789:2:14", - "nodeType": "VariableDeclaration", - "scope": 15387, - "src": "50784:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15367, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50784:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15370, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50798:2:14", - "nodeType": "VariableDeclaration", - "scope": 15387, - "src": "50793:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15369, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50793:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15372, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50810:2:14", - "nodeType": "VariableDeclaration", - "scope": 15387, - "src": "50802:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15371, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50802:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "50774:39:14" - }, - "returnParameters": { - "id": 15374, - "nodeType": "ParameterList", - "parameters": [], - "src": "50828:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15410, - "nodeType": "FunctionDefinition", - "src": "50938:170:14", - "nodes": [], - "body": { - "id": 15409, - "nodeType": "Block", - "src": "51004:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c75696e7429", - "id": 15401, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51054:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_609386e78fd5b0eaf4b919077203f18b1606ddf72247d9e5eef9238918f7cf5e", - "typeString": "literal_string \"log(bool,bool,address,uint)\"" - }, - "value": "log(bool,bool,address,uint)" - }, - { - "id": 15402, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15389, - "src": "51085:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15403, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15391, - "src": "51089:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15404, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15393, - "src": "51093:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15405, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15395, - "src": "51097:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_609386e78fd5b0eaf4b919077203f18b1606ddf72247d9e5eef9238918f7cf5e", - "typeString": "literal_string \"log(bool,bool,address,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 15399, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51030:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15400, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51034:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51030:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15406, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51030:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15398, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "51014:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15407, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51014:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15408, - "nodeType": "ExpressionStatement", - "src": "51014:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50947:3:14", - "parameters": { - "id": 15396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15389, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50956:2:14", - "nodeType": "VariableDeclaration", - "scope": 15410, - "src": "50951:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15388, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50951:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15391, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50965:2:14", - "nodeType": "VariableDeclaration", - "scope": 15410, - "src": "50960:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15390, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50960:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15393, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50977:2:14", - "nodeType": "VariableDeclaration", - "scope": 15410, - "src": "50969:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15392, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50969:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15395, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50986:2:14", - "nodeType": "VariableDeclaration", - "scope": 15410, - "src": "50981:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15394, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "50981:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "50950:39:14" - }, - "returnParameters": { - "id": 15397, - "nodeType": "ParameterList", - "parameters": [], - "src": "51004:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15433, - "nodeType": "FunctionDefinition", - "src": "51114:181:14", - "nodes": [], - "body": { - "id": 15432, - "nodeType": "Block", - "src": "51189:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c737472696e6729", - "id": 15424, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51239:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a0a479635c05dee438b610769de0f667f2e93ee267e4cd4badf3dd44eb6271d2", - "typeString": "literal_string \"log(bool,bool,address,string)\"" - }, - "value": "log(bool,bool,address,string)" - }, - { - "id": 15425, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15412, - "src": "51272:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15426, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15414, - "src": "51276:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15427, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15416, - "src": "51280:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15428, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15418, - "src": "51284:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a0a479635c05dee438b610769de0f667f2e93ee267e4cd4badf3dd44eb6271d2", - "typeString": "literal_string \"log(bool,bool,address,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 15422, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51215:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15423, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51219:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51215:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15429, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51215:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15421, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "51199:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51199:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15431, - "nodeType": "ExpressionStatement", - "src": "51199:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51123:3:14", - "parameters": { - "id": 15419, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15412, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51132:2:14", - "nodeType": "VariableDeclaration", - "scope": 15433, - "src": "51127:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15411, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51127:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15414, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51141:2:14", - "nodeType": "VariableDeclaration", - "scope": 15433, - "src": "51136:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15413, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51136:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15416, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51153:2:14", - "nodeType": "VariableDeclaration", - "scope": 15433, - "src": "51145:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15415, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51145:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15418, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51171:2:14", - "nodeType": "VariableDeclaration", - "scope": 15433, - "src": "51157:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15417, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "51157:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "51126:48:14" - }, - "returnParameters": { - "id": 15420, - "nodeType": "ParameterList", - "parameters": [], - "src": "51189:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15456, - "nodeType": "FunctionDefinition", - "src": "51301:170:14", - "nodes": [], - "body": { - "id": 15455, - "nodeType": "Block", - "src": "51367:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c626f6f6c29", - "id": 15447, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51417:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c0a302d8f11e8919127c20f396068f7014b94967efb042778db9b27b68ee1eaf", - "typeString": "literal_string \"log(bool,bool,address,bool)\"" - }, - "value": "log(bool,bool,address,bool)" - }, - { - "id": 15448, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15435, - "src": "51448:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15449, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15437, - "src": "51452:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15450, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15439, - "src": "51456:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15451, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15441, - "src": "51460:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c0a302d8f11e8919127c20f396068f7014b94967efb042778db9b27b68ee1eaf", - "typeString": "literal_string \"log(bool,bool,address,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 15445, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51393:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15446, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51397:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51393:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15452, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51393:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15444, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "51377:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51377:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15454, - "nodeType": "ExpressionStatement", - "src": "51377:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51310:3:14", - "parameters": { - "id": 15442, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15435, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51319:2:14", - "nodeType": "VariableDeclaration", - "scope": 15456, - "src": "51314:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15434, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51314:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15437, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51328:2:14", - "nodeType": "VariableDeclaration", - "scope": 15456, - "src": "51323:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15436, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51323:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15439, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51340:2:14", - "nodeType": "VariableDeclaration", - "scope": 15456, - "src": "51332:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15438, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51332:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15441, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51349:2:14", - "nodeType": "VariableDeclaration", - "scope": 15456, - "src": "51344:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15440, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51344:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "51313:39:14" - }, - "returnParameters": { - "id": 15443, - "nodeType": "ParameterList", - "parameters": [], - "src": "51367:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15479, - "nodeType": "FunctionDefinition", - "src": "51477:176:14", - "nodes": [], - "body": { - "id": 15478, - "nodeType": "Block", - "src": "51546:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c6164647265737329", - "id": 15470, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51596:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f4880ea4063b4f7e3c68468bb4a7a3f1502aa7497bce4fb0ba02ec0450f047f4", - "typeString": "literal_string \"log(bool,bool,address,address)\"" - }, - "value": "log(bool,bool,address,address)" - }, - { - "id": 15471, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15458, - "src": "51630:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15472, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15460, - "src": "51634:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15473, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15462, - "src": "51638:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15474, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15464, - "src": "51642:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f4880ea4063b4f7e3c68468bb4a7a3f1502aa7497bce4fb0ba02ec0450f047f4", - "typeString": "literal_string \"log(bool,bool,address,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 15468, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51572:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51576:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51572:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51572:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15467, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "51556:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51556:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15477, - "nodeType": "ExpressionStatement", - "src": "51556:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51486:3:14", - "parameters": { - "id": 15465, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15458, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51495:2:14", - "nodeType": "VariableDeclaration", - "scope": 15479, - "src": "51490:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15457, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51490:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15460, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51504:2:14", - "nodeType": "VariableDeclaration", - "scope": 15479, - "src": "51499:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15459, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51499:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15462, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51516:2:14", - "nodeType": "VariableDeclaration", - "scope": 15479, - "src": "51508:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15461, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51508:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15464, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51528:2:14", - "nodeType": "VariableDeclaration", - "scope": 15479, - "src": "51520:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15463, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51520:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "51489:42:14" - }, - "returnParameters": { - "id": 15466, - "nodeType": "ParameterList", - "parameters": [], - "src": "51546:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15502, - "nodeType": "FunctionDefinition", - "src": "51659:170:14", - "nodes": [], - "body": { - "id": 15501, - "nodeType": "Block", - "src": "51725:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e742c75696e7429", - "id": 15493, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51775:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9bfe72bcae17311bf78638487cb2635e8b5b6f81761042494681e890b65ae4df", - "typeString": "literal_string \"log(bool,address,uint,uint)\"" - }, - "value": "log(bool,address,uint,uint)" - }, - { - "id": 15494, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15481, - "src": "51806:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15495, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15483, - "src": "51810:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15496, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15485, - "src": "51814:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15497, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15487, - "src": "51818:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9bfe72bcae17311bf78638487cb2635e8b5b6f81761042494681e890b65ae4df", - "typeString": "literal_string \"log(bool,address,uint,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 15491, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51751:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15492, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51755:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51751:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51751:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15490, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "51735:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15499, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51735:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15500, - "nodeType": "ExpressionStatement", - "src": "51735:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51668:3:14", - "parameters": { - "id": 15488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15481, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51677:2:14", - "nodeType": "VariableDeclaration", - "scope": 15502, - "src": "51672:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15480, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51672:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15483, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51689:2:14", - "nodeType": "VariableDeclaration", - "scope": 15502, - "src": "51681:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15482, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51681:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15485, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51698:2:14", - "nodeType": "VariableDeclaration", - "scope": 15502, - "src": "51693:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15484, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "51693:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15487, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51707:2:14", - "nodeType": "VariableDeclaration", - "scope": 15502, - "src": "51702:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15486, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "51702:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "51671:39:14" - }, - "returnParameters": { - "id": 15489, - "nodeType": "ParameterList", - "parameters": [], - "src": "51725:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15525, - "nodeType": "FunctionDefinition", - "src": "51835:181:14", - "nodes": [], - "body": { - "id": 15524, - "nodeType": "Block", - "src": "51910:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e742c737472696e6729", - "id": 15516, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51960:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a0685833a55270d98fa68e8c0a0f64fe3e03f6cdaeaebd8f87342de905392f45", - "typeString": "literal_string \"log(bool,address,uint,string)\"" - }, - "value": "log(bool,address,uint,string)" - }, - { - "id": 15517, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15504, - "src": "51993:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15518, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15506, - "src": "51997:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15519, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15508, - "src": "52001:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15520, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15510, - "src": "52005:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a0685833a55270d98fa68e8c0a0f64fe3e03f6cdaeaebd8f87342de905392f45", - "typeString": "literal_string \"log(bool,address,uint,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 15514, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51936:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15515, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51940:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51936:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51936:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15513, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "51920:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15522, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51920:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15523, - "nodeType": "ExpressionStatement", - "src": "51920:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51844:3:14", - "parameters": { - "id": 15511, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15504, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51853:2:14", - "nodeType": "VariableDeclaration", - "scope": 15525, - "src": "51848:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15503, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51848:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15506, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51865:2:14", - "nodeType": "VariableDeclaration", - "scope": 15525, - "src": "51857:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15505, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51857:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15508, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51874:2:14", - "nodeType": "VariableDeclaration", - "scope": 15525, - "src": "51869:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15507, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "51869:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15510, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51892:2:14", - "nodeType": "VariableDeclaration", - "scope": 15525, - "src": "51878:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15509, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "51878:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "51847:48:14" - }, - "returnParameters": { - "id": 15512, - "nodeType": "ParameterList", - "parameters": [], - "src": "51910:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15548, - "nodeType": "FunctionDefinition", - "src": "52022:170:14", - "nodes": [], - "body": { - "id": 15547, - "nodeType": "Block", - "src": "52088:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e742c626f6f6c29", - "id": 15539, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52138:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ee8d8672273fdba9089296874ea62335af7f94273edab558dd69c0c81ad5275f", - "typeString": "literal_string \"log(bool,address,uint,bool)\"" - }, - "value": "log(bool,address,uint,bool)" - }, - { - "id": 15540, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15527, - "src": "52169:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15541, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15529, - "src": "52173:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15542, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15531, - "src": "52177:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15543, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15533, - "src": "52181:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ee8d8672273fdba9089296874ea62335af7f94273edab558dd69c0c81ad5275f", - "typeString": "literal_string \"log(bool,address,uint,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 15537, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52114:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15538, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52118:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52114:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15544, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52114:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15536, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "52098:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52098:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15546, - "nodeType": "ExpressionStatement", - "src": "52098:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52031:3:14", - "parameters": { - "id": 15534, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15527, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52040:2:14", - "nodeType": "VariableDeclaration", - "scope": 15548, - "src": "52035:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15526, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52035:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15529, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52052:2:14", - "nodeType": "VariableDeclaration", - "scope": 15548, - "src": "52044:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15528, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52044:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15531, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52061:2:14", - "nodeType": "VariableDeclaration", - "scope": 15548, - "src": "52056:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15530, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "52056:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15533, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52070:2:14", - "nodeType": "VariableDeclaration", - "scope": 15548, - "src": "52065:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15532, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52065:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "52034:39:14" - }, - "returnParameters": { - "id": 15535, - "nodeType": "ParameterList", - "parameters": [], - "src": "52088:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15571, - "nodeType": "FunctionDefinition", - "src": "52198:176:14", - "nodes": [], - "body": { - "id": 15570, - "nodeType": "Block", - "src": "52267:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e742c6164647265737329", - "id": 15562, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52317:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_68f158b5f9bd826807d19c20c2d71bd298a10503195154a299bf8d64baa18687", - "typeString": "literal_string \"log(bool,address,uint,address)\"" - }, - "value": "log(bool,address,uint,address)" - }, - { - "id": 15563, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15550, - "src": "52351:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15564, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15552, - "src": "52355:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15565, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15554, - "src": "52359:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15566, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15556, - "src": "52363:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_68f158b5f9bd826807d19c20c2d71bd298a10503195154a299bf8d64baa18687", - "typeString": "literal_string \"log(bool,address,uint,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 15560, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52293:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15561, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52297:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52293:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15567, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52293:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15559, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "52277:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15568, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52277:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15569, - "nodeType": "ExpressionStatement", - "src": "52277:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52207:3:14", - "parameters": { - "id": 15557, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15550, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52216:2:14", - "nodeType": "VariableDeclaration", - "scope": 15571, - "src": "52211:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15549, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52211:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15552, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52228:2:14", - "nodeType": "VariableDeclaration", - "scope": 15571, - "src": "52220:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15551, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52220:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15554, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52237:2:14", - "nodeType": "VariableDeclaration", - "scope": 15571, - "src": "52232:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15553, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "52232:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15556, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52249:2:14", - "nodeType": "VariableDeclaration", - "scope": 15571, - "src": "52241:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15555, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52241:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "52210:42:14" - }, - "returnParameters": { - "id": 15558, - "nodeType": "ParameterList", - "parameters": [], - "src": "52267:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15594, - "nodeType": "FunctionDefinition", - "src": "52380:181:14", - "nodes": [], - "body": { - "id": 15593, - "nodeType": "Block", - "src": "52455:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c75696e7429", - "id": 15585, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52505:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b99fc2207222410afd35c7faf7feba54ff2367ba89f893584c27ce75693de6e", - "typeString": "literal_string \"log(bool,address,string,uint)\"" - }, - "value": "log(bool,address,string,uint)" - }, - { - "id": 15586, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15573, - "src": "52538:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15587, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15575, - "src": "52542:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15588, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15577, - "src": "52546:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15589, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15579, - "src": "52550:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0b99fc2207222410afd35c7faf7feba54ff2367ba89f893584c27ce75693de6e", - "typeString": "literal_string \"log(bool,address,string,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 15583, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52481:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15584, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52485:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52481:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15590, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52481:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15582, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "52465:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15591, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52465:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15592, - "nodeType": "ExpressionStatement", - "src": "52465:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52389:3:14", - "parameters": { - "id": 15580, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15573, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52398:2:14", - "nodeType": "VariableDeclaration", - "scope": 15594, - "src": "52393:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15572, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52393:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15575, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52410:2:14", - "nodeType": "VariableDeclaration", - "scope": 15594, - "src": "52402:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15574, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52402:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15577, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52428:2:14", - "nodeType": "VariableDeclaration", - "scope": 15594, - "src": "52414:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15576, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "52414:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15579, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52437:2:14", - "nodeType": "VariableDeclaration", - "scope": 15594, - "src": "52432:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15578, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "52432:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "52392:48:14" - }, - "returnParameters": { - "id": 15581, - "nodeType": "ParameterList", - "parameters": [], - "src": "52455:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15617, - "nodeType": "FunctionDefinition", - "src": "52567:192:14", - "nodes": [], - "body": { - "id": 15616, - "nodeType": "Block", - "src": "52651:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c737472696e6729", - "id": 15608, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52701:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a73c1db639dbf1382c9113eacdf5b14a7ccd81fc001ac60393623936011bf49d", - "typeString": "literal_string \"log(bool,address,string,string)\"" - }, - "value": "log(bool,address,string,string)" - }, - { - "id": 15609, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15596, - "src": "52736:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15610, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15598, - "src": "52740:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15611, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15600, - "src": "52744:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15612, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15602, - "src": "52748:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a73c1db639dbf1382c9113eacdf5b14a7ccd81fc001ac60393623936011bf49d", - "typeString": "literal_string \"log(bool,address,string,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 15606, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52677:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15607, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52681:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52677:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52677:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15605, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "52661:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52661:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15615, - "nodeType": "ExpressionStatement", - "src": "52661:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52576:3:14", - "parameters": { - "id": 15603, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15596, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52585:2:14", - "nodeType": "VariableDeclaration", - "scope": 15617, - "src": "52580:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15595, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52580:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15598, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52597:2:14", - "nodeType": "VariableDeclaration", - "scope": 15617, - "src": "52589:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15597, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52589:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15600, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52615:2:14", - "nodeType": "VariableDeclaration", - "scope": 15617, - "src": "52601:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15599, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "52601:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15602, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52633:2:14", - "nodeType": "VariableDeclaration", - "scope": 15617, - "src": "52619:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15601, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "52619:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "52579:57:14" - }, - "returnParameters": { - "id": 15604, - "nodeType": "ParameterList", - "parameters": [], - "src": "52651:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15640, - "nodeType": "FunctionDefinition", - "src": "52765:181:14", - "nodes": [], - "body": { - "id": 15639, - "nodeType": "Block", - "src": "52840:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c626f6f6c29", - "id": 15631, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52890:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e2bfd60b4f6acdab0603dda631b69bf37ab7cbf71bc5953f9ed72c1f2a76f7dc", - "typeString": "literal_string \"log(bool,address,string,bool)\"" - }, - "value": "log(bool,address,string,bool)" - }, - { - "id": 15632, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15619, - "src": "52923:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15633, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15621, - "src": "52927:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15634, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15623, - "src": "52931:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15635, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15625, - "src": "52935:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e2bfd60b4f6acdab0603dda631b69bf37ab7cbf71bc5953f9ed72c1f2a76f7dc", - "typeString": "literal_string \"log(bool,address,string,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 15629, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52866:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15630, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52870:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52866:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52866:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15628, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "52850:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15637, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52850:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15638, - "nodeType": "ExpressionStatement", - "src": "52850:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52774:3:14", - "parameters": { - "id": 15626, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15619, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52783:2:14", - "nodeType": "VariableDeclaration", - "scope": 15640, - "src": "52778:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15618, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52778:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15621, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52795:2:14", - "nodeType": "VariableDeclaration", - "scope": 15640, - "src": "52787:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15620, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52787:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15623, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52813:2:14", - "nodeType": "VariableDeclaration", - "scope": 15640, - "src": "52799:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15622, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "52799:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15625, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52822:2:14", - "nodeType": "VariableDeclaration", - "scope": 15640, - "src": "52817:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15624, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52817:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "52777:48:14" - }, - "returnParameters": { - "id": 15627, - "nodeType": "ParameterList", - "parameters": [], - "src": "52840:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15663, - "nodeType": "FunctionDefinition", - "src": "52952:187:14", - "nodes": [], - "body": { - "id": 15662, - "nodeType": "Block", - "src": "53030:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c6164647265737329", - "id": 15654, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53080:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f7c603e9035cbc7959bb3d44ec862ddc6711eecebd67d54ceb0010f42f85654", - "typeString": "literal_string \"log(bool,address,string,address)\"" - }, - "value": "log(bool,address,string,address)" - }, - { - "id": 15655, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15642, - "src": "53116:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15656, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15644, - "src": "53120:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15657, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "53124:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15658, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15648, - "src": "53128:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6f7c603e9035cbc7959bb3d44ec862ddc6711eecebd67d54ceb0010f42f85654", - "typeString": "literal_string \"log(bool,address,string,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 15652, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53056:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15653, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53060:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53056:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53056:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15651, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "53040:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15660, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53040:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15661, - "nodeType": "ExpressionStatement", - "src": "53040:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52961:3:14", - "parameters": { - "id": 15649, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15642, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52970:2:14", - "nodeType": "VariableDeclaration", - "scope": 15663, - "src": "52965:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15641, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52965:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15644, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52982:2:14", - "nodeType": "VariableDeclaration", - "scope": 15663, - "src": "52974:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15643, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52974:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15646, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53000:2:14", - "nodeType": "VariableDeclaration", - "scope": 15663, - "src": "52986:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15645, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "52986:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15648, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53012:2:14", - "nodeType": "VariableDeclaration", - "scope": 15663, - "src": "53004:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15647, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53004:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "52964:51:14" - }, - "returnParameters": { - "id": 15650, - "nodeType": "ParameterList", - "parameters": [], - "src": "53030:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15686, - "nodeType": "FunctionDefinition", - "src": "53145:170:14", - "nodes": [], - "body": { - "id": 15685, - "nodeType": "Block", - "src": "53211:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c75696e7429", - "id": 15677, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53261:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4cb60fd1171fb665e1565124463601e5c451a362c8efbc6e1fcfbffbbb9850d9", - "typeString": "literal_string \"log(bool,address,bool,uint)\"" - }, - "value": "log(bool,address,bool,uint)" - }, - { - "id": 15678, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15665, - "src": "53292:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15679, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15667, - "src": "53296:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15680, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15669, - "src": "53300:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15681, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15671, - "src": "53304:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4cb60fd1171fb665e1565124463601e5c451a362c8efbc6e1fcfbffbbb9850d9", - "typeString": "literal_string \"log(bool,address,bool,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 15675, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53237:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15676, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53241:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53237:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53237:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15674, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "53221:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15683, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53221:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15684, - "nodeType": "ExpressionStatement", - "src": "53221:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53154:3:14", - "parameters": { - "id": 15672, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15665, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53163:2:14", - "nodeType": "VariableDeclaration", - "scope": 15686, - "src": "53158:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15664, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53158:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15667, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53175:2:14", - "nodeType": "VariableDeclaration", - "scope": 15686, - "src": "53167:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15666, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53167:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15669, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53184:2:14", - "nodeType": "VariableDeclaration", - "scope": 15686, - "src": "53179:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15668, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53179:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15671, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53193:2:14", - "nodeType": "VariableDeclaration", - "scope": 15686, - "src": "53188:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15670, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "53188:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "53157:39:14" - }, - "returnParameters": { - "id": 15673, - "nodeType": "ParameterList", - "parameters": [], - "src": "53211:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15709, - "nodeType": "FunctionDefinition", - "src": "53321:181:14", - "nodes": [], - "body": { - "id": 15708, - "nodeType": "Block", - "src": "53396:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c737472696e6729", - "id": 15700, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53446:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4a66cb34796065525d301a5b87b440b55f1936e34dd66e2f2039307bc4e3ea59", - "typeString": "literal_string \"log(bool,address,bool,string)\"" - }, - "value": "log(bool,address,bool,string)" - }, - { - "id": 15701, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15688, - "src": "53479:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15702, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15690, - "src": "53483:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15703, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15692, - "src": "53487:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15704, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15694, - "src": "53491:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4a66cb34796065525d301a5b87b440b55f1936e34dd66e2f2039307bc4e3ea59", - "typeString": "literal_string \"log(bool,address,bool,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 15698, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53422:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15699, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53426:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53422:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53422:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15697, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "53406:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15706, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53406:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15707, - "nodeType": "ExpressionStatement", - "src": "53406:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53330:3:14", - "parameters": { - "id": 15695, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15688, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53339:2:14", - "nodeType": "VariableDeclaration", - "scope": 15709, - "src": "53334:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15687, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53334:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15690, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53351:2:14", - "nodeType": "VariableDeclaration", - "scope": 15709, - "src": "53343:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15689, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53343:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15692, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53360:2:14", - "nodeType": "VariableDeclaration", - "scope": 15709, - "src": "53355:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15691, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53355:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15694, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53378:2:14", - "nodeType": "VariableDeclaration", - "scope": 15709, - "src": "53364:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15693, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "53364:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "53333:48:14" - }, - "returnParameters": { - "id": 15696, - "nodeType": "ParameterList", - "parameters": [], - "src": "53396:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15732, - "nodeType": "FunctionDefinition", - "src": "53508:170:14", - "nodes": [], - "body": { - "id": 15731, - "nodeType": "Block", - "src": "53574:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c626f6f6c29", - "id": 15723, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53624:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6a9c478bc98300d44308882e2e0b5864f2536a2939cb77105f503738b5832577", - "typeString": "literal_string \"log(bool,address,bool,bool)\"" - }, - "value": "log(bool,address,bool,bool)" - }, - { - "id": 15724, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15711, - "src": "53655:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15725, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15713, - "src": "53659:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15726, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15715, - "src": "53663:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15727, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15717, - "src": "53667:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6a9c478bc98300d44308882e2e0b5864f2536a2939cb77105f503738b5832577", - "typeString": "literal_string \"log(bool,address,bool,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 15721, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53600:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15722, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53604:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53600:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53600:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15720, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "53584:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53584:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15730, - "nodeType": "ExpressionStatement", - "src": "53584:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53517:3:14", - "parameters": { - "id": 15718, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15711, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53526:2:14", - "nodeType": "VariableDeclaration", - "scope": 15732, - "src": "53521:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15710, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53521:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15713, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53538:2:14", - "nodeType": "VariableDeclaration", - "scope": 15732, - "src": "53530:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15712, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53530:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15715, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53547:2:14", - "nodeType": "VariableDeclaration", - "scope": 15732, - "src": "53542:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15714, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53542:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15717, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53556:2:14", - "nodeType": "VariableDeclaration", - "scope": 15732, - "src": "53551:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15716, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53551:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "53520:39:14" - }, - "returnParameters": { - "id": 15719, - "nodeType": "ParameterList", - "parameters": [], - "src": "53574:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15755, - "nodeType": "FunctionDefinition", - "src": "53684:176:14", - "nodes": [], - "body": { - "id": 15754, - "nodeType": "Block", - "src": "53753:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c6164647265737329", - "id": 15746, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53803:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1c41a336759f1c2fe1d8b137296b2dfbdcfe7114fc53f203852c2835c09f8870", - "typeString": "literal_string \"log(bool,address,bool,address)\"" - }, - "value": "log(bool,address,bool,address)" - }, - { - "id": 15747, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15734, - "src": "53837:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15748, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15736, - "src": "53841:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15749, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15738, - "src": "53845:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15750, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15740, - "src": "53849:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1c41a336759f1c2fe1d8b137296b2dfbdcfe7114fc53f203852c2835c09f8870", - "typeString": "literal_string \"log(bool,address,bool,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 15744, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53779:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15745, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53783:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53779:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53779:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15743, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "53763:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15752, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53763:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15753, - "nodeType": "ExpressionStatement", - "src": "53763:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53693:3:14", - "parameters": { - "id": 15741, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15734, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53702:2:14", - "nodeType": "VariableDeclaration", - "scope": 15755, - "src": "53697:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15733, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53697:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15736, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53714:2:14", - "nodeType": "VariableDeclaration", - "scope": 15755, - "src": "53706:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15735, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53706:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15738, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53723:2:14", - "nodeType": "VariableDeclaration", - "scope": 15755, - "src": "53718:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15737, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53718:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15740, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53735:2:14", - "nodeType": "VariableDeclaration", - "scope": 15755, - "src": "53727:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15739, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53727:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "53696:42:14" - }, - "returnParameters": { - "id": 15742, - "nodeType": "ParameterList", - "parameters": [], - "src": "53753:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15778, - "nodeType": "FunctionDefinition", - "src": "53866:176:14", - "nodes": [], - "body": { - "id": 15777, - "nodeType": "Block", - "src": "53935:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c75696e7429", - "id": 15769, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53985:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5284bd6c2d02d32d79d43dcd0793be5ced63bf4e51bea38208974f6d8ca5def7", - "typeString": "literal_string \"log(bool,address,address,uint)\"" - }, - "value": "log(bool,address,address,uint)" - }, - { - "id": 15770, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15757, - "src": "54019:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15771, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15759, - "src": "54023:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15772, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15761, - "src": "54027:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15773, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15763, - "src": "54031:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5284bd6c2d02d32d79d43dcd0793be5ced63bf4e51bea38208974f6d8ca5def7", - "typeString": "literal_string \"log(bool,address,address,uint)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 15767, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53961:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53965:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53961:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15774, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53961:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15766, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "53945:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15775, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53945:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15776, - "nodeType": "ExpressionStatement", - "src": "53945:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53875:3:14", - "parameters": { - "id": 15764, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15757, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53884:2:14", - "nodeType": "VariableDeclaration", - "scope": 15778, - "src": "53879:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15756, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53879:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15759, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53896:2:14", - "nodeType": "VariableDeclaration", - "scope": 15778, - "src": "53888:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15758, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53888:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15761, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53908:2:14", - "nodeType": "VariableDeclaration", - "scope": 15778, - "src": "53900:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15760, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53900:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15763, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53917:2:14", - "nodeType": "VariableDeclaration", - "scope": 15778, - "src": "53912:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15762, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "53912:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "53878:42:14" - }, - "returnParameters": { - "id": 15765, - "nodeType": "ParameterList", - "parameters": [], - "src": "53935:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15801, - "nodeType": "FunctionDefinition", - "src": "54048:187:14", - "nodes": [], - "body": { - "id": 15800, - "nodeType": "Block", - "src": "54126:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c737472696e6729", - "id": 15792, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54176:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d812a167fb7ec8cf55a11f06ff411238f0a431de331592d8a735c8c8481f7432", - "typeString": "literal_string \"log(bool,address,address,string)\"" - }, - "value": "log(bool,address,address,string)" - }, - { - "id": 15793, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15780, - "src": "54212:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15794, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15782, - "src": "54216:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15795, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15784, - "src": "54220:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15796, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15786, - "src": "54224:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d812a167fb7ec8cf55a11f06ff411238f0a431de331592d8a735c8c8481f7432", - "typeString": "literal_string \"log(bool,address,address,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 15790, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54152:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15791, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54156:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54152:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15797, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54152:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15789, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "54136:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54136:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15799, - "nodeType": "ExpressionStatement", - "src": "54136:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54057:3:14", - "parameters": { - "id": 15787, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15780, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54066:2:14", - "nodeType": "VariableDeclaration", - "scope": 15801, - "src": "54061:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15779, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54061:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15782, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54078:2:14", - "nodeType": "VariableDeclaration", - "scope": 15801, - "src": "54070:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15781, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54070:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15784, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54090:2:14", - "nodeType": "VariableDeclaration", - "scope": 15801, - "src": "54082:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15783, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54082:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15786, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54108:2:14", - "nodeType": "VariableDeclaration", - "scope": 15801, - "src": "54094:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15785, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "54094:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "54060:51:14" - }, - "returnParameters": { - "id": 15788, - "nodeType": "ParameterList", - "parameters": [], - "src": "54126:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15824, - "nodeType": "FunctionDefinition", - "src": "54241:176:14", - "nodes": [], - "body": { - "id": 15823, - "nodeType": "Block", - "src": "54310:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c626f6f6c29", - "id": 15815, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54360:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_46600be071bbf2a7e3a3cb4fd0e6efe39e86453e4c4a27c400470867be7afd9e", - "typeString": "literal_string \"log(bool,address,address,bool)\"" - }, - "value": "log(bool,address,address,bool)" - }, - { - "id": 15816, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15803, - "src": "54394:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15817, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15805, - "src": "54398:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15818, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15807, - "src": "54402:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15819, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15809, - "src": "54406:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_46600be071bbf2a7e3a3cb4fd0e6efe39e86453e4c4a27c400470867be7afd9e", - "typeString": "literal_string \"log(bool,address,address,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 15813, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54336:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15814, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54340:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54336:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54336:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15812, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "54320:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54320:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15822, - "nodeType": "ExpressionStatement", - "src": "54320:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54250:3:14", - "parameters": { - "id": 15810, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15803, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54259:2:14", - "nodeType": "VariableDeclaration", - "scope": 15824, - "src": "54254:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15802, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54254:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15805, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54271:2:14", - "nodeType": "VariableDeclaration", - "scope": 15824, - "src": "54263:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15804, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54263:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15807, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54283:2:14", - "nodeType": "VariableDeclaration", - "scope": 15824, - "src": "54275:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15806, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54275:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15809, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54292:2:14", - "nodeType": "VariableDeclaration", - "scope": 15824, - "src": "54287:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15808, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54287:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "54253:42:14" - }, - "returnParameters": { - "id": 15811, - "nodeType": "ParameterList", - "parameters": [], - "src": "54310:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15847, - "nodeType": "FunctionDefinition", - "src": "54423:182:14", - "nodes": [], - "body": { - "id": 15846, - "nodeType": "Block", - "src": "54495:110:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c6164647265737329", - "id": 15838, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54545:35:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1d14d00189540d88098b9fe614aa8c0efbe231c1a0fee05e7d705c0342377123", - "typeString": "literal_string \"log(bool,address,address,address)\"" - }, - "value": "log(bool,address,address,address)" - }, - { - "id": 15839, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15826, - "src": "54582:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15840, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15828, - "src": "54586:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15841, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15830, - "src": "54590:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15842, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15832, - "src": "54594:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1d14d00189540d88098b9fe614aa8c0efbe231c1a0fee05e7d705c0342377123", - "typeString": "literal_string \"log(bool,address,address,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 15836, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54521:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15837, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54525:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54521:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54521:76:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15835, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "54505:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15844, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54505:93:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15845, - "nodeType": "ExpressionStatement", - "src": "54505:93:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54432:3:14", - "parameters": { - "id": 15833, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15826, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54441:2:14", - "nodeType": "VariableDeclaration", - "scope": 15847, - "src": "54436:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15825, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54436:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15828, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54453:2:14", - "nodeType": "VariableDeclaration", - "scope": 15847, - "src": "54445:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15827, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54445:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15830, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54465:2:14", - "nodeType": "VariableDeclaration", - "scope": 15847, - "src": "54457:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15829, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54457:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15832, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54477:2:14", - "nodeType": "VariableDeclaration", - "scope": 15847, - "src": "54469:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15831, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54469:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "54435:45:14" - }, - "returnParameters": { - "id": 15834, - "nodeType": "ParameterList", - "parameters": [], - "src": "54495:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15870, - "nodeType": "FunctionDefinition", - "src": "54611:170:14", - "nodes": [], - "body": { - "id": 15869, - "nodeType": "Block", - "src": "54677:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c75696e742c75696e7429", - "id": 15861, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54727:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3d0e9de46a80fe11d0044e9599dfddd0e8b842cabe189638f7090f19867918c1", - "typeString": "literal_string \"log(address,uint,uint,uint)\"" - }, - "value": "log(address,uint,uint,uint)" - }, - { - "id": 15862, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15849, - "src": "54758:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15863, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15851, - "src": "54762:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15864, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15853, - "src": "54766:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15865, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15855, - "src": "54770:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3d0e9de46a80fe11d0044e9599dfddd0e8b842cabe189638f7090f19867918c1", - "typeString": "literal_string \"log(address,uint,uint,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 15859, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54703:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15860, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54707:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54703:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54703:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15858, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "54687:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15867, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54687:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15868, - "nodeType": "ExpressionStatement", - "src": "54687:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54620:3:14", - "parameters": { - "id": 15856, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15849, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54632:2:14", - "nodeType": "VariableDeclaration", - "scope": 15870, - "src": "54624:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15848, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54624:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15851, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54641:2:14", - "nodeType": "VariableDeclaration", - "scope": 15870, - "src": "54636:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15850, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "54636:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15853, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54650:2:14", - "nodeType": "VariableDeclaration", - "scope": 15870, - "src": "54645:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15852, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "54645:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15855, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54659:2:14", - "nodeType": "VariableDeclaration", - "scope": 15870, - "src": "54654:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15854, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "54654:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "54623:39:14" - }, - "returnParameters": { - "id": 15857, - "nodeType": "ParameterList", - "parameters": [], - "src": "54677:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15893, - "nodeType": "FunctionDefinition", - "src": "54787:181:14", - "nodes": [], - "body": { - "id": 15892, - "nodeType": "Block", - "src": "54862:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c75696e742c737472696e6729", - "id": 15884, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54912:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_89340dab4d23e956541beb32775ccfee8376ba263886dd811a646420a3a403a3", - "typeString": "literal_string \"log(address,uint,uint,string)\"" - }, - "value": "log(address,uint,uint,string)" - }, - { - "id": 15885, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15872, - "src": "54945:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15886, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15874, - "src": "54949:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15887, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15876, - "src": "54953:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15888, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15878, - "src": "54957:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_89340dab4d23e956541beb32775ccfee8376ba263886dd811a646420a3a403a3", - "typeString": "literal_string \"log(address,uint,uint,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 15882, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54888:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15883, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54892:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54888:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15889, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54888:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15881, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "54872:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15890, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54872:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15891, - "nodeType": "ExpressionStatement", - "src": "54872:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54796:3:14", - "parameters": { - "id": 15879, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15872, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54808:2:14", - "nodeType": "VariableDeclaration", - "scope": 15893, - "src": "54800:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15871, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54800:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15874, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54817:2:14", - "nodeType": "VariableDeclaration", - "scope": 15893, - "src": "54812:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15873, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "54812:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15876, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54826:2:14", - "nodeType": "VariableDeclaration", - "scope": 15893, - "src": "54821:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15875, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "54821:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15878, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54844:2:14", - "nodeType": "VariableDeclaration", - "scope": 15893, - "src": "54830:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15877, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "54830:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "54799:48:14" - }, - "returnParameters": { - "id": 15880, - "nodeType": "ParameterList", - "parameters": [], - "src": "54862:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15916, - "nodeType": "FunctionDefinition", - "src": "54974:170:14", - "nodes": [], - "body": { - "id": 15915, - "nodeType": "Block", - "src": "55040:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c75696e742c626f6f6c29", - "id": 15907, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55090:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ec4ba8a24543362f628480c68bc2d6749e97ab33d46530db336a528c77e48393", - "typeString": "literal_string \"log(address,uint,uint,bool)\"" - }, - "value": "log(address,uint,uint,bool)" - }, - { - "id": 15908, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15895, - "src": "55121:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15909, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15897, - "src": "55125:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15910, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15899, - "src": "55129:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15911, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15901, - "src": "55133:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ec4ba8a24543362f628480c68bc2d6749e97ab33d46530db336a528c77e48393", - "typeString": "literal_string \"log(address,uint,uint,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 15905, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55066:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15906, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55070:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55066:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15912, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55066:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15904, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "55050:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15913, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55050:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15914, - "nodeType": "ExpressionStatement", - "src": "55050:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54983:3:14", - "parameters": { - "id": 15902, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15895, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54995:2:14", - "nodeType": "VariableDeclaration", - "scope": 15916, - "src": "54987:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15894, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54987:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15897, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55004:2:14", - "nodeType": "VariableDeclaration", - "scope": 15916, - "src": "54999:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15896, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "54999:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15899, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55013:2:14", - "nodeType": "VariableDeclaration", - "scope": 15916, - "src": "55008:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15898, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "55008:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15901, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55022:2:14", - "nodeType": "VariableDeclaration", - "scope": 15916, - "src": "55017:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15900, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55017:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "54986:39:14" - }, - "returnParameters": { - "id": 15903, - "nodeType": "ParameterList", - "parameters": [], - "src": "55040:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15939, - "nodeType": "FunctionDefinition", - "src": "55150:176:14", - "nodes": [], - "body": { - "id": 15938, - "nodeType": "Block", - "src": "55219:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c75696e742c6164647265737329", - "id": 15930, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55269:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1ef634347c2e4a2aa1a4e4e13d33bf0169f02bc4d10ff6168ca604cf3134d957", - "typeString": "literal_string \"log(address,uint,uint,address)\"" - }, - "value": "log(address,uint,uint,address)" - }, - { - "id": 15931, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15918, - "src": "55303:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15932, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15920, - "src": "55307:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15933, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15922, - "src": "55311:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15934, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15924, - "src": "55315:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1ef634347c2e4a2aa1a4e4e13d33bf0169f02bc4d10ff6168ca604cf3134d957", - "typeString": "literal_string \"log(address,uint,uint,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 15928, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55245:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15929, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55249:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55245:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15935, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55245:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15927, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "55229:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15936, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55229:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15937, - "nodeType": "ExpressionStatement", - "src": "55229:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55159:3:14", - "parameters": { - "id": 15925, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15918, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55171:2:14", - "nodeType": "VariableDeclaration", - "scope": 15939, - "src": "55163:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15917, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55163:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15920, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55180:2:14", - "nodeType": "VariableDeclaration", - "scope": 15939, - "src": "55175:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15919, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "55175:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15922, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55189:2:14", - "nodeType": "VariableDeclaration", - "scope": 15939, - "src": "55184:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15921, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "55184:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15924, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55201:2:14", - "nodeType": "VariableDeclaration", - "scope": 15939, - "src": "55193:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15923, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55193:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "55162:42:14" - }, - "returnParameters": { - "id": 15926, - "nodeType": "ParameterList", - "parameters": [], - "src": "55219:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15962, - "nodeType": "FunctionDefinition", - "src": "55332:181:14", - "nodes": [], - "body": { - "id": 15961, - "nodeType": "Block", - "src": "55407:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c737472696e672c75696e7429", - "id": 15953, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55457:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f512cf9b6f6b16313e82164dab4a017b25c36dde729112fd1b69de438557701b", - "typeString": "literal_string \"log(address,uint,string,uint)\"" - }, - "value": "log(address,uint,string,uint)" - }, - { - "id": 15954, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15941, - "src": "55490:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15955, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15943, - "src": "55494:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15956, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15945, - "src": "55498:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15957, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15947, - "src": "55502:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f512cf9b6f6b16313e82164dab4a017b25c36dde729112fd1b69de438557701b", - "typeString": "literal_string \"log(address,uint,string,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 15951, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55433:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15952, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55437:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55433:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15958, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55433:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15950, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "55417:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15959, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55417:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15960, - "nodeType": "ExpressionStatement", - "src": "55417:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55341:3:14", - "parameters": { - "id": 15948, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15941, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55353:2:14", - "nodeType": "VariableDeclaration", - "scope": 15962, - "src": "55345:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15940, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55345:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15943, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55362:2:14", - "nodeType": "VariableDeclaration", - "scope": 15962, - "src": "55357:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15942, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "55357:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15945, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55380:2:14", - "nodeType": "VariableDeclaration", - "scope": 15962, - "src": "55366:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15944, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "55366:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15947, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55389:2:14", - "nodeType": "VariableDeclaration", - "scope": 15962, - "src": "55384:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15946, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "55384:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "55344:48:14" - }, - "returnParameters": { - "id": 15949, - "nodeType": "ParameterList", - "parameters": [], - "src": "55407:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15985, - "nodeType": "FunctionDefinition", - "src": "55519:192:14", - "nodes": [], - "body": { - "id": 15984, - "nodeType": "Block", - "src": "55603:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c737472696e672c737472696e6729", - "id": 15976, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55653:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7e56c693294848e354fd0e0f30db9c459984681d518306ec606cfd6f328a5ba0", - "typeString": "literal_string \"log(address,uint,string,string)\"" - }, - "value": "log(address,uint,string,string)" - }, - { - "id": 15977, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15964, - "src": "55688:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15978, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15966, - "src": "55692:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15979, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15968, - "src": "55696:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15980, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15970, - "src": "55700:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7e56c693294848e354fd0e0f30db9c459984681d518306ec606cfd6f328a5ba0", - "typeString": "literal_string \"log(address,uint,string,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 15974, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55629:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15975, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55633:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55629:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15981, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55629:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15973, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "55613:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55613:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15983, - "nodeType": "ExpressionStatement", - "src": "55613:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55528:3:14", - "parameters": { - "id": 15971, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15964, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55540:2:14", - "nodeType": "VariableDeclaration", - "scope": 15985, - "src": "55532:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15963, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55532:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15966, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55549:2:14", - "nodeType": "VariableDeclaration", - "scope": 15985, - "src": "55544:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15965, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "55544:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15968, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55567:2:14", - "nodeType": "VariableDeclaration", - "scope": 15985, - "src": "55553:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15967, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "55553:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15970, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55585:2:14", - "nodeType": "VariableDeclaration", - "scope": 15985, - "src": "55571:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15969, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "55571:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "55531:57:14" - }, - "returnParameters": { - "id": 15972, - "nodeType": "ParameterList", - "parameters": [], - "src": "55603:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16008, - "nodeType": "FunctionDefinition", - "src": "55717:181:14", - "nodes": [], - "body": { - "id": 16007, - "nodeType": "Block", - "src": "55792:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c737472696e672c626f6f6c29", - "id": 15999, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55842:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a4024f1195637e9b9bd0fa746905cf1693b1e0cd3e1c717a1cbc5279763b256a", - "typeString": "literal_string \"log(address,uint,string,bool)\"" - }, - "value": "log(address,uint,string,bool)" - }, - { - "id": 16000, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15987, - "src": "55875:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16001, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15989, - "src": "55879:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16002, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15991, - "src": "55883:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16003, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15993, - "src": "55887:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a4024f1195637e9b9bd0fa746905cf1693b1e0cd3e1c717a1cbc5279763b256a", - "typeString": "literal_string \"log(address,uint,string,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 15997, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55818:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15998, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55822:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55818:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16004, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55818:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15996, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "55802:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55802:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16006, - "nodeType": "ExpressionStatement", - "src": "55802:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55726:3:14", - "parameters": { - "id": 15994, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15987, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55738:2:14", - "nodeType": "VariableDeclaration", - "scope": 16008, - "src": "55730:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15986, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55730:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15989, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55747:2:14", - "nodeType": "VariableDeclaration", - "scope": 16008, - "src": "55742:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15988, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "55742:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15991, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55765:2:14", - "nodeType": "VariableDeclaration", - "scope": 16008, - "src": "55751:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15990, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "55751:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15993, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55774:2:14", - "nodeType": "VariableDeclaration", - "scope": 16008, - "src": "55769:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15992, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55769:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "55729:48:14" - }, - "returnParameters": { - "id": 15995, - "nodeType": "ParameterList", - "parameters": [], - "src": "55792:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16031, - "nodeType": "FunctionDefinition", - "src": "55904:187:14", - "nodes": [], - "body": { - "id": 16030, - "nodeType": "Block", - "src": "55982:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c737472696e672c6164647265737329", - "id": 16022, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56032:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dc792604099307de53721f0c554f3059214ac3d8d1f6cd01cd16cf188835e809", - "typeString": "literal_string \"log(address,uint,string,address)\"" - }, - "value": "log(address,uint,string,address)" - }, - { - "id": 16023, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16010, - "src": "56068:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16024, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16012, - "src": "56072:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16025, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16014, - "src": "56076:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16026, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16016, - "src": "56080:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_dc792604099307de53721f0c554f3059214ac3d8d1f6cd01cd16cf188835e809", - "typeString": "literal_string \"log(address,uint,string,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 16020, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56008:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16021, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56012:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56008:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56008:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16019, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "55992:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55992:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16029, - "nodeType": "ExpressionStatement", - "src": "55992:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55913:3:14", - "parameters": { - "id": 16017, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16010, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55925:2:14", - "nodeType": "VariableDeclaration", - "scope": 16031, - "src": "55917:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16009, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55917:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16012, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55934:2:14", - "nodeType": "VariableDeclaration", - "scope": 16031, - "src": "55929:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16011, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "55929:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16014, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55952:2:14", - "nodeType": "VariableDeclaration", - "scope": 16031, - "src": "55938:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16013, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "55938:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16016, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55964:2:14", - "nodeType": "VariableDeclaration", - "scope": 16031, - "src": "55956:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16015, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55956:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "55916:51:14" - }, - "returnParameters": { - "id": 16018, - "nodeType": "ParameterList", - "parameters": [], - "src": "55982:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16054, - "nodeType": "FunctionDefinition", - "src": "56097:170:14", - "nodes": [], - "body": { - "id": 16053, - "nodeType": "Block", - "src": "56163:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c626f6f6c2c75696e7429", - "id": 16045, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56213:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_698f43923a9354f67c861ae1c111970990b11c7f948743e5f44d6ea901e7f1a2", - "typeString": "literal_string \"log(address,uint,bool,uint)\"" - }, - "value": "log(address,uint,bool,uint)" - }, - { - "id": 16046, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16033, - "src": "56244:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16047, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16035, - "src": "56248:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16048, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16037, - "src": "56252:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16049, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16039, - "src": "56256:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_698f43923a9354f67c861ae1c111970990b11c7f948743e5f44d6ea901e7f1a2", - "typeString": "literal_string \"log(address,uint,bool,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 16043, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56189:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16044, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56193:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56189:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16050, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56189:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16042, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "56173:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16051, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56173:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16052, - "nodeType": "ExpressionStatement", - "src": "56173:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56106:3:14", - "parameters": { - "id": 16040, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16033, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56118:2:14", - "nodeType": "VariableDeclaration", - "scope": 16054, - "src": "56110:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16032, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56110:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16035, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56127:2:14", - "nodeType": "VariableDeclaration", - "scope": 16054, - "src": "56122:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16034, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "56122:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16037, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56136:2:14", - "nodeType": "VariableDeclaration", - "scope": 16054, - "src": "56131:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16036, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56131:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16039, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56145:2:14", - "nodeType": "VariableDeclaration", - "scope": 16054, - "src": "56140:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16038, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "56140:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "56109:39:14" - }, - "returnParameters": { - "id": 16041, - "nodeType": "ParameterList", - "parameters": [], - "src": "56163:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16077, - "nodeType": "FunctionDefinition", - "src": "56273:181:14", - "nodes": [], - "body": { - "id": 16076, - "nodeType": "Block", - "src": "56348:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c626f6f6c2c737472696e6729", - "id": 16068, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56398:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8e8e4e75a8ccb3f0e11ad74335eebf7a17a78463e99c3b077ff34193a8918f3f", - "typeString": "literal_string \"log(address,uint,bool,string)\"" - }, - "value": "log(address,uint,bool,string)" - }, - { - "id": 16069, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16056, - "src": "56431:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16070, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16058, - "src": "56435:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16071, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16060, - "src": "56439:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16072, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16062, - "src": "56443:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8e8e4e75a8ccb3f0e11ad74335eebf7a17a78463e99c3b077ff34193a8918f3f", - "typeString": "literal_string \"log(address,uint,bool,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 16066, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56374:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16067, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56378:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56374:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16073, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56374:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16065, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "56358:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16074, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56358:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16075, - "nodeType": "ExpressionStatement", - "src": "56358:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56282:3:14", - "parameters": { - "id": 16063, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16056, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56294:2:14", - "nodeType": "VariableDeclaration", - "scope": 16077, - "src": "56286:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16055, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56286:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16058, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56303:2:14", - "nodeType": "VariableDeclaration", - "scope": 16077, - "src": "56298:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16057, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "56298:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16060, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56312:2:14", - "nodeType": "VariableDeclaration", - "scope": 16077, - "src": "56307:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16059, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56307:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16062, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56330:2:14", - "nodeType": "VariableDeclaration", - "scope": 16077, - "src": "56316:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16061, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "56316:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "56285:48:14" - }, - "returnParameters": { - "id": 16064, - "nodeType": "ParameterList", - "parameters": [], - "src": "56348:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16100, - "nodeType": "FunctionDefinition", - "src": "56460:170:14", - "nodes": [], - "body": { - "id": 16099, - "nodeType": "Block", - "src": "56526:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c626f6f6c2c626f6f6c29", - "id": 16091, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56576:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fea1d55aec42c422504acea77de45574d2fa3abd9dc9c6288741e19c3bd9849b", - "typeString": "literal_string \"log(address,uint,bool,bool)\"" - }, - "value": "log(address,uint,bool,bool)" - }, - { - "id": 16092, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16079, - "src": "56607:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16093, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16081, - "src": "56611:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16094, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16083, - "src": "56615:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16095, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16085, - "src": "56619:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_fea1d55aec42c422504acea77de45574d2fa3abd9dc9c6288741e19c3bd9849b", - "typeString": "literal_string \"log(address,uint,bool,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 16089, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56552:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16090, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56556:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56552:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16096, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56552:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16088, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "56536:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16097, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56536:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16098, - "nodeType": "ExpressionStatement", - "src": "56536:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56469:3:14", - "parameters": { - "id": 16086, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16079, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56481:2:14", - "nodeType": "VariableDeclaration", - "scope": 16100, - "src": "56473:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16078, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56473:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16081, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56490:2:14", - "nodeType": "VariableDeclaration", - "scope": 16100, - "src": "56485:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16080, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "56485:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16083, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56499:2:14", - "nodeType": "VariableDeclaration", - "scope": 16100, - "src": "56494:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16082, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56494:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16085, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56508:2:14", - "nodeType": "VariableDeclaration", - "scope": 16100, - "src": "56503:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16084, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56503:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "56472:39:14" - }, - "returnParameters": { - "id": 16087, - "nodeType": "ParameterList", - "parameters": [], - "src": "56526:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16123, - "nodeType": "FunctionDefinition", - "src": "56636:176:14", - "nodes": [], - "body": { - "id": 16122, - "nodeType": "Block", - "src": "56705:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c626f6f6c2c6164647265737329", - "id": 16114, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56755:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_23e5497254e625e6c33a3fa3eb47ff18f6bac3345da52f847bd5571820febf2d", - "typeString": "literal_string \"log(address,uint,bool,address)\"" - }, - "value": "log(address,uint,bool,address)" - }, - { - "id": 16115, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16102, - "src": "56789:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16116, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16104, - "src": "56793:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16117, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16106, - "src": "56797:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16118, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16108, - "src": "56801:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_23e5497254e625e6c33a3fa3eb47ff18f6bac3345da52f847bd5571820febf2d", - "typeString": "literal_string \"log(address,uint,bool,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 16112, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56731:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16113, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56735:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56731:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56731:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16111, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "56715:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16120, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56715:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16121, - "nodeType": "ExpressionStatement", - "src": "56715:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56645:3:14", - "parameters": { - "id": 16109, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16102, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56657:2:14", - "nodeType": "VariableDeclaration", - "scope": 16123, - "src": "56649:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16101, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56649:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16104, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56666:2:14", - "nodeType": "VariableDeclaration", - "scope": 16123, - "src": "56661:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16103, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "56661:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16106, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56675:2:14", - "nodeType": "VariableDeclaration", - "scope": 16123, - "src": "56670:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16105, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56670:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16108, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56687:2:14", - "nodeType": "VariableDeclaration", - "scope": 16123, - "src": "56679:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16107, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56679:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "56648:42:14" - }, - "returnParameters": { - "id": 16110, - "nodeType": "ParameterList", - "parameters": [], - "src": "56705:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16146, - "nodeType": "FunctionDefinition", - "src": "56818:176:14", - "nodes": [], - "body": { - "id": 16145, - "nodeType": "Block", - "src": "56887:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c616464726573732c75696e7429", - "id": 16137, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56937:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a5d98768f8145ad77f2cf1b1f44790c3edb28c68feadee43b01883b75311ac0e", - "typeString": "literal_string \"log(address,uint,address,uint)\"" - }, - "value": "log(address,uint,address,uint)" - }, - { - "id": 16138, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16125, - "src": "56971:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16139, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16127, - "src": "56975:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16140, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16129, - "src": "56979:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16141, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16131, - "src": "56983:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a5d98768f8145ad77f2cf1b1f44790c3edb28c68feadee43b01883b75311ac0e", - "typeString": "literal_string \"log(address,uint,address,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 16135, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56913:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16136, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56917:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56913:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16142, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56913:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16134, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "56897:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16143, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56897:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16144, - "nodeType": "ExpressionStatement", - "src": "56897:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56827:3:14", - "parameters": { - "id": 16132, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16125, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56839:2:14", - "nodeType": "VariableDeclaration", - "scope": 16146, - "src": "56831:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16124, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56831:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16127, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56848:2:14", - "nodeType": "VariableDeclaration", - "scope": 16146, - "src": "56843:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16126, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "56843:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16129, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56860:2:14", - "nodeType": "VariableDeclaration", - "scope": 16146, - "src": "56852:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16128, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56852:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16131, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56869:2:14", - "nodeType": "VariableDeclaration", - "scope": 16146, - "src": "56864:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16130, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "56864:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "56830:42:14" - }, - "returnParameters": { - "id": 16133, - "nodeType": "ParameterList", - "parameters": [], - "src": "56887:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16169, - "nodeType": "FunctionDefinition", - "src": "57000:187:14", - "nodes": [], - "body": { - "id": 16168, - "nodeType": "Block", - "src": "57078:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c616464726573732c737472696e6729", - "id": 16160, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57128:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d71f39ef468709ab1c82c125aa1311ff96f65f56794c27c7babe5651379e4b4", - "typeString": "literal_string \"log(address,uint,address,string)\"" - }, - "value": "log(address,uint,address,string)" - }, - { - "id": 16161, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16148, - "src": "57164:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16162, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16150, - "src": "57168:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16163, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16152, - "src": "57172:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16164, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16154, - "src": "57176:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5d71f39ef468709ab1c82c125aa1311ff96f65f56794c27c7babe5651379e4b4", - "typeString": "literal_string \"log(address,uint,address,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 16158, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57104:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16159, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57108:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57104:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16165, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57104:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16157, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "57088:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57088:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16167, - "nodeType": "ExpressionStatement", - "src": "57088:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57009:3:14", - "parameters": { - "id": 16155, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16148, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57021:2:14", - "nodeType": "VariableDeclaration", - "scope": 16169, - "src": "57013:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16147, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57013:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16150, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57030:2:14", - "nodeType": "VariableDeclaration", - "scope": 16169, - "src": "57025:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16149, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "57025:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16152, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57042:2:14", - "nodeType": "VariableDeclaration", - "scope": 16169, - "src": "57034:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16151, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57034:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16154, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57060:2:14", - "nodeType": "VariableDeclaration", - "scope": 16169, - "src": "57046:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16153, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57046:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "57012:51:14" - }, - "returnParameters": { - "id": 16156, - "nodeType": "ParameterList", - "parameters": [], - "src": "57078:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16192, - "nodeType": "FunctionDefinition", - "src": "57193:176:14", - "nodes": [], - "body": { - "id": 16191, - "nodeType": "Block", - "src": "57262:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c616464726573732c626f6f6c29", - "id": 16183, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57312:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f181a1e98aefbb6e5d63ca72f24da9aa3686f47d72314c12e70fa7843b309ee6", - "typeString": "literal_string \"log(address,uint,address,bool)\"" - }, - "value": "log(address,uint,address,bool)" - }, - { - "id": 16184, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16171, - "src": "57346:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16185, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16173, - "src": "57350:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16186, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16175, - "src": "57354:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16187, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16177, - "src": "57358:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f181a1e98aefbb6e5d63ca72f24da9aa3686f47d72314c12e70fa7843b309ee6", - "typeString": "literal_string \"log(address,uint,address,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 16181, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57288:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16182, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57292:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57288:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16188, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57288:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16180, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "57272:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16189, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57272:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16190, - "nodeType": "ExpressionStatement", - "src": "57272:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57202:3:14", - "parameters": { - "id": 16178, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16171, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57214:2:14", - "nodeType": "VariableDeclaration", - "scope": 16192, - "src": "57206:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16170, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57206:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16173, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57223:2:14", - "nodeType": "VariableDeclaration", - "scope": 16192, - "src": "57218:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16172, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "57218:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16175, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57235:2:14", - "nodeType": "VariableDeclaration", - "scope": 16192, - "src": "57227:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16174, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57227:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16177, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57244:2:14", - "nodeType": "VariableDeclaration", - "scope": 16192, - "src": "57239:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16176, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "57239:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "57205:42:14" - }, - "returnParameters": { - "id": 16179, - "nodeType": "ParameterList", - "parameters": [], - "src": "57262:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16215, - "nodeType": "FunctionDefinition", - "src": "57375:182:14", - "nodes": [], - "body": { - "id": 16214, - "nodeType": "Block", - "src": "57447:110:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c616464726573732c6164647265737329", - "id": 16206, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57497:35:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ec24846f1ed52bfa5dc64139c1bf8b03f991fdd5156eccb50dfe44ca5a2ca40e", - "typeString": "literal_string \"log(address,uint,address,address)\"" - }, - "value": "log(address,uint,address,address)" - }, - { - "id": 16207, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16194, - "src": "57534:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16208, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16196, - "src": "57538:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16209, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16198, - "src": "57542:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16210, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16200, - "src": "57546:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ec24846f1ed52bfa5dc64139c1bf8b03f991fdd5156eccb50dfe44ca5a2ca40e", - "typeString": "literal_string \"log(address,uint,address,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 16204, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57473:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16205, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57477:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57473:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16211, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57473:76:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16203, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "57457:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16212, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57457:93:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16213, - "nodeType": "ExpressionStatement", - "src": "57457:93:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57384:3:14", - "parameters": { - "id": 16201, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16194, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57396:2:14", - "nodeType": "VariableDeclaration", - "scope": 16215, - "src": "57388:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16193, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57388:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16196, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57405:2:14", - "nodeType": "VariableDeclaration", - "scope": 16215, - "src": "57400:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16195, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "57400:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16198, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57417:2:14", - "nodeType": "VariableDeclaration", - "scope": 16215, - "src": "57409:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16197, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57409:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16200, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57429:2:14", - "nodeType": "VariableDeclaration", - "scope": 16215, - "src": "57421:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16199, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57421:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "57387:45:14" - }, - "returnParameters": { - "id": 16202, - "nodeType": "ParameterList", - "parameters": [], - "src": "57447:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16238, - "nodeType": "FunctionDefinition", - "src": "57563:181:14", - "nodes": [], - "body": { - "id": 16237, - "nodeType": "Block", - "src": "57638:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e742c75696e7429", - "id": 16229, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57688:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a4c92a60ad8c7136a44d442238a838fba251b421248205a77f1a522d55c988af", - "typeString": "literal_string \"log(address,string,uint,uint)\"" - }, - "value": "log(address,string,uint,uint)" - }, - { - "id": 16230, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16217, - "src": "57721:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16231, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16219, - "src": "57725:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16232, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16221, - "src": "57729:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16233, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16223, - "src": "57733:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a4c92a60ad8c7136a44d442238a838fba251b421248205a77f1a522d55c988af", - "typeString": "literal_string \"log(address,string,uint,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 16227, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57664:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16228, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57668:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57664:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16234, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57664:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16226, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "57648:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16235, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57648:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16236, - "nodeType": "ExpressionStatement", - "src": "57648:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57572:3:14", - "parameters": { - "id": 16224, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16217, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57584:2:14", - "nodeType": "VariableDeclaration", - "scope": 16238, - "src": "57576:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16216, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57576:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16219, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57602:2:14", - "nodeType": "VariableDeclaration", - "scope": 16238, - "src": "57588:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16218, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57588:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16221, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57611:2:14", - "nodeType": "VariableDeclaration", - "scope": 16238, - "src": "57606:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16220, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "57606:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16223, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57620:2:14", - "nodeType": "VariableDeclaration", - "scope": 16238, - "src": "57615:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16222, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "57615:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "57575:48:14" - }, - "returnParameters": { - "id": 16225, - "nodeType": "ParameterList", - "parameters": [], - "src": "57638:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16261, - "nodeType": "FunctionDefinition", - "src": "57750:192:14", - "nodes": [], - "body": { - "id": 16260, - "nodeType": "Block", - "src": "57834:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e742c737472696e6729", - "id": 16252, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57884:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d1365c94e45374e792b786edc547d0277c401db24a4303b5dd1e8a93df0829e", - "typeString": "literal_string \"log(address,string,uint,string)\"" - }, - "value": "log(address,string,uint,string)" - }, - { - "id": 16253, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16240, - "src": "57919:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16254, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16242, - "src": "57923:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16255, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16244, - "src": "57927:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16256, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16246, - "src": "57931:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5d1365c94e45374e792b786edc547d0277c401db24a4303b5dd1e8a93df0829e", - "typeString": "literal_string \"log(address,string,uint,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 16250, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57860:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16251, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57864:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57860:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16257, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57860:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16249, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "57844:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16258, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57844:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16259, - "nodeType": "ExpressionStatement", - "src": "57844:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57759:3:14", - "parameters": { - "id": 16247, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16240, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57771:2:14", - "nodeType": "VariableDeclaration", - "scope": 16261, - "src": "57763:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16239, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57763:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16242, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57789:2:14", - "nodeType": "VariableDeclaration", - "scope": 16261, - "src": "57775:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16241, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57775:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16244, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57798:2:14", - "nodeType": "VariableDeclaration", - "scope": 16261, - "src": "57793:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16243, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "57793:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16246, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57816:2:14", - "nodeType": "VariableDeclaration", - "scope": 16261, - "src": "57802:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16245, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57802:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "57762:57:14" - }, - "returnParameters": { - "id": 16248, - "nodeType": "ParameterList", - "parameters": [], - "src": "57834:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16284, - "nodeType": "FunctionDefinition", - "src": "57948:181:14", - "nodes": [], - "body": { - "id": 16283, - "nodeType": "Block", - "src": "58023:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e742c626f6f6c29", - "id": 16275, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58073:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7e250d5bf3975165268961c2b6dbe143f053bed03d903630f547f1fbab28b895", - "typeString": "literal_string \"log(address,string,uint,bool)\"" - }, - "value": "log(address,string,uint,bool)" - }, - { - "id": 16276, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16263, - "src": "58106:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16277, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16265, - "src": "58110:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16278, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16267, - "src": "58114:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16279, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16269, - "src": "58118:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7e250d5bf3975165268961c2b6dbe143f053bed03d903630f547f1fbab28b895", - "typeString": "literal_string \"log(address,string,uint,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 16273, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58049:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16274, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58053:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58049:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16280, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58049:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16272, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "58033:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16281, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58033:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16282, - "nodeType": "ExpressionStatement", - "src": "58033:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57957:3:14", - "parameters": { - "id": 16270, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16263, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57969:2:14", - "nodeType": "VariableDeclaration", - "scope": 16284, - "src": "57961:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16262, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57961:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16265, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57987:2:14", - "nodeType": "VariableDeclaration", - "scope": 16284, - "src": "57973:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16264, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57973:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16267, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57996:2:14", - "nodeType": "VariableDeclaration", - "scope": 16284, - "src": "57991:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16266, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "57991:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16269, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58005:2:14", - "nodeType": "VariableDeclaration", - "scope": 16284, - "src": "58000:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16268, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58000:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "57960:48:14" - }, - "returnParameters": { - "id": 16271, - "nodeType": "ParameterList", - "parameters": [], - "src": "58023:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16307, - "nodeType": "FunctionDefinition", - "src": "58135:187:14", - "nodes": [], - "body": { - "id": 16306, - "nodeType": "Block", - "src": "58213:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e742c6164647265737329", - "id": 16298, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58263:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dfd7d80b4150ea6b0b2772758d6e66d8c7f141bfd7de11119a8fee2a703664e4", - "typeString": "literal_string \"log(address,string,uint,address)\"" - }, - "value": "log(address,string,uint,address)" - }, - { - "id": 16299, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16286, - "src": "58299:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16300, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16288, - "src": "58303:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16301, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16290, - "src": "58307:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16302, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16292, - "src": "58311:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_dfd7d80b4150ea6b0b2772758d6e66d8c7f141bfd7de11119a8fee2a703664e4", - "typeString": "literal_string \"log(address,string,uint,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 16296, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58239:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16297, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58243:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58239:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16303, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58239:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16295, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "58223:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58223:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16305, - "nodeType": "ExpressionStatement", - "src": "58223:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58144:3:14", - "parameters": { - "id": 16293, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16286, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58156:2:14", - "nodeType": "VariableDeclaration", - "scope": 16307, - "src": "58148:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16285, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58148:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16288, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58174:2:14", - "nodeType": "VariableDeclaration", - "scope": 16307, - "src": "58160:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16287, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58160:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16290, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58183:2:14", - "nodeType": "VariableDeclaration", - "scope": 16307, - "src": "58178:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16289, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "58178:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16292, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58195:2:14", - "nodeType": "VariableDeclaration", - "scope": 16307, - "src": "58187:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16291, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58187:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "58147:51:14" - }, - "returnParameters": { - "id": 16294, - "nodeType": "ParameterList", - "parameters": [], - "src": "58213:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16330, - "nodeType": "FunctionDefinition", - "src": "58328:192:14", - "nodes": [], - "body": { - "id": 16329, - "nodeType": "Block", - "src": "58412:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c75696e7429", - "id": 16321, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58462:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a14fd039ae37435afa9d1674d6d48b37ffbd5da4cd9166a3f673f5f0db01a4c5", - "typeString": "literal_string \"log(address,string,string,uint)\"" - }, - "value": "log(address,string,string,uint)" - }, - { - "id": 16322, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16309, - "src": "58497:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16323, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16311, - "src": "58501:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16324, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16313, - "src": "58505:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16325, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16315, - "src": "58509:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a14fd039ae37435afa9d1674d6d48b37ffbd5da4cd9166a3f673f5f0db01a4c5", - "typeString": "literal_string \"log(address,string,string,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 16319, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58438:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16320, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58442:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58438:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58438:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16318, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "58422:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58422:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16328, - "nodeType": "ExpressionStatement", - "src": "58422:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58337:3:14", - "parameters": { - "id": 16316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16309, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58349:2:14", - "nodeType": "VariableDeclaration", - "scope": 16330, - "src": "58341:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16308, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58341:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16311, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58367:2:14", - "nodeType": "VariableDeclaration", - "scope": 16330, - "src": "58353:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16310, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58353:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16313, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58385:2:14", - "nodeType": "VariableDeclaration", - "scope": 16330, - "src": "58371:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16312, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58371:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16315, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58394:2:14", - "nodeType": "VariableDeclaration", - "scope": 16330, - "src": "58389:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16314, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "58389:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "58340:57:14" - }, - "returnParameters": { - "id": 16317, - "nodeType": "ParameterList", - "parameters": [], - "src": "58412:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16353, - "nodeType": "FunctionDefinition", - "src": "58526:203:14", - "nodes": [], - "body": { - "id": 16352, - "nodeType": "Block", - "src": "58619:110:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c737472696e6729", - "id": 16344, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58669:35:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d02c50b371ad9a1f5c638dc99b5e9b545011f148f0be5233c530a4b2a12665c", - "typeString": "literal_string \"log(address,string,string,string)\"" - }, - "value": "log(address,string,string,string)" - }, - { - "id": 16345, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16332, - "src": "58706:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16346, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16334, - "src": "58710:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16347, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16336, - "src": "58714:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16348, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16338, - "src": "58718:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5d02c50b371ad9a1f5c638dc99b5e9b545011f148f0be5233c530a4b2a12665c", - "typeString": "literal_string \"log(address,string,string,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 16342, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58645:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16343, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58649:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58645:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16349, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58645:76:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16341, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "58629:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16350, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58629:93:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16351, - "nodeType": "ExpressionStatement", - "src": "58629:93:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58535:3:14", - "parameters": { - "id": 16339, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16332, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58547:2:14", - "nodeType": "VariableDeclaration", - "scope": 16353, - "src": "58539:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16331, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58539:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16334, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58565:2:14", - "nodeType": "VariableDeclaration", - "scope": 16353, - "src": "58551:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16333, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58551:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16336, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58583:2:14", - "nodeType": "VariableDeclaration", - "scope": 16353, - "src": "58569:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16335, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58569:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16338, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58601:2:14", - "nodeType": "VariableDeclaration", - "scope": 16353, - "src": "58587:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16337, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58587:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "58538:66:14" - }, - "returnParameters": { - "id": 16340, - "nodeType": "ParameterList", - "parameters": [], - "src": "58619:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16376, - "nodeType": "FunctionDefinition", - "src": "58735:192:14", - "nodes": [], - "body": { - "id": 16375, - "nodeType": "Block", - "src": "58819:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c626f6f6c29", - "id": 16367, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58869:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_35a5071fa9f4610e50772083182f21e949e7a02301a3936e315dd1c4fc39a9ed", - "typeString": "literal_string \"log(address,string,string,bool)\"" - }, - "value": "log(address,string,string,bool)" - }, - { - "id": 16368, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16355, - "src": "58904:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16369, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16357, - "src": "58908:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16370, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16359, - "src": "58912:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16371, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16361, - "src": "58916:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_35a5071fa9f4610e50772083182f21e949e7a02301a3936e315dd1c4fc39a9ed", - "typeString": "literal_string \"log(address,string,string,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 16365, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58845:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16366, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58849:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58845:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16372, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58845:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16364, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "58829:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16373, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58829:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16374, - "nodeType": "ExpressionStatement", - "src": "58829:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58744:3:14", - "parameters": { - "id": 16362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16355, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58756:2:14", - "nodeType": "VariableDeclaration", - "scope": 16376, - "src": "58748:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16354, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58748:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16357, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58774:2:14", - "nodeType": "VariableDeclaration", - "scope": 16376, - "src": "58760:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16356, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58760:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16359, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58792:2:14", - "nodeType": "VariableDeclaration", - "scope": 16376, - "src": "58778:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16358, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58778:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16361, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58801:2:14", - "nodeType": "VariableDeclaration", - "scope": 16376, - "src": "58796:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16360, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58796:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "58747:57:14" - }, - "returnParameters": { - "id": 16363, - "nodeType": "ParameterList", - "parameters": [], - "src": "58819:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16399, - "nodeType": "FunctionDefinition", - "src": "58933:198:14", - "nodes": [], - "body": { - "id": 16398, - "nodeType": "Block", - "src": "59020:111:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c6164647265737329", - "id": 16390, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59070:36:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a04e2f87a739673cc9223810c24b00b35c6b2c9f3ef123cc82866752e1fa816f", - "typeString": "literal_string \"log(address,string,string,address)\"" - }, - "value": "log(address,string,string,address)" - }, - { - "id": 16391, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16378, - "src": "59108:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16392, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16380, - "src": "59112:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16393, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16382, - "src": "59116:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16394, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16384, - "src": "59120:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a04e2f87a739673cc9223810c24b00b35c6b2c9f3ef123cc82866752e1fa816f", - "typeString": "literal_string \"log(address,string,string,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 16388, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59046:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16389, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59050:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59046:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16395, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59046:77:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16387, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "59030:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16396, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59030:94:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16397, - "nodeType": "ExpressionStatement", - "src": "59030:94:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58942:3:14", - "parameters": { - "id": 16385, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16378, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58954:2:14", - "nodeType": "VariableDeclaration", - "scope": 16399, - "src": "58946:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16377, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58946:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16380, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58972:2:14", - "nodeType": "VariableDeclaration", - "scope": 16399, - "src": "58958:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16379, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58958:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16382, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58990:2:14", - "nodeType": "VariableDeclaration", - "scope": 16399, - "src": "58976:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16381, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58976:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16384, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59002:2:14", - "nodeType": "VariableDeclaration", - "scope": 16399, - "src": "58994:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16383, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58994:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "58945:60:14" - }, - "returnParameters": { - "id": 16386, - "nodeType": "ParameterList", - "parameters": [], - "src": "59020:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16422, - "nodeType": "FunctionDefinition", - "src": "59137:181:14", - "nodes": [], - "body": { - "id": 16421, - "nodeType": "Block", - "src": "59212:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c75696e7429", - "id": 16413, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59262:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e720521cc58e36659b0c45689a38054bd7300ff30d5ec0cfec7bae3dc2e9689a", - "typeString": "literal_string \"log(address,string,bool,uint)\"" - }, - "value": "log(address,string,bool,uint)" - }, - { - "id": 16414, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16401, - "src": "59295:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16415, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16403, - "src": "59299:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16416, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16405, - "src": "59303:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16417, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16407, - "src": "59307:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e720521cc58e36659b0c45689a38054bd7300ff30d5ec0cfec7bae3dc2e9689a", - "typeString": "literal_string \"log(address,string,bool,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 16411, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59238:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16412, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59242:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59238:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16418, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59238:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16410, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "59222:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16419, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59222:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16420, - "nodeType": "ExpressionStatement", - "src": "59222:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59146:3:14", - "parameters": { - "id": 16408, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16401, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59158:2:14", - "nodeType": "VariableDeclaration", - "scope": 16422, - "src": "59150:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16400, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59150:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16403, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59176:2:14", - "nodeType": "VariableDeclaration", - "scope": 16422, - "src": "59162:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16402, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59162:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16405, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59185:2:14", - "nodeType": "VariableDeclaration", - "scope": 16422, - "src": "59180:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16404, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59180:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16407, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59194:2:14", - "nodeType": "VariableDeclaration", - "scope": 16422, - "src": "59189:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16406, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "59189:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "59149:48:14" - }, - "returnParameters": { - "id": 16409, - "nodeType": "ParameterList", - "parameters": [], - "src": "59212:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16445, - "nodeType": "FunctionDefinition", - "src": "59324:192:14", - "nodes": [], - "body": { - "id": 16444, - "nodeType": "Block", - "src": "59408:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c737472696e6729", - "id": 16436, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59458:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bc0b61fe9497b47eb6a51a5a6a4bf26b32ddcbc9407ccae8cc7de64b3e3d84cc", - "typeString": "literal_string \"log(address,string,bool,string)\"" - }, - "value": "log(address,string,bool,string)" - }, - { - "id": 16437, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16424, - "src": "59493:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16438, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16426, - "src": "59497:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16439, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16428, - "src": "59501:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16440, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16430, - "src": "59505:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_bc0b61fe9497b47eb6a51a5a6a4bf26b32ddcbc9407ccae8cc7de64b3e3d84cc", - "typeString": "literal_string \"log(address,string,bool,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 16434, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59434:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16435, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59438:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59434:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16441, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59434:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16433, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "59418:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16442, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59418:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16443, - "nodeType": "ExpressionStatement", - "src": "59418:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59333:3:14", - "parameters": { - "id": 16431, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16424, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59345:2:14", - "nodeType": "VariableDeclaration", - "scope": 16445, - "src": "59337:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16423, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59337:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16426, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59363:2:14", - "nodeType": "VariableDeclaration", - "scope": 16445, - "src": "59349:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16425, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59349:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16428, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59372:2:14", - "nodeType": "VariableDeclaration", - "scope": 16445, - "src": "59367:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16427, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59367:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16430, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59390:2:14", - "nodeType": "VariableDeclaration", - "scope": 16445, - "src": "59376:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16429, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59376:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "59336:57:14" - }, - "returnParameters": { - "id": 16432, - "nodeType": "ParameterList", - "parameters": [], - "src": "59408:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16468, - "nodeType": "FunctionDefinition", - "src": "59522:181:14", - "nodes": [], - "body": { - "id": 16467, - "nodeType": "Block", - "src": "59597:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c626f6f6c29", - "id": 16459, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59647:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5f1d5c9f0de8c048364058d1d6842804ada33dbc34bf9eaff8f2be978f384e08", - "typeString": "literal_string \"log(address,string,bool,bool)\"" - }, - "value": "log(address,string,bool,bool)" - }, - { - "id": 16460, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16447, - "src": "59680:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16461, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16449, - "src": "59684:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16462, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16451, - "src": "59688:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16463, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16453, - "src": "59692:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5f1d5c9f0de8c048364058d1d6842804ada33dbc34bf9eaff8f2be978f384e08", - "typeString": "literal_string \"log(address,string,bool,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 16457, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59623:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16458, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59627:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59623:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16464, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59623:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16456, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "59607:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16465, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59607:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16466, - "nodeType": "ExpressionStatement", - "src": "59607:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59531:3:14", - "parameters": { - "id": 16454, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16447, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59543:2:14", - "nodeType": "VariableDeclaration", - "scope": 16468, - "src": "59535:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16446, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59535:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16449, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59561:2:14", - "nodeType": "VariableDeclaration", - "scope": 16468, - "src": "59547:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16448, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59547:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16451, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59570:2:14", - "nodeType": "VariableDeclaration", - "scope": 16468, - "src": "59565:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16450, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59565:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16453, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59579:2:14", - "nodeType": "VariableDeclaration", - "scope": 16468, - "src": "59574:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16452, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59574:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "59534:48:14" - }, - "returnParameters": { - "id": 16455, - "nodeType": "ParameterList", - "parameters": [], - "src": "59597:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16491, - "nodeType": "FunctionDefinition", - "src": "59709:187:14", - "nodes": [], - "body": { - "id": 16490, - "nodeType": "Block", - "src": "59787:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c6164647265737329", - "id": 16482, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59837:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_205871c2f2d320acdd350939b5fc035cc20b1a9cc058fb26f1c9fb3d2ba59970", - "typeString": "literal_string \"log(address,string,bool,address)\"" - }, - "value": "log(address,string,bool,address)" - }, - { - "id": 16483, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16470, - "src": "59873:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16484, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16472, - "src": "59877:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16485, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16474, - "src": "59881:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16486, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16476, - "src": "59885:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_205871c2f2d320acdd350939b5fc035cc20b1a9cc058fb26f1c9fb3d2ba59970", - "typeString": "literal_string \"log(address,string,bool,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 16480, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59813:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16481, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59817:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59813:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16487, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59813:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16479, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "59797:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16488, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59797:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16489, - "nodeType": "ExpressionStatement", - "src": "59797:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59718:3:14", - "parameters": { - "id": 16477, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16470, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59730:2:14", - "nodeType": "VariableDeclaration", - "scope": 16491, - "src": "59722:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16469, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59722:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16472, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59748:2:14", - "nodeType": "VariableDeclaration", - "scope": 16491, - "src": "59734:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16471, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59734:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16474, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59757:2:14", - "nodeType": "VariableDeclaration", - "scope": 16491, - "src": "59752:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16473, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59752:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16476, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59769:2:14", - "nodeType": "VariableDeclaration", - "scope": 16491, - "src": "59761:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16475, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59761:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "59721:51:14" - }, - "returnParameters": { - "id": 16478, - "nodeType": "ParameterList", - "parameters": [], - "src": "59787:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16514, - "nodeType": "FunctionDefinition", - "src": "59902:187:14", - "nodes": [], - "body": { - "id": 16513, - "nodeType": "Block", - "src": "59980:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c75696e7429", - "id": 16505, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60030:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8c1933a9a9c61e3dc8d3ebdfa929712b21dab3dcf7188e7d35cbf8aaaf476582", - "typeString": "literal_string \"log(address,string,address,uint)\"" - }, - "value": "log(address,string,address,uint)" - }, - { - "id": 16506, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16493, - "src": "60066:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16507, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16495, - "src": "60070:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16508, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16497, - "src": "60074:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16509, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16499, - "src": "60078:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8c1933a9a9c61e3dc8d3ebdfa929712b21dab3dcf7188e7d35cbf8aaaf476582", - "typeString": "literal_string \"log(address,string,address,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 16503, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60006:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16504, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60010:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60006:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60006:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16502, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "59990:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16511, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59990:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16512, - "nodeType": "ExpressionStatement", - "src": "59990:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59911:3:14", - "parameters": { - "id": 16500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16493, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59923:2:14", - "nodeType": "VariableDeclaration", - "scope": 16514, - "src": "59915:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16492, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59915:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16495, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59941:2:14", - "nodeType": "VariableDeclaration", - "scope": 16514, - "src": "59927:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16494, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59927:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16497, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59953:2:14", - "nodeType": "VariableDeclaration", - "scope": 16514, - "src": "59945:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16496, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59945:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16499, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59962:2:14", - "nodeType": "VariableDeclaration", - "scope": 16514, - "src": "59957:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16498, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "59957:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "59914:51:14" - }, - "returnParameters": { - "id": 16501, - "nodeType": "ParameterList", - "parameters": [], - "src": "59980:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16537, - "nodeType": "FunctionDefinition", - "src": "60095:198:14", - "nodes": [], - "body": { - "id": 16536, - "nodeType": "Block", - "src": "60182:111:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c737472696e6729", - "id": 16528, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60232:36:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f7e3624510fc5618feb98a49f5d4404e3749dacbdc916c267fea7b2051a08dea", - "typeString": "literal_string \"log(address,string,address,string)\"" - }, - "value": "log(address,string,address,string)" - }, - { - "id": 16529, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16516, - "src": "60270:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16530, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16518, - "src": "60274:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16531, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16520, - "src": "60278:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16532, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16522, - "src": "60282:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f7e3624510fc5618feb98a49f5d4404e3749dacbdc916c267fea7b2051a08dea", - "typeString": "literal_string \"log(address,string,address,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 16526, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60208:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16527, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60212:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60208:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16533, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60208:77:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16525, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "60192:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16534, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60192:94:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16535, - "nodeType": "ExpressionStatement", - "src": "60192:94:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60104:3:14", - "parameters": { - "id": 16523, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16516, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60116:2:14", - "nodeType": "VariableDeclaration", - "scope": 16537, - "src": "60108:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16515, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60108:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16518, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60134:2:14", - "nodeType": "VariableDeclaration", - "scope": 16537, - "src": "60120:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16517, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60120:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16520, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60146:2:14", - "nodeType": "VariableDeclaration", - "scope": 16537, - "src": "60138:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16519, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60138:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16522, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60164:2:14", - "nodeType": "VariableDeclaration", - "scope": 16537, - "src": "60150:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16521, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60150:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "60107:60:14" - }, - "returnParameters": { - "id": 16524, - "nodeType": "ParameterList", - "parameters": [], - "src": "60182:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16560, - "nodeType": "FunctionDefinition", - "src": "60299:187:14", - "nodes": [], - "body": { - "id": 16559, - "nodeType": "Block", - "src": "60377:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c626f6f6c29", - "id": 16551, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60427:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0df12b7620e0bad204ac79fe9930fef9b9a40702161764a681594d50d657b081", - "typeString": "literal_string \"log(address,string,address,bool)\"" - }, - "value": "log(address,string,address,bool)" - }, - { - "id": 16552, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16539, - "src": "60463:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16553, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16541, - "src": "60467:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16554, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16543, - "src": "60471:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16555, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16545, - "src": "60475:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0df12b7620e0bad204ac79fe9930fef9b9a40702161764a681594d50d657b081", - "typeString": "literal_string \"log(address,string,address,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 16549, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60403:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16550, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60407:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60403:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16556, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60403:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16548, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "60387:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16557, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60387:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16558, - "nodeType": "ExpressionStatement", - "src": "60387:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60308:3:14", - "parameters": { - "id": 16546, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16539, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60320:2:14", - "nodeType": "VariableDeclaration", - "scope": 16560, - "src": "60312:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16538, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60312:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16541, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60338:2:14", - "nodeType": "VariableDeclaration", - "scope": 16560, - "src": "60324:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16540, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60324:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16543, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60350:2:14", - "nodeType": "VariableDeclaration", - "scope": 16560, - "src": "60342:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16542, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60342:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16545, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60359:2:14", - "nodeType": "VariableDeclaration", - "scope": 16560, - "src": "60354:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16544, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60354:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "60311:51:14" - }, - "returnParameters": { - "id": 16547, - "nodeType": "ParameterList", - "parameters": [], - "src": "60377:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16583, - "nodeType": "FunctionDefinition", - "src": "60492:193:14", - "nodes": [], - "body": { - "id": 16582, - "nodeType": "Block", - "src": "60573:112:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c6164647265737329", - "id": 16574, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60623:37:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0d36fa2022fafb45586a59914be3ad4c57b76e89535385dcff89c28c80605121", - "typeString": "literal_string \"log(address,string,address,address)\"" - }, - "value": "log(address,string,address,address)" - }, - { - "id": 16575, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16562, - "src": "60662:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16576, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16564, - "src": "60666:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16577, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16566, - "src": "60670:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16578, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16568, - "src": "60674:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0d36fa2022fafb45586a59914be3ad4c57b76e89535385dcff89c28c80605121", - "typeString": "literal_string \"log(address,string,address,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 16572, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60599:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16573, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60603:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60599:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16579, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60599:78:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16571, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "60583:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16580, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60583:95:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16581, - "nodeType": "ExpressionStatement", - "src": "60583:95:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60501:3:14", - "parameters": { - "id": 16569, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16562, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60513:2:14", - "nodeType": "VariableDeclaration", - "scope": 16583, - "src": "60505:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16561, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60505:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16564, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60531:2:14", - "nodeType": "VariableDeclaration", - "scope": 16583, - "src": "60517:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16563, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60517:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16566, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60543:2:14", - "nodeType": "VariableDeclaration", - "scope": 16583, - "src": "60535:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16565, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60535:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16568, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60555:2:14", - "nodeType": "VariableDeclaration", - "scope": 16583, - "src": "60547:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16567, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60547:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "60504:54:14" - }, - "returnParameters": { - "id": 16570, - "nodeType": "ParameterList", - "parameters": [], - "src": "60573:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16606, - "nodeType": "FunctionDefinition", - "src": "60691:170:14", - "nodes": [], - "body": { - "id": 16605, - "nodeType": "Block", - "src": "60757:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e742c75696e7429", - "id": 16597, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60807:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c210a01e60a7d88137859e75abc2d14430087408747ac6787f0acb2f0f8bfd59", - "typeString": "literal_string \"log(address,bool,uint,uint)\"" - }, - "value": "log(address,bool,uint,uint)" - }, - { - "id": 16598, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16585, - "src": "60838:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16599, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16587, - "src": "60842:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16600, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16589, - "src": "60846:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16601, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16591, - "src": "60850:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c210a01e60a7d88137859e75abc2d14430087408747ac6787f0acb2f0f8bfd59", - "typeString": "literal_string \"log(address,bool,uint,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 16595, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60783:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16596, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60787:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60783:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16602, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60783:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16594, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "60767:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16603, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60767:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16604, - "nodeType": "ExpressionStatement", - "src": "60767:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60700:3:14", - "parameters": { - "id": 16592, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16585, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60712:2:14", - "nodeType": "VariableDeclaration", - "scope": 16606, - "src": "60704:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16584, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60704:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16587, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60721:2:14", - "nodeType": "VariableDeclaration", - "scope": 16606, - "src": "60716:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16586, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60716:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16589, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60730:2:14", - "nodeType": "VariableDeclaration", - "scope": 16606, - "src": "60725:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16588, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "60725:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16591, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60739:2:14", - "nodeType": "VariableDeclaration", - "scope": 16606, - "src": "60734:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16590, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "60734:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "60703:39:14" - }, - "returnParameters": { - "id": 16593, - "nodeType": "ParameterList", - "parameters": [], - "src": "60757:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16629, - "nodeType": "FunctionDefinition", - "src": "60867:181:14", - "nodes": [], - "body": { - "id": 16628, - "nodeType": "Block", - "src": "60942:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e742c737472696e6729", - "id": 16620, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60992:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9b588eccef132ec49572951d33e9b0d1b814d54c82133831f78cdc5d923bc6e6", - "typeString": "literal_string \"log(address,bool,uint,string)\"" - }, - "value": "log(address,bool,uint,string)" - }, - { - "id": 16621, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16608, - "src": "61025:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16622, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16610, - "src": "61029:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16623, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16612, - "src": "61033:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16624, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16614, - "src": "61037:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9b588eccef132ec49572951d33e9b0d1b814d54c82133831f78cdc5d923bc6e6", - "typeString": "literal_string \"log(address,bool,uint,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 16618, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60968:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16619, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60972:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60968:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16625, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60968:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16617, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "60952:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16626, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60952:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16627, - "nodeType": "ExpressionStatement", - "src": "60952:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60876:3:14", - "parameters": { - "id": 16615, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16608, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60888:2:14", - "nodeType": "VariableDeclaration", - "scope": 16629, - "src": "60880:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16607, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60880:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16610, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60897:2:14", - "nodeType": "VariableDeclaration", - "scope": 16629, - "src": "60892:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16609, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60892:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16612, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60906:2:14", - "nodeType": "VariableDeclaration", - "scope": 16629, - "src": "60901:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16611, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "60901:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16614, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60924:2:14", - "nodeType": "VariableDeclaration", - "scope": 16629, - "src": "60910:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16613, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60910:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "60879:48:14" - }, - "returnParameters": { - "id": 16616, - "nodeType": "ParameterList", - "parameters": [], - "src": "60942:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16652, - "nodeType": "FunctionDefinition", - "src": "61054:170:14", - "nodes": [], - "body": { - "id": 16651, - "nodeType": "Block", - "src": "61120:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e742c626f6f6c29", - "id": 16643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61170:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_85cdc5af22f2a2b52749c228b5bc379bac815d0d3575c2899b6657bce00fab33", - "typeString": "literal_string \"log(address,bool,uint,bool)\"" - }, - "value": "log(address,bool,uint,bool)" - }, - { - "id": 16644, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16631, - "src": "61201:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16645, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16633, - "src": "61205:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16646, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16635, - "src": "61209:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16647, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16637, - "src": "61213:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_85cdc5af22f2a2b52749c228b5bc379bac815d0d3575c2899b6657bce00fab33", - "typeString": "literal_string \"log(address,bool,uint,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 16641, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61146:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16642, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61150:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61146:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61146:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16640, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "61130:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61130:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16650, - "nodeType": "ExpressionStatement", - "src": "61130:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61063:3:14", - "parameters": { - "id": 16638, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16631, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61075:2:14", - "nodeType": "VariableDeclaration", - "scope": 16652, - "src": "61067:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16630, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61067:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16633, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61084:2:14", - "nodeType": "VariableDeclaration", - "scope": 16652, - "src": "61079:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16632, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61079:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16635, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61093:2:14", - "nodeType": "VariableDeclaration", - "scope": 16652, - "src": "61088:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16634, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "61088:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16637, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61102:2:14", - "nodeType": "VariableDeclaration", - "scope": 16652, - "src": "61097:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16636, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61097:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "61066:39:14" - }, - "returnParameters": { - "id": 16639, - "nodeType": "ParameterList", - "parameters": [], - "src": "61120:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16675, - "nodeType": "FunctionDefinition", - "src": "61230:176:14", - "nodes": [], - "body": { - "id": 16674, - "nodeType": "Block", - "src": "61299:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e742c6164647265737329", - "id": 16666, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61349:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0d8ce61ee7d058fd1e588343a35fb1aff71b8e7f74d553220d0e20088cb908bf", - "typeString": "literal_string \"log(address,bool,uint,address)\"" - }, - "value": "log(address,bool,uint,address)" - }, - { - "id": 16667, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16654, - "src": "61383:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16668, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16656, - "src": "61387:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16669, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16658, - "src": "61391:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16670, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16660, - "src": "61395:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0d8ce61ee7d058fd1e588343a35fb1aff71b8e7f74d553220d0e20088cb908bf", - "typeString": "literal_string \"log(address,bool,uint,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 16664, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61325:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16665, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61329:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61325:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16671, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61325:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16663, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "61309:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16672, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61309:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16673, - "nodeType": "ExpressionStatement", - "src": "61309:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61239:3:14", - "parameters": { - "id": 16661, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16654, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61251:2:14", - "nodeType": "VariableDeclaration", - "scope": 16675, - "src": "61243:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16653, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61243:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16656, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61260:2:14", - "nodeType": "VariableDeclaration", - "scope": 16675, - "src": "61255:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16655, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61255:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16658, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61269:2:14", - "nodeType": "VariableDeclaration", - "scope": 16675, - "src": "61264:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16657, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "61264:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16660, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61281:2:14", - "nodeType": "VariableDeclaration", - "scope": 16675, - "src": "61273:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16659, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61273:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "61242:42:14" - }, - "returnParameters": { - "id": 16662, - "nodeType": "ParameterList", - "parameters": [], - "src": "61299:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16698, - "nodeType": "FunctionDefinition", - "src": "61412:181:14", - "nodes": [], - "body": { - "id": 16697, - "nodeType": "Block", - "src": "61487:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c75696e7429", - "id": 16689, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61537:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9e127b6e4348bc33b3ea7f05f6479d3e1b1fe2b3727e1f4ba94b6a36e7abac9b", - "typeString": "literal_string \"log(address,bool,string,uint)\"" - }, - "value": "log(address,bool,string,uint)" - }, - { - "id": 16690, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16677, - "src": "61570:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16691, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16679, - "src": "61574:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16692, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16681, - "src": "61578:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16693, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16683, - "src": "61582:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9e127b6e4348bc33b3ea7f05f6479d3e1b1fe2b3727e1f4ba94b6a36e7abac9b", - "typeString": "literal_string \"log(address,bool,string,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 16687, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61513:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16688, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61517:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61513:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16694, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61513:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16686, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "61497:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16695, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61497:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16696, - "nodeType": "ExpressionStatement", - "src": "61497:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61421:3:14", - "parameters": { - "id": 16684, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16677, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61433:2:14", - "nodeType": "VariableDeclaration", - "scope": 16698, - "src": "61425:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16676, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61425:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16679, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61442:2:14", - "nodeType": "VariableDeclaration", - "scope": 16698, - "src": "61437:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16678, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61437:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16681, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61460:2:14", - "nodeType": "VariableDeclaration", - "scope": 16698, - "src": "61446:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16680, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61446:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16683, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61469:2:14", - "nodeType": "VariableDeclaration", - "scope": 16698, - "src": "61464:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16682, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "61464:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "61424:48:14" - }, - "returnParameters": { - "id": 16685, - "nodeType": "ParameterList", - "parameters": [], - "src": "61487:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16721, - "nodeType": "FunctionDefinition", - "src": "61599:192:14", - "nodes": [], - "body": { - "id": 16720, - "nodeType": "Block", - "src": "61683:108:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c737472696e6729", - "id": 16712, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61733:33:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_475c5c33f91155b7a0e86c9fac7985c60ab58f4bfb411ee9b31d994a7fc95d1f", - "typeString": "literal_string \"log(address,bool,string,string)\"" - }, - "value": "log(address,bool,string,string)" - }, - { - "id": 16713, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16700, - "src": "61768:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16714, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16702, - "src": "61772:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16715, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16704, - "src": "61776:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16716, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16706, - "src": "61780:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_475c5c33f91155b7a0e86c9fac7985c60ab58f4bfb411ee9b31d994a7fc95d1f", - "typeString": "literal_string \"log(address,bool,string,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 16710, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61709:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16711, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61713:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61709:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16717, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61709:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16709, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "61693:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16718, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61693:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16719, - "nodeType": "ExpressionStatement", - "src": "61693:91:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61608:3:14", - "parameters": { - "id": 16707, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16700, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61620:2:14", - "nodeType": "VariableDeclaration", - "scope": 16721, - "src": "61612:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16699, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61612:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16702, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61629:2:14", - "nodeType": "VariableDeclaration", - "scope": 16721, - "src": "61624:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16701, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61624:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16704, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61647:2:14", - "nodeType": "VariableDeclaration", - "scope": 16721, - "src": "61633:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16703, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61633:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16706, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61665:2:14", - "nodeType": "VariableDeclaration", - "scope": 16721, - "src": "61651:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16705, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61651:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "61611:57:14" - }, - "returnParameters": { - "id": 16708, - "nodeType": "ParameterList", - "parameters": [], - "src": "61683:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16744, - "nodeType": "FunctionDefinition", - "src": "61797:181:14", - "nodes": [], - "body": { - "id": 16743, - "nodeType": "Block", - "src": "61872:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c626f6f6c29", - "id": 16735, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61922:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_50ad461db24803fc9b2ba76f072192e0a4d8fbb3667a50c400f504443380890f", - "typeString": "literal_string \"log(address,bool,string,bool)\"" - }, - "value": "log(address,bool,string,bool)" - }, - { - "id": 16736, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16723, - "src": "61955:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16737, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16725, - "src": "61959:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16738, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16727, - "src": "61963:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16739, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16729, - "src": "61967:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_50ad461db24803fc9b2ba76f072192e0a4d8fbb3667a50c400f504443380890f", - "typeString": "literal_string \"log(address,bool,string,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 16733, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61898:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16734, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61902:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61898:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16740, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61898:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16732, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "61882:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61882:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16742, - "nodeType": "ExpressionStatement", - "src": "61882:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61806:3:14", - "parameters": { - "id": 16730, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16723, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61818:2:14", - "nodeType": "VariableDeclaration", - "scope": 16744, - "src": "61810:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16722, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61810:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16725, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61827:2:14", - "nodeType": "VariableDeclaration", - "scope": 16744, - "src": "61822:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16724, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61822:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16727, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61845:2:14", - "nodeType": "VariableDeclaration", - "scope": 16744, - "src": "61831:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16726, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61831:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16729, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61854:2:14", - "nodeType": "VariableDeclaration", - "scope": 16744, - "src": "61849:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16728, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61849:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "61809:48:14" - }, - "returnParameters": { - "id": 16731, - "nodeType": "ParameterList", - "parameters": [], - "src": "61872:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16767, - "nodeType": "FunctionDefinition", - "src": "61984:187:14", - "nodes": [], - "body": { - "id": 16766, - "nodeType": "Block", - "src": "62062:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c6164647265737329", - "id": 16758, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62112:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_19fd495659df511498cf8dde03672830bd109ef2d9b9bec18e72190917c328bc", - "typeString": "literal_string \"log(address,bool,string,address)\"" - }, - "value": "log(address,bool,string,address)" - }, - { - "id": 16759, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16746, - "src": "62148:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16760, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16748, - "src": "62152:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16761, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16750, - "src": "62156:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16762, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16752, - "src": "62160:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_19fd495659df511498cf8dde03672830bd109ef2d9b9bec18e72190917c328bc", - "typeString": "literal_string \"log(address,bool,string,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 16756, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62088:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16757, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62092:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62088:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62088:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16755, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "62072:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16764, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62072:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16765, - "nodeType": "ExpressionStatement", - "src": "62072:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61993:3:14", - "parameters": { - "id": 16753, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16746, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62005:2:14", - "nodeType": "VariableDeclaration", - "scope": 16767, - "src": "61997:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16745, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61997:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16748, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62014:2:14", - "nodeType": "VariableDeclaration", - "scope": 16767, - "src": "62009:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16747, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62009:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16750, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62032:2:14", - "nodeType": "VariableDeclaration", - "scope": 16767, - "src": "62018:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16749, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "62018:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16752, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62044:2:14", - "nodeType": "VariableDeclaration", - "scope": 16767, - "src": "62036:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16751, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62036:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "61996:51:14" - }, - "returnParameters": { - "id": 16754, - "nodeType": "ParameterList", - "parameters": [], - "src": "62062:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16790, - "nodeType": "FunctionDefinition", - "src": "62177:170:14", - "nodes": [], - "body": { - "id": 16789, - "nodeType": "Block", - "src": "62243:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c75696e7429", - "id": 16781, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62293:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cfb587569c9e063cd7daed07e27d9193980aad24c48787cb6531c47fa694e463", - "typeString": "literal_string \"log(address,bool,bool,uint)\"" - }, - "value": "log(address,bool,bool,uint)" - }, - { - "id": 16782, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16769, - "src": "62324:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16783, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16771, - "src": "62328:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16784, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16773, - "src": "62332:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16785, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16775, - "src": "62336:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cfb587569c9e063cd7daed07e27d9193980aad24c48787cb6531c47fa694e463", - "typeString": "literal_string \"log(address,bool,bool,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 16779, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62269:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16780, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62273:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62269:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62269:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16778, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "62253:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62253:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16788, - "nodeType": "ExpressionStatement", - "src": "62253:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62186:3:14", - "parameters": { - "id": 16776, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16769, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62198:2:14", - "nodeType": "VariableDeclaration", - "scope": 16790, - "src": "62190:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16768, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62190:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16771, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62207:2:14", - "nodeType": "VariableDeclaration", - "scope": 16790, - "src": "62202:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16770, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62202:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16773, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62216:2:14", - "nodeType": "VariableDeclaration", - "scope": 16790, - "src": "62211:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16772, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62211:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16775, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62225:2:14", - "nodeType": "VariableDeclaration", - "scope": 16790, - "src": "62220:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16774, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "62220:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "62189:39:14" - }, - "returnParameters": { - "id": 16777, - "nodeType": "ParameterList", - "parameters": [], - "src": "62243:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16813, - "nodeType": "FunctionDefinition", - "src": "62353:181:14", - "nodes": [], - "body": { - "id": 16812, - "nodeType": "Block", - "src": "62428:106:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c737472696e6729", - "id": 16804, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62478:31:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dfc4a2e8c56809b44edbbc6d92d0a8441e551ad5387596bf8b629c56d9a91300", - "typeString": "literal_string \"log(address,bool,bool,string)\"" - }, - "value": "log(address,bool,bool,string)" - }, - { - "id": 16805, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16792, - "src": "62511:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16806, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16794, - "src": "62515:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16807, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16796, - "src": "62519:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16808, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16798, - "src": "62523:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_dfc4a2e8c56809b44edbbc6d92d0a8441e551ad5387596bf8b629c56d9a91300", - "typeString": "literal_string \"log(address,bool,bool,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 16802, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62454:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16803, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62458:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62454:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62454:72:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16801, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "62438:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16810, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62438:89:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16811, - "nodeType": "ExpressionStatement", - "src": "62438:89:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62362:3:14", - "parameters": { - "id": 16799, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16792, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62374:2:14", - "nodeType": "VariableDeclaration", - "scope": 16813, - "src": "62366:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16791, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62366:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16794, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62383:2:14", - "nodeType": "VariableDeclaration", - "scope": 16813, - "src": "62378:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16793, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62378:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16796, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62392:2:14", - "nodeType": "VariableDeclaration", - "scope": 16813, - "src": "62387:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16795, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62387:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16798, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62410:2:14", - "nodeType": "VariableDeclaration", - "scope": 16813, - "src": "62396:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16797, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "62396:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "62365:48:14" - }, - "returnParameters": { - "id": 16800, - "nodeType": "ParameterList", - "parameters": [], - "src": "62428:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16836, - "nodeType": "FunctionDefinition", - "src": "62540:170:14", - "nodes": [], - "body": { - "id": 16835, - "nodeType": "Block", - "src": "62606:104:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 16827, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62656:29:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cac434792b973db16714db96d2aeda353b2253f27255abe42b9960b2dc550634", - "typeString": "literal_string \"log(address,bool,bool,bool)\"" - }, - "value": "log(address,bool,bool,bool)" - }, - { - "id": 16828, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16815, - "src": "62687:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16829, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16817, - "src": "62691:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16830, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16819, - "src": "62695:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16831, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16821, - "src": "62699:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cac434792b973db16714db96d2aeda353b2253f27255abe42b9960b2dc550634", - "typeString": "literal_string \"log(address,bool,bool,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 16825, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62632:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16826, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62636:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62632:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62632:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16824, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "62616:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16833, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62616:87:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16834, - "nodeType": "ExpressionStatement", - "src": "62616:87:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62549:3:14", - "parameters": { - "id": 16822, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16815, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62561:2:14", - "nodeType": "VariableDeclaration", - "scope": 16836, - "src": "62553:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16814, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62553:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16817, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62570:2:14", - "nodeType": "VariableDeclaration", - "scope": 16836, - "src": "62565:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16816, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62565:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16819, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62579:2:14", - "nodeType": "VariableDeclaration", - "scope": 16836, - "src": "62574:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16818, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62574:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16821, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62588:2:14", - "nodeType": "VariableDeclaration", - "scope": 16836, - "src": "62583:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16820, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62583:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "62552:39:14" - }, - "returnParameters": { - "id": 16823, - "nodeType": "ParameterList", - "parameters": [], - "src": "62606:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16859, - "nodeType": "FunctionDefinition", - "src": "62716:176:14", - "nodes": [], - "body": { - "id": 16858, - "nodeType": "Block", - "src": "62785:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c6164647265737329", - "id": 16850, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62835:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cf394485abbd1f04b85b0f2c1a2cfc07e3d51c1c6f28386bf16d9e45161e8953", - "typeString": "literal_string \"log(address,bool,bool,address)\"" - }, - "value": "log(address,bool,bool,address)" - }, - { - "id": 16851, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16838, - "src": "62869:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16852, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16840, - "src": "62873:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16853, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16842, - "src": "62877:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16854, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16844, - "src": "62881:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cf394485abbd1f04b85b0f2c1a2cfc07e3d51c1c6f28386bf16d9e45161e8953", - "typeString": "literal_string \"log(address,bool,bool,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 16848, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62811:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16849, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62815:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62811:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16855, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62811:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16847, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "62795:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16856, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62795:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16857, - "nodeType": "ExpressionStatement", - "src": "62795:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62725:3:14", - "parameters": { - "id": 16845, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16838, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62737:2:14", - "nodeType": "VariableDeclaration", - "scope": 16859, - "src": "62729:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16837, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62729:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16840, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62746:2:14", - "nodeType": "VariableDeclaration", - "scope": 16859, - "src": "62741:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16839, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62741:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16842, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62755:2:14", - "nodeType": "VariableDeclaration", - "scope": 16859, - "src": "62750:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16841, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62750:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16844, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62767:2:14", - "nodeType": "VariableDeclaration", - "scope": 16859, - "src": "62759:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16843, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62759:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "62728:42:14" - }, - "returnParameters": { - "id": 16846, - "nodeType": "ParameterList", - "parameters": [], - "src": "62785:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16882, - "nodeType": "FunctionDefinition", - "src": "62898:176:14", - "nodes": [], - "body": { - "id": 16881, - "nodeType": "Block", - "src": "62967:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c75696e7429", - "id": 16873, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63017:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dc7116d2e67ccd625262e6814a6f82f2367beea9919409c81fcbb94bea1b6b84", - "typeString": "literal_string \"log(address,bool,address,uint)\"" - }, - "value": "log(address,bool,address,uint)" - }, - { - "id": 16874, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16861, - "src": "63051:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16875, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16863, - "src": "63055:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16876, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16865, - "src": "63059:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16877, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16867, - "src": "63063:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_dc7116d2e67ccd625262e6814a6f82f2367beea9919409c81fcbb94bea1b6b84", - "typeString": "literal_string \"log(address,bool,address,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 16871, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62993:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16872, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62997:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62993:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62993:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16870, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "62977:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16879, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62977:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16880, - "nodeType": "ExpressionStatement", - "src": "62977:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62907:3:14", - "parameters": { - "id": 16868, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16861, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62919:2:14", - "nodeType": "VariableDeclaration", - "scope": 16882, - "src": "62911:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16860, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62911:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16863, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62928:2:14", - "nodeType": "VariableDeclaration", - "scope": 16882, - "src": "62923:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16862, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62923:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16865, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62940:2:14", - "nodeType": "VariableDeclaration", - "scope": 16882, - "src": "62932:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16864, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62932:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16867, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62949:2:14", - "nodeType": "VariableDeclaration", - "scope": 16882, - "src": "62944:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16866, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "62944:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "62910:42:14" - }, - "returnParameters": { - "id": 16869, - "nodeType": "ParameterList", - "parameters": [], - "src": "62967:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16905, - "nodeType": "FunctionDefinition", - "src": "63080:187:14", - "nodes": [], - "body": { - "id": 16904, - "nodeType": "Block", - "src": "63158:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c737472696e6729", - "id": 16896, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63208:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2dd778e616be9386b5911da1a074bbaf979640681783fca6396ea75c8caf6453", - "typeString": "literal_string \"log(address,bool,address,string)\"" - }, - "value": "log(address,bool,address,string)" - }, - { - "id": 16897, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16884, - "src": "63244:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16898, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16886, - "src": "63248:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16899, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16888, - "src": "63252:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16900, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16890, - "src": "63256:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2dd778e616be9386b5911da1a074bbaf979640681783fca6396ea75c8caf6453", - "typeString": "literal_string \"log(address,bool,address,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 16894, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63184:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16895, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63188:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63184:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16901, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63184:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16893, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "63168:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16902, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63168:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16903, - "nodeType": "ExpressionStatement", - "src": "63168:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63089:3:14", - "parameters": { - "id": 16891, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16884, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63101:2:14", - "nodeType": "VariableDeclaration", - "scope": 16905, - "src": "63093:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16883, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63093:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16886, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63110:2:14", - "nodeType": "VariableDeclaration", - "scope": 16905, - "src": "63105:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16885, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63105:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16888, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63122:2:14", - "nodeType": "VariableDeclaration", - "scope": 16905, - "src": "63114:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16887, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63114:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16890, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63140:2:14", - "nodeType": "VariableDeclaration", - "scope": 16905, - "src": "63126:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16889, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "63126:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "63092:51:14" - }, - "returnParameters": { - "id": 16892, - "nodeType": "ParameterList", - "parameters": [], - "src": "63158:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16928, - "nodeType": "FunctionDefinition", - "src": "63273:176:14", - "nodes": [], - "body": { - "id": 16927, - "nodeType": "Block", - "src": "63342:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c626f6f6c29", - "id": 16919, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63392:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a6f50b0f122c916fe81861751b94bdddb5e453947768e8af206397bb510790b1", - "typeString": "literal_string \"log(address,bool,address,bool)\"" - }, - "value": "log(address,bool,address,bool)" - }, - { - "id": 16920, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16907, - "src": "63426:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16921, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16909, - "src": "63430:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16922, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16911, - "src": "63434:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16923, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16913, - "src": "63438:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a6f50b0f122c916fe81861751b94bdddb5e453947768e8af206397bb510790b1", - "typeString": "literal_string \"log(address,bool,address,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 16917, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63368:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16918, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63372:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63368:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16924, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63368:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16916, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "63352:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16925, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63352:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16926, - "nodeType": "ExpressionStatement", - "src": "63352:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63282:3:14", - "parameters": { - "id": 16914, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16907, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63294:2:14", - "nodeType": "VariableDeclaration", - "scope": 16928, - "src": "63286:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16906, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63286:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16909, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63303:2:14", - "nodeType": "VariableDeclaration", - "scope": 16928, - "src": "63298:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16908, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63298:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16911, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63315:2:14", - "nodeType": "VariableDeclaration", - "scope": 16928, - "src": "63307:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16910, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63307:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16913, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63324:2:14", - "nodeType": "VariableDeclaration", - "scope": 16928, - "src": "63319:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16912, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63319:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "63285:42:14" - }, - "returnParameters": { - "id": 16915, - "nodeType": "ParameterList", - "parameters": [], - "src": "63342:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16951, - "nodeType": "FunctionDefinition", - "src": "63455:182:14", - "nodes": [], - "body": { - "id": 16950, - "nodeType": "Block", - "src": "63527:110:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c6164647265737329", - "id": 16942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63577:35:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_660375ddb58761b4ce952ec7e1ae63efe9f8e9e69831fd72875968fec9046e35", - "typeString": "literal_string \"log(address,bool,address,address)\"" - }, - "value": "log(address,bool,address,address)" - }, - { - "id": 16943, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16930, - "src": "63614:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16944, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16932, - "src": "63618:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16945, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16934, - "src": "63622:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16946, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16936, - "src": "63626:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_660375ddb58761b4ce952ec7e1ae63efe9f8e9e69831fd72875968fec9046e35", - "typeString": "literal_string \"log(address,bool,address,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 16940, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63553:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16941, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63557:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63553:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63553:76:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16939, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "63537:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16948, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63537:93:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16949, - "nodeType": "ExpressionStatement", - "src": "63537:93:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63464:3:14", - "parameters": { - "id": 16937, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16930, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63476:2:14", - "nodeType": "VariableDeclaration", - "scope": 16951, - "src": "63468:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16929, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63468:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16932, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63485:2:14", - "nodeType": "VariableDeclaration", - "scope": 16951, - "src": "63480:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16931, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63480:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16934, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63497:2:14", - "nodeType": "VariableDeclaration", - "scope": 16951, - "src": "63489:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16933, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63489:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16936, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63509:2:14", - "nodeType": "VariableDeclaration", - "scope": 16951, - "src": "63501:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16935, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63501:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "63467:45:14" - }, - "returnParameters": { - "id": 16938, - "nodeType": "ParameterList", - "parameters": [], - "src": "63527:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16974, - "nodeType": "FunctionDefinition", - "src": "63643:176:14", - "nodes": [], - "body": { - "id": 16973, - "nodeType": "Block", - "src": "63712:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e742c75696e7429", - "id": 16965, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63762:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_54fdf3e4fb94f9bebc9a1c60d5b71090f9817e68730b5af20b69dff283044ed6", - "typeString": "literal_string \"log(address,address,uint,uint)\"" - }, - "value": "log(address,address,uint,uint)" - }, - { - "id": 16966, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16953, - "src": "63796:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16967, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16955, - "src": "63800:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16968, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16957, - "src": "63804:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16969, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16959, - "src": "63808:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_54fdf3e4fb94f9bebc9a1c60d5b71090f9817e68730b5af20b69dff283044ed6", - "typeString": "literal_string \"log(address,address,uint,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 16963, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63738:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16964, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63742:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63738:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16970, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63738:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16962, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "63722:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16971, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63722:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16972, - "nodeType": "ExpressionStatement", - "src": "63722:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63652:3:14", - "parameters": { - "id": 16960, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16953, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63664:2:14", - "nodeType": "VariableDeclaration", - "scope": 16974, - "src": "63656:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16952, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63656:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16955, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63676:2:14", - "nodeType": "VariableDeclaration", - "scope": 16974, - "src": "63668:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16954, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63668:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16957, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63685:2:14", - "nodeType": "VariableDeclaration", - "scope": 16974, - "src": "63680:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16956, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "63680:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16959, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63694:2:14", - "nodeType": "VariableDeclaration", - "scope": 16974, - "src": "63689:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16958, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "63689:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "63655:42:14" - }, - "returnParameters": { - "id": 16961, - "nodeType": "ParameterList", - "parameters": [], - "src": "63712:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16997, - "nodeType": "FunctionDefinition", - "src": "63825:187:14", - "nodes": [], - "body": { - "id": 16996, - "nodeType": "Block", - "src": "63903:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e742c737472696e6729", - "id": 16988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63953:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9dd12eadc51edb79b050f95e9310706b305e500a52025b74b024df3cbcb53815", - "typeString": "literal_string \"log(address,address,uint,string)\"" - }, - "value": "log(address,address,uint,string)" - }, - { - "id": 16989, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16976, - "src": "63989:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16990, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16978, - "src": "63993:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16991, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16980, - "src": "63997:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16992, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16982, - "src": "64001:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9dd12eadc51edb79b050f95e9310706b305e500a52025b74b024df3cbcb53815", - "typeString": "literal_string \"log(address,address,uint,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 16986, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63929:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16987, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63933:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63929:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16993, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63929:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16985, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "63913:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16994, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63913:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16995, - "nodeType": "ExpressionStatement", - "src": "63913:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63834:3:14", - "parameters": { - "id": 16983, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16976, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63846:2:14", - "nodeType": "VariableDeclaration", - "scope": 16997, - "src": "63838:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16975, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63838:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16978, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63858:2:14", - "nodeType": "VariableDeclaration", - "scope": 16997, - "src": "63850:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16977, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63850:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16980, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63867:2:14", - "nodeType": "VariableDeclaration", - "scope": 16997, - "src": "63862:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16979, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "63862:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16982, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63885:2:14", - "nodeType": "VariableDeclaration", - "scope": 16997, - "src": "63871:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16981, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "63871:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "63837:51:14" - }, - "returnParameters": { - "id": 16984, - "nodeType": "ParameterList", - "parameters": [], - "src": "63903:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17020, - "nodeType": "FunctionDefinition", - "src": "64018:176:14", - "nodes": [], - "body": { - "id": 17019, - "nodeType": "Block", - "src": "64087:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e742c626f6f6c29", - "id": 17011, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64137:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c2f688eccc5824e4375e54ae0df7ae9f757b0758319e26fa7dcc6a4450e1d411", - "typeString": "literal_string \"log(address,address,uint,bool)\"" - }, - "value": "log(address,address,uint,bool)" - }, - { - "id": 17012, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16999, - "src": "64171:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17013, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17001, - "src": "64175:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17014, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17003, - "src": "64179:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17015, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17005, - "src": "64183:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c2f688eccc5824e4375e54ae0df7ae9f757b0758319e26fa7dcc6a4450e1d411", - "typeString": "literal_string \"log(address,address,uint,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 17009, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64113:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17010, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64117:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64113:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17016, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64113:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17008, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "64097:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64097:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17018, - "nodeType": "ExpressionStatement", - "src": "64097:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64027:3:14", - "parameters": { - "id": 17006, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16999, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64039:2:14", - "nodeType": "VariableDeclaration", - "scope": 17020, - "src": "64031:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16998, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64031:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17001, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64051:2:14", - "nodeType": "VariableDeclaration", - "scope": 17020, - "src": "64043:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17000, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64043:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17003, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64060:2:14", - "nodeType": "VariableDeclaration", - "scope": 17020, - "src": "64055:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17002, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "64055:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17005, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64069:2:14", - "nodeType": "VariableDeclaration", - "scope": 17020, - "src": "64064:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17004, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64064:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "64030:42:14" - }, - "returnParameters": { - "id": 17007, - "nodeType": "ParameterList", - "parameters": [], - "src": "64087:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17043, - "nodeType": "FunctionDefinition", - "src": "64200:182:14", - "nodes": [], - "body": { - "id": 17042, - "nodeType": "Block", - "src": "64272:110:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e742c6164647265737329", - "id": 17034, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64322:35:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d6c65276d9b81968c5dbc7d91412af8260979b88b9036d81153645629a214556", - "typeString": "literal_string \"log(address,address,uint,address)\"" - }, - "value": "log(address,address,uint,address)" - }, - { - "id": 17035, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17022, - "src": "64359:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17036, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17024, - "src": "64363:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17037, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17026, - "src": "64367:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17038, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17028, - "src": "64371:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d6c65276d9b81968c5dbc7d91412af8260979b88b9036d81153645629a214556", - "typeString": "literal_string \"log(address,address,uint,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 17032, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64298:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17033, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64302:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64298:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64298:76:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17031, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "64282:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64282:93:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17041, - "nodeType": "ExpressionStatement", - "src": "64282:93:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64209:3:14", - "parameters": { - "id": 17029, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17022, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64221:2:14", - "nodeType": "VariableDeclaration", - "scope": 17043, - "src": "64213:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17021, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64213:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17024, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64233:2:14", - "nodeType": "VariableDeclaration", - "scope": 17043, - "src": "64225:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17023, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64225:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17026, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64242:2:14", - "nodeType": "VariableDeclaration", - "scope": 17043, - "src": "64237:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17025, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "64237:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17028, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64254:2:14", - "nodeType": "VariableDeclaration", - "scope": 17043, - "src": "64246:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17027, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64246:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "64212:45:14" - }, - "returnParameters": { - "id": 17030, - "nodeType": "ParameterList", - "parameters": [], - "src": "64272:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17066, - "nodeType": "FunctionDefinition", - "src": "64388:187:14", - "nodes": [], - "body": { - "id": 17065, - "nodeType": "Block", - "src": "64466:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c75696e7429", - "id": 17057, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64516:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_04289300eaed00bb9d0d7894f7439ff06a8c4040945c0625e94f6f0c87fb11ba", - "typeString": "literal_string \"log(address,address,string,uint)\"" - }, - "value": "log(address,address,string,uint)" - }, - { - "id": 17058, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17045, - "src": "64552:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17059, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17047, - "src": "64556:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17060, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17049, - "src": "64560:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17061, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17051, - "src": "64564:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_04289300eaed00bb9d0d7894f7439ff06a8c4040945c0625e94f6f0c87fb11ba", - "typeString": "literal_string \"log(address,address,string,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 17055, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64492:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17056, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64496:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64492:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17062, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64492:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17054, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "64476:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64476:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17064, - "nodeType": "ExpressionStatement", - "src": "64476:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64397:3:14", - "parameters": { - "id": 17052, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17045, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64409:2:14", - "nodeType": "VariableDeclaration", - "scope": 17066, - "src": "64401:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17044, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64401:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17047, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64421:2:14", - "nodeType": "VariableDeclaration", - "scope": 17066, - "src": "64413:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17046, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64413:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17049, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64439:2:14", - "nodeType": "VariableDeclaration", - "scope": 17066, - "src": "64425:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17048, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "64425:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17051, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64448:2:14", - "nodeType": "VariableDeclaration", - "scope": 17066, - "src": "64443:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17050, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "64443:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "64400:51:14" - }, - "returnParameters": { - "id": 17053, - "nodeType": "ParameterList", - "parameters": [], - "src": "64466:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17089, - "nodeType": "FunctionDefinition", - "src": "64581:198:14", - "nodes": [], - "body": { - "id": 17088, - "nodeType": "Block", - "src": "64668:111:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c737472696e6729", - "id": 17080, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64718:36:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_21bdaf25c85279ffda21e4e2b9f685ff585c62a37c0ebe7ae25670fd06df3aa1", - "typeString": "literal_string \"log(address,address,string,string)\"" - }, - "value": "log(address,address,string,string)" - }, - { - "id": 17081, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17068, - "src": "64756:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17082, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17070, - "src": "64760:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17083, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17072, - "src": "64764:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17084, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17074, - "src": "64768:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_21bdaf25c85279ffda21e4e2b9f685ff585c62a37c0ebe7ae25670fd06df3aa1", - "typeString": "literal_string \"log(address,address,string,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 17078, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64694:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64698:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64694:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17085, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64694:77:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17077, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "64678:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17086, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64678:94:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17087, - "nodeType": "ExpressionStatement", - "src": "64678:94:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64590:3:14", - "parameters": { - "id": 17075, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17068, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64602:2:14", - "nodeType": "VariableDeclaration", - "scope": 17089, - "src": "64594:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17067, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64594:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17070, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64614:2:14", - "nodeType": "VariableDeclaration", - "scope": 17089, - "src": "64606:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17069, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64606:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17072, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64632:2:14", - "nodeType": "VariableDeclaration", - "scope": 17089, - "src": "64618:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17071, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "64618:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17074, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64650:2:14", - "nodeType": "VariableDeclaration", - "scope": 17089, - "src": "64636:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17073, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "64636:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "64593:60:14" - }, - "returnParameters": { - "id": 17076, - "nodeType": "ParameterList", - "parameters": [], - "src": "64668:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17112, - "nodeType": "FunctionDefinition", - "src": "64785:187:14", - "nodes": [], - "body": { - "id": 17111, - "nodeType": "Block", - "src": "64863:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c626f6f6c29", - "id": 17103, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64913:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f1a594e70810560eaae5bbc82bc991f1120ac326ec142f6fb212682169447fd", - "typeString": "literal_string \"log(address,address,string,bool)\"" - }, - "value": "log(address,address,string,bool)" - }, - { - "id": 17104, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17091, - "src": "64949:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17105, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17093, - "src": "64953:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17106, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17095, - "src": "64957:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17107, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17097, - "src": "64961:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6f1a594e70810560eaae5bbc82bc991f1120ac326ec142f6fb212682169447fd", - "typeString": "literal_string \"log(address,address,string,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 17101, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64889:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17102, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64893:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64889:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17108, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64889:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17100, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "64873:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17109, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64873:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17110, - "nodeType": "ExpressionStatement", - "src": "64873:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64794:3:14", - "parameters": { - "id": 17098, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17091, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64806:2:14", - "nodeType": "VariableDeclaration", - "scope": 17112, - "src": "64798:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17090, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64798:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17093, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64818:2:14", - "nodeType": "VariableDeclaration", - "scope": 17112, - "src": "64810:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17092, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64810:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17095, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64836:2:14", - "nodeType": "VariableDeclaration", - "scope": 17112, - "src": "64822:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17094, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "64822:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17097, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64845:2:14", - "nodeType": "VariableDeclaration", - "scope": 17112, - "src": "64840:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17096, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64840:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "64797:51:14" - }, - "returnParameters": { - "id": 17099, - "nodeType": "ParameterList", - "parameters": [], - "src": "64863:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17135, - "nodeType": "FunctionDefinition", - "src": "64978:193:14", - "nodes": [], - "body": { - "id": 17134, - "nodeType": "Block", - "src": "65059:112:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c6164647265737329", - "id": 17126, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65109:37:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8f736d1685010d3a1ac02ed96109cdd5141fd92077c14203bc63442ad9b6a687", - "typeString": "literal_string \"log(address,address,string,address)\"" - }, - "value": "log(address,address,string,address)" - }, - { - "id": 17127, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17114, - "src": "65148:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17128, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17116, - "src": "65152:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17129, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17118, - "src": "65156:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17130, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17120, - "src": "65160:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8f736d1685010d3a1ac02ed96109cdd5141fd92077c14203bc63442ad9b6a687", - "typeString": "literal_string \"log(address,address,string,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 17124, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65085:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17125, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65089:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65085:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65085:78:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17123, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "65069:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17132, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65069:95:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17133, - "nodeType": "ExpressionStatement", - "src": "65069:95:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64987:3:14", - "parameters": { - "id": 17121, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17114, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64999:2:14", - "nodeType": "VariableDeclaration", - "scope": 17135, - "src": "64991:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17113, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64991:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17116, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65011:2:14", - "nodeType": "VariableDeclaration", - "scope": 17135, - "src": "65003:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17115, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65003:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17118, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65029:2:14", - "nodeType": "VariableDeclaration", - "scope": 17135, - "src": "65015:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17117, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "65015:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17120, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65041:2:14", - "nodeType": "VariableDeclaration", - "scope": 17135, - "src": "65033:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17119, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65033:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "64990:54:14" - }, - "returnParameters": { - "id": 17122, - "nodeType": "ParameterList", - "parameters": [], - "src": "65059:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17158, - "nodeType": "FunctionDefinition", - "src": "65177:176:14", - "nodes": [], - "body": { - "id": 17157, - "nodeType": "Block", - "src": "65246:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c75696e7429", - "id": 17149, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65296:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_95d65f110e4042ee84d162cfc6d17a44c2f2784259e33c97679d21e7a95a841e", - "typeString": "literal_string \"log(address,address,bool,uint)\"" - }, - "value": "log(address,address,bool,uint)" - }, - { - "id": 17150, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17137, - "src": "65330:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17151, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17139, - "src": "65334:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17152, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17141, - "src": "65338:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17153, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17143, - "src": "65342:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_95d65f110e4042ee84d162cfc6d17a44c2f2784259e33c97679d21e7a95a841e", - "typeString": "literal_string \"log(address,address,bool,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 17147, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65272:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17148, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65276:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65272:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17154, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65272:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17146, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "65256:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17155, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65256:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17156, - "nodeType": "ExpressionStatement", - "src": "65256:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65186:3:14", - "parameters": { - "id": 17144, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17137, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65198:2:14", - "nodeType": "VariableDeclaration", - "scope": 17158, - "src": "65190:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17136, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65190:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17139, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65210:2:14", - "nodeType": "VariableDeclaration", - "scope": 17158, - "src": "65202:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17138, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65202:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17141, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65219:2:14", - "nodeType": "VariableDeclaration", - "scope": 17158, - "src": "65214:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17140, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65214:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17143, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65228:2:14", - "nodeType": "VariableDeclaration", - "scope": 17158, - "src": "65223:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17142, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "65223:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "65189:42:14" - }, - "returnParameters": { - "id": 17145, - "nodeType": "ParameterList", - "parameters": [], - "src": "65246:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17181, - "nodeType": "FunctionDefinition", - "src": "65359:187:14", - "nodes": [], - "body": { - "id": 17180, - "nodeType": "Block", - "src": "65437:109:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c737472696e6729", - "id": 17172, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65487:34:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_aa6540c8e9a40f69e022e01a14ab22c94aae4999f1d7a246236f464d7c933b88", - "typeString": "literal_string \"log(address,address,bool,string)\"" - }, - "value": "log(address,address,bool,string)" - }, - { - "id": 17173, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17160, - "src": "65523:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17174, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17162, - "src": "65527:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17175, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17164, - "src": "65531:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17176, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17166, - "src": "65535:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_aa6540c8e9a40f69e022e01a14ab22c94aae4999f1d7a246236f464d7c933b88", - "typeString": "literal_string \"log(address,address,bool,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 17170, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65463:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17171, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65467:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65463:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17177, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65463:75:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17169, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "65447:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17178, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65447:92:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17179, - "nodeType": "ExpressionStatement", - "src": "65447:92:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65368:3:14", - "parameters": { - "id": 17167, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17160, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65380:2:14", - "nodeType": "VariableDeclaration", - "scope": 17181, - "src": "65372:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17159, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65372:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17162, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65392:2:14", - "nodeType": "VariableDeclaration", - "scope": 17181, - "src": "65384:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17161, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65384:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17164, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65401:2:14", - "nodeType": "VariableDeclaration", - "scope": 17181, - "src": "65396:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17163, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65396:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17166, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65419:2:14", - "nodeType": "VariableDeclaration", - "scope": 17181, - "src": "65405:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17165, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "65405:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "65371:51:14" - }, - "returnParameters": { - "id": 17168, - "nodeType": "ParameterList", - "parameters": [], - "src": "65437:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17204, - "nodeType": "FunctionDefinition", - "src": "65552:176:14", - "nodes": [], - "body": { - "id": 17203, - "nodeType": "Block", - "src": "65621:107:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c626f6f6c29", - "id": 17195, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65671:32:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2cd4134aedbc2cd722f2b9715dc3acb74b16b253590361dd98a4d6cb66119b65", - "typeString": "literal_string \"log(address,address,bool,bool)\"" - }, - "value": "log(address,address,bool,bool)" - }, - { - "id": 17196, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17183, - "src": "65705:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17197, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17185, - "src": "65709:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17198, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17187, - "src": "65713:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17199, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17189, - "src": "65717:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2cd4134aedbc2cd722f2b9715dc3acb74b16b253590361dd98a4d6cb66119b65", - "typeString": "literal_string \"log(address,address,bool,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 17193, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65647:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17194, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65651:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65647:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65647:73:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17192, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "65631:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17201, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65631:90:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17202, - "nodeType": "ExpressionStatement", - "src": "65631:90:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65561:3:14", - "parameters": { - "id": 17190, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17183, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65573:2:14", - "nodeType": "VariableDeclaration", - "scope": 17204, - "src": "65565:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17182, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65565:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17185, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65585:2:14", - "nodeType": "VariableDeclaration", - "scope": 17204, - "src": "65577:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17184, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65577:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17187, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65594:2:14", - "nodeType": "VariableDeclaration", - "scope": 17204, - "src": "65589:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17186, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65589:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17189, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65603:2:14", - "nodeType": "VariableDeclaration", - "scope": 17204, - "src": "65598:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17188, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65598:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "65564:42:14" - }, - "returnParameters": { - "id": 17191, - "nodeType": "ParameterList", - "parameters": [], - "src": "65621:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17227, - "nodeType": "FunctionDefinition", - "src": "65734:182:14", - "nodes": [], - "body": { - "id": 17226, - "nodeType": "Block", - "src": "65806:110:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c6164647265737329", - "id": 17218, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65856:35:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9f1bc36e6c1a1385bfe3a230338e478ee5447b81d25d35962aff021b2c578b9c", - "typeString": "literal_string \"log(address,address,bool,address)\"" - }, - "value": "log(address,address,bool,address)" - }, - { - "id": 17219, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17206, - "src": "65893:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17220, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17208, - "src": "65897:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17221, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17210, - "src": "65901:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17222, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17212, - "src": "65905:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9f1bc36e6c1a1385bfe3a230338e478ee5447b81d25d35962aff021b2c578b9c", - "typeString": "literal_string \"log(address,address,bool,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 17216, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65832:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17217, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65836:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65832:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17223, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65832:76:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17215, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "65816:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17224, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65816:93:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17225, - "nodeType": "ExpressionStatement", - "src": "65816:93:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65743:3:14", - "parameters": { - "id": 17213, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17206, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65755:2:14", - "nodeType": "VariableDeclaration", - "scope": 17227, - "src": "65747:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17205, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65747:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17208, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65767:2:14", - "nodeType": "VariableDeclaration", - "scope": 17227, - "src": "65759:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17207, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65759:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17210, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65776:2:14", - "nodeType": "VariableDeclaration", - "scope": 17227, - "src": "65771:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17209, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65771:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17212, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65788:2:14", - "nodeType": "VariableDeclaration", - "scope": 17227, - "src": "65780:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17211, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65780:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "65746:45:14" - }, - "returnParameters": { - "id": 17214, - "nodeType": "ParameterList", - "parameters": [], - "src": "65806:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17250, - "nodeType": "FunctionDefinition", - "src": "65922:182:14", - "nodes": [], - "body": { - "id": 17249, - "nodeType": "Block", - "src": "65994:110:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c75696e7429", - "id": 17241, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "66044:35:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ed5eac8706392442fff9f76d5de4d50b9cc22387f3f19d447470771094406028", - "typeString": "literal_string \"log(address,address,address,uint)\"" - }, - "value": "log(address,address,address,uint)" - }, - { - "id": 17242, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17229, - "src": "66081:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17243, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17231, - "src": "66085:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17244, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17233, - "src": "66089:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17245, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17235, - "src": "66093:2:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ed5eac8706392442fff9f76d5de4d50b9cc22387f3f19d447470771094406028", - "typeString": "literal_string \"log(address,address,address,uint)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 17239, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "66020:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17240, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "66024:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "66020:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17246, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66020:76:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17238, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "66004:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17247, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66004:93:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17248, - "nodeType": "ExpressionStatement", - "src": "66004:93:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65931:3:14", - "parameters": { - "id": 17236, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17229, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65943:2:14", - "nodeType": "VariableDeclaration", - "scope": 17250, - "src": "65935:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17228, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65935:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17231, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65955:2:14", - "nodeType": "VariableDeclaration", - "scope": 17250, - "src": "65947:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17230, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65947:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17233, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65967:2:14", - "nodeType": "VariableDeclaration", - "scope": 17250, - "src": "65959:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17232, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65959:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17235, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65976:2:14", - "nodeType": "VariableDeclaration", - "scope": 17250, - "src": "65971:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17234, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "65971:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "65934:45:14" - }, - "returnParameters": { - "id": 17237, - "nodeType": "ParameterList", - "parameters": [], - "src": "65994:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17273, - "nodeType": "FunctionDefinition", - "src": "66110:193:14", - "nodes": [], - "body": { - "id": 17272, - "nodeType": "Block", - "src": "66191:112:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c737472696e6729", - "id": 17264, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "66241:37:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f808da2086fed855c3e15d9dbfed3b17a93ed9a59947aae6ab05b7e18576f025", - "typeString": "literal_string \"log(address,address,address,string)\"" - }, - "value": "log(address,address,address,string)" - }, - { - "id": 17265, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17252, - "src": "66280:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17266, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17254, - "src": "66284:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17267, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17256, - "src": "66288:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17268, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17258, - "src": "66292:2:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f808da2086fed855c3e15d9dbfed3b17a93ed9a59947aae6ab05b7e18576f025", - "typeString": "literal_string \"log(address,address,address,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 17262, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "66217:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17263, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "66221:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "66217:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17269, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66217:78:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17261, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "66201:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66201:95:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17271, - "nodeType": "ExpressionStatement", - "src": "66201:95:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "66119:3:14", - "parameters": { - "id": 17259, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17252, - "mutability": "mutable", - "name": "p0", - "nameLocation": "66131:2:14", - "nodeType": "VariableDeclaration", - "scope": 17273, - "src": "66123:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17251, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66123:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17254, - "mutability": "mutable", - "name": "p1", - "nameLocation": "66143:2:14", - "nodeType": "VariableDeclaration", - "scope": 17273, - "src": "66135:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17253, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66135:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17256, - "mutability": "mutable", - "name": "p2", - "nameLocation": "66155:2:14", - "nodeType": "VariableDeclaration", - "scope": 17273, - "src": "66147:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17255, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66147:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17258, - "mutability": "mutable", - "name": "p3", - "nameLocation": "66173:2:14", - "nodeType": "VariableDeclaration", - "scope": 17273, - "src": "66159:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17257, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "66159:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "66122:54:14" - }, - "returnParameters": { - "id": 17260, - "nodeType": "ParameterList", - "parameters": [], - "src": "66191:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17296, - "nodeType": "FunctionDefinition", - "src": "66309:182:14", - "nodes": [], - "body": { - "id": 17295, - "nodeType": "Block", - "src": "66381:110:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c626f6f6c29", - "id": 17287, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "66431:35:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0e378994a4cd2663acfd73a7ad4e09d196e4fb7ee05b7cdf0708eb30271e2afb", - "typeString": "literal_string \"log(address,address,address,bool)\"" - }, - "value": "log(address,address,address,bool)" - }, - { - "id": 17288, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17275, - "src": "66468:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17289, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17277, - "src": "66472:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17290, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17279, - "src": "66476:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17291, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17281, - "src": "66480:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0e378994a4cd2663acfd73a7ad4e09d196e4fb7ee05b7cdf0708eb30271e2afb", - "typeString": "literal_string \"log(address,address,address,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 17285, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "66407:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "66411:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "66407:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17292, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66407:76:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17284, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "66391:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66391:93:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17294, - "nodeType": "ExpressionStatement", - "src": "66391:93:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "66318:3:14", - "parameters": { - "id": 17282, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17275, - "mutability": "mutable", - "name": "p0", - "nameLocation": "66330:2:14", - "nodeType": "VariableDeclaration", - "scope": 17296, - "src": "66322:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17274, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66322:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17277, - "mutability": "mutable", - "name": "p1", - "nameLocation": "66342:2:14", - "nodeType": "VariableDeclaration", - "scope": 17296, - "src": "66334:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17276, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66334:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17279, - "mutability": "mutable", - "name": "p2", - "nameLocation": "66354:2:14", - "nodeType": "VariableDeclaration", - "scope": 17296, - "src": "66346:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17278, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66346:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17281, - "mutability": "mutable", - "name": "p3", - "nameLocation": "66363:2:14", - "nodeType": "VariableDeclaration", - "scope": 17296, - "src": "66358:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17280, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "66358:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "66321:45:14" - }, - "returnParameters": { - "id": 17283, - "nodeType": "ParameterList", - "parameters": [], - "src": "66381:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17319, - "nodeType": "FunctionDefinition", - "src": "66497:188:14", - "nodes": [], - "body": { - "id": 17318, - "nodeType": "Block", - "src": "66572:113:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c6164647265737329", - "id": 17310, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "66622:38:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_665bf1345e006aa321c0b6b71bed55ce0d6cdd812632f8c43114f62c55ffa0b5", - "typeString": "literal_string \"log(address,address,address,address)\"" - }, - "value": "log(address,address,address,address)" - }, - { - "id": 17311, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17298, - "src": "66662:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17312, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17300, - "src": "66666:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17313, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17302, - "src": "66670:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17314, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17304, - "src": "66674:2:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_665bf1345e006aa321c0b6b71bed55ce0d6cdd812632f8c43114f62c55ffa0b5", - "typeString": "literal_string \"log(address,address,address,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 17308, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "66598:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17309, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "66602:19:14", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "66598:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17315, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66598:79:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17307, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9280, - "src": "66582:15:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17316, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66582:96:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17317, - "nodeType": "ExpressionStatement", - "src": "66582:96:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "66506:3:14", - "parameters": { - "id": 17305, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17298, - "mutability": "mutable", - "name": "p0", - "nameLocation": "66518:2:14", - "nodeType": "VariableDeclaration", - "scope": 17319, - "src": "66510:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17297, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66510:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17300, - "mutability": "mutable", - "name": "p1", - "nameLocation": "66530:2:14", - "nodeType": "VariableDeclaration", - "scope": 17319, - "src": "66522:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17299, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66522:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17302, - "mutability": "mutable", - "name": "p2", - "nameLocation": "66542:2:14", - "nodeType": "VariableDeclaration", - "scope": 17319, - "src": "66534:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17301, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66534:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17304, - "mutability": "mutable", - "name": "p3", - "nameLocation": "66554:2:14", - "nodeType": "VariableDeclaration", - "scope": 17319, - "src": "66546:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17303, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66546:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "66509:48:14" - }, - "returnParameters": { - "id": 17306, - "nodeType": "ParameterList", - "parameters": [], - "src": "66572:0:14" - }, - "scope": 17320, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "console", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 17320 - ], - "name": "console", - "nameLocation": "74:7:14", - "scope": 17321, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 14 -} \ No newline at end of file diff --git a/out/console2.sol/console2.json b/out/console2.sol/console2.json deleted file mode 100644 index 9ffc958..0000000 --- a/out/console2.sol/console2.json +++ /dev/null @@ -1,111641 +0,0 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea264697066735822122039ca5f1f11fff3684e6921acac16b8d5ba255f13eb34fe7a92ac948c43694b0a64736f6c63430008110033", - "sourceMap": "525:68513:15:-:0;;;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x600080fdfea264697066735822122039ca5f1f11fff3684e6921acac16b8d5ba255f13eb34fe7a92ac948c43694b0a64736f6c63430008110033", - "sourceMap": "525:68513:15:-:0;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"The original console.sol uses `int` and `uint` for computing function selectors, but it should use `int256` and `uint256`. This modified version fixes that. This version is recommended over `console.sol` if you don't need compatibility with Hardhat as the logs will show up in forge stack traces. If you do need compatibility with Hardhat, you must use `console.sol`. Reference: https://github.com/NomicFoundation/hardhat/issues/2178\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/console2.sol\":\"console2\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0x225cc1ec33efd35c90e78aec0792ed9751cd6217e646271172421e96e2e2cc0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c6adbd216e40ca2387835b8618c82e7153cb826023d38943bbb0c2e992644aa\",\"dweb:/ipfs/QmZeejwEkm7iH9NHih7dPbuNqivuFn27EkgJesgByzS9wD\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/console2.sol": "console2" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "lib/forge-std/src/console2.sol": { - "keccak256": "0x225cc1ec33efd35c90e78aec0792ed9751cd6217e646271172421e96e2e2cc0f", - "urls": [ - "bzz-raw://6c6adbd216e40ca2387835b8618c82e7153cb826023d38943bbb0c2e992644aa", - "dweb:/ipfs/QmZeejwEkm7iH9NHih7dPbuNqivuFn27EkgJesgByzS9wD" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/console2.sol", - "id": 25386, - "exportedSymbols": { - "console2": [ - 25385 - ] - }, - "nodeType": "SourceUnit", - "src": "32:69006:15", - "nodes": [ - { - "id": 17322, - "nodeType": "PragmaDirective", - "src": "32:32:15", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.4", - ".22", - "<", - "0.9", - ".0" - ] - }, - { - "id": 25385, - "nodeType": "ContractDefinition", - "src": "525:68513:15", - "nodes": [ - { - "id": 17329, - "nodeType": "VariableDeclaration", - "src": "548:86:15", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "CONSOLE_ADDRESS", - "nameLocation": "565:15:15", - "scope": 25385, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17324, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "548:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303036333646366537333646366336353265366336663637", - "id": 17327, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "591:42:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x000000000000000000636F6e736F6c652e6c6f67" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 17326, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "583:7:15", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 17325, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "583:7:15", - "typeDescriptions": {} - } - }, - "id": 17328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "583:51:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "id": 17345, - "nodeType": "FunctionDefinition", - "src": "641:376:15", - "nodes": [], - "body": { - "id": 17344, - "nodeType": "Block", - "src": "701:316:15", - "nodes": [], - "statements": [ - { - "assignments": [ - 17335 - ], - "declarations": [ - { - "constant": false, - "id": 17335, - "mutability": "mutable", - "name": "payloadLength", - "nameLocation": "719:13:15", - "nodeType": "VariableDeclaration", - "scope": 17344, - "src": "711:21:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17334, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "711:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 17338, - "initialValue": { - "expression": { - "id": 17336, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17331, - "src": "735:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 17337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "743:6:15", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "735:14:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "711:38:15" - }, - { - "assignments": [ - 17340 - ], - "declarations": [ - { - "constant": false, - "id": 17340, - "mutability": "mutable", - "name": "consoleAddress", - "nameLocation": "767:14:15", - "nodeType": "VariableDeclaration", - "scope": 17344, - "src": "759:22:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17339, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "759:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 17342, - "initialValue": { - "id": 17341, - "name": "CONSOLE_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17329, - "src": "784:15:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "759:40:15" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "861:150:15", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "875:36:15", - "value": { - "arguments": [ - { - "name": "payload", - "nodeType": "YulIdentifier", - "src": "899:7:15" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "908:2:15", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "895:3:15" - }, - "nodeType": "YulFunctionCall", - "src": "895:16:15" - }, - "variables": [ - { - "name": "payloadStart", - "nodeType": "YulTypedName", - "src": "879:12:15", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "924:77:15", - "value": { - "arguments": [ - { - "arguments": [], - "functionName": { - "name": "gas", - "nodeType": "YulIdentifier", - "src": "944:3:15" - }, - "nodeType": "YulFunctionCall", - "src": "944:5:15" - }, - { - "name": "consoleAddress", - "nodeType": "YulIdentifier", - "src": "951:14:15" - }, - { - "name": "payloadStart", - "nodeType": "YulIdentifier", - "src": "967:12:15" - }, - { - "name": "payloadLength", - "nodeType": "YulIdentifier", - "src": "981:13:15" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "996:1:15", - "type": "", - "value": "0" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "999:1:15", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "staticcall", - "nodeType": "YulIdentifier", - "src": "933:10:15" - }, - "nodeType": "YulFunctionCall", - "src": "933:68:15" - }, - "variables": [ - { - "name": "r", - "nodeType": "YulTypedName", - "src": "928:1:15", - "type": "" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 17340, - "isOffset": false, - "isSlot": false, - "src": "951:14:15", - "valueSize": 1 - }, - { - "declaration": 17331, - "isOffset": false, - "isSlot": false, - "src": "899:7:15", - "valueSize": 1 - }, - { - "declaration": 17335, - "isOffset": false, - "isSlot": false, - "src": "981:13:15", - "valueSize": 1 - } - ], - "id": 17343, - "nodeType": "InlineAssembly", - "src": "852:159:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_sendLogPayload", - "nameLocation": "650:15:15", - "parameters": { - "id": 17332, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17331, - "mutability": "mutable", - "name": "payload", - "nameLocation": "679:7:15", - "nodeType": "VariableDeclaration", - "scope": 17345, - "src": "666:20:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 17330, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "666:5:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "665:22:15" - }, - "returnParameters": { - "id": 17333, - "nodeType": "ParameterList", - "parameters": [], - "src": "701:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "id": 17356, - "nodeType": "FunctionDefinition", - "src": "1023:95:15", - "nodes": [], - "body": { - "id": 17355, - "nodeType": "Block", - "src": "1052:66:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672829", - "id": 17351, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1102:7:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51973ec9d4c1929bdd5b149c064d46aee47e92a7e2bb5f7a20c7b9cfb0d13b39", - "typeString": "literal_string \"log()\"" - }, - "value": "log()" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_51973ec9d4c1929bdd5b149c064d46aee47e92a7e2bb5f7a20c7b9cfb0d13b39", - "typeString": "literal_string \"log()\"" - } - ], - "expression": { - "id": 17349, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1078:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17350, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1082:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1078:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17352, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1078:32:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17348, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "1062:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17353, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1062:49:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17354, - "nodeType": "ExpressionStatement", - "src": "1062:49:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "1032:3:15", - "parameters": { - "id": 17346, - "nodeType": "ParameterList", - "parameters": [], - "src": "1035:2:15" - }, - "returnParameters": { - "id": 17347, - "nodeType": "ParameterList", - "parameters": [], - "src": "1052:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17370, - "nodeType": "FunctionDefinition", - "src": "1124:117:15", - "nodes": [], - "body": { - "id": 17369, - "nodeType": "Block", - "src": "1165:76:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728696e7432353629", - "id": 17364, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1215:13:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2d5b6cb95ba2d00a93cd4ffa61ec07ef4bb1694f20c02a3cccb170a38df81ef8", - "typeString": "literal_string \"log(int256)\"" - }, - "value": "log(int256)" - }, - { - "id": 17365, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17358, - "src": "1230:2:15", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2d5b6cb95ba2d00a93cd4ffa61ec07ef4bb1694f20c02a3cccb170a38df81ef8", - "typeString": "literal_string \"log(int256)\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 17362, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1191:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17363, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1195:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1191:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1191:42:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17361, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "1175:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17367, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1175:59:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17368, - "nodeType": "ExpressionStatement", - "src": "1175:59:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logInt", - "nameLocation": "1133:6:15", - "parameters": { - "id": 17359, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17358, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1147:2:15", - "nodeType": "VariableDeclaration", - "scope": 17370, - "src": "1140:9:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 17357, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "1140:6:15", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "1139:11:15" - }, - "returnParameters": { - "id": 17360, - "nodeType": "ParameterList", - "parameters": [], - "src": "1165:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17384, - "nodeType": "FunctionDefinition", - "src": "1247:120:15", - "nodes": [], - "body": { - "id": 17383, - "nodeType": "Block", - "src": "1290:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e7432353629", - "id": 17378, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1340:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f82c50f1848136e6c140b186ea0c768b7deda5efffe42c25e96336a90b26c744", - "typeString": "literal_string \"log(uint256)\"" - }, - "value": "log(uint256)" - }, - { - "id": 17379, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17372, - "src": "1356:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f82c50f1848136e6c140b186ea0c768b7deda5efffe42c25e96336a90b26c744", - "typeString": "literal_string \"log(uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 17376, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1316:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17377, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1320:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1316:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1316:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17375, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "1300:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1300:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17382, - "nodeType": "ExpressionStatement", - "src": "1300:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logUint", - "nameLocation": "1256:7:15", - "parameters": { - "id": 17373, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17372, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1272:2:15", - "nodeType": "VariableDeclaration", - "scope": 17384, - "src": "1264:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17371, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1264:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1263:12:15" - }, - "returnParameters": { - "id": 17374, - "nodeType": "ParameterList", - "parameters": [], - "src": "1290:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17398, - "nodeType": "FunctionDefinition", - "src": "1373:127:15", - "nodes": [], - "body": { - "id": 17397, - "nodeType": "Block", - "src": "1424:76:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e6729", - "id": 17392, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1474:13:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50", - "typeString": "literal_string \"log(string)\"" - }, - "value": "log(string)" - }, - { - "id": 17393, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17386, - "src": "1489:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50", - "typeString": "literal_string \"log(string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 17390, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1450:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17391, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1454:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1450:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17394, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1450:42:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17389, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "1434:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17395, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1434:59:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17396, - "nodeType": "ExpressionStatement", - "src": "1434:59:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logString", - "nameLocation": "1382:9:15", - "parameters": { - "id": 17387, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17386, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1406:2:15", - "nodeType": "VariableDeclaration", - "scope": 17398, - "src": "1392:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17385, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1392:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1391:18:15" - }, - "returnParameters": { - "id": 17388, - "nodeType": "ParameterList", - "parameters": [], - "src": "1424:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17412, - "nodeType": "FunctionDefinition", - "src": "1506:114:15", - "nodes": [], - "body": { - "id": 17411, - "nodeType": "Block", - "src": "1546:74:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c29", - "id": 17406, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1596:11:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - "value": "log(bool)" - }, - { - "id": 17407, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17400, - "src": "1609:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 17404, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1572:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17405, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1576:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1572:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17408, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1572:40:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17403, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "1556:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1556:57:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17410, - "nodeType": "ExpressionStatement", - "src": "1556:57:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBool", - "nameLocation": "1515:7:15", - "parameters": { - "id": 17401, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17400, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1528:2:15", - "nodeType": "VariableDeclaration", - "scope": 17412, - "src": "1523:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17399, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1523:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "1522:9:15" - }, - "returnParameters": { - "id": 17402, - "nodeType": "ParameterList", - "parameters": [], - "src": "1546:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17426, - "nodeType": "FunctionDefinition", - "src": "1626:123:15", - "nodes": [], - "body": { - "id": 17425, - "nodeType": "Block", - "src": "1672:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286164647265737329", - "id": 17420, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1722:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - "value": "log(address)" - }, - { - "id": 17421, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17414, - "src": "1738:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 17418, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1698:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17419, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1702:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1698:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1698:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17417, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "1682:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17423, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1682:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17424, - "nodeType": "ExpressionStatement", - "src": "1682:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logAddress", - "nameLocation": "1635:10:15", - "parameters": { - "id": 17415, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17414, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1654:2:15", - "nodeType": "VariableDeclaration", - "scope": 17426, - "src": "1646:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17413, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1646:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1645:12:15" - }, - "returnParameters": { - "id": 17416, - "nodeType": "ParameterList", - "parameters": [], - "src": "1672:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17440, - "nodeType": "FunctionDefinition", - "src": "1755:124:15", - "nodes": [], - "body": { - "id": 17439, - "nodeType": "Block", - "src": "1804:75:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728627974657329", - "id": 17434, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1854:12:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0be77f5642494da7d212b92a3472c4f471abb24e17467f41788e7de7915d6238", - "typeString": "literal_string \"log(bytes)\"" - }, - "value": "log(bytes)" - }, - { - "id": 17435, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17428, - "src": "1868:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0be77f5642494da7d212b92a3472c4f471abb24e17467f41788e7de7915d6238", - "typeString": "literal_string \"log(bytes)\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 17432, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1830:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1834:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1830:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17436, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1830:41:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17431, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "1814:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17437, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1814:58:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17438, - "nodeType": "ExpressionStatement", - "src": "1814:58:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes", - "nameLocation": "1764:8:15", - "parameters": { - "id": 17429, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17428, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1786:2:15", - "nodeType": "VariableDeclaration", - "scope": 17440, - "src": "1773:15:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 17427, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1773:5:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1772:17:15" - }, - "returnParameters": { - "id": 17430, - "nodeType": "ParameterList", - "parameters": [], - "src": "1804:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17454, - "nodeType": "FunctionDefinition", - "src": "1885:120:15", - "nodes": [], - "body": { - "id": 17453, - "nodeType": "Block", - "src": "1929:76:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733129", - "id": 17448, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1979:13:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6e18a1285e3dfba09579e846ff83d5e4ffae1b869c8fc4323752bab794e41041", - "typeString": "literal_string \"log(bytes1)\"" - }, - "value": "log(bytes1)" - }, - { - "id": 17449, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17442, - "src": "1994:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6e18a1285e3dfba09579e846ff83d5e4ffae1b869c8fc4323752bab794e41041", - "typeString": "literal_string \"log(bytes1)\"" - }, - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "expression": { - "id": 17446, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1955:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17447, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1959:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1955:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1955:42:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17445, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "1939:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1939:59:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17452, - "nodeType": "ExpressionStatement", - "src": "1939:59:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes1", - "nameLocation": "1894:9:15", - "parameters": { - "id": 17443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17442, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1911:2:15", - "nodeType": "VariableDeclaration", - "scope": 17454, - "src": "1904:9:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "typeName": { - "id": 17441, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1904:6:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "visibility": "internal" - } - ], - "src": "1903:11:15" - }, - "returnParameters": { - "id": 17444, - "nodeType": "ParameterList", - "parameters": [], - "src": "1929:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17468, - "nodeType": "FunctionDefinition", - "src": "2011:120:15", - "nodes": [], - "body": { - "id": 17467, - "nodeType": "Block", - "src": "2055:76:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733229", - "id": 17462, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2105:13:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e9b622960ff3a0e86d35e876bfeba445fab6c5686604aa116c47c1e106921224", - "typeString": "literal_string \"log(bytes2)\"" - }, - "value": "log(bytes2)" - }, - { - "id": 17463, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17456, - "src": "2120:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e9b622960ff3a0e86d35e876bfeba445fab6c5686604aa116c47c1e106921224", - "typeString": "literal_string \"log(bytes2)\"" - }, - { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - } - ], - "expression": { - "id": 17460, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2081:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17461, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2085:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2081:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17464, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2081:42:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17459, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "2065:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17465, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2065:59:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17466, - "nodeType": "ExpressionStatement", - "src": "2065:59:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes2", - "nameLocation": "2020:9:15", - "parameters": { - "id": 17457, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17456, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2037:2:15", - "nodeType": "VariableDeclaration", - "scope": 17468, - "src": "2030:9:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - }, - "typeName": { - "id": 17455, - "name": "bytes2", - "nodeType": "ElementaryTypeName", - "src": "2030:6:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - } - }, - "visibility": "internal" - } - ], - "src": "2029:11:15" - }, - "returnParameters": { - "id": 17458, - "nodeType": "ParameterList", - "parameters": [], - "src": "2055:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17482, - "nodeType": "FunctionDefinition", - "src": "2137:120:15", - "nodes": [], - "body": { - "id": 17481, - "nodeType": "Block", - "src": "2181:76:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733329", - "id": 17476, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2231:13:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2d8349266851a1d92746f90a9696920643311d6bf462d9fa11e69718a636cbee", - "typeString": "literal_string \"log(bytes3)\"" - }, - "value": "log(bytes3)" - }, - { - "id": 17477, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17470, - "src": "2246:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2d8349266851a1d92746f90a9696920643311d6bf462d9fa11e69718a636cbee", - "typeString": "literal_string \"log(bytes3)\"" - }, - { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - } - ], - "expression": { - "id": 17474, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2207:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17475, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2211:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2207:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17478, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2207:42:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17473, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "2191:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17479, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2191:59:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17480, - "nodeType": "ExpressionStatement", - "src": "2191:59:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes3", - "nameLocation": "2146:9:15", - "parameters": { - "id": 17471, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17470, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2163:2:15", - "nodeType": "VariableDeclaration", - "scope": 17482, - "src": "2156:9:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - }, - "typeName": { - "id": 17469, - "name": "bytes3", - "nodeType": "ElementaryTypeName", - "src": "2156:6:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - } - }, - "visibility": "internal" - } - ], - "src": "2155:11:15" - }, - "returnParameters": { - "id": 17472, - "nodeType": "ParameterList", - "parameters": [], - "src": "2181:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17496, - "nodeType": "FunctionDefinition", - "src": "2263:120:15", - "nodes": [], - "body": { - "id": 17495, - "nodeType": "Block", - "src": "2307:76:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733429", - "id": 17490, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2357:13:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e05f48d17f80c0f06e82dc14f4be9f0f654dde2e722a8d8796ad7e07f5308d55", - "typeString": "literal_string \"log(bytes4)\"" - }, - "value": "log(bytes4)" - }, - { - "id": 17491, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17484, - "src": "2372:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e05f48d17f80c0f06e82dc14f4be9f0f654dde2e722a8d8796ad7e07f5308d55", - "typeString": "literal_string \"log(bytes4)\"" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "id": 17488, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2333:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2337:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2333:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17492, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2333:42:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17487, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "2317:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17493, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2317:59:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17494, - "nodeType": "ExpressionStatement", - "src": "2317:59:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes4", - "nameLocation": "2272:9:15", - "parameters": { - "id": 17485, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17484, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2289:2:15", - "nodeType": "VariableDeclaration", - "scope": 17496, - "src": "2282:9:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 17483, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "2282:6:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "2281:11:15" - }, - "returnParameters": { - "id": 17486, - "nodeType": "ParameterList", - "parameters": [], - "src": "2307:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17510, - "nodeType": "FunctionDefinition", - "src": "2389:120:15", - "nodes": [], - "body": { - "id": 17509, - "nodeType": "Block", - "src": "2433:76:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733529", - "id": 17504, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2483:13:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a684808d222f8a67c08dd13085391d5e9d1825d9fb6e2da44a91b1a07d07401a", - "typeString": "literal_string \"log(bytes5)\"" - }, - "value": "log(bytes5)" - }, - { - "id": 17505, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17498, - "src": "2498:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a684808d222f8a67c08dd13085391d5e9d1825d9fb6e2da44a91b1a07d07401a", - "typeString": "literal_string \"log(bytes5)\"" - }, - { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - } - ], - "expression": { - "id": 17502, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2459:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2463:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2459:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17506, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2459:42:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17501, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "2443:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2443:59:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17508, - "nodeType": "ExpressionStatement", - "src": "2443:59:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes5", - "nameLocation": "2398:9:15", - "parameters": { - "id": 17499, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17498, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2415:2:15", - "nodeType": "VariableDeclaration", - "scope": 17510, - "src": "2408:9:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - }, - "typeName": { - "id": 17497, - "name": "bytes5", - "nodeType": "ElementaryTypeName", - "src": "2408:6:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - } - }, - "visibility": "internal" - } - ], - "src": "2407:11:15" - }, - "returnParameters": { - "id": 17500, - "nodeType": "ParameterList", - "parameters": [], - "src": "2433:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17524, - "nodeType": "FunctionDefinition", - "src": "2515:120:15", - "nodes": [], - "body": { - "id": 17523, - "nodeType": "Block", - "src": "2559:76:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733629", - "id": 17518, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2609:13:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ae84a5910824668818be6031303edf0f6f3694b35d5e6f9683950d57ef12d330", - "typeString": "literal_string \"log(bytes6)\"" - }, - "value": "log(bytes6)" - }, - { - "id": 17519, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17512, - "src": "2624:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ae84a5910824668818be6031303edf0f6f3694b35d5e6f9683950d57ef12d330", - "typeString": "literal_string \"log(bytes6)\"" - }, - { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - } - ], - "expression": { - "id": 17516, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2585:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17517, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2589:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2585:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2585:42:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17515, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "2569:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2569:59:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17522, - "nodeType": "ExpressionStatement", - "src": "2569:59:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes6", - "nameLocation": "2524:9:15", - "parameters": { - "id": 17513, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17512, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2541:2:15", - "nodeType": "VariableDeclaration", - "scope": 17524, - "src": "2534:9:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - }, - "typeName": { - "id": 17511, - "name": "bytes6", - "nodeType": "ElementaryTypeName", - "src": "2534:6:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - } - }, - "visibility": "internal" - } - ], - "src": "2533:11:15" - }, - "returnParameters": { - "id": 17514, - "nodeType": "ParameterList", - "parameters": [], - "src": "2559:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17538, - "nodeType": "FunctionDefinition", - "src": "2641:120:15", - "nodes": [], - "body": { - "id": 17537, - "nodeType": "Block", - "src": "2685:76:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733729", - "id": 17532, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2735:13:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4ed57e28813457436949e4ec0a834b3c8262cd6cebd21953ee0da3400ce2de29", - "typeString": "literal_string \"log(bytes7)\"" - }, - "value": "log(bytes7)" - }, - { - "id": 17533, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17526, - "src": "2750:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4ed57e28813457436949e4ec0a834b3c8262cd6cebd21953ee0da3400ce2de29", - "typeString": "literal_string \"log(bytes7)\"" - }, - { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - } - ], - "expression": { - "id": 17530, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2711:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17531, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2715:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2711:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17534, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2711:42:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17529, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "2695:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17535, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2695:59:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17536, - "nodeType": "ExpressionStatement", - "src": "2695:59:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes7", - "nameLocation": "2650:9:15", - "parameters": { - "id": 17527, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17526, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2667:2:15", - "nodeType": "VariableDeclaration", - "scope": 17538, - "src": "2660:9:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - }, - "typeName": { - "id": 17525, - "name": "bytes7", - "nodeType": "ElementaryTypeName", - "src": "2660:6:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - } - }, - "visibility": "internal" - } - ], - "src": "2659:11:15" - }, - "returnParameters": { - "id": 17528, - "nodeType": "ParameterList", - "parameters": [], - "src": "2685:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17552, - "nodeType": "FunctionDefinition", - "src": "2767:120:15", - "nodes": [], - "body": { - "id": 17551, - "nodeType": "Block", - "src": "2811:76:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733829", - "id": 17546, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2861:13:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4f84252e5b28e1a0064346c7cd13650e2dd6020728ca468281bb2a28b42654b3", - "typeString": "literal_string \"log(bytes8)\"" - }, - "value": "log(bytes8)" - }, - { - "id": 17547, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17540, - "src": "2876:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4f84252e5b28e1a0064346c7cd13650e2dd6020728ca468281bb2a28b42654b3", - "typeString": "literal_string \"log(bytes8)\"" - }, - { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - } - ], - "expression": { - "id": 17544, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2837:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17545, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2841:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2837:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17548, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2837:42:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17543, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "2821:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17549, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2821:59:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17550, - "nodeType": "ExpressionStatement", - "src": "2821:59:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes8", - "nameLocation": "2776:9:15", - "parameters": { - "id": 17541, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17540, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2793:2:15", - "nodeType": "VariableDeclaration", - "scope": 17552, - "src": "2786:9:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - }, - "typeName": { - "id": 17539, - "name": "bytes8", - "nodeType": "ElementaryTypeName", - "src": "2786:6:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - } - }, - "visibility": "internal" - } - ], - "src": "2785:11:15" - }, - "returnParameters": { - "id": 17542, - "nodeType": "ParameterList", - "parameters": [], - "src": "2811:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17566, - "nodeType": "FunctionDefinition", - "src": "2893:120:15", - "nodes": [], - "body": { - "id": 17565, - "nodeType": "Block", - "src": "2937:76:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733929", - "id": 17560, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2987:13:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_90bd8cd0463fe91d31e59db57ee4cf8d778374c422b4b50e841266d9c2cc6667", - "typeString": "literal_string \"log(bytes9)\"" - }, - "value": "log(bytes9)" - }, - { - "id": 17561, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17554, - "src": "3002:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_90bd8cd0463fe91d31e59db57ee4cf8d778374c422b4b50e841266d9c2cc6667", - "typeString": "literal_string \"log(bytes9)\"" - }, - { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - } - ], - "expression": { - "id": 17558, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2963:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17559, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2967:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2963:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17562, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2963:42:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17557, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "2947:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17563, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2947:59:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17564, - "nodeType": "ExpressionStatement", - "src": "2947:59:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes9", - "nameLocation": "2902:9:15", - "parameters": { - "id": 17555, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17554, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2919:2:15", - "nodeType": "VariableDeclaration", - "scope": 17566, - "src": "2912:9:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - }, - "typeName": { - "id": 17553, - "name": "bytes9", - "nodeType": "ElementaryTypeName", - "src": "2912:6:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - } - }, - "visibility": "internal" - } - ], - "src": "2911:11:15" - }, - "returnParameters": { - "id": 17556, - "nodeType": "ParameterList", - "parameters": [], - "src": "2937:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17580, - "nodeType": "FunctionDefinition", - "src": "3019:123:15", - "nodes": [], - "body": { - "id": 17579, - "nodeType": "Block", - "src": "3065:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313029", - "id": 17574, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3115:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_013d178bb749cf32d0f7243763667360eb91576261efe5ed9be72b4a2800fd66", - "typeString": "literal_string \"log(bytes10)\"" - }, - "value": "log(bytes10)" - }, - { - "id": 17575, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17568, - "src": "3131:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_013d178bb749cf32d0f7243763667360eb91576261efe5ed9be72b4a2800fd66", - "typeString": "literal_string \"log(bytes10)\"" - }, - { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - } - ], - "expression": { - "id": 17572, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3091:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17573, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3095:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3091:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17576, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3091:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17571, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "3075:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17577, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3075:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17578, - "nodeType": "ExpressionStatement", - "src": "3075:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes10", - "nameLocation": "3028:10:15", - "parameters": { - "id": 17569, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17568, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3047:2:15", - "nodeType": "VariableDeclaration", - "scope": 17580, - "src": "3039:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - }, - "typeName": { - "id": 17567, - "name": "bytes10", - "nodeType": "ElementaryTypeName", - "src": "3039:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - } - }, - "visibility": "internal" - } - ], - "src": "3038:12:15" - }, - "returnParameters": { - "id": 17570, - "nodeType": "ParameterList", - "parameters": [], - "src": "3065:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17594, - "nodeType": "FunctionDefinition", - "src": "3148:123:15", - "nodes": [], - "body": { - "id": 17593, - "nodeType": "Block", - "src": "3194:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313129", - "id": 17588, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3244:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_04004a2e5bef8ca2e7ffd661b519aec3d9c1b8d0aa1e11656aab73b2726922d9", - "typeString": "literal_string \"log(bytes11)\"" - }, - "value": "log(bytes11)" - }, - { - "id": 17589, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17582, - "src": "3260:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_04004a2e5bef8ca2e7ffd661b519aec3d9c1b8d0aa1e11656aab73b2726922d9", - "typeString": "literal_string \"log(bytes11)\"" - }, - { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - } - ], - "expression": { - "id": 17586, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3220:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17587, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3224:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3220:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17590, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3220:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17585, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "3204:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17591, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3204:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17592, - "nodeType": "ExpressionStatement", - "src": "3204:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes11", - "nameLocation": "3157:10:15", - "parameters": { - "id": 17583, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17582, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3176:2:15", - "nodeType": "VariableDeclaration", - "scope": 17594, - "src": "3168:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - }, - "typeName": { - "id": 17581, - "name": "bytes11", - "nodeType": "ElementaryTypeName", - "src": "3168:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - } - }, - "visibility": "internal" - } - ], - "src": "3167:12:15" - }, - "returnParameters": { - "id": 17584, - "nodeType": "ParameterList", - "parameters": [], - "src": "3194:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17608, - "nodeType": "FunctionDefinition", - "src": "3277:123:15", - "nodes": [], - "body": { - "id": 17607, - "nodeType": "Block", - "src": "3323:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313229", - "id": 17602, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3373:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_86a06abd704b9e5bab2216d456863046355f2def5304d8276c140d0d454fddf2", - "typeString": "literal_string \"log(bytes12)\"" - }, - "value": "log(bytes12)" - }, - { - "id": 17603, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17596, - "src": "3389:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_86a06abd704b9e5bab2216d456863046355f2def5304d8276c140d0d454fddf2", - "typeString": "literal_string \"log(bytes12)\"" - }, - { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - } - ], - "expression": { - "id": 17600, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3349:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17601, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3353:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3349:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17604, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3349:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17599, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "3333:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17605, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3333:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17606, - "nodeType": "ExpressionStatement", - "src": "3333:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes12", - "nameLocation": "3286:10:15", - "parameters": { - "id": 17597, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17596, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3305:2:15", - "nodeType": "VariableDeclaration", - "scope": 17608, - "src": "3297:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - }, - "typeName": { - "id": 17595, - "name": "bytes12", - "nodeType": "ElementaryTypeName", - "src": "3297:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - } - }, - "visibility": "internal" - } - ], - "src": "3296:12:15" - }, - "returnParameters": { - "id": 17598, - "nodeType": "ParameterList", - "parameters": [], - "src": "3323:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17622, - "nodeType": "FunctionDefinition", - "src": "3406:123:15", - "nodes": [], - "body": { - "id": 17621, - "nodeType": "Block", - "src": "3452:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313329", - "id": 17616, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3502:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_94529e34a43ac6de2c3a0df402eee6114eb0f2ad065baefde0230cd3cf90e2ec", - "typeString": "literal_string \"log(bytes13)\"" - }, - "value": "log(bytes13)" - }, - { - "id": 17617, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17610, - "src": "3518:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_94529e34a43ac6de2c3a0df402eee6114eb0f2ad065baefde0230cd3cf90e2ec", - "typeString": "literal_string \"log(bytes13)\"" - }, - { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - } - ], - "expression": { - "id": 17614, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3478:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17615, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3482:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3478:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17618, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3478:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17613, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "3462:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17619, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3462:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17620, - "nodeType": "ExpressionStatement", - "src": "3462:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes13", - "nameLocation": "3415:10:15", - "parameters": { - "id": 17611, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17610, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3434:2:15", - "nodeType": "VariableDeclaration", - "scope": 17622, - "src": "3426:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - }, - "typeName": { - "id": 17609, - "name": "bytes13", - "nodeType": "ElementaryTypeName", - "src": "3426:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - } - }, - "visibility": "internal" - } - ], - "src": "3425:12:15" - }, - "returnParameters": { - "id": 17612, - "nodeType": "ParameterList", - "parameters": [], - "src": "3452:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17636, - "nodeType": "FunctionDefinition", - "src": "3535:123:15", - "nodes": [], - "body": { - "id": 17635, - "nodeType": "Block", - "src": "3581:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313429", - "id": 17630, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3631:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9266f07faf32c88bbdb01ce418243acbc1c63e15d6e3afa16078186ba711f278", - "typeString": "literal_string \"log(bytes14)\"" - }, - "value": "log(bytes14)" - }, - { - "id": 17631, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17624, - "src": "3647:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9266f07faf32c88bbdb01ce418243acbc1c63e15d6e3afa16078186ba711f278", - "typeString": "literal_string \"log(bytes14)\"" - }, - { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - } - ], - "expression": { - "id": 17628, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3607:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3611:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3607:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17632, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3607:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17627, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "3591:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17633, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3591:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17634, - "nodeType": "ExpressionStatement", - "src": "3591:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes14", - "nameLocation": "3544:10:15", - "parameters": { - "id": 17625, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17624, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3563:2:15", - "nodeType": "VariableDeclaration", - "scope": 17636, - "src": "3555:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - }, - "typeName": { - "id": 17623, - "name": "bytes14", - "nodeType": "ElementaryTypeName", - "src": "3555:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - } - }, - "visibility": "internal" - } - ], - "src": "3554:12:15" - }, - "returnParameters": { - "id": 17626, - "nodeType": "ParameterList", - "parameters": [], - "src": "3581:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17650, - "nodeType": "FunctionDefinition", - "src": "3664:123:15", - "nodes": [], - "body": { - "id": 17649, - "nodeType": "Block", - "src": "3710:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313529", - "id": 17644, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3760:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_da9574e0bf3f23e09c3d85c9f5226065bb36281f2a5d78c7e38f6ffd58919606", - "typeString": "literal_string \"log(bytes15)\"" - }, - "value": "log(bytes15)" - }, - { - "id": 17645, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17638, - "src": "3776:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_da9574e0bf3f23e09c3d85c9f5226065bb36281f2a5d78c7e38f6ffd58919606", - "typeString": "literal_string \"log(bytes15)\"" - }, - { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - } - ], - "expression": { - "id": 17642, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3736:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3740:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3736:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3736:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17641, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "3720:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3720:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17648, - "nodeType": "ExpressionStatement", - "src": "3720:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes15", - "nameLocation": "3673:10:15", - "parameters": { - "id": 17639, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17638, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3692:2:15", - "nodeType": "VariableDeclaration", - "scope": 17650, - "src": "3684:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - }, - "typeName": { - "id": 17637, - "name": "bytes15", - "nodeType": "ElementaryTypeName", - "src": "3684:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - } - }, - "visibility": "internal" - } - ], - "src": "3683:12:15" - }, - "returnParameters": { - "id": 17640, - "nodeType": "ParameterList", - "parameters": [], - "src": "3710:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17664, - "nodeType": "FunctionDefinition", - "src": "3793:123:15", - "nodes": [], - "body": { - "id": 17663, - "nodeType": "Block", - "src": "3839:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313629", - "id": 17658, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3889:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_665c61046af0adc4969f9d2f111b654775bd58f112b63e5ce7dfff29c000e9f3", - "typeString": "literal_string \"log(bytes16)\"" - }, - "value": "log(bytes16)" - }, - { - "id": 17659, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17652, - "src": "3905:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_665c61046af0adc4969f9d2f111b654775bd58f112b63e5ce7dfff29c000e9f3", - "typeString": "literal_string \"log(bytes16)\"" - }, - { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - ], - "expression": { - "id": 17656, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3865:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17657, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3869:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3865:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17660, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3865:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17655, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "3849:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17661, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3849:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17662, - "nodeType": "ExpressionStatement", - "src": "3849:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes16", - "nameLocation": "3802:10:15", - "parameters": { - "id": 17653, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17652, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3821:2:15", - "nodeType": "VariableDeclaration", - "scope": 17664, - "src": "3813:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - }, - "typeName": { - "id": 17651, - "name": "bytes16", - "nodeType": "ElementaryTypeName", - "src": "3813:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "visibility": "internal" - } - ], - "src": "3812:12:15" - }, - "returnParameters": { - "id": 17654, - "nodeType": "ParameterList", - "parameters": [], - "src": "3839:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17678, - "nodeType": "FunctionDefinition", - "src": "3922:123:15", - "nodes": [], - "body": { - "id": 17677, - "nodeType": "Block", - "src": "3968:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313729", - "id": 17672, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4018:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_339f673a0c008974259a0022c9b150cc5d1af8c58584412fe373d84bd08d4ea3", - "typeString": "literal_string \"log(bytes17)\"" - }, - "value": "log(bytes17)" - }, - { - "id": 17673, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17666, - "src": "4034:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_339f673a0c008974259a0022c9b150cc5d1af8c58584412fe373d84bd08d4ea3", - "typeString": "literal_string \"log(bytes17)\"" - }, - { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - } - ], - "expression": { - "id": 17670, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3994:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17671, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3998:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3994:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17674, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3994:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17669, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "3978:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17675, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3978:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17676, - "nodeType": "ExpressionStatement", - "src": "3978:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes17", - "nameLocation": "3931:10:15", - "parameters": { - "id": 17667, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17666, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3950:2:15", - "nodeType": "VariableDeclaration", - "scope": 17678, - "src": "3942:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - }, - "typeName": { - "id": 17665, - "name": "bytes17", - "nodeType": "ElementaryTypeName", - "src": "3942:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - } - }, - "visibility": "internal" - } - ], - "src": "3941:12:15" - }, - "returnParameters": { - "id": 17668, - "nodeType": "ParameterList", - "parameters": [], - "src": "3968:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17692, - "nodeType": "FunctionDefinition", - "src": "4051:123:15", - "nodes": [], - "body": { - "id": 17691, - "nodeType": "Block", - "src": "4097:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313829", - "id": 17686, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4147:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c4d23d9af6458d5ddc7cb8128a2f36bf147c9db4fe277dfe0fe7be41def62116", - "typeString": "literal_string \"log(bytes18)\"" - }, - "value": "log(bytes18)" - }, - { - "id": 17687, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17680, - "src": "4163:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c4d23d9af6458d5ddc7cb8128a2f36bf147c9db4fe277dfe0fe7be41def62116", - "typeString": "literal_string \"log(bytes18)\"" - }, - { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - } - ], - "expression": { - "id": 17684, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4123:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4127:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4123:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4123:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17683, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "4107:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4107:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17690, - "nodeType": "ExpressionStatement", - "src": "4107:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes18", - "nameLocation": "4060:10:15", - "parameters": { - "id": 17681, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17680, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4079:2:15", - "nodeType": "VariableDeclaration", - "scope": 17692, - "src": "4071:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - }, - "typeName": { - "id": 17679, - "name": "bytes18", - "nodeType": "ElementaryTypeName", - "src": "4071:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - } - }, - "visibility": "internal" - } - ], - "src": "4070:12:15" - }, - "returnParameters": { - "id": 17682, - "nodeType": "ParameterList", - "parameters": [], - "src": "4097:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17706, - "nodeType": "FunctionDefinition", - "src": "4180:123:15", - "nodes": [], - "body": { - "id": 17705, - "nodeType": "Block", - "src": "4226:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313929", - "id": 17700, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4276:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5e6b5a33524ca650028e2fad735b4ab50285bba37658119d2da303bee98aeada", - "typeString": "literal_string \"log(bytes19)\"" - }, - "value": "log(bytes19)" - }, - { - "id": 17701, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17694, - "src": "4292:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5e6b5a33524ca650028e2fad735b4ab50285bba37658119d2da303bee98aeada", - "typeString": "literal_string \"log(bytes19)\"" - }, - { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - } - ], - "expression": { - "id": 17698, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4252:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17699, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4256:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4252:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17702, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4252:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17697, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "4236:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4236:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17704, - "nodeType": "ExpressionStatement", - "src": "4236:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes19", - "nameLocation": "4189:10:15", - "parameters": { - "id": 17695, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17694, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4208:2:15", - "nodeType": "VariableDeclaration", - "scope": 17706, - "src": "4200:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - }, - "typeName": { - "id": 17693, - "name": "bytes19", - "nodeType": "ElementaryTypeName", - "src": "4200:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - } - }, - "visibility": "internal" - } - ], - "src": "4199:12:15" - }, - "returnParameters": { - "id": 17696, - "nodeType": "ParameterList", - "parameters": [], - "src": "4226:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17720, - "nodeType": "FunctionDefinition", - "src": "4309:123:15", - "nodes": [], - "body": { - "id": 17719, - "nodeType": "Block", - "src": "4355:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323029", - "id": 17714, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4405:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5188e3e9b3f117a223e2e428d0e13d089f3a53913e479000b94b85266ecf8231", - "typeString": "literal_string \"log(bytes20)\"" - }, - "value": "log(bytes20)" - }, - { - "id": 17715, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17708, - "src": "4421:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5188e3e9b3f117a223e2e428d0e13d089f3a53913e479000b94b85266ecf8231", - "typeString": "literal_string \"log(bytes20)\"" - }, - { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - ], - "expression": { - "id": 17712, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4381:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17713, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4385:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4381:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17716, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4381:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17711, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "4365:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17717, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4365:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17718, - "nodeType": "ExpressionStatement", - "src": "4365:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes20", - "nameLocation": "4318:10:15", - "parameters": { - "id": 17709, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17708, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4337:2:15", - "nodeType": "VariableDeclaration", - "scope": 17720, - "src": "4329:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - }, - "typeName": { - "id": 17707, - "name": "bytes20", - "nodeType": "ElementaryTypeName", - "src": "4329:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - }, - "visibility": "internal" - } - ], - "src": "4328:12:15" - }, - "returnParameters": { - "id": 17710, - "nodeType": "ParameterList", - "parameters": [], - "src": "4355:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17734, - "nodeType": "FunctionDefinition", - "src": "4438:123:15", - "nodes": [], - "body": { - "id": 17733, - "nodeType": "Block", - "src": "4484:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323129", - "id": 17728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4534:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e9da35608192a6b38ad5ef62cf738886973b011b8cdb7e81cdd51b4c3dfe8ad7", - "typeString": "literal_string \"log(bytes21)\"" - }, - "value": "log(bytes21)" - }, - { - "id": 17729, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17722, - "src": "4550:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e9da35608192a6b38ad5ef62cf738886973b011b8cdb7e81cdd51b4c3dfe8ad7", - "typeString": "literal_string \"log(bytes21)\"" - }, - { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - } - ], - "expression": { - "id": 17726, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4510:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17727, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4514:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4510:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4510:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17725, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "4494:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4494:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17732, - "nodeType": "ExpressionStatement", - "src": "4494:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes21", - "nameLocation": "4447:10:15", - "parameters": { - "id": 17723, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17722, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4466:2:15", - "nodeType": "VariableDeclaration", - "scope": 17734, - "src": "4458:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - }, - "typeName": { - "id": 17721, - "name": "bytes21", - "nodeType": "ElementaryTypeName", - "src": "4458:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - } - }, - "visibility": "internal" - } - ], - "src": "4457:12:15" - }, - "returnParameters": { - "id": 17724, - "nodeType": "ParameterList", - "parameters": [], - "src": "4484:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17748, - "nodeType": "FunctionDefinition", - "src": "4567:123:15", - "nodes": [], - "body": { - "id": 17747, - "nodeType": "Block", - "src": "4613:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323229", - "id": 17742, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4663:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d5fae89c25bed6f12b105f52db0a0ff6f5c8313613e12eccd3059bb7f7ea6575", - "typeString": "literal_string \"log(bytes22)\"" - }, - "value": "log(bytes22)" - }, - { - "id": 17743, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17736, - "src": "4679:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d5fae89c25bed6f12b105f52db0a0ff6f5c8313613e12eccd3059bb7f7ea6575", - "typeString": "literal_string \"log(bytes22)\"" - }, - { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - } - ], - "expression": { - "id": 17740, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4639:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17741, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4643:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4639:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4639:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17739, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "4623:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4623:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17746, - "nodeType": "ExpressionStatement", - "src": "4623:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes22", - "nameLocation": "4576:10:15", - "parameters": { - "id": 17737, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17736, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4595:2:15", - "nodeType": "VariableDeclaration", - "scope": 17748, - "src": "4587:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - }, - "typeName": { - "id": 17735, - "name": "bytes22", - "nodeType": "ElementaryTypeName", - "src": "4587:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - } - }, - "visibility": "internal" - } - ], - "src": "4586:12:15" - }, - "returnParameters": { - "id": 17738, - "nodeType": "ParameterList", - "parameters": [], - "src": "4613:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17762, - "nodeType": "FunctionDefinition", - "src": "4696:123:15", - "nodes": [], - "body": { - "id": 17761, - "nodeType": "Block", - "src": "4742:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323329", - "id": 17756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4792:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_aba1cf0dcd316c862bc06d4cf532375fed11c1e0897ba81a04ee0b22d3f14061", - "typeString": "literal_string \"log(bytes23)\"" - }, - "value": "log(bytes23)" - }, - { - "id": 17757, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17750, - "src": "4808:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_aba1cf0dcd316c862bc06d4cf532375fed11c1e0897ba81a04ee0b22d3f14061", - "typeString": "literal_string \"log(bytes23)\"" - }, - { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - } - ], - "expression": { - "id": 17754, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4768:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17755, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4772:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4768:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17758, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4768:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17753, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "4752:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17759, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4752:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17760, - "nodeType": "ExpressionStatement", - "src": "4752:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes23", - "nameLocation": "4705:10:15", - "parameters": { - "id": 17751, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17750, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4724:2:15", - "nodeType": "VariableDeclaration", - "scope": 17762, - "src": "4716:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - }, - "typeName": { - "id": 17749, - "name": "bytes23", - "nodeType": "ElementaryTypeName", - "src": "4716:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - } - }, - "visibility": "internal" - } - ], - "src": "4715:12:15" - }, - "returnParameters": { - "id": 17752, - "nodeType": "ParameterList", - "parameters": [], - "src": "4742:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17776, - "nodeType": "FunctionDefinition", - "src": "4825:123:15", - "nodes": [], - "body": { - "id": 17775, - "nodeType": "Block", - "src": "4871:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323429", - "id": 17770, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4921:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f1b35b3488a5452bceb48624d6ba2a791e58f0e9c0f4b86b8f51186ec7a7edf4", - "typeString": "literal_string \"log(bytes24)\"" - }, - "value": "log(bytes24)" - }, - { - "id": 17771, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17764, - "src": "4937:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f1b35b3488a5452bceb48624d6ba2a791e58f0e9c0f4b86b8f51186ec7a7edf4", - "typeString": "literal_string \"log(bytes24)\"" - }, - { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - } - ], - "expression": { - "id": 17768, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4897:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17769, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4901:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4897:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17772, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4897:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17767, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "4881:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4881:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17774, - "nodeType": "ExpressionStatement", - "src": "4881:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes24", - "nameLocation": "4834:10:15", - "parameters": { - "id": 17765, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17764, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4853:2:15", - "nodeType": "VariableDeclaration", - "scope": 17776, - "src": "4845:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - }, - "typeName": { - "id": 17763, - "name": "bytes24", - "nodeType": "ElementaryTypeName", - "src": "4845:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - } - }, - "visibility": "internal" - } - ], - "src": "4844:12:15" - }, - "returnParameters": { - "id": 17766, - "nodeType": "ParameterList", - "parameters": [], - "src": "4871:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17790, - "nodeType": "FunctionDefinition", - "src": "4954:123:15", - "nodes": [], - "body": { - "id": 17789, - "nodeType": "Block", - "src": "5000:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323529", - "id": 17784, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5050:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b84bc580db9be1295ee23dff6122da1f70381c83abf9a74953cca11238eda25", - "typeString": "literal_string \"log(bytes25)\"" - }, - "value": "log(bytes25)" - }, - { - "id": 17785, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17778, - "src": "5066:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0b84bc580db9be1295ee23dff6122da1f70381c83abf9a74953cca11238eda25", - "typeString": "literal_string \"log(bytes25)\"" - }, - { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - } - ], - "expression": { - "id": 17782, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5026:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17783, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5030:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5026:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5026:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17781, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "5010:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5010:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17788, - "nodeType": "ExpressionStatement", - "src": "5010:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes25", - "nameLocation": "4963:10:15", - "parameters": { - "id": 17779, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17778, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4982:2:15", - "nodeType": "VariableDeclaration", - "scope": 17790, - "src": "4974:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - }, - "typeName": { - "id": 17777, - "name": "bytes25", - "nodeType": "ElementaryTypeName", - "src": "4974:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - } - }, - "visibility": "internal" - } - ], - "src": "4973:12:15" - }, - "returnParameters": { - "id": 17780, - "nodeType": "ParameterList", - "parameters": [], - "src": "5000:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17804, - "nodeType": "FunctionDefinition", - "src": "5083:123:15", - "nodes": [], - "body": { - "id": 17803, - "nodeType": "Block", - "src": "5129:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323629", - "id": 17798, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5179:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f8b149f18dc341f1a56e26c6c24a5233eec3bbb2ab017e9e86e663aae743965b", - "typeString": "literal_string \"log(bytes26)\"" - }, - "value": "log(bytes26)" - }, - { - "id": 17799, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17792, - "src": "5195:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f8b149f18dc341f1a56e26c6c24a5233eec3bbb2ab017e9e86e663aae743965b", - "typeString": "literal_string \"log(bytes26)\"" - }, - { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - } - ], - "expression": { - "id": 17796, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5155:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5159:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5155:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17800, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5155:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17795, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "5139:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17801, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5139:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17802, - "nodeType": "ExpressionStatement", - "src": "5139:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes26", - "nameLocation": "5092:10:15", - "parameters": { - "id": 17793, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17792, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5111:2:15", - "nodeType": "VariableDeclaration", - "scope": 17804, - "src": "5103:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - }, - "typeName": { - "id": 17791, - "name": "bytes26", - "nodeType": "ElementaryTypeName", - "src": "5103:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - } - }, - "visibility": "internal" - } - ], - "src": "5102:12:15" - }, - "returnParameters": { - "id": 17794, - "nodeType": "ParameterList", - "parameters": [], - "src": "5129:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17818, - "nodeType": "FunctionDefinition", - "src": "5212:123:15", - "nodes": [], - "body": { - "id": 17817, - "nodeType": "Block", - "src": "5258:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323729", - "id": 17812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5308:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3a3757dda92e8e238aa23ff7f6f62e31074f6acccca8986ec1286b5a835236b6", - "typeString": "literal_string \"log(bytes27)\"" - }, - "value": "log(bytes27)" - }, - { - "id": 17813, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17806, - "src": "5324:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3a3757dda92e8e238aa23ff7f6f62e31074f6acccca8986ec1286b5a835236b6", - "typeString": "literal_string \"log(bytes27)\"" - }, - { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - } - ], - "expression": { - "id": 17810, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5284:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17811, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5288:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5284:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5284:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17809, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "5268:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5268:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17816, - "nodeType": "ExpressionStatement", - "src": "5268:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes27", - "nameLocation": "5221:10:15", - "parameters": { - "id": 17807, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17806, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5240:2:15", - "nodeType": "VariableDeclaration", - "scope": 17818, - "src": "5232:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - }, - "typeName": { - "id": 17805, - "name": "bytes27", - "nodeType": "ElementaryTypeName", - "src": "5232:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - } - }, - "visibility": "internal" - } - ], - "src": "5231:12:15" - }, - "returnParameters": { - "id": 17808, - "nodeType": "ParameterList", - "parameters": [], - "src": "5258:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17832, - "nodeType": "FunctionDefinition", - "src": "5341:123:15", - "nodes": [], - "body": { - "id": 17831, - "nodeType": "Block", - "src": "5387:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323829", - "id": 17826, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5437:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c82aeaee74a6ddec4ccd5cfe60e816752c02c70838f0908bd4a6e82866b3a042", - "typeString": "literal_string \"log(bytes28)\"" - }, - "value": "log(bytes28)" - }, - { - "id": 17827, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17820, - "src": "5453:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c82aeaee74a6ddec4ccd5cfe60e816752c02c70838f0908bd4a6e82866b3a042", - "typeString": "literal_string \"log(bytes28)\"" - }, - { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - } - ], - "expression": { - "id": 17824, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5413:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17825, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5417:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5413:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17828, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5413:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17823, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "5397:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17829, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5397:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17830, - "nodeType": "ExpressionStatement", - "src": "5397:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes28", - "nameLocation": "5350:10:15", - "parameters": { - "id": 17821, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17820, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5369:2:15", - "nodeType": "VariableDeclaration", - "scope": 17832, - "src": "5361:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - }, - "typeName": { - "id": 17819, - "name": "bytes28", - "nodeType": "ElementaryTypeName", - "src": "5361:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - } - }, - "visibility": "internal" - } - ], - "src": "5360:12:15" - }, - "returnParameters": { - "id": 17822, - "nodeType": "ParameterList", - "parameters": [], - "src": "5387:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17846, - "nodeType": "FunctionDefinition", - "src": "5470:123:15", - "nodes": [], - "body": { - "id": 17845, - "nodeType": "Block", - "src": "5516:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323929", - "id": 17840, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5566:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4b69c3d5f782ef1bdb62d5bb42d4987f16799030ba447bb153d465bd3a3a5667", - "typeString": "literal_string \"log(bytes29)\"" - }, - "value": "log(bytes29)" - }, - { - "id": 17841, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17834, - "src": "5582:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4b69c3d5f782ef1bdb62d5bb42d4987f16799030ba447bb153d465bd3a3a5667", - "typeString": "literal_string \"log(bytes29)\"" - }, - { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - } - ], - "expression": { - "id": 17838, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5542:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17839, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5546:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5542:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5542:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17837, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "5526:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5526:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17844, - "nodeType": "ExpressionStatement", - "src": "5526:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes29", - "nameLocation": "5479:10:15", - "parameters": { - "id": 17835, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17834, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5498:2:15", - "nodeType": "VariableDeclaration", - "scope": 17846, - "src": "5490:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - }, - "typeName": { - "id": 17833, - "name": "bytes29", - "nodeType": "ElementaryTypeName", - "src": "5490:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - } - }, - "visibility": "internal" - } - ], - "src": "5489:12:15" - }, - "returnParameters": { - "id": 17836, - "nodeType": "ParameterList", - "parameters": [], - "src": "5516:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17860, - "nodeType": "FunctionDefinition", - "src": "5599:123:15", - "nodes": [], - "body": { - "id": 17859, - "nodeType": "Block", - "src": "5645:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573333029", - "id": 17854, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5695:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ee12c4edbd73d98174a6bf3454562c4874f59cb381176b662ca65f625f97d6ad", - "typeString": "literal_string \"log(bytes30)\"" - }, - "value": "log(bytes30)" - }, - { - "id": 17855, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17848, - "src": "5711:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ee12c4edbd73d98174a6bf3454562c4874f59cb381176b662ca65f625f97d6ad", - "typeString": "literal_string \"log(bytes30)\"" - }, - { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - } - ], - "expression": { - "id": 17852, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5671:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17853, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5675:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5671:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17856, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5671:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17851, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "5655:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17857, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5655:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17858, - "nodeType": "ExpressionStatement", - "src": "5655:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes30", - "nameLocation": "5608:10:15", - "parameters": { - "id": 17849, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17848, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5627:2:15", - "nodeType": "VariableDeclaration", - "scope": 17860, - "src": "5619:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - }, - "typeName": { - "id": 17847, - "name": "bytes30", - "nodeType": "ElementaryTypeName", - "src": "5619:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - } - }, - "visibility": "internal" - } - ], - "src": "5618:12:15" - }, - "returnParameters": { - "id": 17850, - "nodeType": "ParameterList", - "parameters": [], - "src": "5645:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17874, - "nodeType": "FunctionDefinition", - "src": "5728:123:15", - "nodes": [], - "body": { - "id": 17873, - "nodeType": "Block", - "src": "5774:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573333129", - "id": 17868, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5824:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c2854d92a0707e582e2710f9c9d3f148fdcf7e7da3b4270c2cfa3e223a2c50ce", - "typeString": "literal_string \"log(bytes31)\"" - }, - "value": "log(bytes31)" - }, - { - "id": 17869, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17862, - "src": "5840:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c2854d92a0707e582e2710f9c9d3f148fdcf7e7da3b4270c2cfa3e223a2c50ce", - "typeString": "literal_string \"log(bytes31)\"" - }, - { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - } - ], - "expression": { - "id": 17866, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5800:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17867, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5804:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5800:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17870, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5800:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17865, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "5784:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17871, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5784:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17872, - "nodeType": "ExpressionStatement", - "src": "5784:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes31", - "nameLocation": "5737:10:15", - "parameters": { - "id": 17863, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17862, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5756:2:15", - "nodeType": "VariableDeclaration", - "scope": 17874, - "src": "5748:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - }, - "typeName": { - "id": 17861, - "name": "bytes31", - "nodeType": "ElementaryTypeName", - "src": "5748:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - } - }, - "visibility": "internal" - } - ], - "src": "5747:12:15" - }, - "returnParameters": { - "id": 17864, - "nodeType": "ParameterList", - "parameters": [], - "src": "5774:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17888, - "nodeType": "FunctionDefinition", - "src": "5857:123:15", - "nodes": [], - "body": { - "id": 17887, - "nodeType": "Block", - "src": "5903:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573333229", - "id": 17882, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5953:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_27b7cf8513ac6b65cae720183e1e60e67f8a9d92c01286c19d51d4e30aa269da", - "typeString": "literal_string \"log(bytes32)\"" - }, - "value": "log(bytes32)" - }, - { - "id": 17883, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17876, - "src": "5969:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_27b7cf8513ac6b65cae720183e1e60e67f8a9d92c01286c19d51d4e30aa269da", - "typeString": "literal_string \"log(bytes32)\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 17880, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5929:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17881, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5933:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5929:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17884, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5929:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17879, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "5913:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5913:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17886, - "nodeType": "ExpressionStatement", - "src": "5913:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes32", - "nameLocation": "5866:10:15", - "parameters": { - "id": 17877, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17876, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5885:2:15", - "nodeType": "VariableDeclaration", - "scope": 17888, - "src": "5877:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17875, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5877:7:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "5876:12:15" - }, - "returnParameters": { - "id": 17878, - "nodeType": "ParameterList", - "parameters": [], - "src": "5903:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17902, - "nodeType": "FunctionDefinition", - "src": "5986:116:15", - "nodes": [], - "body": { - "id": 17901, - "nodeType": "Block", - "src": "6025:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e7432353629", - "id": 17896, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6075:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f82c50f1848136e6c140b186ea0c768b7deda5efffe42c25e96336a90b26c744", - "typeString": "literal_string \"log(uint256)\"" - }, - "value": "log(uint256)" - }, - { - "id": 17897, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17890, - "src": "6091:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f82c50f1848136e6c140b186ea0c768b7deda5efffe42c25e96336a90b26c744", - "typeString": "literal_string \"log(uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 17894, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6051:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17895, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6055:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6051:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17898, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6051:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17893, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "6035:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6035:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17900, - "nodeType": "ExpressionStatement", - "src": "6035:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "5995:3:15", - "parameters": { - "id": 17891, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17890, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6007:2:15", - "nodeType": "VariableDeclaration", - "scope": 17902, - "src": "5999:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17889, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5999:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5998:12:15" - }, - "returnParameters": { - "id": 17892, - "nodeType": "ParameterList", - "parameters": [], - "src": "6025:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17916, - "nodeType": "FunctionDefinition", - "src": "6108:121:15", - "nodes": [], - "body": { - "id": 17915, - "nodeType": "Block", - "src": "6153:76:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e6729", - "id": 17910, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6203:13:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50", - "typeString": "literal_string \"log(string)\"" - }, - "value": "log(string)" - }, - { - "id": 17911, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17904, - "src": "6218:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50", - "typeString": "literal_string \"log(string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 17908, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6179:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17909, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6183:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6179:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17912, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6179:42:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17907, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "6163:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17913, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6163:59:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17914, - "nodeType": "ExpressionStatement", - "src": "6163:59:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6117:3:15", - "parameters": { - "id": 17905, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17904, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6135:2:15", - "nodeType": "VariableDeclaration", - "scope": 17916, - "src": "6121:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17903, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6121:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6120:18:15" - }, - "returnParameters": { - "id": 17906, - "nodeType": "ParameterList", - "parameters": [], - "src": "6153:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17930, - "nodeType": "FunctionDefinition", - "src": "6235:110:15", - "nodes": [], - "body": { - "id": 17929, - "nodeType": "Block", - "src": "6271:74:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c29", - "id": 17924, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6321:11:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - "value": "log(bool)" - }, - { - "id": 17925, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17918, - "src": "6334:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 17922, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6297:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17923, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6301:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6297:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17926, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6297:40:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17921, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "6281:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17927, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6281:57:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17928, - "nodeType": "ExpressionStatement", - "src": "6281:57:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6244:3:15", - "parameters": { - "id": 17919, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17918, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6253:2:15", - "nodeType": "VariableDeclaration", - "scope": 17930, - "src": "6248:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17917, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6248:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "6247:9:15" - }, - "returnParameters": { - "id": 17920, - "nodeType": "ParameterList", - "parameters": [], - "src": "6271:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17944, - "nodeType": "FunctionDefinition", - "src": "6351:116:15", - "nodes": [], - "body": { - "id": 17943, - "nodeType": "Block", - "src": "6390:77:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286164647265737329", - "id": 17938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6440:14:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - "value": "log(address)" - }, - { - "id": 17939, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17932, - "src": "6456:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 17936, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6416:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17937, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6420:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6416:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17940, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6416:43:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17935, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "6400:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17941, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6400:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17942, - "nodeType": "ExpressionStatement", - "src": "6400:60:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6360:3:15", - "parameters": { - "id": 17933, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17932, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6372:2:15", - "nodeType": "VariableDeclaration", - "scope": 17944, - "src": "6364:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17931, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6364:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6363:12:15" - }, - "returnParameters": { - "id": 17934, - "nodeType": "ParameterList", - "parameters": [], - "src": "6390:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17961, - "nodeType": "FunctionDefinition", - "src": "6473:140:15", - "nodes": [], - "body": { - "id": 17960, - "nodeType": "Block", - "src": "6524:89:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e7432353629", - "id": 17954, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6574:22:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f666715aa6b8e8ce32bd39173f51eea0643fdd246a826c4756c2f168022b6eb5", - "typeString": "literal_string \"log(uint256,uint256)\"" - }, - "value": "log(uint256,uint256)" - }, - { - "id": 17955, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17946, - "src": "6598:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17956, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17948, - "src": "6602:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f666715aa6b8e8ce32bd39173f51eea0643fdd246a826c4756c2f168022b6eb5", - "typeString": "literal_string \"log(uint256,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 17952, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6550:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17953, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6554:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6550:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6550:55:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17951, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "6534:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17958, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6534:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17959, - "nodeType": "ExpressionStatement", - "src": "6534:72:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6482:3:15", - "parameters": { - "id": 17949, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17946, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6494:2:15", - "nodeType": "VariableDeclaration", - "scope": 17961, - "src": "6486:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17945, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6486:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17948, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6506:2:15", - "nodeType": "VariableDeclaration", - "scope": 17961, - "src": "6498:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17947, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6498:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6485:24:15" - }, - "returnParameters": { - "id": 17950, - "nodeType": "ParameterList", - "parameters": [], - "src": "6524:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17978, - "nodeType": "FunctionDefinition", - "src": "6619:145:15", - "nodes": [], - "body": { - "id": 17977, - "nodeType": "Block", - "src": "6676:88:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e6729", - "id": 17971, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6726:21:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_643fd0df4c7dfb004c6169012c8aec390bd7246941d7fe467022f10f2da987c3", - "typeString": "literal_string \"log(uint256,string)\"" - }, - "value": "log(uint256,string)" - }, - { - "id": 17972, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17963, - "src": "6749:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17973, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17965, - "src": "6753:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_643fd0df4c7dfb004c6169012c8aec390bd7246941d7fe467022f10f2da987c3", - "typeString": "literal_string \"log(uint256,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 17969, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6702:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17970, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6706:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6702:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17974, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6702:54:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17968, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "6686:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6686:71:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17976, - "nodeType": "ExpressionStatement", - "src": "6686:71:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6628:3:15", - "parameters": { - "id": 17966, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17963, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6640:2:15", - "nodeType": "VariableDeclaration", - "scope": 17978, - "src": "6632:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17962, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6632:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17965, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6658:2:15", - "nodeType": "VariableDeclaration", - "scope": 17978, - "src": "6644:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17964, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6644:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6631:30:15" - }, - "returnParameters": { - "id": 17967, - "nodeType": "ParameterList", - "parameters": [], - "src": "6676:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17995, - "nodeType": "FunctionDefinition", - "src": "6770:134:15", - "nodes": [], - "body": { - "id": 17994, - "nodeType": "Block", - "src": "6818:86:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c29", - "id": 17988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6868:19:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1c9d7eb3a75db315653a5c0996fcea52a2b2692643ce8ace4d8b12bb9da6c1f2", - "typeString": "literal_string \"log(uint256,bool)\"" - }, - "value": "log(uint256,bool)" - }, - { - "id": 17989, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17980, - "src": "6889:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17990, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17982, - "src": "6893:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1c9d7eb3a75db315653a5c0996fcea52a2b2692643ce8ace4d8b12bb9da6c1f2", - "typeString": "literal_string \"log(uint256,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 17986, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6844:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17987, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6848:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6844:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6844:52:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17985, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "6828:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6828:69:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17993, - "nodeType": "ExpressionStatement", - "src": "6828:69:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6779:3:15", - "parameters": { - "id": 17983, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17980, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6791:2:15", - "nodeType": "VariableDeclaration", - "scope": 17995, - "src": "6783:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17979, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6783:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17982, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6800:2:15", - "nodeType": "VariableDeclaration", - "scope": 17995, - "src": "6795:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17981, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6795:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "6782:21:15" - }, - "returnParameters": { - "id": 17984, - "nodeType": "ParameterList", - "parameters": [], - "src": "6818:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18012, - "nodeType": "FunctionDefinition", - "src": "6910:140:15", - "nodes": [], - "body": { - "id": 18011, - "nodeType": "Block", - "src": "6961:89:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c6164647265737329", - "id": 18005, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7011:22:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_69276c86d20522c49707664308d424b84905ef92219f3146bcaacedc72eaed27", - "typeString": "literal_string \"log(uint256,address)\"" - }, - "value": "log(uint256,address)" - }, - { - "id": 18006, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17997, - "src": "7035:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18007, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17999, - "src": "7039:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_69276c86d20522c49707664308d424b84905ef92219f3146bcaacedc72eaed27", - "typeString": "literal_string \"log(uint256,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 18003, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6987:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18004, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6991:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6987:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18008, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6987:55:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18002, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "6971:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6971:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18010, - "nodeType": "ExpressionStatement", - "src": "6971:72:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6919:3:15", - "parameters": { - "id": 18000, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17997, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6931:2:15", - "nodeType": "VariableDeclaration", - "scope": 18012, - "src": "6923:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17996, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6923:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17999, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6943:2:15", - "nodeType": "VariableDeclaration", - "scope": 18012, - "src": "6935:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17998, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6935:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6922:24:15" - }, - "returnParameters": { - "id": 18001, - "nodeType": "ParameterList", - "parameters": [], - "src": "6961:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18029, - "nodeType": "FunctionDefinition", - "src": "7056:145:15", - "nodes": [], - "body": { - "id": 18028, - "nodeType": "Block", - "src": "7113:88:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e7432353629", - "id": 18022, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7163:21:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b60e72ccf6d57ab53eb84d7e94a9545806ed7f93c4d5673f11a64f03471e584e", - "typeString": "literal_string \"log(string,uint256)\"" - }, - "value": "log(string,uint256)" - }, - { - "id": 18023, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18014, - "src": "7186:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18024, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18016, - "src": "7190:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b60e72ccf6d57ab53eb84d7e94a9545806ed7f93c4d5673f11a64f03471e584e", - "typeString": "literal_string \"log(string,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 18020, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7139:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18021, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7143:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7139:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7139:54:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18019, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "7123:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18026, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7123:71:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18027, - "nodeType": "ExpressionStatement", - "src": "7123:71:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7065:3:15", - "parameters": { - "id": 18017, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18014, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7083:2:15", - "nodeType": "VariableDeclaration", - "scope": 18029, - "src": "7069:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18013, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7069:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18016, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7095:2:15", - "nodeType": "VariableDeclaration", - "scope": 18029, - "src": "7087:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18015, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7087:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7068:30:15" - }, - "returnParameters": { - "id": 18018, - "nodeType": "ParameterList", - "parameters": [], - "src": "7113:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18046, - "nodeType": "FunctionDefinition", - "src": "7207:150:15", - "nodes": [], - "body": { - "id": 18045, - "nodeType": "Block", - "src": "7270:87:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e6729", - "id": 18039, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7320:20:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4b5c4277d556d03fbf5ee534fba41dc13982b44f2fa82f1d48fdd8b5b5b692ac", - "typeString": "literal_string \"log(string,string)\"" - }, - "value": "log(string,string)" - }, - { - "id": 18040, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18031, - "src": "7342:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18041, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18033, - "src": "7346:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4b5c4277d556d03fbf5ee534fba41dc13982b44f2fa82f1d48fdd8b5b5b692ac", - "typeString": "literal_string \"log(string,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 18037, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7296:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18038, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7300:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7296:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18042, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7296:53:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18036, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "7280:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7280:70:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18044, - "nodeType": "ExpressionStatement", - "src": "7280:70:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7216:3:15", - "parameters": { - "id": 18034, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18031, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7234:2:15", - "nodeType": "VariableDeclaration", - "scope": 18046, - "src": "7220:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18030, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7220:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18033, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7252:2:15", - "nodeType": "VariableDeclaration", - "scope": 18046, - "src": "7238:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18032, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7238:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7219:36:15" - }, - "returnParameters": { - "id": 18035, - "nodeType": "ParameterList", - "parameters": [], - "src": "7270:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18063, - "nodeType": "FunctionDefinition", - "src": "7363:139:15", - "nodes": [], - "body": { - "id": 18062, - "nodeType": "Block", - "src": "7417:85:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c29", - "id": 18056, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7467:18:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c3b556354c088fbb43886eb83c2a04bc7089663f964d22be308197a236f5b870", - "typeString": "literal_string \"log(string,bool)\"" - }, - "value": "log(string,bool)" - }, - { - "id": 18057, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18048, - "src": "7487:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18058, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18050, - "src": "7491:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c3b556354c088fbb43886eb83c2a04bc7089663f964d22be308197a236f5b870", - "typeString": "literal_string \"log(string,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 18054, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7443:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18055, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7447:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7443:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7443:51:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18053, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "7427:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7427:68:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18061, - "nodeType": "ExpressionStatement", - "src": "7427:68:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7372:3:15", - "parameters": { - "id": 18051, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18048, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7390:2:15", - "nodeType": "VariableDeclaration", - "scope": 18063, - "src": "7376:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18047, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7376:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18050, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7399:2:15", - "nodeType": "VariableDeclaration", - "scope": 18063, - "src": "7394:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18049, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7394:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "7375:27:15" - }, - "returnParameters": { - "id": 18052, - "nodeType": "ParameterList", - "parameters": [], - "src": "7417:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18080, - "nodeType": "FunctionDefinition", - "src": "7508:145:15", - "nodes": [], - "body": { - "id": 18079, - "nodeType": "Block", - "src": "7565:88:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c6164647265737329", - "id": 18073, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7615:21:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_319af333460570a1937bf195dd33445c0d0951c59127da6f1f038b9fdce3fd72", - "typeString": "literal_string \"log(string,address)\"" - }, - "value": "log(string,address)" - }, - { - "id": 18074, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18065, - "src": "7638:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18075, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18067, - "src": "7642:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_319af333460570a1937bf195dd33445c0d0951c59127da6f1f038b9fdce3fd72", - "typeString": "literal_string \"log(string,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 18071, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7591:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18072, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7595:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7591:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7591:54:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18070, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "7575:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18077, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7575:71:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18078, - "nodeType": "ExpressionStatement", - "src": "7575:71:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7517:3:15", - "parameters": { - "id": 18068, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18065, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7535:2:15", - "nodeType": "VariableDeclaration", - "scope": 18080, - "src": "7521:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18064, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7521:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18067, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7547:2:15", - "nodeType": "VariableDeclaration", - "scope": 18080, - "src": "7539:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18066, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7539:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7520:30:15" - }, - "returnParameters": { - "id": 18069, - "nodeType": "ParameterList", - "parameters": [], - "src": "7565:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18097, - "nodeType": "FunctionDefinition", - "src": "7659:134:15", - "nodes": [], - "body": { - "id": 18096, - "nodeType": "Block", - "src": "7707:86:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e7432353629", - "id": 18090, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7757:19:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_399174d3d0c43cb9677bce4fa1b5541fc60a002cbf23e154f1abcbb5f02cf2d7", - "typeString": "literal_string \"log(bool,uint256)\"" - }, - "value": "log(bool,uint256)" - }, - { - "id": 18091, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18082, - "src": "7778:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18092, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18084, - "src": "7782:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_399174d3d0c43cb9677bce4fa1b5541fc60a002cbf23e154f1abcbb5f02cf2d7", - "typeString": "literal_string \"log(bool,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 18088, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7733:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18089, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7737:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7733:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7733:52:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18087, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "7717:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7717:69:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18095, - "nodeType": "ExpressionStatement", - "src": "7717:69:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7668:3:15", - "parameters": { - "id": 18085, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18082, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7677:2:15", - "nodeType": "VariableDeclaration", - "scope": 18097, - "src": "7672:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18081, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7672:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18084, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7689:2:15", - "nodeType": "VariableDeclaration", - "scope": 18097, - "src": "7681:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18083, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7681:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7671:21:15" - }, - "returnParameters": { - "id": 18086, - "nodeType": "ParameterList", - "parameters": [], - "src": "7707:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18114, - "nodeType": "FunctionDefinition", - "src": "7799:139:15", - "nodes": [], - "body": { - "id": 18113, - "nodeType": "Block", - "src": "7853:85:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e6729", - "id": 18107, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7903:18:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8feac5256a5b88d7ca0173065b796567ecbc9d75ec022fa0f044eb427f962b84", - "typeString": "literal_string \"log(bool,string)\"" - }, - "value": "log(bool,string)" - }, - { - "id": 18108, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18099, - "src": "7923:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18109, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18101, - "src": "7927:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8feac5256a5b88d7ca0173065b796567ecbc9d75ec022fa0f044eb427f962b84", - "typeString": "literal_string \"log(bool,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 18105, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7879:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18106, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7883:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7879:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18110, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7879:51:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18104, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "7863:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18111, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7863:68:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18112, - "nodeType": "ExpressionStatement", - "src": "7863:68:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7808:3:15", - "parameters": { - "id": 18102, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18099, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7817:2:15", - "nodeType": "VariableDeclaration", - "scope": 18114, - "src": "7812:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18098, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7812:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18101, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7835:2:15", - "nodeType": "VariableDeclaration", - "scope": 18114, - "src": "7821:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18100, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7821:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7811:27:15" - }, - "returnParameters": { - "id": 18103, - "nodeType": "ParameterList", - "parameters": [], - "src": "7853:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18131, - "nodeType": "FunctionDefinition", - "src": "7944:128:15", - "nodes": [], - "body": { - "id": 18130, - "nodeType": "Block", - "src": "7989:83:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c29", - "id": 18124, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8039:16:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2a110e83227fbe26ff7524076f2091da3e9aa01d70b93677da53b41d22f4fb15", - "typeString": "literal_string \"log(bool,bool)\"" - }, - "value": "log(bool,bool)" - }, - { - "id": 18125, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18116, - "src": "8057:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18126, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18118, - "src": "8061:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2a110e83227fbe26ff7524076f2091da3e9aa01d70b93677da53b41d22f4fb15", - "typeString": "literal_string \"log(bool,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 18122, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8015:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18123, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8019:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8015:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8015:49:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18121, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "7999:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18128, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7999:66:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18129, - "nodeType": "ExpressionStatement", - "src": "7999:66:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7953:3:15", - "parameters": { - "id": 18119, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18116, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7962:2:15", - "nodeType": "VariableDeclaration", - "scope": 18131, - "src": "7957:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18115, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7957:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18118, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7971:2:15", - "nodeType": "VariableDeclaration", - "scope": 18131, - "src": "7966:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18117, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7966:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "7956:18:15" - }, - "returnParameters": { - "id": 18120, - "nodeType": "ParameterList", - "parameters": [], - "src": "7989:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18148, - "nodeType": "FunctionDefinition", - "src": "8078:134:15", - "nodes": [], - "body": { - "id": 18147, - "nodeType": "Block", - "src": "8126:86:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c6164647265737329", - "id": 18141, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8176:19:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_853c4849443241e2249adafa4f69c8bb738b0f17c7a0a9d9997450cd71db4d55", - "typeString": "literal_string \"log(bool,address)\"" - }, - "value": "log(bool,address)" - }, - { - "id": 18142, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18133, - "src": "8197:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18143, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18135, - "src": "8201:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_853c4849443241e2249adafa4f69c8bb738b0f17c7a0a9d9997450cd71db4d55", - "typeString": "literal_string \"log(bool,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 18139, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8152:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18140, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8156:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8152:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8152:52:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18138, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "8136:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18145, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8136:69:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18146, - "nodeType": "ExpressionStatement", - "src": "8136:69:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8087:3:15", - "parameters": { - "id": 18136, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18133, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8096:2:15", - "nodeType": "VariableDeclaration", - "scope": 18148, - "src": "8091:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18132, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8091:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18135, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8108:2:15", - "nodeType": "VariableDeclaration", - "scope": 18148, - "src": "8100:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18134, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8100:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8090:21:15" - }, - "returnParameters": { - "id": 18137, - "nodeType": "ParameterList", - "parameters": [], - "src": "8126:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18165, - "nodeType": "FunctionDefinition", - "src": "8218:140:15", - "nodes": [], - "body": { - "id": 18164, - "nodeType": "Block", - "src": "8269:89:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e7432353629", - "id": 18158, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8319:22:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8309e8a8b132619bdb25dffa9d595ba1ecb7835540fd62622dad33018c4a0d3e", - "typeString": "literal_string \"log(address,uint256)\"" - }, - "value": "log(address,uint256)" - }, - { - "id": 18159, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18150, - "src": "8343:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18160, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18152, - "src": "8347:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8309e8a8b132619bdb25dffa9d595ba1ecb7835540fd62622dad33018c4a0d3e", - "typeString": "literal_string \"log(address,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 18156, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8295:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18157, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8299:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8295:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18161, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8295:55:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18155, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "8279:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8279:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18163, - "nodeType": "ExpressionStatement", - "src": "8279:72:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8227:3:15", - "parameters": { - "id": 18153, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18150, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8239:2:15", - "nodeType": "VariableDeclaration", - "scope": 18165, - "src": "8231:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18149, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8231:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18152, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8251:2:15", - "nodeType": "VariableDeclaration", - "scope": 18165, - "src": "8243:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18151, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8243:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8230:24:15" - }, - "returnParameters": { - "id": 18154, - "nodeType": "ParameterList", - "parameters": [], - "src": "8269:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18182, - "nodeType": "FunctionDefinition", - "src": "8364:145:15", - "nodes": [], - "body": { - "id": 18181, - "nodeType": "Block", - "src": "8421:88:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e6729", - "id": 18175, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8471:21:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_759f86bbdd0758679ecefbd32ea620068b2339dddd9e45ee0fa567ee6c81f0ab", - "typeString": "literal_string \"log(address,string)\"" - }, - "value": "log(address,string)" - }, - { - "id": 18176, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18167, - "src": "8494:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18177, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18169, - "src": "8498:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_759f86bbdd0758679ecefbd32ea620068b2339dddd9e45ee0fa567ee6c81f0ab", - "typeString": "literal_string \"log(address,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 18173, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8447:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18174, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8451:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8447:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18178, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8447:54:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18172, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "8431:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18179, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8431:71:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18180, - "nodeType": "ExpressionStatement", - "src": "8431:71:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8373:3:15", - "parameters": { - "id": 18170, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18167, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8385:2:15", - "nodeType": "VariableDeclaration", - "scope": 18182, - "src": "8377:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18166, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8377:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18169, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8403:2:15", - "nodeType": "VariableDeclaration", - "scope": 18182, - "src": "8389:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18168, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8389:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8376:30:15" - }, - "returnParameters": { - "id": 18171, - "nodeType": "ParameterList", - "parameters": [], - "src": "8421:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18199, - "nodeType": "FunctionDefinition", - "src": "8515:134:15", - "nodes": [], - "body": { - "id": 18198, - "nodeType": "Block", - "src": "8563:86:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c29", - "id": 18192, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8613:19:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_75b605d31a3bf49c8d814696c7c66216d3a7e81348c450078f032e425592f72b", - "typeString": "literal_string \"log(address,bool)\"" - }, - "value": "log(address,bool)" - }, - { - "id": 18193, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18184, - "src": "8634:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18194, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18186, - "src": "8638:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_75b605d31a3bf49c8d814696c7c66216d3a7e81348c450078f032e425592f72b", - "typeString": "literal_string \"log(address,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 18190, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8589:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18191, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8593:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8589:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18195, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8589:52:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18189, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "8573:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18196, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8573:69:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18197, - "nodeType": "ExpressionStatement", - "src": "8573:69:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8524:3:15", - "parameters": { - "id": 18187, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18184, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8536:2:15", - "nodeType": "VariableDeclaration", - "scope": 18199, - "src": "8528:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18183, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8528:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18186, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8545:2:15", - "nodeType": "VariableDeclaration", - "scope": 18199, - "src": "8540:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18185, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8540:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "8527:21:15" - }, - "returnParameters": { - "id": 18188, - "nodeType": "ParameterList", - "parameters": [], - "src": "8563:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18216, - "nodeType": "FunctionDefinition", - "src": "8655:140:15", - "nodes": [], - "body": { - "id": 18215, - "nodeType": "Block", - "src": "8706:89:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c6164647265737329", - "id": 18209, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8756:22:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_daf0d4aa9a5679e832ac921da67b43572b4326ee2565442d3ed255b48cfb5161", - "typeString": "literal_string \"log(address,address)\"" - }, - "value": "log(address,address)" - }, - { - "id": 18210, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18201, - "src": "8780:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18211, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18203, - "src": "8784:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_daf0d4aa9a5679e832ac921da67b43572b4326ee2565442d3ed255b48cfb5161", - "typeString": "literal_string \"log(address,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 18207, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8732:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18208, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8736:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8732:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18212, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8732:55:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18206, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "8716:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18213, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8716:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18214, - "nodeType": "ExpressionStatement", - "src": "8716:72:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8664:3:15", - "parameters": { - "id": 18204, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18201, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8676:2:15", - "nodeType": "VariableDeclaration", - "scope": 18216, - "src": "8668:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18200, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8668:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18203, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8688:2:15", - "nodeType": "VariableDeclaration", - "scope": 18216, - "src": "8680:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18202, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8680:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8667:24:15" - }, - "returnParameters": { - "id": 18205, - "nodeType": "ParameterList", - "parameters": [], - "src": "8706:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18236, - "nodeType": "FunctionDefinition", - "src": "8801:164:15", - "nodes": [], - "body": { - "id": 18235, - "nodeType": "Block", - "src": "8864:101:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c75696e7432353629", - "id": 18228, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8914:30:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d1ed7a3c020c4f5939654147940a147a8e4e638fa1e8f5664b5efbd1e1f3c4a6", - "typeString": "literal_string \"log(uint256,uint256,uint256)\"" - }, - "value": "log(uint256,uint256,uint256)" - }, - { - "id": 18229, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18218, - "src": "8946:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18230, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18220, - "src": "8950:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18231, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18222, - "src": "8954:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d1ed7a3c020c4f5939654147940a147a8e4e638fa1e8f5664b5efbd1e1f3c4a6", - "typeString": "literal_string \"log(uint256,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 18226, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8890:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18227, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8894:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8890:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8890:67:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18225, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "8874:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18233, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8874:84:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18234, - "nodeType": "ExpressionStatement", - "src": "8874:84:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8810:3:15", - "parameters": { - "id": 18223, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18218, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8822:2:15", - "nodeType": "VariableDeclaration", - "scope": 18236, - "src": "8814:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18217, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8814:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18220, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8834:2:15", - "nodeType": "VariableDeclaration", - "scope": 18236, - "src": "8826:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18219, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8826:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18222, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8846:2:15", - "nodeType": "VariableDeclaration", - "scope": 18236, - "src": "8838:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18221, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8838:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8813:36:15" - }, - "returnParameters": { - "id": 18224, - "nodeType": "ParameterList", - "parameters": [], - "src": "8864:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18256, - "nodeType": "FunctionDefinition", - "src": "8971:169:15", - "nodes": [], - "body": { - "id": 18255, - "nodeType": "Block", - "src": "9040:100:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c737472696e6729", - "id": 18248, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9090:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_71d04af2c0d71f035017c73ec9440d8cef06157a84f0febe8ec74eca98138262", - "typeString": "literal_string \"log(uint256,uint256,string)\"" - }, - "value": "log(uint256,uint256,string)" - }, - { - "id": 18249, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18238, - "src": "9121:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18250, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18240, - "src": "9125:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18251, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18242, - "src": "9129:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_71d04af2c0d71f035017c73ec9440d8cef06157a84f0febe8ec74eca98138262", - "typeString": "literal_string \"log(uint256,uint256,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 18246, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9066:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18247, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9070:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9066:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9066:66:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18245, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "9050:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9050:83:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18254, - "nodeType": "ExpressionStatement", - "src": "9050:83:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8980:3:15", - "parameters": { - "id": 18243, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18238, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8992:2:15", - "nodeType": "VariableDeclaration", - "scope": 18256, - "src": "8984:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18237, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8984:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18240, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9004:2:15", - "nodeType": "VariableDeclaration", - "scope": 18256, - "src": "8996:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18239, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8996:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18242, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9022:2:15", - "nodeType": "VariableDeclaration", - "scope": 18256, - "src": "9008:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18241, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9008:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8983:42:15" - }, - "returnParameters": { - "id": 18244, - "nodeType": "ParameterList", - "parameters": [], - "src": "9040:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18276, - "nodeType": "FunctionDefinition", - "src": "9146:158:15", - "nodes": [], - "body": { - "id": 18275, - "nodeType": "Block", - "src": "9206:98:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c626f6f6c29", - "id": 18268, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9256:27:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4766da72b632663e3b9911d02d6f30e0cf213f928bdb9f6fd840851875d9fce0", - "typeString": "literal_string \"log(uint256,uint256,bool)\"" - }, - "value": "log(uint256,uint256,bool)" - }, - { - "id": 18269, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18258, - "src": "9285:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18270, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18260, - "src": "9289:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18271, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18262, - "src": "9293:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4766da72b632663e3b9911d02d6f30e0cf213f928bdb9f6fd840851875d9fce0", - "typeString": "literal_string \"log(uint256,uint256,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 18266, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9232:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18267, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9236:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9232:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18272, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9232:64:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18265, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "9216:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9216:81:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18274, - "nodeType": "ExpressionStatement", - "src": "9216:81:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9155:3:15", - "parameters": { - "id": 18263, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18258, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9167:2:15", - "nodeType": "VariableDeclaration", - "scope": 18276, - "src": "9159:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18257, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9159:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18260, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9179:2:15", - "nodeType": "VariableDeclaration", - "scope": 18276, - "src": "9171:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18259, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9171:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18262, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9188:2:15", - "nodeType": "VariableDeclaration", - "scope": 18276, - "src": "9183:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18261, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9183:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "9158:33:15" - }, - "returnParameters": { - "id": 18264, - "nodeType": "ParameterList", - "parameters": [], - "src": "9206:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18296, - "nodeType": "FunctionDefinition", - "src": "9310:164:15", - "nodes": [], - "body": { - "id": 18295, - "nodeType": "Block", - "src": "9373:101:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c6164647265737329", - "id": 18288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9423:30:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5c96b331e359852d9a7254105926ce8dfcc42dd4fce56a736cfb981b4c2984c1", - "typeString": "literal_string \"log(uint256,uint256,address)\"" - }, - "value": "log(uint256,uint256,address)" - }, - { - "id": 18289, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18278, - "src": "9455:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18290, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18280, - "src": "9459:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18291, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18282, - "src": "9463:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5c96b331e359852d9a7254105926ce8dfcc42dd4fce56a736cfb981b4c2984c1", - "typeString": "literal_string \"log(uint256,uint256,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 18286, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9399:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18287, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9403:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9399:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18292, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9399:67:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18285, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "9383:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9383:84:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18294, - "nodeType": "ExpressionStatement", - "src": "9383:84:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9319:3:15", - "parameters": { - "id": 18283, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18278, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9331:2:15", - "nodeType": "VariableDeclaration", - "scope": 18296, - "src": "9323:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18277, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9323:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18280, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9343:2:15", - "nodeType": "VariableDeclaration", - "scope": 18296, - "src": "9335:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18279, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9335:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18282, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9355:2:15", - "nodeType": "VariableDeclaration", - "scope": 18296, - "src": "9347:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18281, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9347:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "9322:36:15" - }, - "returnParameters": { - "id": 18284, - "nodeType": "ParameterList", - "parameters": [], - "src": "9373:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18316, - "nodeType": "FunctionDefinition", - "src": "9480:169:15", - "nodes": [], - "body": { - "id": 18315, - "nodeType": "Block", - "src": "9549:100:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c75696e7432353629", - "id": 18308, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9599:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_37aa7d4c835edd965b1201d9c03f13272bd937d8e244ab84a153693e2f2f30c0", - "typeString": "literal_string \"log(uint256,string,uint256)\"" - }, - "value": "log(uint256,string,uint256)" - }, - { - "id": 18309, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18298, - "src": "9630:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18310, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18300, - "src": "9634:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18311, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18302, - "src": "9638:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_37aa7d4c835edd965b1201d9c03f13272bd937d8e244ab84a153693e2f2f30c0", - "typeString": "literal_string \"log(uint256,string,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 18306, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9575:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18307, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9579:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9575:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18312, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9575:66:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18305, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "9559:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9559:83:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18314, - "nodeType": "ExpressionStatement", - "src": "9559:83:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9489:3:15", - "parameters": { - "id": 18303, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18298, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9501:2:15", - "nodeType": "VariableDeclaration", - "scope": 18316, - "src": "9493:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18297, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9493:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18300, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9519:2:15", - "nodeType": "VariableDeclaration", - "scope": 18316, - "src": "9505:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18299, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9505:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18302, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9531:2:15", - "nodeType": "VariableDeclaration", - "scope": 18316, - "src": "9523:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18301, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9523:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "9492:42:15" - }, - "returnParameters": { - "id": 18304, - "nodeType": "ParameterList", - "parameters": [], - "src": "9549:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18336, - "nodeType": "FunctionDefinition", - "src": "9655:174:15", - "nodes": [], - "body": { - "id": 18335, - "nodeType": "Block", - "src": "9730:99:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c737472696e6729", - "id": 18328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9780:28:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b115611f13262589f336fb650c9278bd1879123a635e6a638f94e6cbdb1c1b35", - "typeString": "literal_string \"log(uint256,string,string)\"" - }, - "value": "log(uint256,string,string)" - }, - { - "id": 18329, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18318, - "src": "9810:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18330, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18320, - "src": "9814:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18331, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18322, - "src": "9818:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b115611f13262589f336fb650c9278bd1879123a635e6a638f94e6cbdb1c1b35", - "typeString": "literal_string \"log(uint256,string,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 18326, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9756:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18327, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9760:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9756:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18332, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9756:65:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18325, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "9740:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9740:82:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18334, - "nodeType": "ExpressionStatement", - "src": "9740:82:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9664:3:15", - "parameters": { - "id": 18323, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18318, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9676:2:15", - "nodeType": "VariableDeclaration", - "scope": 18336, - "src": "9668:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18317, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9668:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18320, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9694:2:15", - "nodeType": "VariableDeclaration", - "scope": 18336, - "src": "9680:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18319, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9680:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18322, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9712:2:15", - "nodeType": "VariableDeclaration", - "scope": 18336, - "src": "9698:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18321, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9698:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9667:48:15" - }, - "returnParameters": { - "id": 18324, - "nodeType": "ParameterList", - "parameters": [], - "src": "9730:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18356, - "nodeType": "FunctionDefinition", - "src": "9835:163:15", - "nodes": [], - "body": { - "id": 18355, - "nodeType": "Block", - "src": "9901:97:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c626f6f6c29", - "id": 18348, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9951:26:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4ceda75ad13e534e8b5089564c6a40ae80cd33aac3e77ef1f87a233c1d43067a", - "typeString": "literal_string \"log(uint256,string,bool)\"" - }, - "value": "log(uint256,string,bool)" - }, - { - "id": 18349, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18338, - "src": "9979:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18350, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18340, - "src": "9983:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18351, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18342, - "src": "9987:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4ceda75ad13e534e8b5089564c6a40ae80cd33aac3e77ef1f87a233c1d43067a", - "typeString": "literal_string \"log(uint256,string,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 18346, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9927:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18347, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9931:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9927:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18352, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9927:63:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18345, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "9911:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18353, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9911:80:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18354, - "nodeType": "ExpressionStatement", - "src": "9911:80:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9844:3:15", - "parameters": { - "id": 18343, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18338, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9856:2:15", - "nodeType": "VariableDeclaration", - "scope": 18356, - "src": "9848:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18337, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9848:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18340, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9874:2:15", - "nodeType": "VariableDeclaration", - "scope": 18356, - "src": "9860:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18339, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9860:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18342, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9883:2:15", - "nodeType": "VariableDeclaration", - "scope": 18356, - "src": "9878:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18341, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9878:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "9847:39:15" - }, - "returnParameters": { - "id": 18344, - "nodeType": "ParameterList", - "parameters": [], - "src": "9901:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18376, - "nodeType": "FunctionDefinition", - "src": "10004:169:15", - "nodes": [], - "body": { - "id": 18375, - "nodeType": "Block", - "src": "10073:100:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c6164647265737329", - "id": 18368, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10123:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7afac959002f7dcdccdf461a7e6db7810eebd7217c0b7c30905b3c7e89b561f2", - "typeString": "literal_string \"log(uint256,string,address)\"" - }, - "value": "log(uint256,string,address)" - }, - { - "id": 18369, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18358, - "src": "10154:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18370, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18360, - "src": "10158:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18371, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18362, - "src": "10162:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7afac959002f7dcdccdf461a7e6db7810eebd7217c0b7c30905b3c7e89b561f2", - "typeString": "literal_string \"log(uint256,string,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 18366, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10099:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18367, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10103:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10099:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18372, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10099:66:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18365, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "10083:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18373, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10083:83:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18374, - "nodeType": "ExpressionStatement", - "src": "10083:83:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10013:3:15", - "parameters": { - "id": 18363, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18358, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10025:2:15", - "nodeType": "VariableDeclaration", - "scope": 18376, - "src": "10017:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18357, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10017:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18360, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10043:2:15", - "nodeType": "VariableDeclaration", - "scope": 18376, - "src": "10029:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18359, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10029:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18362, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10055:2:15", - "nodeType": "VariableDeclaration", - "scope": 18376, - "src": "10047:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18361, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10047:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "10016:42:15" - }, - "returnParameters": { - "id": 18364, - "nodeType": "ParameterList", - "parameters": [], - "src": "10073:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18396, - "nodeType": "FunctionDefinition", - "src": "10179:158:15", - "nodes": [], - "body": { - "id": 18395, - "nodeType": "Block", - "src": "10239:98:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c75696e7432353629", - "id": 18388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10289:27:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_200980147f19b368809aab41084ebebcf1e19d47edd13f2d540a6327cec213d1", - "typeString": "literal_string \"log(uint256,bool,uint256)\"" - }, - "value": "log(uint256,bool,uint256)" - }, - { - "id": 18389, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18378, - "src": "10318:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18390, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18380, - "src": "10322:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18391, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18382, - "src": "10326:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_200980147f19b368809aab41084ebebcf1e19d47edd13f2d540a6327cec213d1", - "typeString": "literal_string \"log(uint256,bool,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 18386, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10265:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18387, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10269:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10265:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10265:64:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18385, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "10249:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10249:81:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18394, - "nodeType": "ExpressionStatement", - "src": "10249:81:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10188:3:15", - "parameters": { - "id": 18383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18378, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10200:2:15", - "nodeType": "VariableDeclaration", - "scope": 18396, - "src": "10192:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18377, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10192:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18380, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10209:2:15", - "nodeType": "VariableDeclaration", - "scope": 18396, - "src": "10204:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18379, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10204:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18382, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10221:2:15", - "nodeType": "VariableDeclaration", - "scope": 18396, - "src": "10213:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18381, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10213:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10191:33:15" - }, - "returnParameters": { - "id": 18384, - "nodeType": "ParameterList", - "parameters": [], - "src": "10239:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18416, - "nodeType": "FunctionDefinition", - "src": "10343:163:15", - "nodes": [], - "body": { - "id": 18415, - "nodeType": "Block", - "src": "10409:97:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c737472696e6729", - "id": 18408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10459:26:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_85775021582c57b14e9e0b33e0f693439478099486817fe4214a503f559f37df", - "typeString": "literal_string \"log(uint256,bool,string)\"" - }, - "value": "log(uint256,bool,string)" - }, - { - "id": 18409, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18398, - "src": "10487:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18410, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18400, - "src": "10491:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18411, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18402, - "src": "10495:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_85775021582c57b14e9e0b33e0f693439478099486817fe4214a503f559f37df", - "typeString": "literal_string \"log(uint256,bool,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 18406, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10435:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18407, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10439:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10435:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18412, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10435:63:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18405, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "10419:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10419:80:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18414, - "nodeType": "ExpressionStatement", - "src": "10419:80:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10352:3:15", - "parameters": { - "id": 18403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18398, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10364:2:15", - "nodeType": "VariableDeclaration", - "scope": 18416, - "src": "10356:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18397, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10356:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18400, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10373:2:15", - "nodeType": "VariableDeclaration", - "scope": 18416, - "src": "10368:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18399, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10368:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18402, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10391:2:15", - "nodeType": "VariableDeclaration", - "scope": 18416, - "src": "10377:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18401, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10377:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10355:39:15" - }, - "returnParameters": { - "id": 18404, - "nodeType": "ParameterList", - "parameters": [], - "src": "10409:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18436, - "nodeType": "FunctionDefinition", - "src": "10512:152:15", - "nodes": [], - "body": { - "id": 18435, - "nodeType": "Block", - "src": "10569:95:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c626f6f6c29", - "id": 18428, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10619:24:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_207186500d54a80dae0e8fae760b583cb518c2c49967db59c8f7e5596879c0b6", - "typeString": "literal_string \"log(uint256,bool,bool)\"" - }, - "value": "log(uint256,bool,bool)" - }, - { - "id": 18429, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18418, - "src": "10645:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18430, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18420, - "src": "10649:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18431, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18422, - "src": "10653:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_207186500d54a80dae0e8fae760b583cb518c2c49967db59c8f7e5596879c0b6", - "typeString": "literal_string \"log(uint256,bool,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 18426, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10595:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18427, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10599:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10595:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10595:61:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18425, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "10579:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10579:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18434, - "nodeType": "ExpressionStatement", - "src": "10579:78:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10521:3:15", - "parameters": { - "id": 18423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18418, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10533:2:15", - "nodeType": "VariableDeclaration", - "scope": 18436, - "src": "10525:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18417, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10525:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18420, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10542:2:15", - "nodeType": "VariableDeclaration", - "scope": 18436, - "src": "10537:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18419, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10537:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18422, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10551:2:15", - "nodeType": "VariableDeclaration", - "scope": 18436, - "src": "10546:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18421, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10546:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "10524:30:15" - }, - "returnParameters": { - "id": 18424, - "nodeType": "ParameterList", - "parameters": [], - "src": "10569:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18456, - "nodeType": "FunctionDefinition", - "src": "10670:158:15", - "nodes": [], - "body": { - "id": 18455, - "nodeType": "Block", - "src": "10730:98:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c6164647265737329", - "id": 18448, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10780:27:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_35085f7b74fe0b67ab2d779d94b2a1efc14ce8d637e06ffda83ca305116f3c99", - "typeString": "literal_string \"log(uint256,bool,address)\"" - }, - "value": "log(uint256,bool,address)" - }, - { - "id": 18449, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18438, - "src": "10809:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18450, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18440, - "src": "10813:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18451, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18442, - "src": "10817:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_35085f7b74fe0b67ab2d779d94b2a1efc14ce8d637e06ffda83ca305116f3c99", - "typeString": "literal_string \"log(uint256,bool,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 18446, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10756:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18447, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10760:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10756:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18452, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10756:64:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18445, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "10740:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10740:81:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18454, - "nodeType": "ExpressionStatement", - "src": "10740:81:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10679:3:15", - "parameters": { - "id": 18443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18438, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10691:2:15", - "nodeType": "VariableDeclaration", - "scope": 18456, - "src": "10683:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18437, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10683:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18440, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10700:2:15", - "nodeType": "VariableDeclaration", - "scope": 18456, - "src": "10695:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18439, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10695:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18442, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10712:2:15", - "nodeType": "VariableDeclaration", - "scope": 18456, - "src": "10704:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18441, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10704:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "10682:33:15" - }, - "returnParameters": { - "id": 18444, - "nodeType": "ParameterList", - "parameters": [], - "src": "10730:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18476, - "nodeType": "FunctionDefinition", - "src": "10834:164:15", - "nodes": [], - "body": { - "id": 18475, - "nodeType": "Block", - "src": "10897:101:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c75696e7432353629", - "id": 18468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10947:30:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5a9b5ed5e0cc67953f5b0a58c12e9694944af5a126321ab88870dec3bc05a9ae", - "typeString": "literal_string \"log(uint256,address,uint256)\"" - }, - "value": "log(uint256,address,uint256)" - }, - { - "id": 18469, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18458, - "src": "10979:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18470, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18460, - "src": "10983:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18471, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18462, - "src": "10987:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5a9b5ed5e0cc67953f5b0a58c12e9694944af5a126321ab88870dec3bc05a9ae", - "typeString": "literal_string \"log(uint256,address,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 18466, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10923:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18467, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10927:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10923:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10923:67:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18465, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "10907:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10907:84:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18474, - "nodeType": "ExpressionStatement", - "src": "10907:84:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10843:3:15", - "parameters": { - "id": 18463, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18458, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10855:2:15", - "nodeType": "VariableDeclaration", - "scope": 18476, - "src": "10847:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18457, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10847:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18460, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10867:2:15", - "nodeType": "VariableDeclaration", - "scope": 18476, - "src": "10859:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18459, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10859:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18462, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10879:2:15", - "nodeType": "VariableDeclaration", - "scope": 18476, - "src": "10871:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18461, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10871:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10846:36:15" - }, - "returnParameters": { - "id": 18464, - "nodeType": "ParameterList", - "parameters": [], - "src": "10897:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18496, - "nodeType": "FunctionDefinition", - "src": "11004:169:15", - "nodes": [], - "body": { - "id": 18495, - "nodeType": "Block", - "src": "11073:100:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c737472696e6729", - "id": 18488, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11123:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_63cb41f9a63efe5dfacd3a2836bdef664d136fd6113f8e931c31a919af38935c", - "typeString": "literal_string \"log(uint256,address,string)\"" - }, - "value": "log(uint256,address,string)" - }, - { - "id": 18489, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18478, - "src": "11154:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18490, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18480, - "src": "11158:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18491, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18482, - "src": "11162:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_63cb41f9a63efe5dfacd3a2836bdef664d136fd6113f8e931c31a919af38935c", - "typeString": "literal_string \"log(uint256,address,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 18486, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11099:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18487, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11103:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11099:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18492, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11099:66:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18485, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "11083:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18493, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11083:83:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18494, - "nodeType": "ExpressionStatement", - "src": "11083:83:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11013:3:15", - "parameters": { - "id": 18483, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18478, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11025:2:15", - "nodeType": "VariableDeclaration", - "scope": 18496, - "src": "11017:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18477, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11017:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18480, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11037:2:15", - "nodeType": "VariableDeclaration", - "scope": 18496, - "src": "11029:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18479, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11029:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18482, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11055:2:15", - "nodeType": "VariableDeclaration", - "scope": 18496, - "src": "11041:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18481, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11041:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11016:42:15" - }, - "returnParameters": { - "id": 18484, - "nodeType": "ParameterList", - "parameters": [], - "src": "11073:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18516, - "nodeType": "FunctionDefinition", - "src": "11179:158:15", - "nodes": [], - "body": { - "id": 18515, - "nodeType": "Block", - "src": "11239:98:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c626f6f6c29", - "id": 18508, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11289:27:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9b6ec042c5598a780a5bfae5e9ea2c50c251da4c38db3a134b8857be618f0c5c", - "typeString": "literal_string \"log(uint256,address,bool)\"" - }, - "value": "log(uint256,address,bool)" - }, - { - "id": 18509, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18498, - "src": "11318:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18510, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18500, - "src": "11322:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18511, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18502, - "src": "11326:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9b6ec042c5598a780a5bfae5e9ea2c50c251da4c38db3a134b8857be618f0c5c", - "typeString": "literal_string \"log(uint256,address,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 18506, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11265:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18507, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11269:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11265:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18512, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11265:64:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18505, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "11249:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18513, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11249:81:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18514, - "nodeType": "ExpressionStatement", - "src": "11249:81:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11188:3:15", - "parameters": { - "id": 18503, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18498, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11200:2:15", - "nodeType": "VariableDeclaration", - "scope": 18516, - "src": "11192:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18497, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11192:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18500, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11212:2:15", - "nodeType": "VariableDeclaration", - "scope": 18516, - "src": "11204:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18499, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11204:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18502, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11221:2:15", - "nodeType": "VariableDeclaration", - "scope": 18516, - "src": "11216:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18501, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11216:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "11191:33:15" - }, - "returnParameters": { - "id": 18504, - "nodeType": "ParameterList", - "parameters": [], - "src": "11239:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18536, - "nodeType": "FunctionDefinition", - "src": "11343:164:15", - "nodes": [], - "body": { - "id": 18535, - "nodeType": "Block", - "src": "11406:101:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c6164647265737329", - "id": 18528, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11456:30:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bcfd9be04f8d6b8ee1ae73075f8fe8db10e4b254a56103daa450197029a55fda", - "typeString": "literal_string \"log(uint256,address,address)\"" - }, - "value": "log(uint256,address,address)" - }, - { - "id": 18529, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18518, - "src": "11488:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18530, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18520, - "src": "11492:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18531, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18522, - "src": "11496:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_bcfd9be04f8d6b8ee1ae73075f8fe8db10e4b254a56103daa450197029a55fda", - "typeString": "literal_string \"log(uint256,address,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 18526, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11432:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18527, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11436:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11432:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11432:67:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18525, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "11416:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18533, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11416:84:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18534, - "nodeType": "ExpressionStatement", - "src": "11416:84:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11352:3:15", - "parameters": { - "id": 18523, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18518, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11364:2:15", - "nodeType": "VariableDeclaration", - "scope": 18536, - "src": "11356:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18517, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11356:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18520, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11376:2:15", - "nodeType": "VariableDeclaration", - "scope": 18536, - "src": "11368:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18519, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11368:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18522, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11388:2:15", - "nodeType": "VariableDeclaration", - "scope": 18536, - "src": "11380:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18521, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11380:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "11355:36:15" - }, - "returnParameters": { - "id": 18524, - "nodeType": "ParameterList", - "parameters": [], - "src": "11406:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18556, - "nodeType": "FunctionDefinition", - "src": "11513:169:15", - "nodes": [], - "body": { - "id": 18555, - "nodeType": "Block", - "src": "11582:100:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c75696e7432353629", - "id": 18548, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11632:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ca47c4ebe9fba29faff9e6b57fbe69e17216e7526486c463d61c06e8992beece", - "typeString": "literal_string \"log(string,uint256,uint256)\"" - }, - "value": "log(string,uint256,uint256)" - }, - { - "id": 18549, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18538, - "src": "11663:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18550, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18540, - "src": "11667:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18551, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18542, - "src": "11671:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ca47c4ebe9fba29faff9e6b57fbe69e17216e7526486c463d61c06e8992beece", - "typeString": "literal_string \"log(string,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 18546, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11608:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18547, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11612:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11608:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18552, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11608:66:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18545, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "11592:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11592:83:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18554, - "nodeType": "ExpressionStatement", - "src": "11592:83:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11522:3:15", - "parameters": { - "id": 18543, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18538, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11540:2:15", - "nodeType": "VariableDeclaration", - "scope": 18556, - "src": "11526:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18537, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11526:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18540, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11552:2:15", - "nodeType": "VariableDeclaration", - "scope": 18556, - "src": "11544:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18539, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11544:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18542, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11564:2:15", - "nodeType": "VariableDeclaration", - "scope": 18556, - "src": "11556:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18541, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11556:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11525:42:15" - }, - "returnParameters": { - "id": 18544, - "nodeType": "ParameterList", - "parameters": [], - "src": "11582:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18576, - "nodeType": "FunctionDefinition", - "src": "11688:174:15", - "nodes": [], - "body": { - "id": 18575, - "nodeType": "Block", - "src": "11763:99:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c737472696e6729", - "id": 18568, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11813:28:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5970e089c65c5d431d60f26e6cf1ec3984c873a96b59f1aed9fc44cdf9078bcf", - "typeString": "literal_string \"log(string,uint256,string)\"" - }, - "value": "log(string,uint256,string)" - }, - { - "id": 18569, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18558, - "src": "11843:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18570, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18560, - "src": "11847:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18571, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18562, - "src": "11851:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5970e089c65c5d431d60f26e6cf1ec3984c873a96b59f1aed9fc44cdf9078bcf", - "typeString": "literal_string \"log(string,uint256,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 18566, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11789:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18567, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11793:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11789:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18572, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11789:65:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18565, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "11773:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18573, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11773:82:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18574, - "nodeType": "ExpressionStatement", - "src": "11773:82:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11697:3:15", - "parameters": { - "id": 18563, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18558, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11715:2:15", - "nodeType": "VariableDeclaration", - "scope": 18576, - "src": "11701:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18557, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11701:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18560, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11727:2:15", - "nodeType": "VariableDeclaration", - "scope": 18576, - "src": "11719:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18559, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11719:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18562, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11745:2:15", - "nodeType": "VariableDeclaration", - "scope": 18576, - "src": "11731:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18561, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11731:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11700:48:15" - }, - "returnParameters": { - "id": 18564, - "nodeType": "ParameterList", - "parameters": [], - "src": "11763:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18596, - "nodeType": "FunctionDefinition", - "src": "11868:163:15", - "nodes": [], - "body": { - "id": 18595, - "nodeType": "Block", - "src": "11934:97:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c626f6f6c29", - "id": 18588, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11984:26:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ca7733b1b473f13a94152fab2b969755f42d925703a46c93a1825aad614f145e", - "typeString": "literal_string \"log(string,uint256,bool)\"" - }, - "value": "log(string,uint256,bool)" - }, - { - "id": 18589, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18578, - "src": "12012:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18590, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18580, - "src": "12016:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18591, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18582, - "src": "12020:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ca7733b1b473f13a94152fab2b969755f42d925703a46c93a1825aad614f145e", - "typeString": "literal_string \"log(string,uint256,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 18586, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11960:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18587, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11964:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11960:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18592, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11960:63:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18585, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "11944:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18593, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11944:80:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18594, - "nodeType": "ExpressionStatement", - "src": "11944:80:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11877:3:15", - "parameters": { - "id": 18583, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18578, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11895:2:15", - "nodeType": "VariableDeclaration", - "scope": 18596, - "src": "11881:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18577, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11881:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18580, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11907:2:15", - "nodeType": "VariableDeclaration", - "scope": 18596, - "src": "11899:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18579, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11899:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18582, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11916:2:15", - "nodeType": "VariableDeclaration", - "scope": 18596, - "src": "11911:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18581, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11911:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "11880:39:15" - }, - "returnParameters": { - "id": 18584, - "nodeType": "ParameterList", - "parameters": [], - "src": "11934:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18616, - "nodeType": "FunctionDefinition", - "src": "12037:169:15", - "nodes": [], - "body": { - "id": 18615, - "nodeType": "Block", - "src": "12106:100:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c6164647265737329", - "id": 18608, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12156:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1c7ec4485ea8bf18e646e5381f7318f45423199ed371307bc9171a4242f27335", - "typeString": "literal_string \"log(string,uint256,address)\"" - }, - "value": "log(string,uint256,address)" - }, - { - "id": 18609, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18598, - "src": "12187:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18610, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18600, - "src": "12191:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18611, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18602, - "src": "12195:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1c7ec4485ea8bf18e646e5381f7318f45423199ed371307bc9171a4242f27335", - "typeString": "literal_string \"log(string,uint256,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 18606, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12132:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18607, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12136:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12132:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12132:66:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18605, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "12116:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12116:83:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18614, - "nodeType": "ExpressionStatement", - "src": "12116:83:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12046:3:15", - "parameters": { - "id": 18603, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18598, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12064:2:15", - "nodeType": "VariableDeclaration", - "scope": 18616, - "src": "12050:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18597, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12050:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18600, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12076:2:15", - "nodeType": "VariableDeclaration", - "scope": 18616, - "src": "12068:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18599, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12068:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18602, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12088:2:15", - "nodeType": "VariableDeclaration", - "scope": 18616, - "src": "12080:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18601, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12080:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "12049:42:15" - }, - "returnParameters": { - "id": 18604, - "nodeType": "ParameterList", - "parameters": [], - "src": "12106:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18636, - "nodeType": "FunctionDefinition", - "src": "12212:174:15", - "nodes": [], - "body": { - "id": 18635, - "nodeType": "Block", - "src": "12287:99:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e7432353629", - "id": 18628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12337:28:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5821efa12787fd2b80909e807f1dcc73717b87128d89e827e5b876178f2fdbd0", - "typeString": "literal_string \"log(string,string,uint256)\"" - }, - "value": "log(string,string,uint256)" - }, - { - "id": 18629, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18618, - "src": "12367:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18630, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18620, - "src": "12371:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18631, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18622, - "src": "12375:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5821efa12787fd2b80909e807f1dcc73717b87128d89e827e5b876178f2fdbd0", - "typeString": "literal_string \"log(string,string,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 18626, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12313:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18627, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12317:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12313:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18632, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12313:65:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18625, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "12297:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18633, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12297:82:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18634, - "nodeType": "ExpressionStatement", - "src": "12297:82:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12221:3:15", - "parameters": { - "id": 18623, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18618, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12239:2:15", - "nodeType": "VariableDeclaration", - "scope": 18636, - "src": "12225:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18617, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12225:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18620, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12257:2:15", - "nodeType": "VariableDeclaration", - "scope": 18636, - "src": "12243:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18619, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12243:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18622, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12269:2:15", - "nodeType": "VariableDeclaration", - "scope": 18636, - "src": "12261:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18621, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12261:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12224:48:15" - }, - "returnParameters": { - "id": 18624, - "nodeType": "ParameterList", - "parameters": [], - "src": "12287:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18656, - "nodeType": "FunctionDefinition", - "src": "12392:179:15", - "nodes": [], - "body": { - "id": 18655, - "nodeType": "Block", - "src": "12473:98:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e6729", - "id": 18648, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12523:27:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2ced7cef693312206c21f0e92e3b54e2e16bf33db5eec350c78866822c665e1f", - "typeString": "literal_string \"log(string,string,string)\"" - }, - "value": "log(string,string,string)" - }, - { - "id": 18649, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18638, - "src": "12552:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18650, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18640, - "src": "12556:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18651, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18642, - "src": "12560:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2ced7cef693312206c21f0e92e3b54e2e16bf33db5eec350c78866822c665e1f", - "typeString": "literal_string \"log(string,string,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 18646, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12499:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18647, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12503:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12499:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12499:64:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18645, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "12483:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18653, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12483:81:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18654, - "nodeType": "ExpressionStatement", - "src": "12483:81:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12401:3:15", - "parameters": { - "id": 18643, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18638, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12419:2:15", - "nodeType": "VariableDeclaration", - "scope": 18656, - "src": "12405:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18637, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12405:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18640, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12437:2:15", - "nodeType": "VariableDeclaration", - "scope": 18656, - "src": "12423:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18639, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12423:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18642, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12455:2:15", - "nodeType": "VariableDeclaration", - "scope": 18656, - "src": "12441:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18641, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12441:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12404:54:15" - }, - "returnParameters": { - "id": 18644, - "nodeType": "ParameterList", - "parameters": [], - "src": "12473:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18676, - "nodeType": "FunctionDefinition", - "src": "12577:168:15", - "nodes": [], - "body": { - "id": 18675, - "nodeType": "Block", - "src": "12649:96:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c29", - "id": 18668, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12699:25:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b0e0f9b5ad960213f9ab262d120ce4ec3edffc58d1ad51b99628a777e82d8acb", - "typeString": "literal_string \"log(string,string,bool)\"" - }, - "value": "log(string,string,bool)" - }, - { - "id": 18669, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18658, - "src": "12726:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18670, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18660, - "src": "12730:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18671, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18662, - "src": "12734:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b0e0f9b5ad960213f9ab262d120ce4ec3edffc58d1ad51b99628a777e82d8acb", - "typeString": "literal_string \"log(string,string,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 18666, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12675:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18667, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12679:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12675:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18672, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12675:62:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18665, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "12659:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12659:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18674, - "nodeType": "ExpressionStatement", - "src": "12659:79:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12586:3:15", - "parameters": { - "id": 18663, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18658, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12604:2:15", - "nodeType": "VariableDeclaration", - "scope": 18676, - "src": "12590:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18657, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12590:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18660, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12622:2:15", - "nodeType": "VariableDeclaration", - "scope": 18676, - "src": "12608:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18659, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12608:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18662, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12631:2:15", - "nodeType": "VariableDeclaration", - "scope": 18676, - "src": "12626:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18661, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12626:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "12589:45:15" - }, - "returnParameters": { - "id": 18664, - "nodeType": "ParameterList", - "parameters": [], - "src": "12649:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18696, - "nodeType": "FunctionDefinition", - "src": "12751:174:15", - "nodes": [], - "body": { - "id": 18695, - "nodeType": "Block", - "src": "12826:99:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c6164647265737329", - "id": 18688, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12876:28:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_95ed0195ee22a092ad93d352c33e8dc78b91f0c01eab9cff270af55b2ae65768", - "typeString": "literal_string \"log(string,string,address)\"" - }, - "value": "log(string,string,address)" - }, - { - "id": 18689, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18678, - "src": "12906:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18690, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18680, - "src": "12910:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18691, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18682, - "src": "12914:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_95ed0195ee22a092ad93d352c33e8dc78b91f0c01eab9cff270af55b2ae65768", - "typeString": "literal_string \"log(string,string,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 18686, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12852:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12856:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12852:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12852:65:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18685, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "12836:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18693, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12836:82:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18694, - "nodeType": "ExpressionStatement", - "src": "12836:82:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12760:3:15", - "parameters": { - "id": 18683, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18678, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12778:2:15", - "nodeType": "VariableDeclaration", - "scope": 18696, - "src": "12764:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18677, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12764:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18680, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12796:2:15", - "nodeType": "VariableDeclaration", - "scope": 18696, - "src": "12782:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18679, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12782:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18682, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12808:2:15", - "nodeType": "VariableDeclaration", - "scope": 18696, - "src": "12800:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18681, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12800:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "12763:48:15" - }, - "returnParameters": { - "id": 18684, - "nodeType": "ParameterList", - "parameters": [], - "src": "12826:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18716, - "nodeType": "FunctionDefinition", - "src": "12931:163:15", - "nodes": [], - "body": { - "id": 18715, - "nodeType": "Block", - "src": "12997:97:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e7432353629", - "id": 18708, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13047:26:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c95958d6bc6e492868f9bea34fa0d5d3bf60736d44598880e7a9a99746b5d26a", - "typeString": "literal_string \"log(string,bool,uint256)\"" - }, - "value": "log(string,bool,uint256)" - }, - { - "id": 18709, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18698, - "src": "13075:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18710, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18700, - "src": "13079:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18711, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18702, - "src": "13083:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c95958d6bc6e492868f9bea34fa0d5d3bf60736d44598880e7a9a99746b5d26a", - "typeString": "literal_string \"log(string,bool,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 18706, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13023:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18707, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13027:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13023:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18712, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13023:63:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18705, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "13007:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13007:80:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18714, - "nodeType": "ExpressionStatement", - "src": "13007:80:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12940:3:15", - "parameters": { - "id": 18703, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18698, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12958:2:15", - "nodeType": "VariableDeclaration", - "scope": 18716, - "src": "12944:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18697, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12944:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18700, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12967:2:15", - "nodeType": "VariableDeclaration", - "scope": 18716, - "src": "12962:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18699, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12962:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18702, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12979:2:15", - "nodeType": "VariableDeclaration", - "scope": 18716, - "src": "12971:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18701, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12971:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12943:39:15" - }, - "returnParameters": { - "id": 18704, - "nodeType": "ParameterList", - "parameters": [], - "src": "12997:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18736, - "nodeType": "FunctionDefinition", - "src": "13100:168:15", - "nodes": [], - "body": { - "id": 18735, - "nodeType": "Block", - "src": "13172:96:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e6729", - "id": 18728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13222:25:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e298f47d872a89293d316b9b936000a26f83eda2ba3171b2f9f16e2bf618c3e7", - "typeString": "literal_string \"log(string,bool,string)\"" - }, - "value": "log(string,bool,string)" - }, - { - "id": 18729, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18718, - "src": "13249:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18730, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18720, - "src": "13253:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18731, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18722, - "src": "13257:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e298f47d872a89293d316b9b936000a26f83eda2ba3171b2f9f16e2bf618c3e7", - "typeString": "literal_string \"log(string,bool,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 18726, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13198:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18727, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13202:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13198:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18732, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13198:62:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18725, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "13182:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18733, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13182:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18734, - "nodeType": "ExpressionStatement", - "src": "13182:79:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13109:3:15", - "parameters": { - "id": 18723, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18718, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13127:2:15", - "nodeType": "VariableDeclaration", - "scope": 18736, - "src": "13113:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18717, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13113:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18720, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13136:2:15", - "nodeType": "VariableDeclaration", - "scope": 18736, - "src": "13131:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18719, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13131:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18722, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13154:2:15", - "nodeType": "VariableDeclaration", - "scope": 18736, - "src": "13140:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18721, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13140:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13112:45:15" - }, - "returnParameters": { - "id": 18724, - "nodeType": "ParameterList", - "parameters": [], - "src": "13172:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18756, - "nodeType": "FunctionDefinition", - "src": "13274:157:15", - "nodes": [], - "body": { - "id": 18755, - "nodeType": "Block", - "src": "13337:94:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c29", - "id": 18748, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13387:23:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_850b7ad637241a873b861925ccffb71aaffb030b1df8850f324c9804bc7b443d", - "typeString": "literal_string \"log(string,bool,bool)\"" - }, - "value": "log(string,bool,bool)" - }, - { - "id": 18749, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18738, - "src": "13412:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18750, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18740, - "src": "13416:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18751, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18742, - "src": "13420:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_850b7ad637241a873b861925ccffb71aaffb030b1df8850f324c9804bc7b443d", - "typeString": "literal_string \"log(string,bool,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 18746, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13363:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13367:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13363:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18752, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13363:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18745, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "13347:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13347:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18754, - "nodeType": "ExpressionStatement", - "src": "13347:77:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13283:3:15", - "parameters": { - "id": 18743, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18738, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13301:2:15", - "nodeType": "VariableDeclaration", - "scope": 18756, - "src": "13287:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18737, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13287:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18740, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13310:2:15", - "nodeType": "VariableDeclaration", - "scope": 18756, - "src": "13305:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18739, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13305:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18742, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13319:2:15", - "nodeType": "VariableDeclaration", - "scope": 18756, - "src": "13314:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18741, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13314:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "13286:36:15" - }, - "returnParameters": { - "id": 18744, - "nodeType": "ParameterList", - "parameters": [], - "src": "13337:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18776, - "nodeType": "FunctionDefinition", - "src": "13437:163:15", - "nodes": [], - "body": { - "id": 18775, - "nodeType": "Block", - "src": "13503:97:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c6164647265737329", - "id": 18768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13553:26:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_932bbb385d479707ff387e3bb2d8968a7b4115e938510c531aa15b50507fc27f", - "typeString": "literal_string \"log(string,bool,address)\"" - }, - "value": "log(string,bool,address)" - }, - { - "id": 18769, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18758, - "src": "13581:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18770, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18760, - "src": "13585:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18771, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18762, - "src": "13589:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_932bbb385d479707ff387e3bb2d8968a7b4115e938510c531aa15b50507fc27f", - "typeString": "literal_string \"log(string,bool,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 18766, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13529:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18767, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13533:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13529:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18772, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13529:63:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18765, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "13513:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13513:80:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18774, - "nodeType": "ExpressionStatement", - "src": "13513:80:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13446:3:15", - "parameters": { - "id": 18763, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18758, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13464:2:15", - "nodeType": "VariableDeclaration", - "scope": 18776, - "src": "13450:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18757, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13450:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18760, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13473:2:15", - "nodeType": "VariableDeclaration", - "scope": 18776, - "src": "13468:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18759, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13468:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18762, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13485:2:15", - "nodeType": "VariableDeclaration", - "scope": 18776, - "src": "13477:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18761, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13477:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "13449:39:15" - }, - "returnParameters": { - "id": 18764, - "nodeType": "ParameterList", - "parameters": [], - "src": "13503:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18796, - "nodeType": "FunctionDefinition", - "src": "13606:169:15", - "nodes": [], - "body": { - "id": 18795, - "nodeType": "Block", - "src": "13675:100:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e7432353629", - "id": 18788, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13725:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0d26b92533630e908cb95a1b2ed09291c6aa98f8da7094a2325f8c86cd45e5e4", - "typeString": "literal_string \"log(string,address,uint256)\"" - }, - "value": "log(string,address,uint256)" - }, - { - "id": 18789, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18778, - "src": "13756:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18790, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18780, - "src": "13760:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18791, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18782, - "src": "13764:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0d26b92533630e908cb95a1b2ed09291c6aa98f8da7094a2325f8c86cd45e5e4", - "typeString": "literal_string \"log(string,address,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 18786, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13701:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18787, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13705:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13701:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18792, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13701:66:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18785, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "13685:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13685:83:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18794, - "nodeType": "ExpressionStatement", - "src": "13685:83:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13615:3:15", - "parameters": { - "id": 18783, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18778, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13633:2:15", - "nodeType": "VariableDeclaration", - "scope": 18796, - "src": "13619:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18777, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13619:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18780, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13645:2:15", - "nodeType": "VariableDeclaration", - "scope": 18796, - "src": "13637:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18779, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13637:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18782, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13657:2:15", - "nodeType": "VariableDeclaration", - "scope": 18796, - "src": "13649:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18781, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13649:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13618:42:15" - }, - "returnParameters": { - "id": 18784, - "nodeType": "ParameterList", - "parameters": [], - "src": "13675:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18816, - "nodeType": "FunctionDefinition", - "src": "13781:174:15", - "nodes": [], - "body": { - "id": 18815, - "nodeType": "Block", - "src": "13856:99:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e6729", - "id": 18808, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13906:28:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e0e9ad4f87059a51cce5555e129ca819f7e5d52e9c65a4e175882207ee47d634", - "typeString": "literal_string \"log(string,address,string)\"" - }, - "value": "log(string,address,string)" - }, - { - "id": 18809, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18798, - "src": "13936:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18810, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18800, - "src": "13940:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18811, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18802, - "src": "13944:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e0e9ad4f87059a51cce5555e129ca819f7e5d52e9c65a4e175882207ee47d634", - "typeString": "literal_string \"log(string,address,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 18806, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13882:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18807, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13886:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13882:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13882:65:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18805, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "13866:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13866:82:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18814, - "nodeType": "ExpressionStatement", - "src": "13866:82:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13790:3:15", - "parameters": { - "id": 18803, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18798, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13808:2:15", - "nodeType": "VariableDeclaration", - "scope": 18816, - "src": "13794:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18797, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13794:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18800, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13820:2:15", - "nodeType": "VariableDeclaration", - "scope": 18816, - "src": "13812:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18799, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13812:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18802, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13838:2:15", - "nodeType": "VariableDeclaration", - "scope": 18816, - "src": "13824:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18801, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13824:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13793:48:15" - }, - "returnParameters": { - "id": 18804, - "nodeType": "ParameterList", - "parameters": [], - "src": "13856:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18836, - "nodeType": "FunctionDefinition", - "src": "13961:163:15", - "nodes": [], - "body": { - "id": 18835, - "nodeType": "Block", - "src": "14027:97:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c29", - "id": 18828, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14077:26:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c91d5ed4480e0b3323f998bcee9594aa98173c7324b015a4713a7c8429afd0b8", - "typeString": "literal_string \"log(string,address,bool)\"" - }, - "value": "log(string,address,bool)" - }, - { - "id": 18829, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18818, - "src": "14105:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18830, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18820, - "src": "14109:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18831, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18822, - "src": "14113:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c91d5ed4480e0b3323f998bcee9594aa98173c7324b015a4713a7c8429afd0b8", - "typeString": "literal_string \"log(string,address,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 18826, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14053:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18827, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14057:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14053:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14053:63:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18825, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "14037:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18833, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14037:80:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18834, - "nodeType": "ExpressionStatement", - "src": "14037:80:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13970:3:15", - "parameters": { - "id": 18823, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18818, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13988:2:15", - "nodeType": "VariableDeclaration", - "scope": 18836, - "src": "13974:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18817, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13974:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18820, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14000:2:15", - "nodeType": "VariableDeclaration", - "scope": 18836, - "src": "13992:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18819, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13992:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18822, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14009:2:15", - "nodeType": "VariableDeclaration", - "scope": 18836, - "src": "14004:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18821, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14004:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "13973:39:15" - }, - "returnParameters": { - "id": 18824, - "nodeType": "ParameterList", - "parameters": [], - "src": "14027:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18856, - "nodeType": "FunctionDefinition", - "src": "14130:169:15", - "nodes": [], - "body": { - "id": 18855, - "nodeType": "Block", - "src": "14199:100:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c6164647265737329", - "id": 18848, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14249:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fcec75e0902c9d61eded5d9f2eed16d5b0f2cd255fe6fa77733f59e1063823e8", - "typeString": "literal_string \"log(string,address,address)\"" - }, - "value": "log(string,address,address)" - }, - { - "id": 18849, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18838, - "src": "14280:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18850, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18840, - "src": "14284:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18851, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18842, - "src": "14288:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_fcec75e0902c9d61eded5d9f2eed16d5b0f2cd255fe6fa77733f59e1063823e8", - "typeString": "literal_string \"log(string,address,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 18846, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14225:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18847, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14229:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14225:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14225:66:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18845, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "14209:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14209:83:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18854, - "nodeType": "ExpressionStatement", - "src": "14209:83:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14139:3:15", - "parameters": { - "id": 18843, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18838, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14157:2:15", - "nodeType": "VariableDeclaration", - "scope": 18856, - "src": "14143:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18837, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14143:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18840, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14169:2:15", - "nodeType": "VariableDeclaration", - "scope": 18856, - "src": "14161:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18839, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14161:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18842, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14181:2:15", - "nodeType": "VariableDeclaration", - "scope": 18856, - "src": "14173:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18841, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14173:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14142:42:15" - }, - "returnParameters": { - "id": 18844, - "nodeType": "ParameterList", - "parameters": [], - "src": "14199:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18876, - "nodeType": "FunctionDefinition", - "src": "14305:158:15", - "nodes": [], - "body": { - "id": 18875, - "nodeType": "Block", - "src": "14365:98:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c75696e7432353629", - "id": 18868, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14415:27:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_371033677da72158a60d6dc6ec9fa4683ad37ad854670ba3fcf814603cf8bb28", - "typeString": "literal_string \"log(bool,uint256,uint256)\"" - }, - "value": "log(bool,uint256,uint256)" - }, - { - "id": 18869, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18858, - "src": "14444:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18870, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18860, - "src": "14448:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18871, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18862, - "src": "14452:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_371033677da72158a60d6dc6ec9fa4683ad37ad854670ba3fcf814603cf8bb28", - "typeString": "literal_string \"log(bool,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 18866, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14391:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18867, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14395:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14391:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18872, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14391:64:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18865, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "14375:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14375:81:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18874, - "nodeType": "ExpressionStatement", - "src": "14375:81:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14314:3:15", - "parameters": { - "id": 18863, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18858, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14323:2:15", - "nodeType": "VariableDeclaration", - "scope": 18876, - "src": "14318:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18857, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14318:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18860, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14335:2:15", - "nodeType": "VariableDeclaration", - "scope": 18876, - "src": "14327:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18859, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14327:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18862, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14347:2:15", - "nodeType": "VariableDeclaration", - "scope": 18876, - "src": "14339:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18861, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14339:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "14317:33:15" - }, - "returnParameters": { - "id": 18864, - "nodeType": "ParameterList", - "parameters": [], - "src": "14365:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18896, - "nodeType": "FunctionDefinition", - "src": "14469:163:15", - "nodes": [], - "body": { - "id": 18895, - "nodeType": "Block", - "src": "14535:97:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c737472696e6729", - "id": 18888, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14585:26:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c3fc3970359ec5bcd4a409af812c658e77b7983043c9e7299db566fbd8131447", - "typeString": "literal_string \"log(bool,uint256,string)\"" - }, - "value": "log(bool,uint256,string)" - }, - { - "id": 18889, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18878, - "src": "14613:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18890, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18880, - "src": "14617:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18891, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18882, - "src": "14621:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c3fc3970359ec5bcd4a409af812c658e77b7983043c9e7299db566fbd8131447", - "typeString": "literal_string \"log(bool,uint256,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 18886, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14561:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18887, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14565:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14561:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14561:63:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18885, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "14545:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18893, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14545:80:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18894, - "nodeType": "ExpressionStatement", - "src": "14545:80:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14478:3:15", - "parameters": { - "id": 18883, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18878, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14487:2:15", - "nodeType": "VariableDeclaration", - "scope": 18896, - "src": "14482:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18877, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14482:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18880, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14499:2:15", - "nodeType": "VariableDeclaration", - "scope": 18896, - "src": "14491:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18879, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14491:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18882, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14517:2:15", - "nodeType": "VariableDeclaration", - "scope": 18896, - "src": "14503:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18881, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14503:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "14481:39:15" - }, - "returnParameters": { - "id": 18884, - "nodeType": "ParameterList", - "parameters": [], - "src": "14535:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18916, - "nodeType": "FunctionDefinition", - "src": "14638:152:15", - "nodes": [], - "body": { - "id": 18915, - "nodeType": "Block", - "src": "14695:95:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c626f6f6c29", - "id": 18908, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14745:24:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e8defba9dac8a3ed4ad0f711b733171fd223b5d127b3485540d69bec05995a26", - "typeString": "literal_string \"log(bool,uint256,bool)\"" - }, - "value": "log(bool,uint256,bool)" - }, - { - "id": 18909, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18898, - "src": "14771:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18910, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18900, - "src": "14775:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18911, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18902, - "src": "14779:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e8defba9dac8a3ed4ad0f711b733171fd223b5d127b3485540d69bec05995a26", - "typeString": "literal_string \"log(bool,uint256,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 18906, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14721:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18907, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14725:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14721:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18912, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14721:61:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18905, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "14705:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18913, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14705:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18914, - "nodeType": "ExpressionStatement", - "src": "14705:78:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14647:3:15", - "parameters": { - "id": 18903, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18898, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14656:2:15", - "nodeType": "VariableDeclaration", - "scope": 18916, - "src": "14651:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18897, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14651:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18900, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14668:2:15", - "nodeType": "VariableDeclaration", - "scope": 18916, - "src": "14660:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18899, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14660:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18902, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14677:2:15", - "nodeType": "VariableDeclaration", - "scope": 18916, - "src": "14672:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18901, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14672:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "14650:30:15" - }, - "returnParameters": { - "id": 18904, - "nodeType": "ParameterList", - "parameters": [], - "src": "14695:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18936, - "nodeType": "FunctionDefinition", - "src": "14796:158:15", - "nodes": [], - "body": { - "id": 18935, - "nodeType": "Block", - "src": "14856:98:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c6164647265737329", - "id": 18928, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14906:27:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_088ef9d2f4d01d13401423c19b7f189200a7ad3f567d9e20f37299f94f92f574", - "typeString": "literal_string \"log(bool,uint256,address)\"" - }, - "value": "log(bool,uint256,address)" - }, - { - "id": 18929, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18918, - "src": "14935:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18930, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18920, - "src": "14939:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18931, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18922, - "src": "14943:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_088ef9d2f4d01d13401423c19b7f189200a7ad3f567d9e20f37299f94f92f574", - "typeString": "literal_string \"log(bool,uint256,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 18926, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14882:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18927, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14886:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14882:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18932, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14882:64:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18925, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "14866:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18933, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14866:81:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18934, - "nodeType": "ExpressionStatement", - "src": "14866:81:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14805:3:15", - "parameters": { - "id": 18923, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18918, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14814:2:15", - "nodeType": "VariableDeclaration", - "scope": 18936, - "src": "14809:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18917, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14809:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18920, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14826:2:15", - "nodeType": "VariableDeclaration", - "scope": 18936, - "src": "14818:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18919, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14818:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18922, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14838:2:15", - "nodeType": "VariableDeclaration", - "scope": 18936, - "src": "14830:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18921, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14830:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14808:33:15" - }, - "returnParameters": { - "id": 18924, - "nodeType": "ParameterList", - "parameters": [], - "src": "14856:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18956, - "nodeType": "FunctionDefinition", - "src": "14960:163:15", - "nodes": [], - "body": { - "id": 18955, - "nodeType": "Block", - "src": "15026:97:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e7432353629", - "id": 18948, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15076:26:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1093ee11e671928331708700100b356c86a8494f33b170ddcffd95462a0adf64", - "typeString": "literal_string \"log(bool,string,uint256)\"" - }, - "value": "log(bool,string,uint256)" - }, - { - "id": 18949, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18938, - "src": "15104:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18950, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18940, - "src": "15108:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18951, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18942, - "src": "15112:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1093ee11e671928331708700100b356c86a8494f33b170ddcffd95462a0adf64", - "typeString": "literal_string \"log(bool,string,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 18946, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15052:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18947, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15056:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15052:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18952, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15052:63:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18945, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "15036:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18953, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15036:80:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18954, - "nodeType": "ExpressionStatement", - "src": "15036:80:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14969:3:15", - "parameters": { - "id": 18943, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18938, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14978:2:15", - "nodeType": "VariableDeclaration", - "scope": 18956, - "src": "14973:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18937, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14973:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18940, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14996:2:15", - "nodeType": "VariableDeclaration", - "scope": 18956, - "src": "14982:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18939, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14982:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18942, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15008:2:15", - "nodeType": "VariableDeclaration", - "scope": 18956, - "src": "15000:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18941, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15000:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "14972:39:15" - }, - "returnParameters": { - "id": 18944, - "nodeType": "ParameterList", - "parameters": [], - "src": "15026:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18976, - "nodeType": "FunctionDefinition", - "src": "15129:168:15", - "nodes": [], - "body": { - "id": 18975, - "nodeType": "Block", - "src": "15201:96:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e6729", - "id": 18968, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15251:25:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b076847f8b4aee0cfbf46ec501532f9f3c85a581aff135287ff8e917c0a39102", - "typeString": "literal_string \"log(bool,string,string)\"" - }, - "value": "log(bool,string,string)" - }, - { - "id": 18969, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18958, - "src": "15278:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18970, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18960, - "src": "15282:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18971, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18962, - "src": "15286:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b076847f8b4aee0cfbf46ec501532f9f3c85a581aff135287ff8e917c0a39102", - "typeString": "literal_string \"log(bool,string,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 18966, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15227:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18967, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15231:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15227:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15227:62:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18965, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "15211:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15211:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18974, - "nodeType": "ExpressionStatement", - "src": "15211:79:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15138:3:15", - "parameters": { - "id": 18963, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18958, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15147:2:15", - "nodeType": "VariableDeclaration", - "scope": 18976, - "src": "15142:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18957, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15142:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18960, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15165:2:15", - "nodeType": "VariableDeclaration", - "scope": 18976, - "src": "15151:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18959, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15151:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18962, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15183:2:15", - "nodeType": "VariableDeclaration", - "scope": 18976, - "src": "15169:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18961, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15169:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "15141:45:15" - }, - "returnParameters": { - "id": 18964, - "nodeType": "ParameterList", - "parameters": [], - "src": "15201:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18996, - "nodeType": "FunctionDefinition", - "src": "15303:157:15", - "nodes": [], - "body": { - "id": 18995, - "nodeType": "Block", - "src": "15366:94:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c29", - "id": 18988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15416:23:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dbb4c2477dacc98e0e5b96fd6ca6bf0ae1f82dd042439d9f53f8d963bef43eaa", - "typeString": "literal_string \"log(bool,string,bool)\"" - }, - "value": "log(bool,string,bool)" - }, - { - "id": 18989, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18978, - "src": "15441:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18990, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18980, - "src": "15445:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18991, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18982, - "src": "15449:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_dbb4c2477dacc98e0e5b96fd6ca6bf0ae1f82dd042439d9f53f8d963bef43eaa", - "typeString": "literal_string \"log(bool,string,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 18986, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15392:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18987, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15396:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15392:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15392:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18985, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "15376:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18993, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15376:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18994, - "nodeType": "ExpressionStatement", - "src": "15376:77:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15312:3:15", - "parameters": { - "id": 18983, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18978, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15321:2:15", - "nodeType": "VariableDeclaration", - "scope": 18996, - "src": "15316:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18977, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15316:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18980, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15339:2:15", - "nodeType": "VariableDeclaration", - "scope": 18996, - "src": "15325:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18979, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15325:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18982, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15348:2:15", - "nodeType": "VariableDeclaration", - "scope": 18996, - "src": "15343:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18981, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15343:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "15315:36:15" - }, - "returnParameters": { - "id": 18984, - "nodeType": "ParameterList", - "parameters": [], - "src": "15366:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19016, - "nodeType": "FunctionDefinition", - "src": "15466:163:15", - "nodes": [], - "body": { - "id": 19015, - "nodeType": "Block", - "src": "15532:97:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c6164647265737329", - "id": 19008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15582:26:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9591b953c9b1d0af9d1e3bc0f6ea9aa5b0e1af8c702f85b36e21b9b2d7e4da79", - "typeString": "literal_string \"log(bool,string,address)\"" - }, - "value": "log(bool,string,address)" - }, - { - "id": 19009, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18998, - "src": "15610:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19010, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19000, - "src": "15614:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19011, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19002, - "src": "15618:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9591b953c9b1d0af9d1e3bc0f6ea9aa5b0e1af8c702f85b36e21b9b2d7e4da79", - "typeString": "literal_string \"log(bool,string,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 19006, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15558:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19007, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15562:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15558:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19012, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15558:63:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19005, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "15542:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15542:80:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19014, - "nodeType": "ExpressionStatement", - "src": "15542:80:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15475:3:15", - "parameters": { - "id": 19003, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18998, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15484:2:15", - "nodeType": "VariableDeclaration", - "scope": 19016, - "src": "15479:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18997, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15479:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19000, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15502:2:15", - "nodeType": "VariableDeclaration", - "scope": 19016, - "src": "15488:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18999, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15488:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19002, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15514:2:15", - "nodeType": "VariableDeclaration", - "scope": 19016, - "src": "15506:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19001, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15506:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "15478:39:15" - }, - "returnParameters": { - "id": 19004, - "nodeType": "ParameterList", - "parameters": [], - "src": "15532:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19036, - "nodeType": "FunctionDefinition", - "src": "15635:152:15", - "nodes": [], - "body": { - "id": 19035, - "nodeType": "Block", - "src": "15692:95:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e7432353629", - "id": 19028, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15742:24:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_12f216023a0243e7ece19b75fc4619b59ea663e0aefdf2e4b1faa16a9fa3a211", - "typeString": "literal_string \"log(bool,bool,uint256)\"" - }, - "value": "log(bool,bool,uint256)" - }, - { - "id": 19029, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19018, - "src": "15768:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19030, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19020, - "src": "15772:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19031, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19022, - "src": "15776:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_12f216023a0243e7ece19b75fc4619b59ea663e0aefdf2e4b1faa16a9fa3a211", - "typeString": "literal_string \"log(bool,bool,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 19026, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15718:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19027, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15722:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15718:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19032, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15718:61:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19025, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "15702:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19033, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15702:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19034, - "nodeType": "ExpressionStatement", - "src": "15702:78:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15644:3:15", - "parameters": { - "id": 19023, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19018, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15653:2:15", - "nodeType": "VariableDeclaration", - "scope": 19036, - "src": "15648:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19017, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15648:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19020, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15662:2:15", - "nodeType": "VariableDeclaration", - "scope": 19036, - "src": "15657:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19019, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15657:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19022, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15674:2:15", - "nodeType": "VariableDeclaration", - "scope": 19036, - "src": "15666:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19021, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15666:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "15647:30:15" - }, - "returnParameters": { - "id": 19024, - "nodeType": "ParameterList", - "parameters": [], - "src": "15692:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19056, - "nodeType": "FunctionDefinition", - "src": "15793:157:15", - "nodes": [], - "body": { - "id": 19055, - "nodeType": "Block", - "src": "15856:94:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e6729", - "id": 19048, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15906:23:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2555fa465662416fc443b21c515f245dc550a66f7c658773f7bd7ad91c82f2cc", - "typeString": "literal_string \"log(bool,bool,string)\"" - }, - "value": "log(bool,bool,string)" - }, - { - "id": 19049, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19038, - "src": "15931:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19050, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19040, - "src": "15935:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19051, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19042, - "src": "15939:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2555fa465662416fc443b21c515f245dc550a66f7c658773f7bd7ad91c82f2cc", - "typeString": "literal_string \"log(bool,bool,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 19046, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15882:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19047, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15886:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15882:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19052, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15882:60:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19045, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "15866:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15866:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19054, - "nodeType": "ExpressionStatement", - "src": "15866:77:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15802:3:15", - "parameters": { - "id": 19043, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19038, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15811:2:15", - "nodeType": "VariableDeclaration", - "scope": 19056, - "src": "15806:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19037, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15806:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19040, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15820:2:15", - "nodeType": "VariableDeclaration", - "scope": 19056, - "src": "15815:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19039, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15815:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19042, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15838:2:15", - "nodeType": "VariableDeclaration", - "scope": 19056, - "src": "15824:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19041, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15824:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "15805:36:15" - }, - "returnParameters": { - "id": 19044, - "nodeType": "ParameterList", - "parameters": [], - "src": "15856:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19076, - "nodeType": "FunctionDefinition", - "src": "15956:146:15", - "nodes": [], - "body": { - "id": 19075, - "nodeType": "Block", - "src": "16010:92:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c29", - "id": 19068, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16060:21:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_50709698278bb02f656e4ac53a2ae8ef0ec4064d340360a5fa4d933e9a742590", - "typeString": "literal_string \"log(bool,bool,bool)\"" - }, - "value": "log(bool,bool,bool)" - }, - { - "id": 19069, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19058, - "src": "16083:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19070, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19060, - "src": "16087:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19071, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19062, - "src": "16091:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_50709698278bb02f656e4ac53a2ae8ef0ec4064d340360a5fa4d933e9a742590", - "typeString": "literal_string \"log(bool,bool,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 19066, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16036:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19067, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16040:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16036:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16036:58:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19065, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "16020:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19073, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16020:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19074, - "nodeType": "ExpressionStatement", - "src": "16020:75:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15965:3:15", - "parameters": { - "id": 19063, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19058, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15974:2:15", - "nodeType": "VariableDeclaration", - "scope": 19076, - "src": "15969:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19057, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15969:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19060, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15983:2:15", - "nodeType": "VariableDeclaration", - "scope": 19076, - "src": "15978:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19059, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15978:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19062, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15992:2:15", - "nodeType": "VariableDeclaration", - "scope": 19076, - "src": "15987:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19061, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15987:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "15968:27:15" - }, - "returnParameters": { - "id": 19064, - "nodeType": "ParameterList", - "parameters": [], - "src": "16010:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19096, - "nodeType": "FunctionDefinition", - "src": "16108:152:15", - "nodes": [], - "body": { - "id": 19095, - "nodeType": "Block", - "src": "16165:95:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c6164647265737329", - "id": 19088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16215:24:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1078f68da6ddbbe80f829fe8d54d1f2c6347e1ee4ec5a2a7a3a330ada9eccf81", - "typeString": "literal_string \"log(bool,bool,address)\"" - }, - "value": "log(bool,bool,address)" - }, - { - "id": 19089, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19078, - "src": "16241:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19090, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19080, - "src": "16245:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19091, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19082, - "src": "16249:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1078f68da6ddbbe80f829fe8d54d1f2c6347e1ee4ec5a2a7a3a330ada9eccf81", - "typeString": "literal_string \"log(bool,bool,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 19086, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16191:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19087, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16195:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16191:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19092, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16191:61:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19085, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "16175:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16175:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19094, - "nodeType": "ExpressionStatement", - "src": "16175:78:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16117:3:15", - "parameters": { - "id": 19083, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19078, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16126:2:15", - "nodeType": "VariableDeclaration", - "scope": 19096, - "src": "16121:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19077, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16121:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19080, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16135:2:15", - "nodeType": "VariableDeclaration", - "scope": 19096, - "src": "16130:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19079, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16130:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19082, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16147:2:15", - "nodeType": "VariableDeclaration", - "scope": 19096, - "src": "16139:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19081, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16139:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "16120:30:15" - }, - "returnParameters": { - "id": 19084, - "nodeType": "ParameterList", - "parameters": [], - "src": "16165:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19116, - "nodeType": "FunctionDefinition", - "src": "16266:158:15", - "nodes": [], - "body": { - "id": 19115, - "nodeType": "Block", - "src": "16326:98:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e7432353629", - "id": 19108, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16376:27:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5f7b9afb4f9ee9df3fee50155d0accfa23536f443bcbc89ec11f75df422d05ac", - "typeString": "literal_string \"log(bool,address,uint256)\"" - }, - "value": "log(bool,address,uint256)" - }, - { - "id": 19109, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19098, - "src": "16405:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19110, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19100, - "src": "16409:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19111, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19102, - "src": "16413:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5f7b9afb4f9ee9df3fee50155d0accfa23536f443bcbc89ec11f75df422d05ac", - "typeString": "literal_string \"log(bool,address,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 19106, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16352:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19107, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16356:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16352:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16352:64:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19105, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "16336:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19113, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16336:81:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19114, - "nodeType": "ExpressionStatement", - "src": "16336:81:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16275:3:15", - "parameters": { - "id": 19103, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19098, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16284:2:15", - "nodeType": "VariableDeclaration", - "scope": 19116, - "src": "16279:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19097, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16279:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19100, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16296:2:15", - "nodeType": "VariableDeclaration", - "scope": 19116, - "src": "16288:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19099, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16288:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19102, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16308:2:15", - "nodeType": "VariableDeclaration", - "scope": 19116, - "src": "16300:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19101, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16300:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "16278:33:15" - }, - "returnParameters": { - "id": 19104, - "nodeType": "ParameterList", - "parameters": [], - "src": "16326:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19136, - "nodeType": "FunctionDefinition", - "src": "16430:163:15", - "nodes": [], - "body": { - "id": 19135, - "nodeType": "Block", - "src": "16496:97:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e6729", - "id": 19128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16546:26:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_de9a927090b15ed84eefc0c471675a23ce67fd75011b1652fe17ca2dd0dcd06d", - "typeString": "literal_string \"log(bool,address,string)\"" - }, - "value": "log(bool,address,string)" - }, - { - "id": 19129, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19118, - "src": "16574:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19130, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19120, - "src": "16578:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19131, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19122, - "src": "16582:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_de9a927090b15ed84eefc0c471675a23ce67fd75011b1652fe17ca2dd0dcd06d", - "typeString": "literal_string \"log(bool,address,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 19126, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16522:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19127, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16526:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16522:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19132, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16522:63:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19125, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "16506:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16506:80:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19134, - "nodeType": "ExpressionStatement", - "src": "16506:80:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16439:3:15", - "parameters": { - "id": 19123, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19118, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16448:2:15", - "nodeType": "VariableDeclaration", - "scope": 19136, - "src": "16443:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19117, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16443:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19120, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16460:2:15", - "nodeType": "VariableDeclaration", - "scope": 19136, - "src": "16452:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19119, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16452:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19122, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16478:2:15", - "nodeType": "VariableDeclaration", - "scope": 19136, - "src": "16464:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19121, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16464:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "16442:39:15" - }, - "returnParameters": { - "id": 19124, - "nodeType": "ParameterList", - "parameters": [], - "src": "16496:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19156, - "nodeType": "FunctionDefinition", - "src": "16599:152:15", - "nodes": [], - "body": { - "id": 19155, - "nodeType": "Block", - "src": "16656:95:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c29", - "id": 19148, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16706:24:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_18c9c746c9d0e38e4dc234ee76e678bbaa4e473eca3dce0969637d7f01e4a908", - "typeString": "literal_string \"log(bool,address,bool)\"" - }, - "value": "log(bool,address,bool)" - }, - { - "id": 19149, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19138, - "src": "16732:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19150, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19140, - "src": "16736:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19151, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19142, - "src": "16740:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_18c9c746c9d0e38e4dc234ee76e678bbaa4e473eca3dce0969637d7f01e4a908", - "typeString": "literal_string \"log(bool,address,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 19146, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16682:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19147, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16686:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16682:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19152, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16682:61:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19145, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "16666:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19153, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16666:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19154, - "nodeType": "ExpressionStatement", - "src": "16666:78:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16608:3:15", - "parameters": { - "id": 19143, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19138, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16617:2:15", - "nodeType": "VariableDeclaration", - "scope": 19156, - "src": "16612:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19137, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16612:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19140, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16629:2:15", - "nodeType": "VariableDeclaration", - "scope": 19156, - "src": "16621:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19139, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16621:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19142, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16638:2:15", - "nodeType": "VariableDeclaration", - "scope": 19156, - "src": "16633:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19141, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16633:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "16611:30:15" - }, - "returnParameters": { - "id": 19144, - "nodeType": "ParameterList", - "parameters": [], - "src": "16656:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19176, - "nodeType": "FunctionDefinition", - "src": "16757:158:15", - "nodes": [], - "body": { - "id": 19175, - "nodeType": "Block", - "src": "16817:98:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c6164647265737329", - "id": 19168, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16867:27:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d2763667477f08a6a3f8ce84e1cc1aeb5e67ee2996f5f36e8939da2b8b8f0265", - "typeString": "literal_string \"log(bool,address,address)\"" - }, - "value": "log(bool,address,address)" - }, - { - "id": 19169, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19158, - "src": "16896:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19170, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19160, - "src": "16900:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19171, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19162, - "src": "16904:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d2763667477f08a6a3f8ce84e1cc1aeb5e67ee2996f5f36e8939da2b8b8f0265", - "typeString": "literal_string \"log(bool,address,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 19166, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16843:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19167, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16847:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16843:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19172, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16843:64:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19165, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "16827:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16827:81:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19174, - "nodeType": "ExpressionStatement", - "src": "16827:81:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16766:3:15", - "parameters": { - "id": 19163, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19158, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16775:2:15", - "nodeType": "VariableDeclaration", - "scope": 19176, - "src": "16770:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19157, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16770:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19160, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16787:2:15", - "nodeType": "VariableDeclaration", - "scope": 19176, - "src": "16779:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19159, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16779:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19162, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16799:2:15", - "nodeType": "VariableDeclaration", - "scope": 19176, - "src": "16791:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19161, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16791:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "16769:33:15" - }, - "returnParameters": { - "id": 19164, - "nodeType": "ParameterList", - "parameters": [], - "src": "16817:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19196, - "nodeType": "FunctionDefinition", - "src": "16921:164:15", - "nodes": [], - "body": { - "id": 19195, - "nodeType": "Block", - "src": "16984:101:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c75696e7432353629", - "id": 19188, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17034:30:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b69bcaf6823fa467c87c127df102001d1ca4e8a6dc08cab8aa1e5ab4a0ae8c76", - "typeString": "literal_string \"log(address,uint256,uint256)\"" - }, - "value": "log(address,uint256,uint256)" - }, - { - "id": 19189, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19178, - "src": "17066:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19190, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19180, - "src": "17070:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19191, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19182, - "src": "17074:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b69bcaf6823fa467c87c127df102001d1ca4e8a6dc08cab8aa1e5ab4a0ae8c76", - "typeString": "literal_string \"log(address,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 19186, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17010:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19187, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17014:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17010:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19192, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17010:67:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19185, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "16994:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19193, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16994:84:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19194, - "nodeType": "ExpressionStatement", - "src": "16994:84:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16930:3:15", - "parameters": { - "id": 19183, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19178, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16942:2:15", - "nodeType": "VariableDeclaration", - "scope": 19196, - "src": "16934:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19177, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16934:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19180, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16954:2:15", - "nodeType": "VariableDeclaration", - "scope": 19196, - "src": "16946:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19179, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16946:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19182, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16966:2:15", - "nodeType": "VariableDeclaration", - "scope": 19196, - "src": "16958:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19181, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16958:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "16933:36:15" - }, - "returnParameters": { - "id": 19184, - "nodeType": "ParameterList", - "parameters": [], - "src": "16984:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19216, - "nodeType": "FunctionDefinition", - "src": "17091:169:15", - "nodes": [], - "body": { - "id": 19215, - "nodeType": "Block", - "src": "17160:100:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c737472696e6729", - "id": 19208, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17210:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a1f2e8aa7ff0c088860d7b3f0d1dc288d8e8a07808525cc31a5691f1bc0e149d", - "typeString": "literal_string \"log(address,uint256,string)\"" - }, - "value": "log(address,uint256,string)" - }, - { - "id": 19209, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19198, - "src": "17241:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19210, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19200, - "src": "17245:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19211, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19202, - "src": "17249:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a1f2e8aa7ff0c088860d7b3f0d1dc288d8e8a07808525cc31a5691f1bc0e149d", - "typeString": "literal_string \"log(address,uint256,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 19206, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17186:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19207, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17190:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17186:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19212, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17186:66:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19205, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "17170:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19213, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17170:83:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19214, - "nodeType": "ExpressionStatement", - "src": "17170:83:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17100:3:15", - "parameters": { - "id": 19203, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19198, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17112:2:15", - "nodeType": "VariableDeclaration", - "scope": 19216, - "src": "17104:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19197, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17104:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19200, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17124:2:15", - "nodeType": "VariableDeclaration", - "scope": 19216, - "src": "17116:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19199, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17116:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19202, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17142:2:15", - "nodeType": "VariableDeclaration", - "scope": 19216, - "src": "17128:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19201, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17128:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "17103:42:15" - }, - "returnParameters": { - "id": 19204, - "nodeType": "ParameterList", - "parameters": [], - "src": "17160:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19236, - "nodeType": "FunctionDefinition", - "src": "17266:158:15", - "nodes": [], - "body": { - "id": 19235, - "nodeType": "Block", - "src": "17326:98:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c626f6f6c29", - "id": 19228, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17376:27:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_678209a8f42181c670dc624bae130f552678a896a5cb06db485524796aca1390", - "typeString": "literal_string \"log(address,uint256,bool)\"" - }, - "value": "log(address,uint256,bool)" - }, - { - "id": 19229, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19218, - "src": "17405:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19230, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19220, - "src": "17409:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19231, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19222, - "src": "17413:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_678209a8f42181c670dc624bae130f552678a896a5cb06db485524796aca1390", - "typeString": "literal_string \"log(address,uint256,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 19226, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17352:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19227, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17356:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17352:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17352:64:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19225, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "17336:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19233, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17336:81:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19234, - "nodeType": "ExpressionStatement", - "src": "17336:81:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17275:3:15", - "parameters": { - "id": 19223, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19218, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17287:2:15", - "nodeType": "VariableDeclaration", - "scope": 19236, - "src": "17279:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19217, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17279:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19220, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17299:2:15", - "nodeType": "VariableDeclaration", - "scope": 19236, - "src": "17291:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19219, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17291:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19222, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17308:2:15", - "nodeType": "VariableDeclaration", - "scope": 19236, - "src": "17303:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19221, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "17303:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "17278:33:15" - }, - "returnParameters": { - "id": 19224, - "nodeType": "ParameterList", - "parameters": [], - "src": "17326:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19256, - "nodeType": "FunctionDefinition", - "src": "17430:164:15", - "nodes": [], - "body": { - "id": 19255, - "nodeType": "Block", - "src": "17493:101:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c6164647265737329", - "id": 19248, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17543:30:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7bc0d848840f8a2b7df87b30af9a8d9856aea86658fd890c9e8abce72cda0b36", - "typeString": "literal_string \"log(address,uint256,address)\"" - }, - "value": "log(address,uint256,address)" - }, - { - "id": 19249, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19238, - "src": "17575:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19250, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19240, - "src": "17579:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19251, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19242, - "src": "17583:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7bc0d848840f8a2b7df87b30af9a8d9856aea86658fd890c9e8abce72cda0b36", - "typeString": "literal_string \"log(address,uint256,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 19246, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17519:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19247, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17523:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17519:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17519:67:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19245, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "17503:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17503:84:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19254, - "nodeType": "ExpressionStatement", - "src": "17503:84:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17439:3:15", - "parameters": { - "id": 19243, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19238, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17451:2:15", - "nodeType": "VariableDeclaration", - "scope": 19256, - "src": "17443:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19237, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17443:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19240, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17463:2:15", - "nodeType": "VariableDeclaration", - "scope": 19256, - "src": "17455:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19239, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17455:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19242, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17475:2:15", - "nodeType": "VariableDeclaration", - "scope": 19256, - "src": "17467:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19241, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17467:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "17442:36:15" - }, - "returnParameters": { - "id": 19244, - "nodeType": "ParameterList", - "parameters": [], - "src": "17493:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19276, - "nodeType": "FunctionDefinition", - "src": "17600:169:15", - "nodes": [], - "body": { - "id": 19275, - "nodeType": "Block", - "src": "17669:100:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e7432353629", - "id": 19268, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17719:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_67dd6ff15de5c635b9900811039f919659774d9843a07b7bcdfb1b54315e9200", - "typeString": "literal_string \"log(address,string,uint256)\"" - }, - "value": "log(address,string,uint256)" - }, - { - "id": 19269, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19258, - "src": "17750:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19270, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19260, - "src": "17754:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19271, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19262, - "src": "17758:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_67dd6ff15de5c635b9900811039f919659774d9843a07b7bcdfb1b54315e9200", - "typeString": "literal_string \"log(address,string,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 19266, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17695:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19267, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17699:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17695:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19272, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17695:66:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19265, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "17679:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17679:83:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19274, - "nodeType": "ExpressionStatement", - "src": "17679:83:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17609:3:15", - "parameters": { - "id": 19263, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19258, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17621:2:15", - "nodeType": "VariableDeclaration", - "scope": 19276, - "src": "17613:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19257, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17613:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19260, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17639:2:15", - "nodeType": "VariableDeclaration", - "scope": 19276, - "src": "17625:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19259, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17625:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19262, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17651:2:15", - "nodeType": "VariableDeclaration", - "scope": 19276, - "src": "17643:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19261, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17643:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17612:42:15" - }, - "returnParameters": { - "id": 19264, - "nodeType": "ParameterList", - "parameters": [], - "src": "17669:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19296, - "nodeType": "FunctionDefinition", - "src": "17775:174:15", - "nodes": [], - "body": { - "id": 19295, - "nodeType": "Block", - "src": "17850:99:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e6729", - "id": 19288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17900:28:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fb77226597c11cd0c52945168d7176a06b9af41edea6a51823db111f35573158", - "typeString": "literal_string \"log(address,string,string)\"" - }, - "value": "log(address,string,string)" - }, - { - "id": 19289, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19278, - "src": "17930:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19290, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19280, - "src": "17934:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19291, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19282, - "src": "17938:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_fb77226597c11cd0c52945168d7176a06b9af41edea6a51823db111f35573158", - "typeString": "literal_string \"log(address,string,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 19286, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17876:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19287, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17880:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17876:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19292, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17876:65:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19285, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "17860:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17860:82:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19294, - "nodeType": "ExpressionStatement", - "src": "17860:82:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17784:3:15", - "parameters": { - "id": 19283, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19278, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17796:2:15", - "nodeType": "VariableDeclaration", - "scope": 19296, - "src": "17788:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19277, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17788:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19280, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17814:2:15", - "nodeType": "VariableDeclaration", - "scope": 19296, - "src": "17800:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19279, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17800:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19282, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17832:2:15", - "nodeType": "VariableDeclaration", - "scope": 19296, - "src": "17818:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19281, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17818:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "17787:48:15" - }, - "returnParameters": { - "id": 19284, - "nodeType": "ParameterList", - "parameters": [], - "src": "17850:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19316, - "nodeType": "FunctionDefinition", - "src": "17955:163:15", - "nodes": [], - "body": { - "id": 19315, - "nodeType": "Block", - "src": "18021:97:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c29", - "id": 19308, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18071:26:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cf020fb14f49566c5748de1f455c699a10a4ed1d7cf32f9adb28d22878df1b96", - "typeString": "literal_string \"log(address,string,bool)\"" - }, - "value": "log(address,string,bool)" - }, - { - "id": 19309, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19298, - "src": "18099:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19310, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19300, - "src": "18103:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19311, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19302, - "src": "18107:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cf020fb14f49566c5748de1f455c699a10a4ed1d7cf32f9adb28d22878df1b96", - "typeString": "literal_string \"log(address,string,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 19306, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18047:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19307, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18051:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18047:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19312, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18047:63:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19305, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "18031:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18031:80:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19314, - "nodeType": "ExpressionStatement", - "src": "18031:80:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17964:3:15", - "parameters": { - "id": 19303, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19298, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17976:2:15", - "nodeType": "VariableDeclaration", - "scope": 19316, - "src": "17968:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19297, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17968:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19300, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17994:2:15", - "nodeType": "VariableDeclaration", - "scope": 19316, - "src": "17980:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19299, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17980:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19302, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18003:2:15", - "nodeType": "VariableDeclaration", - "scope": 19316, - "src": "17998:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19301, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "17998:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "17967:39:15" - }, - "returnParameters": { - "id": 19304, - "nodeType": "ParameterList", - "parameters": [], - "src": "18021:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19336, - "nodeType": "FunctionDefinition", - "src": "18124:169:15", - "nodes": [], - "body": { - "id": 19335, - "nodeType": "Block", - "src": "18193:100:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c6164647265737329", - "id": 19328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18243:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f08744e82875525f1ef885a48453f58e96cac98a5d32bd6d8c38e4977aede231", - "typeString": "literal_string \"log(address,string,address)\"" - }, - "value": "log(address,string,address)" - }, - { - "id": 19329, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19318, - "src": "18274:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19330, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19320, - "src": "18278:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19331, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19322, - "src": "18282:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f08744e82875525f1ef885a48453f58e96cac98a5d32bd6d8c38e4977aede231", - "typeString": "literal_string \"log(address,string,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 19326, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18219:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19327, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18223:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18219:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19332, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18219:66:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19325, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "18203:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18203:83:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19334, - "nodeType": "ExpressionStatement", - "src": "18203:83:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18133:3:15", - "parameters": { - "id": 19323, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19318, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18145:2:15", - "nodeType": "VariableDeclaration", - "scope": 19336, - "src": "18137:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19317, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18137:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19320, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18163:2:15", - "nodeType": "VariableDeclaration", - "scope": 19336, - "src": "18149:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19319, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18149:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19322, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18175:2:15", - "nodeType": "VariableDeclaration", - "scope": 19336, - "src": "18167:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19321, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18167:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "18136:42:15" - }, - "returnParameters": { - "id": 19324, - "nodeType": "ParameterList", - "parameters": [], - "src": "18193:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19356, - "nodeType": "FunctionDefinition", - "src": "18299:158:15", - "nodes": [], - "body": { - "id": 19355, - "nodeType": "Block", - "src": "18359:98:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e7432353629", - "id": 19348, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18409:27:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9c4f99fb8e27f663a71adc9f15ace4bdc959202f3b7faa1c8ca25e5e7e8568f9", - "typeString": "literal_string \"log(address,bool,uint256)\"" - }, - "value": "log(address,bool,uint256)" - }, - { - "id": 19349, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19338, - "src": "18438:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19350, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19340, - "src": "18442:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19351, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19342, - "src": "18446:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9c4f99fb8e27f663a71adc9f15ace4bdc959202f3b7faa1c8ca25e5e7e8568f9", - "typeString": "literal_string \"log(address,bool,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 19346, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18385:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19347, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18389:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18385:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19352, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18385:64:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19345, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "18369:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19353, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18369:81:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19354, - "nodeType": "ExpressionStatement", - "src": "18369:81:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18308:3:15", - "parameters": { - "id": 19343, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19338, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18320:2:15", - "nodeType": "VariableDeclaration", - "scope": 19356, - "src": "18312:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19337, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18312:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19340, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18329:2:15", - "nodeType": "VariableDeclaration", - "scope": 19356, - "src": "18324:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19339, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "18324:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19342, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18341:2:15", - "nodeType": "VariableDeclaration", - "scope": 19356, - "src": "18333:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19341, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18333:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18311:33:15" - }, - "returnParameters": { - "id": 19344, - "nodeType": "ParameterList", - "parameters": [], - "src": "18359:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19376, - "nodeType": "FunctionDefinition", - "src": "18463:163:15", - "nodes": [], - "body": { - "id": 19375, - "nodeType": "Block", - "src": "18529:97:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e6729", - "id": 19368, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18579:26:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_212255cc5ff4a2d867f69451c60f51c24e41784276f4ceffe8ec3af322690750", - "typeString": "literal_string \"log(address,bool,string)\"" - }, - "value": "log(address,bool,string)" - }, - { - "id": 19369, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19358, - "src": "18607:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19370, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19360, - "src": "18611:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19371, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19362, - "src": "18615:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_212255cc5ff4a2d867f69451c60f51c24e41784276f4ceffe8ec3af322690750", - "typeString": "literal_string \"log(address,bool,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 19366, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18555:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19367, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18559:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18555:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19372, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18555:63:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19365, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "18539:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19373, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18539:80:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19374, - "nodeType": "ExpressionStatement", - "src": "18539:80:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18472:3:15", - "parameters": { - "id": 19363, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19358, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18484:2:15", - "nodeType": "VariableDeclaration", - "scope": 19376, - "src": "18476:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19357, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18476:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19360, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18493:2:15", - "nodeType": "VariableDeclaration", - "scope": 19376, - "src": "18488:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19359, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "18488:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19362, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18511:2:15", - "nodeType": "VariableDeclaration", - "scope": 19376, - "src": "18497:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19361, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18497:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "18475:39:15" - }, - "returnParameters": { - "id": 19364, - "nodeType": "ParameterList", - "parameters": [], - "src": "18529:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19396, - "nodeType": "FunctionDefinition", - "src": "18632:152:15", - "nodes": [], - "body": { - "id": 19395, - "nodeType": "Block", - "src": "18689:95:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c29", - "id": 19388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18739:24:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb830c92a079b46f3abcb83e519f578cffe7387941b6885067265feec096d279", - "typeString": "literal_string \"log(address,bool,bool)\"" - }, - "value": "log(address,bool,bool)" - }, - { - "id": 19389, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19378, - "src": "18765:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19390, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19380, - "src": "18769:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19391, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19382, - "src": "18773:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_eb830c92a079b46f3abcb83e519f578cffe7387941b6885067265feec096d279", - "typeString": "literal_string \"log(address,bool,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 19386, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18715:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19387, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18719:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18715:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18715:61:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19385, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "18699:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18699:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19394, - "nodeType": "ExpressionStatement", - "src": "18699:78:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18641:3:15", - "parameters": { - "id": 19383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19378, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18653:2:15", - "nodeType": "VariableDeclaration", - "scope": 19396, - "src": "18645:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19377, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18645:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19380, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18662:2:15", - "nodeType": "VariableDeclaration", - "scope": 19396, - "src": "18657:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19379, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "18657:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19382, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18671:2:15", - "nodeType": "VariableDeclaration", - "scope": 19396, - "src": "18666:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19381, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "18666:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "18644:30:15" - }, - "returnParameters": { - "id": 19384, - "nodeType": "ParameterList", - "parameters": [], - "src": "18689:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19416, - "nodeType": "FunctionDefinition", - "src": "18790:158:15", - "nodes": [], - "body": { - "id": 19415, - "nodeType": "Block", - "src": "18850:98:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c6164647265737329", - "id": 19408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18900:27:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f11699ed537119f000a51ba9fbd5bb55b3990a1a718acbe99659bd1bc84dc18d", - "typeString": "literal_string \"log(address,bool,address)\"" - }, - "value": "log(address,bool,address)" - }, - { - "id": 19409, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19398, - "src": "18929:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19410, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19400, - "src": "18933:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19411, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19402, - "src": "18937:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f11699ed537119f000a51ba9fbd5bb55b3990a1a718acbe99659bd1bc84dc18d", - "typeString": "literal_string \"log(address,bool,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 19406, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18876:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19407, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18880:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18876:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19412, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18876:64:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19405, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "18860:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18860:81:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19414, - "nodeType": "ExpressionStatement", - "src": "18860:81:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18799:3:15", - "parameters": { - "id": 19403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19398, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18811:2:15", - "nodeType": "VariableDeclaration", - "scope": 19416, - "src": "18803:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19397, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18803:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19400, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18820:2:15", - "nodeType": "VariableDeclaration", - "scope": 19416, - "src": "18815:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19399, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "18815:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19402, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18832:2:15", - "nodeType": "VariableDeclaration", - "scope": 19416, - "src": "18824:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19401, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18824:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "18802:33:15" - }, - "returnParameters": { - "id": 19404, - "nodeType": "ParameterList", - "parameters": [], - "src": "18850:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19436, - "nodeType": "FunctionDefinition", - "src": "18954:164:15", - "nodes": [], - "body": { - "id": 19435, - "nodeType": "Block", - "src": "19017:101:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e7432353629", - "id": 19428, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19067:30:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_17fe6185890336f35fbbd1b2962ba4f7207a4a65eb5b7443a7be8a152af930a4", - "typeString": "literal_string \"log(address,address,uint256)\"" - }, - "value": "log(address,address,uint256)" - }, - { - "id": 19429, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19418, - "src": "19099:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19430, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19420, - "src": "19103:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19431, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19422, - "src": "19107:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_17fe6185890336f35fbbd1b2962ba4f7207a4a65eb5b7443a7be8a152af930a4", - "typeString": "literal_string \"log(address,address,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 19426, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19043:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19427, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19047:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19043:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19043:67:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19425, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "19027:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19027:84:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19434, - "nodeType": "ExpressionStatement", - "src": "19027:84:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18963:3:15", - "parameters": { - "id": 19423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19418, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18975:2:15", - "nodeType": "VariableDeclaration", - "scope": 19436, - "src": "18967:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19417, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18967:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19420, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18987:2:15", - "nodeType": "VariableDeclaration", - "scope": 19436, - "src": "18979:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19419, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18979:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19422, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18999:2:15", - "nodeType": "VariableDeclaration", - "scope": 19436, - "src": "18991:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19421, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18991:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18966:36:15" - }, - "returnParameters": { - "id": 19424, - "nodeType": "ParameterList", - "parameters": [], - "src": "19017:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19456, - "nodeType": "FunctionDefinition", - "src": "19124:169:15", - "nodes": [], - "body": { - "id": 19455, - "nodeType": "Block", - "src": "19193:100:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e6729", - "id": 19448, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19243:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_007150be50a4671a6be318012e9cd2eabb1e1bc8869b45c34abbaa04d81c8eee", - "typeString": "literal_string \"log(address,address,string)\"" - }, - "value": "log(address,address,string)" - }, - { - "id": 19449, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19438, - "src": "19274:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19450, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19440, - "src": "19278:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19451, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19442, - "src": "19282:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_007150be50a4671a6be318012e9cd2eabb1e1bc8869b45c34abbaa04d81c8eee", - "typeString": "literal_string \"log(address,address,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 19446, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19219:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19447, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19223:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19219:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19452, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19219:66:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19445, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "19203:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19203:83:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19454, - "nodeType": "ExpressionStatement", - "src": "19203:83:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19133:3:15", - "parameters": { - "id": 19443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19438, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19145:2:15", - "nodeType": "VariableDeclaration", - "scope": 19456, - "src": "19137:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19437, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19137:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19440, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19157:2:15", - "nodeType": "VariableDeclaration", - "scope": 19456, - "src": "19149:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19439, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19149:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19442, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19175:2:15", - "nodeType": "VariableDeclaration", - "scope": 19456, - "src": "19161:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19441, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19161:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "19136:42:15" - }, - "returnParameters": { - "id": 19444, - "nodeType": "ParameterList", - "parameters": [], - "src": "19193:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19476, - "nodeType": "FunctionDefinition", - "src": "19299:158:15", - "nodes": [], - "body": { - "id": 19475, - "nodeType": "Block", - "src": "19359:98:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c29", - "id": 19468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19409:27:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f2a6628622808c8bbef4f3e513ab11e708a8f5073988f2f7988e111aa26586dc", - "typeString": "literal_string \"log(address,address,bool)\"" - }, - "value": "log(address,address,bool)" - }, - { - "id": 19469, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19458, - "src": "19438:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19470, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19460, - "src": "19442:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19471, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19462, - "src": "19446:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f2a6628622808c8bbef4f3e513ab11e708a8f5073988f2f7988e111aa26586dc", - "typeString": "literal_string \"log(address,address,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 19466, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19385:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19467, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19389:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19385:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19385:64:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19465, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "19369:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19369:81:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19474, - "nodeType": "ExpressionStatement", - "src": "19369:81:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19308:3:15", - "parameters": { - "id": 19463, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19458, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19320:2:15", - "nodeType": "VariableDeclaration", - "scope": 19476, - "src": "19312:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19457, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19312:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19460, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19332:2:15", - "nodeType": "VariableDeclaration", - "scope": 19476, - "src": "19324:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19459, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19324:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19462, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19341:2:15", - "nodeType": "VariableDeclaration", - "scope": 19476, - "src": "19336:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19461, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19336:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "19311:33:15" - }, - "returnParameters": { - "id": 19464, - "nodeType": "ParameterList", - "parameters": [], - "src": "19359:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19496, - "nodeType": "FunctionDefinition", - "src": "19463:164:15", - "nodes": [], - "body": { - "id": 19495, - "nodeType": "Block", - "src": "19526:101:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c6164647265737329", - "id": 19488, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19576:30:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_018c84c25fb680b5bcd4e1ab1848682497c9dd3b635564a91c36ce3d1414c830", - "typeString": "literal_string \"log(address,address,address)\"" - }, - "value": "log(address,address,address)" - }, - { - "id": 19489, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19478, - "src": "19608:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19490, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19480, - "src": "19612:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19491, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19482, - "src": "19616:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_018c84c25fb680b5bcd4e1ab1848682497c9dd3b635564a91c36ce3d1414c830", - "typeString": "literal_string \"log(address,address,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 19486, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19552:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19487, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19556:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19552:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19492, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19552:67:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19485, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "19536:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19493, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19536:84:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19494, - "nodeType": "ExpressionStatement", - "src": "19536:84:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19472:3:15", - "parameters": { - "id": 19483, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19478, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19484:2:15", - "nodeType": "VariableDeclaration", - "scope": 19496, - "src": "19476:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19477, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19476:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19480, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19496:2:15", - "nodeType": "VariableDeclaration", - "scope": 19496, - "src": "19488:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19479, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19488:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19482, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19508:2:15", - "nodeType": "VariableDeclaration", - "scope": 19496, - "src": "19500:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19481, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19500:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "19475:36:15" - }, - "returnParameters": { - "id": 19484, - "nodeType": "ParameterList", - "parameters": [], - "src": "19526:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19519, - "nodeType": "FunctionDefinition", - "src": "19633:188:15", - "nodes": [], - "body": { - "id": 19518, - "nodeType": "Block", - "src": "19708:113:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c75696e743235362c75696e7432353629", - "id": 19510, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19758:38:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_193fb8009d4d1e3c22da0dd831b1e3aed72b8cabd1ebf3967b4ab3c2bbcf1c4f", - "typeString": "literal_string \"log(uint256,uint256,uint256,uint256)\"" - }, - "value": "log(uint256,uint256,uint256,uint256)" - }, - { - "id": 19511, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19498, - "src": "19798:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19512, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19500, - "src": "19802:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19513, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19502, - "src": "19806:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19514, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19504, - "src": "19810:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_193fb8009d4d1e3c22da0dd831b1e3aed72b8cabd1ebf3967b4ab3c2bbcf1c4f", - "typeString": "literal_string \"log(uint256,uint256,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 19508, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19734:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19738:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19734:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19515, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19734:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19507, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "19718:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19516, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19718:96:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19517, - "nodeType": "ExpressionStatement", - "src": "19718:96:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19642:3:15", - "parameters": { - "id": 19505, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19498, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19654:2:15", - "nodeType": "VariableDeclaration", - "scope": 19519, - "src": "19646:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19497, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19646:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19500, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19666:2:15", - "nodeType": "VariableDeclaration", - "scope": 19519, - "src": "19658:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19499, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19658:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19502, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19678:2:15", - "nodeType": "VariableDeclaration", - "scope": 19519, - "src": "19670:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19501, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19670:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19504, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19690:2:15", - "nodeType": "VariableDeclaration", - "scope": 19519, - "src": "19682:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19503, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19682:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "19645:48:15" - }, - "returnParameters": { - "id": 19506, - "nodeType": "ParameterList", - "parameters": [], - "src": "19708:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19542, - "nodeType": "FunctionDefinition", - "src": "19827:193:15", - "nodes": [], - "body": { - "id": 19541, - "nodeType": "Block", - "src": "19908:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c75696e743235362c737472696e6729", - "id": 19533, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19958:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_59cfcbe3e387f57023dcccd8733484dcb5a23a41a25c4015c01a4e8d3520c4ef", - "typeString": "literal_string \"log(uint256,uint256,uint256,string)\"" - }, - "value": "log(uint256,uint256,uint256,string)" - }, - { - "id": 19534, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19521, - "src": "19997:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19535, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19523, - "src": "20001:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19536, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19525, - "src": "20005:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19537, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19527, - "src": "20009:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_59cfcbe3e387f57023dcccd8733484dcb5a23a41a25c4015c01a4e8d3520c4ef", - "typeString": "literal_string \"log(uint256,uint256,uint256,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 19531, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19934:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19532, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19938:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19934:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19538, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19934:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19530, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "19918:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19539, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19918:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19540, - "nodeType": "ExpressionStatement", - "src": "19918:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19836:3:15", - "parameters": { - "id": 19528, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19521, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19848:2:15", - "nodeType": "VariableDeclaration", - "scope": 19542, - "src": "19840:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19520, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19840:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19523, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19860:2:15", - "nodeType": "VariableDeclaration", - "scope": 19542, - "src": "19852:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19522, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19852:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19525, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19872:2:15", - "nodeType": "VariableDeclaration", - "scope": 19542, - "src": "19864:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19524, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19864:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19527, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19890:2:15", - "nodeType": "VariableDeclaration", - "scope": 19542, - "src": "19876:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19526, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19876:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "19839:54:15" - }, - "returnParameters": { - "id": 19529, - "nodeType": "ParameterList", - "parameters": [], - "src": "19908:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19565, - "nodeType": "FunctionDefinition", - "src": "20026:182:15", - "nodes": [], - "body": { - "id": 19564, - "nodeType": "Block", - "src": "20098:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c75696e743235362c626f6f6c29", - "id": 19556, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20148:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c598d18505e9c7404a061484d6144251d0ef342167a57ace85723d498abac8e3", - "typeString": "literal_string \"log(uint256,uint256,uint256,bool)\"" - }, - "value": "log(uint256,uint256,uint256,bool)" - }, - { - "id": 19557, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19544, - "src": "20185:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19558, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19546, - "src": "20189:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19559, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19548, - "src": "20193:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19560, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19550, - "src": "20197:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c598d18505e9c7404a061484d6144251d0ef342167a57ace85723d498abac8e3", - "typeString": "literal_string \"log(uint256,uint256,uint256,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 19554, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20124:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19555, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20128:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20124:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20124:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19553, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "20108:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19562, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20108:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19563, - "nodeType": "ExpressionStatement", - "src": "20108:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20035:3:15", - "parameters": { - "id": 19551, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19544, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20047:2:15", - "nodeType": "VariableDeclaration", - "scope": 19565, - "src": "20039:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19543, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20039:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19546, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20059:2:15", - "nodeType": "VariableDeclaration", - "scope": 19565, - "src": "20051:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19545, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20051:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19548, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20071:2:15", - "nodeType": "VariableDeclaration", - "scope": 19565, - "src": "20063:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19547, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20063:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19550, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20080:2:15", - "nodeType": "VariableDeclaration", - "scope": 19565, - "src": "20075:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19549, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "20075:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "20038:45:15" - }, - "returnParameters": { - "id": 19552, - "nodeType": "ParameterList", - "parameters": [], - "src": "20098:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19588, - "nodeType": "FunctionDefinition", - "src": "20214:188:15", - "nodes": [], - "body": { - "id": 19587, - "nodeType": "Block", - "src": "20289:113:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c75696e743235362c6164647265737329", - "id": 19579, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20339:38:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fa8185afaca325eb459625959e5610b99e97bbcba8d5834d7632610b4f237c79", - "typeString": "literal_string \"log(uint256,uint256,uint256,address)\"" - }, - "value": "log(uint256,uint256,uint256,address)" - }, - { - "id": 19580, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19567, - "src": "20379:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19581, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19569, - "src": "20383:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19582, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19571, - "src": "20387:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19583, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19573, - "src": "20391:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_fa8185afaca325eb459625959e5610b99e97bbcba8d5834d7632610b4f237c79", - "typeString": "literal_string \"log(uint256,uint256,uint256,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 19577, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20315:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19578, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20319:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20315:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20315:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19576, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "20299:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19585, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20299:96:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19586, - "nodeType": "ExpressionStatement", - "src": "20299:96:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20223:3:15", - "parameters": { - "id": 19574, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19567, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20235:2:15", - "nodeType": "VariableDeclaration", - "scope": 19588, - "src": "20227:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19566, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20227:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19569, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20247:2:15", - "nodeType": "VariableDeclaration", - "scope": 19588, - "src": "20239:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19568, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20239:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19571, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20259:2:15", - "nodeType": "VariableDeclaration", - "scope": 19588, - "src": "20251:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19570, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20251:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19573, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20271:2:15", - "nodeType": "VariableDeclaration", - "scope": 19588, - "src": "20263:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19572, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20263:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20226:48:15" - }, - "returnParameters": { - "id": 19575, - "nodeType": "ParameterList", - "parameters": [], - "src": "20289:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19611, - "nodeType": "FunctionDefinition", - "src": "20408:193:15", - "nodes": [], - "body": { - "id": 19610, - "nodeType": "Block", - "src": "20489:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c737472696e672c75696e7432353629", - "id": 19602, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20539:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5da297eb5acf47b1a9c0089c080d654cc07f2a8c9aa94fc68af26a6405cde114", - "typeString": "literal_string \"log(uint256,uint256,string,uint256)\"" - }, - "value": "log(uint256,uint256,string,uint256)" - }, - { - "id": 19603, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19590, - "src": "20578:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19604, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19592, - "src": "20582:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19605, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19594, - "src": "20586:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19606, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19596, - "src": "20590:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5da297eb5acf47b1a9c0089c080d654cc07f2a8c9aa94fc68af26a6405cde114", - "typeString": "literal_string \"log(uint256,uint256,string,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 19600, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20515:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19601, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20519:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20515:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20515:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19599, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "20499:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19608, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20499:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19609, - "nodeType": "ExpressionStatement", - "src": "20499:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20417:3:15", - "parameters": { - "id": 19597, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19590, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20429:2:15", - "nodeType": "VariableDeclaration", - "scope": 19611, - "src": "20421:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19589, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20421:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19592, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20441:2:15", - "nodeType": "VariableDeclaration", - "scope": 19611, - "src": "20433:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19591, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20433:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19594, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20459:2:15", - "nodeType": "VariableDeclaration", - "scope": 19611, - "src": "20445:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19593, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "20445:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19596, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20471:2:15", - "nodeType": "VariableDeclaration", - "scope": 19611, - "src": "20463:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19595, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20463:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "20420:54:15" - }, - "returnParameters": { - "id": 19598, - "nodeType": "ParameterList", - "parameters": [], - "src": "20489:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19634, - "nodeType": "FunctionDefinition", - "src": "20607:198:15", - "nodes": [], - "body": { - "id": 19633, - "nodeType": "Block", - "src": "20694:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c737472696e672c737472696e6729", - "id": 19625, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20744:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_27d8afd2525217fff7302dbf79acc81edc09cb300d94f2503a4fb8a8115910e0", - "typeString": "literal_string \"log(uint256,uint256,string,string)\"" - }, - "value": "log(uint256,uint256,string,string)" - }, - { - "id": 19626, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19613, - "src": "20782:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19627, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19615, - "src": "20786:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19628, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19617, - "src": "20790:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19629, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19619, - "src": "20794:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_27d8afd2525217fff7302dbf79acc81edc09cb300d94f2503a4fb8a8115910e0", - "typeString": "literal_string \"log(uint256,uint256,string,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 19623, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20720:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19624, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20724:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20720:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20720:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19622, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "20704:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19631, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20704:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19632, - "nodeType": "ExpressionStatement", - "src": "20704:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20616:3:15", - "parameters": { - "id": 19620, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19613, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20628:2:15", - "nodeType": "VariableDeclaration", - "scope": 19634, - "src": "20620:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19612, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20620:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19615, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20640:2:15", - "nodeType": "VariableDeclaration", - "scope": 19634, - "src": "20632:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19614, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20632:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19617, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20658:2:15", - "nodeType": "VariableDeclaration", - "scope": 19634, - "src": "20644:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19616, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "20644:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19619, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20676:2:15", - "nodeType": "VariableDeclaration", - "scope": 19634, - "src": "20662:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19618, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "20662:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "20619:60:15" - }, - "returnParameters": { - "id": 19621, - "nodeType": "ParameterList", - "parameters": [], - "src": "20694:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19657, - "nodeType": "FunctionDefinition", - "src": "20811:187:15", - "nodes": [], - "body": { - "id": 19656, - "nodeType": "Block", - "src": "20889:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c737472696e672c626f6f6c29", - "id": 19648, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20939:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7af6ab2578caf14043420c6b292dcb787d09d31b13365d7673f201f9b2e310c9", - "typeString": "literal_string \"log(uint256,uint256,string,bool)\"" - }, - "value": "log(uint256,uint256,string,bool)" - }, - { - "id": 19649, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19636, - "src": "20975:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19650, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19638, - "src": "20979:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19651, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19640, - "src": "20983:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19652, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19642, - "src": "20987:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7af6ab2578caf14043420c6b292dcb787d09d31b13365d7673f201f9b2e310c9", - "typeString": "literal_string \"log(uint256,uint256,string,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 19646, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20915:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19647, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20919:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20915:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19653, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20915:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19645, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "20899:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19654, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20899:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19655, - "nodeType": "ExpressionStatement", - "src": "20899:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20820:3:15", - "parameters": { - "id": 19643, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19636, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20832:2:15", - "nodeType": "VariableDeclaration", - "scope": 19657, - "src": "20824:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19635, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20824:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19638, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20844:2:15", - "nodeType": "VariableDeclaration", - "scope": 19657, - "src": "20836:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19637, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20836:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19640, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20862:2:15", - "nodeType": "VariableDeclaration", - "scope": 19657, - "src": "20848:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19639, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "20848:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19642, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20871:2:15", - "nodeType": "VariableDeclaration", - "scope": 19657, - "src": "20866:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19641, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "20866:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "20823:51:15" - }, - "returnParameters": { - "id": 19644, - "nodeType": "ParameterList", - "parameters": [], - "src": "20889:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19680, - "nodeType": "FunctionDefinition", - "src": "21004:193:15", - "nodes": [], - "body": { - "id": 19679, - "nodeType": "Block", - "src": "21085:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c737472696e672c6164647265737329", - "id": 19671, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21135:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42d21db701843c064ab7fb7cddd0cda130fcc29c7289dd90519dfea1322b1a53", - "typeString": "literal_string \"log(uint256,uint256,string,address)\"" - }, - "value": "log(uint256,uint256,string,address)" - }, - { - "id": 19672, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19659, - "src": "21174:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19673, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19661, - "src": "21178:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19674, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19663, - "src": "21182:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19675, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19665, - "src": "21186:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42d21db701843c064ab7fb7cddd0cda130fcc29c7289dd90519dfea1322b1a53", - "typeString": "literal_string \"log(uint256,uint256,string,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 19669, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21111:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19670, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21115:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21111:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21111:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19668, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "21095:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21095:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19678, - "nodeType": "ExpressionStatement", - "src": "21095:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21013:3:15", - "parameters": { - "id": 19666, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19659, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21025:2:15", - "nodeType": "VariableDeclaration", - "scope": 19680, - "src": "21017:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19658, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21017:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19661, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21037:2:15", - "nodeType": "VariableDeclaration", - "scope": 19680, - "src": "21029:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19660, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21029:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19663, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21055:2:15", - "nodeType": "VariableDeclaration", - "scope": 19680, - "src": "21041:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19662, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21041:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19665, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21067:2:15", - "nodeType": "VariableDeclaration", - "scope": 19680, - "src": "21059:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19664, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21059:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "21016:54:15" - }, - "returnParameters": { - "id": 19667, - "nodeType": "ParameterList", - "parameters": [], - "src": "21085:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19703, - "nodeType": "FunctionDefinition", - "src": "21203:182:15", - "nodes": [], - "body": { - "id": 19702, - "nodeType": "Block", - "src": "21275:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c626f6f6c2c75696e7432353629", - "id": 19694, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21325:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb7f6fd2c2005d3f08b2528135265cced621d1abf62716b05a9b62bc732577fd", - "typeString": "literal_string \"log(uint256,uint256,bool,uint256)\"" - }, - "value": "log(uint256,uint256,bool,uint256)" - }, - { - "id": 19695, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19682, - "src": "21362:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19696, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19684, - "src": "21366:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19697, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19686, - "src": "21370:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19698, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19688, - "src": "21374:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_eb7f6fd2c2005d3f08b2528135265cced621d1abf62716b05a9b62bc732577fd", - "typeString": "literal_string \"log(uint256,uint256,bool,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 19692, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21301:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19693, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21305:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21301:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19699, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21301:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19691, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "21285:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19700, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21285:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19701, - "nodeType": "ExpressionStatement", - "src": "21285:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21212:3:15", - "parameters": { - "id": 19689, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19682, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21224:2:15", - "nodeType": "VariableDeclaration", - "scope": 19703, - "src": "21216:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19681, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21216:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19684, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21236:2:15", - "nodeType": "VariableDeclaration", - "scope": 19703, - "src": "21228:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19683, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21228:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19686, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21245:2:15", - "nodeType": "VariableDeclaration", - "scope": 19703, - "src": "21240:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19685, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21240:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19688, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21257:2:15", - "nodeType": "VariableDeclaration", - "scope": 19703, - "src": "21249:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19687, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21249:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "21215:45:15" - }, - "returnParameters": { - "id": 19690, - "nodeType": "ParameterList", - "parameters": [], - "src": "21275:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19726, - "nodeType": "FunctionDefinition", - "src": "21391:187:15", - "nodes": [], - "body": { - "id": 19725, - "nodeType": "Block", - "src": "21469:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c626f6f6c2c737472696e6729", - "id": 19717, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21519:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a5b4fc99467445b3de47079da2d48b3031bb8d3adcbee781cbdca55596f1414a", - "typeString": "literal_string \"log(uint256,uint256,bool,string)\"" - }, - "value": "log(uint256,uint256,bool,string)" - }, - { - "id": 19718, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19705, - "src": "21555:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19719, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19707, - "src": "21559:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19720, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19709, - "src": "21563:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19721, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19711, - "src": "21567:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a5b4fc99467445b3de47079da2d48b3031bb8d3adcbee781cbdca55596f1414a", - "typeString": "literal_string \"log(uint256,uint256,bool,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 19715, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21495:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19716, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21499:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21495:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19722, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21495:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19714, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "21479:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19723, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21479:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19724, - "nodeType": "ExpressionStatement", - "src": "21479:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21400:3:15", - "parameters": { - "id": 19712, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19705, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21412:2:15", - "nodeType": "VariableDeclaration", - "scope": 19726, - "src": "21404:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19704, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21404:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19707, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21424:2:15", - "nodeType": "VariableDeclaration", - "scope": 19726, - "src": "21416:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19706, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21416:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19709, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21433:2:15", - "nodeType": "VariableDeclaration", - "scope": 19726, - "src": "21428:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19708, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21428:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19711, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21451:2:15", - "nodeType": "VariableDeclaration", - "scope": 19726, - "src": "21437:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19710, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21437:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "21403:51:15" - }, - "returnParameters": { - "id": 19713, - "nodeType": "ParameterList", - "parameters": [], - "src": "21469:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19749, - "nodeType": "FunctionDefinition", - "src": "21584:176:15", - "nodes": [], - "body": { - "id": 19748, - "nodeType": "Block", - "src": "21653:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c626f6f6c2c626f6f6c29", - "id": 19740, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21703:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ab085ae680de5118cde80cb5e8cb1f7383786238f1394e82b7ab82553a0dd7fe", - "typeString": "literal_string \"log(uint256,uint256,bool,bool)\"" - }, - "value": "log(uint256,uint256,bool,bool)" - }, - { - "id": 19741, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19728, - "src": "21737:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19742, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19730, - "src": "21741:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19743, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19732, - "src": "21745:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19744, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19734, - "src": "21749:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ab085ae680de5118cde80cb5e8cb1f7383786238f1394e82b7ab82553a0dd7fe", - "typeString": "literal_string \"log(uint256,uint256,bool,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 19738, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21679:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19739, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21683:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21679:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21679:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19737, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "21663:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19746, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21663:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19747, - "nodeType": "ExpressionStatement", - "src": "21663:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21593:3:15", - "parameters": { - "id": 19735, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19728, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21605:2:15", - "nodeType": "VariableDeclaration", - "scope": 19749, - "src": "21597:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19727, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21597:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19730, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21617:2:15", - "nodeType": "VariableDeclaration", - "scope": 19749, - "src": "21609:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19729, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21609:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19732, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21626:2:15", - "nodeType": "VariableDeclaration", - "scope": 19749, - "src": "21621:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19731, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21621:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19734, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21635:2:15", - "nodeType": "VariableDeclaration", - "scope": 19749, - "src": "21630:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19733, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21630:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "21596:42:15" - }, - "returnParameters": { - "id": 19736, - "nodeType": "ParameterList", - "parameters": [], - "src": "21653:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19772, - "nodeType": "FunctionDefinition", - "src": "21766:182:15", - "nodes": [], - "body": { - "id": 19771, - "nodeType": "Block", - "src": "21838:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c626f6f6c2c6164647265737329", - "id": 19763, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21888:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9a816a83f59c7e2fc96bb179b1fa8fd5307277d58bad9d6b835a280d4474fc1b", - "typeString": "literal_string \"log(uint256,uint256,bool,address)\"" - }, - "value": "log(uint256,uint256,bool,address)" - }, - { - "id": 19764, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19751, - "src": "21925:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19765, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19753, - "src": "21929:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19766, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19755, - "src": "21933:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19767, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19757, - "src": "21937:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9a816a83f59c7e2fc96bb179b1fa8fd5307277d58bad9d6b835a280d4474fc1b", - "typeString": "literal_string \"log(uint256,uint256,bool,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 19761, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21864:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19762, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21868:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21864:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19768, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21864:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19760, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "21848:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21848:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19770, - "nodeType": "ExpressionStatement", - "src": "21848:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21775:3:15", - "parameters": { - "id": 19758, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19751, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21787:2:15", - "nodeType": "VariableDeclaration", - "scope": 19772, - "src": "21779:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19750, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21779:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19753, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21799:2:15", - "nodeType": "VariableDeclaration", - "scope": 19772, - "src": "21791:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19752, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21791:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19755, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21808:2:15", - "nodeType": "VariableDeclaration", - "scope": 19772, - "src": "21803:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19754, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21803:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19757, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21820:2:15", - "nodeType": "VariableDeclaration", - "scope": 19772, - "src": "21812:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19756, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21812:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "21778:45:15" - }, - "returnParameters": { - "id": 19759, - "nodeType": "ParameterList", - "parameters": [], - "src": "21838:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19795, - "nodeType": "FunctionDefinition", - "src": "21954:188:15", - "nodes": [], - "body": { - "id": 19794, - "nodeType": "Block", - "src": "22029:113:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c616464726573732c75696e7432353629", - "id": 19786, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22079:38:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_88f6e4b2e9fd1797748b31e8b1564d27784c7a0b5de7a75df225524205baab36", - "typeString": "literal_string \"log(uint256,uint256,address,uint256)\"" - }, - "value": "log(uint256,uint256,address,uint256)" - }, - { - "id": 19787, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19774, - "src": "22119:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19788, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19776, - "src": "22123:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19789, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19778, - "src": "22127:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19790, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19780, - "src": "22131:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_88f6e4b2e9fd1797748b31e8b1564d27784c7a0b5de7a75df225524205baab36", - "typeString": "literal_string \"log(uint256,uint256,address,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 19784, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22055:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19785, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22059:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22055:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19791, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22055:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19783, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "22039:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19792, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22039:96:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19793, - "nodeType": "ExpressionStatement", - "src": "22039:96:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21963:3:15", - "parameters": { - "id": 19781, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19774, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21975:2:15", - "nodeType": "VariableDeclaration", - "scope": 19795, - "src": "21967:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19773, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21967:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19776, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21987:2:15", - "nodeType": "VariableDeclaration", - "scope": 19795, - "src": "21979:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19775, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21979:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19778, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21999:2:15", - "nodeType": "VariableDeclaration", - "scope": 19795, - "src": "21991:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19777, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21991:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19780, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22011:2:15", - "nodeType": "VariableDeclaration", - "scope": 19795, - "src": "22003:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19779, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22003:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "21966:48:15" - }, - "returnParameters": { - "id": 19782, - "nodeType": "ParameterList", - "parameters": [], - "src": "22029:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19818, - "nodeType": "FunctionDefinition", - "src": "22148:193:15", - "nodes": [], - "body": { - "id": 19817, - "nodeType": "Block", - "src": "22229:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c616464726573732c737472696e6729", - "id": 19809, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22279:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6cde40b8d4f88da65710732f1ce432c86447f486bf713e5763c0ab174df12f40", - "typeString": "literal_string \"log(uint256,uint256,address,string)\"" - }, - "value": "log(uint256,uint256,address,string)" - }, - { - "id": 19810, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19797, - "src": "22318:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19811, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19799, - "src": "22322:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19812, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19801, - "src": "22326:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19813, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19803, - "src": "22330:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6cde40b8d4f88da65710732f1ce432c86447f486bf713e5763c0ab174df12f40", - "typeString": "literal_string \"log(uint256,uint256,address,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 19807, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22255:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19808, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22259:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22255:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22255:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19806, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "22239:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22239:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19816, - "nodeType": "ExpressionStatement", - "src": "22239:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22157:3:15", - "parameters": { - "id": 19804, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19797, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22169:2:15", - "nodeType": "VariableDeclaration", - "scope": 19818, - "src": "22161:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19796, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22161:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19799, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22181:2:15", - "nodeType": "VariableDeclaration", - "scope": 19818, - "src": "22173:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19798, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22173:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19801, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22193:2:15", - "nodeType": "VariableDeclaration", - "scope": 19818, - "src": "22185:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19800, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "22185:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19803, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22211:2:15", - "nodeType": "VariableDeclaration", - "scope": 19818, - "src": "22197:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19802, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22197:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "22160:54:15" - }, - "returnParameters": { - "id": 19805, - "nodeType": "ParameterList", - "parameters": [], - "src": "22229:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19841, - "nodeType": "FunctionDefinition", - "src": "22347:182:15", - "nodes": [], - "body": { - "id": 19840, - "nodeType": "Block", - "src": "22419:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c616464726573732c626f6f6c29", - "id": 19832, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22469:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_15cac47617578377cd39f9593e7bb3ffa0e284336b9741dcc2c4151a93e1b201", - "typeString": "literal_string \"log(uint256,uint256,address,bool)\"" - }, - "value": "log(uint256,uint256,address,bool)" - }, - { - "id": 19833, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19820, - "src": "22506:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19834, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19822, - "src": "22510:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19835, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19824, - "src": "22514:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19836, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19826, - "src": "22518:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_15cac47617578377cd39f9593e7bb3ffa0e284336b9741dcc2c4151a93e1b201", - "typeString": "literal_string \"log(uint256,uint256,address,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 19830, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22445:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19831, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22449:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22445:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19837, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22445:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19829, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "22429:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19838, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22429:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19839, - "nodeType": "ExpressionStatement", - "src": "22429:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22356:3:15", - "parameters": { - "id": 19827, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19820, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22368:2:15", - "nodeType": "VariableDeclaration", - "scope": 19841, - "src": "22360:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19819, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22360:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19822, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22380:2:15", - "nodeType": "VariableDeclaration", - "scope": 19841, - "src": "22372:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19821, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22372:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19824, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22392:2:15", - "nodeType": "VariableDeclaration", - "scope": 19841, - "src": "22384:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19823, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "22384:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19826, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22401:2:15", - "nodeType": "VariableDeclaration", - "scope": 19841, - "src": "22396:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19825, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "22396:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "22359:45:15" - }, - "returnParameters": { - "id": 19828, - "nodeType": "ParameterList", - "parameters": [], - "src": "22419:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19864, - "nodeType": "FunctionDefinition", - "src": "22535:188:15", - "nodes": [], - "body": { - "id": 19863, - "nodeType": "Block", - "src": "22610:113:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c616464726573732c6164647265737329", - "id": 19855, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22660:38:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_56a5d1b1d2f0613b93371fc2b5ec91f6c2ba1375e1e4ff59b5061b56ca88e88d", - "typeString": "literal_string \"log(uint256,uint256,address,address)\"" - }, - "value": "log(uint256,uint256,address,address)" - }, - { - "id": 19856, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19843, - "src": "22700:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19857, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19845, - "src": "22704:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19858, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19847, - "src": "22708:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19859, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19849, - "src": "22712:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_56a5d1b1d2f0613b93371fc2b5ec91f6c2ba1375e1e4ff59b5061b56ca88e88d", - "typeString": "literal_string \"log(uint256,uint256,address,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 19853, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22636:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19854, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22640:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22636:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22636:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19852, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "22620:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19861, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22620:96:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19862, - "nodeType": "ExpressionStatement", - "src": "22620:96:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22544:3:15", - "parameters": { - "id": 19850, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19843, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22556:2:15", - "nodeType": "VariableDeclaration", - "scope": 19864, - "src": "22548:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19842, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22548:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19845, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22568:2:15", - "nodeType": "VariableDeclaration", - "scope": 19864, - "src": "22560:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19844, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22560:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19847, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22580:2:15", - "nodeType": "VariableDeclaration", - "scope": 19864, - "src": "22572:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19846, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "22572:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19849, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22592:2:15", - "nodeType": "VariableDeclaration", - "scope": 19864, - "src": "22584:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19848, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "22584:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "22547:48:15" - }, - "returnParameters": { - "id": 19851, - "nodeType": "ParameterList", - "parameters": [], - "src": "22610:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19887, - "nodeType": "FunctionDefinition", - "src": "22729:193:15", - "nodes": [], - "body": { - "id": 19886, - "nodeType": "Block", - "src": "22810:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c75696e743235362c75696e7432353629", - "id": 19878, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22860:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_82c25b74e3ddb6ea40e867e0a41af8848bdc6a88fd5e365497c46917573fd66f", - "typeString": "literal_string \"log(uint256,string,uint256,uint256)\"" - }, - "value": "log(uint256,string,uint256,uint256)" - }, - { - "id": 19879, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19866, - "src": "22899:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19880, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19868, - "src": "22903:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19881, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19870, - "src": "22907:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19882, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19872, - "src": "22911:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_82c25b74e3ddb6ea40e867e0a41af8848bdc6a88fd5e365497c46917573fd66f", - "typeString": "literal_string \"log(uint256,string,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 19876, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22836:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19877, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22840:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22836:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19883, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22836:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19875, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "22820:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19884, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22820:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19885, - "nodeType": "ExpressionStatement", - "src": "22820:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22738:3:15", - "parameters": { - "id": 19873, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19866, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22750:2:15", - "nodeType": "VariableDeclaration", - "scope": 19887, - "src": "22742:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19865, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22742:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19868, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22768:2:15", - "nodeType": "VariableDeclaration", - "scope": 19887, - "src": "22754:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19867, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22754:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19870, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22780:2:15", - "nodeType": "VariableDeclaration", - "scope": 19887, - "src": "22772:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19869, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22772:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19872, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22792:2:15", - "nodeType": "VariableDeclaration", - "scope": 19887, - "src": "22784:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19871, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22784:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "22741:54:15" - }, - "returnParameters": { - "id": 19874, - "nodeType": "ParameterList", - "parameters": [], - "src": "22810:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19910, - "nodeType": "FunctionDefinition", - "src": "22928:198:15", - "nodes": [], - "body": { - "id": 19909, - "nodeType": "Block", - "src": "23015:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c75696e743235362c737472696e6729", - "id": 19901, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23065:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b7b914cad3c94167dcd4b5ef970076918e96b3894a20503b7d3f9648bea8aace", - "typeString": "literal_string \"log(uint256,string,uint256,string)\"" - }, - "value": "log(uint256,string,uint256,string)" - }, - { - "id": 19902, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19889, - "src": "23103:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19903, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19891, - "src": "23107:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19904, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19893, - "src": "23111:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19905, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19895, - "src": "23115:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b7b914cad3c94167dcd4b5ef970076918e96b3894a20503b7d3f9648bea8aace", - "typeString": "literal_string \"log(uint256,string,uint256,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 19899, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23041:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19900, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23045:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23041:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19906, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23041:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19898, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "23025:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23025:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19908, - "nodeType": "ExpressionStatement", - "src": "23025:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22937:3:15", - "parameters": { - "id": 19896, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19889, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22949:2:15", - "nodeType": "VariableDeclaration", - "scope": 19910, - "src": "22941:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19888, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22941:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19891, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22967:2:15", - "nodeType": "VariableDeclaration", - "scope": 19910, - "src": "22953:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19890, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22953:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19893, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22979:2:15", - "nodeType": "VariableDeclaration", - "scope": 19910, - "src": "22971:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19892, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22971:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19895, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22997:2:15", - "nodeType": "VariableDeclaration", - "scope": 19910, - "src": "22983:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19894, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22983:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "22940:60:15" - }, - "returnParameters": { - "id": 19897, - "nodeType": "ParameterList", - "parameters": [], - "src": "23015:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19933, - "nodeType": "FunctionDefinition", - "src": "23132:187:15", - "nodes": [], - "body": { - "id": 19932, - "nodeType": "Block", - "src": "23210:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c75696e743235362c626f6f6c29", - "id": 19924, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23260:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_691a8f74cbf1a313fd1bdfd5dda19feaf4f9deac56f7ca7c4fa6386e5382a03c", - "typeString": "literal_string \"log(uint256,string,uint256,bool)\"" - }, - "value": "log(uint256,string,uint256,bool)" - }, - { - "id": 19925, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19912, - "src": "23296:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19926, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19914, - "src": "23300:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19927, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19916, - "src": "23304:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19928, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19918, - "src": "23308:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_691a8f74cbf1a313fd1bdfd5dda19feaf4f9deac56f7ca7c4fa6386e5382a03c", - "typeString": "literal_string \"log(uint256,string,uint256,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 19922, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23236:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19923, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23240:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23236:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19929, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23236:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19921, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "23220:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23220:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19931, - "nodeType": "ExpressionStatement", - "src": "23220:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23141:3:15", - "parameters": { - "id": 19919, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19912, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23153:2:15", - "nodeType": "VariableDeclaration", - "scope": 19933, - "src": "23145:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19911, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23145:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19914, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23171:2:15", - "nodeType": "VariableDeclaration", - "scope": 19933, - "src": "23157:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19913, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23157:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19916, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23183:2:15", - "nodeType": "VariableDeclaration", - "scope": 19933, - "src": "23175:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19915, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23175:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19918, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23192:2:15", - "nodeType": "VariableDeclaration", - "scope": 19933, - "src": "23187:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19917, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23187:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "23144:51:15" - }, - "returnParameters": { - "id": 19920, - "nodeType": "ParameterList", - "parameters": [], - "src": "23210:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19956, - "nodeType": "FunctionDefinition", - "src": "23325:193:15", - "nodes": [], - "body": { - "id": 19955, - "nodeType": "Block", - "src": "23406:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c75696e743235362c6164647265737329", - "id": 19947, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23456:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3b2279b4b3c26cbcd4374acce75e4c447a59a65883d849a72eaa051b3a07ec08", - "typeString": "literal_string \"log(uint256,string,uint256,address)\"" - }, - "value": "log(uint256,string,uint256,address)" - }, - { - "id": 19948, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19935, - "src": "23495:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19949, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19937, - "src": "23499:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19950, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19939, - "src": "23503:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19951, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19941, - "src": "23507:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3b2279b4b3c26cbcd4374acce75e4c447a59a65883d849a72eaa051b3a07ec08", - "typeString": "literal_string \"log(uint256,string,uint256,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 19945, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23432:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19946, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23436:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23432:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19952, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23432:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19944, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "23416:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19953, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23416:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19954, - "nodeType": "ExpressionStatement", - "src": "23416:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23334:3:15", - "parameters": { - "id": 19942, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19935, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23346:2:15", - "nodeType": "VariableDeclaration", - "scope": 19956, - "src": "23338:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19934, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23338:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19937, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23364:2:15", - "nodeType": "VariableDeclaration", - "scope": 19956, - "src": "23350:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19936, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23350:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19939, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23376:2:15", - "nodeType": "VariableDeclaration", - "scope": 19956, - "src": "23368:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19938, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23368:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19941, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23388:2:15", - "nodeType": "VariableDeclaration", - "scope": 19956, - "src": "23380:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19940, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "23380:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "23337:54:15" - }, - "returnParameters": { - "id": 19943, - "nodeType": "ParameterList", - "parameters": [], - "src": "23406:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19979, - "nodeType": "FunctionDefinition", - "src": "23524:198:15", - "nodes": [], - "body": { - "id": 19978, - "nodeType": "Block", - "src": "23611:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c737472696e672c75696e7432353629", - "id": 19970, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23661:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b028c9bd0105e32bab3e2b1b4678f4cd49b1f267c4fcb1899043ad16b67c3dd1", - "typeString": "literal_string \"log(uint256,string,string,uint256)\"" - }, - "value": "log(uint256,string,string,uint256)" - }, - { - "id": 19971, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19958, - "src": "23699:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19972, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19960, - "src": "23703:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19973, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19962, - "src": "23707:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19974, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19964, - "src": "23711:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b028c9bd0105e32bab3e2b1b4678f4cd49b1f267c4fcb1899043ad16b67c3dd1", - "typeString": "literal_string \"log(uint256,string,string,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 19968, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23637:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19969, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23641:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23637:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23637:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19967, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "23621:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19976, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23621:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19977, - "nodeType": "ExpressionStatement", - "src": "23621:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23533:3:15", - "parameters": { - "id": 19965, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19958, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23545:2:15", - "nodeType": "VariableDeclaration", - "scope": 19979, - "src": "23537:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19957, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23537:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19960, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23563:2:15", - "nodeType": "VariableDeclaration", - "scope": 19979, - "src": "23549:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19959, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23549:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19962, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23581:2:15", - "nodeType": "VariableDeclaration", - "scope": 19979, - "src": "23567:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19961, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23567:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19964, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23593:2:15", - "nodeType": "VariableDeclaration", - "scope": 19979, - "src": "23585:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19963, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23585:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "23536:60:15" - }, - "returnParameters": { - "id": 19966, - "nodeType": "ParameterList", - "parameters": [], - "src": "23611:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20002, - "nodeType": "FunctionDefinition", - "src": "23728:203:15", - "nodes": [], - "body": { - "id": 20001, - "nodeType": "Block", - "src": "23821:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c737472696e672c737472696e6729", - "id": 19993, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23871:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_21ad06836085541851abea445814b5a1baf9d3be52c1169a6570c83010dbea5a", - "typeString": "literal_string \"log(uint256,string,string,string)\"" - }, - "value": "log(uint256,string,string,string)" - }, - { - "id": 19994, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19981, - "src": "23908:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19995, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19983, - "src": "23912:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19996, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19985, - "src": "23916:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19997, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19987, - "src": "23920:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_21ad06836085541851abea445814b5a1baf9d3be52c1169a6570c83010dbea5a", - "typeString": "literal_string \"log(uint256,string,string,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 19991, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23847:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19992, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23851:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23847:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23847:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19990, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "23831:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19999, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23831:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20000, - "nodeType": "ExpressionStatement", - "src": "23831:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23737:3:15", - "parameters": { - "id": 19988, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19981, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23749:2:15", - "nodeType": "VariableDeclaration", - "scope": 20002, - "src": "23741:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19980, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23741:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19983, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23767:2:15", - "nodeType": "VariableDeclaration", - "scope": 20002, - "src": "23753:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19982, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23753:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19985, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23785:2:15", - "nodeType": "VariableDeclaration", - "scope": 20002, - "src": "23771:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19984, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23771:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19987, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23803:2:15", - "nodeType": "VariableDeclaration", - "scope": 20002, - "src": "23789:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19986, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23789:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "23740:66:15" - }, - "returnParameters": { - "id": 19989, - "nodeType": "ParameterList", - "parameters": [], - "src": "23821:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20025, - "nodeType": "FunctionDefinition", - "src": "23937:192:15", - "nodes": [], - "body": { - "id": 20024, - "nodeType": "Block", - "src": "24021:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c737472696e672c626f6f6c29", - "id": 20016, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24071:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b3a6b6bdf3265665181b9a9ab1338c75ebc293704c96a9a669654a5ba9f6d3e9", - "typeString": "literal_string \"log(uint256,string,string,bool)\"" - }, - "value": "log(uint256,string,string,bool)" - }, - { - "id": 20017, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20004, - "src": "24106:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20018, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20006, - "src": "24110:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20019, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20008, - "src": "24114:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20020, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20010, - "src": "24118:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b3a6b6bdf3265665181b9a9ab1338c75ebc293704c96a9a669654a5ba9f6d3e9", - "typeString": "literal_string \"log(uint256,string,string,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 20014, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24047:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20015, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24051:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24047:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20021, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24047:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20013, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "24031:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20022, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24031:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20023, - "nodeType": "ExpressionStatement", - "src": "24031:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23946:3:15", - "parameters": { - "id": 20011, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20004, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23958:2:15", - "nodeType": "VariableDeclaration", - "scope": 20025, - "src": "23950:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20003, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23950:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20006, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23976:2:15", - "nodeType": "VariableDeclaration", - "scope": 20025, - "src": "23962:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20005, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23962:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20008, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23994:2:15", - "nodeType": "VariableDeclaration", - "scope": 20025, - "src": "23980:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20007, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23980:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20010, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24003:2:15", - "nodeType": "VariableDeclaration", - "scope": 20025, - "src": "23998:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20009, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23998:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "23949:57:15" - }, - "returnParameters": { - "id": 20012, - "nodeType": "ParameterList", - "parameters": [], - "src": "24021:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20048, - "nodeType": "FunctionDefinition", - "src": "24135:198:15", - "nodes": [], - "body": { - "id": 20047, - "nodeType": "Block", - "src": "24222:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c737472696e672c6164647265737329", - "id": 20039, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24272:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d583c60265ad086fe6216ef9aea37bf5de1e77bdf9055c734c55781d5f4b81d7", - "typeString": "literal_string \"log(uint256,string,string,address)\"" - }, - "value": "log(uint256,string,string,address)" - }, - { - "id": 20040, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20027, - "src": "24310:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20041, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20029, - "src": "24314:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20042, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20031, - "src": "24318:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20043, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20033, - "src": "24322:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d583c60265ad086fe6216ef9aea37bf5de1e77bdf9055c734c55781d5f4b81d7", - "typeString": "literal_string \"log(uint256,string,string,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 20037, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24248:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20038, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24252:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24248:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24248:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20036, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "24232:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24232:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20046, - "nodeType": "ExpressionStatement", - "src": "24232:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24144:3:15", - "parameters": { - "id": 20034, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20027, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24156:2:15", - "nodeType": "VariableDeclaration", - "scope": 20048, - "src": "24148:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20026, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24148:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20029, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24174:2:15", - "nodeType": "VariableDeclaration", - "scope": 20048, - "src": "24160:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20028, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24160:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20031, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24192:2:15", - "nodeType": "VariableDeclaration", - "scope": 20048, - "src": "24178:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20030, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24178:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20033, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24204:2:15", - "nodeType": "VariableDeclaration", - "scope": 20048, - "src": "24196:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20032, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "24196:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "24147:60:15" - }, - "returnParameters": { - "id": 20035, - "nodeType": "ParameterList", - "parameters": [], - "src": "24222:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20071, - "nodeType": "FunctionDefinition", - "src": "24339:187:15", - "nodes": [], - "body": { - "id": 20070, - "nodeType": "Block", - "src": "24417:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c626f6f6c2c75696e7432353629", - "id": 20062, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24467:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cf00988004d982e10d8d4fa7f603a1414e3b2b91cdfcf6f72808ca6c3100f96a", - "typeString": "literal_string \"log(uint256,string,bool,uint256)\"" - }, - "value": "log(uint256,string,bool,uint256)" - }, - { - "id": 20063, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20050, - "src": "24503:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20064, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20052, - "src": "24507:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20065, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20054, - "src": "24511:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20066, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20056, - "src": "24515:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cf00988004d982e10d8d4fa7f603a1414e3b2b91cdfcf6f72808ca6c3100f96a", - "typeString": "literal_string \"log(uint256,string,bool,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 20060, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24443:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20061, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24447:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24443:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24443:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20059, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "24427:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20068, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24427:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20069, - "nodeType": "ExpressionStatement", - "src": "24427:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24348:3:15", - "parameters": { - "id": 20057, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20050, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24360:2:15", - "nodeType": "VariableDeclaration", - "scope": 20071, - "src": "24352:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20049, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24352:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20052, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24378:2:15", - "nodeType": "VariableDeclaration", - "scope": 20071, - "src": "24364:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20051, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24364:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20054, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24387:2:15", - "nodeType": "VariableDeclaration", - "scope": 20071, - "src": "24382:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20053, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24382:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20056, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24399:2:15", - "nodeType": "VariableDeclaration", - "scope": 20071, - "src": "24391:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20055, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24391:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "24351:51:15" - }, - "returnParameters": { - "id": 20058, - "nodeType": "ParameterList", - "parameters": [], - "src": "24417:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20094, - "nodeType": "FunctionDefinition", - "src": "24532:192:15", - "nodes": [], - "body": { - "id": 20093, - "nodeType": "Block", - "src": "24616:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c626f6f6c2c737472696e6729", - "id": 20085, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24666:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d2d423cdca0e3ae7a0a1a283a67d891c85787b75e0c5291c02d15317d67fe45c", - "typeString": "literal_string \"log(uint256,string,bool,string)\"" - }, - "value": "log(uint256,string,bool,string)" - }, - { - "id": 20086, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20073, - "src": "24701:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20087, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20075, - "src": "24705:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20088, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20077, - "src": "24709:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20089, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20079, - "src": "24713:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d2d423cdca0e3ae7a0a1a283a67d891c85787b75e0c5291c02d15317d67fe45c", - "typeString": "literal_string \"log(uint256,string,bool,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 20083, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24642:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20084, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24646:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24642:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20090, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24642:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20082, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "24626:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20091, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24626:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20092, - "nodeType": "ExpressionStatement", - "src": "24626:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24541:3:15", - "parameters": { - "id": 20080, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20073, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24553:2:15", - "nodeType": "VariableDeclaration", - "scope": 20094, - "src": "24545:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20072, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24545:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20075, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24571:2:15", - "nodeType": "VariableDeclaration", - "scope": 20094, - "src": "24557:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20074, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24557:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20077, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24580:2:15", - "nodeType": "VariableDeclaration", - "scope": 20094, - "src": "24575:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20076, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24575:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20079, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24598:2:15", - "nodeType": "VariableDeclaration", - "scope": 20094, - "src": "24584:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20078, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24584:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "24544:57:15" - }, - "returnParameters": { - "id": 20081, - "nodeType": "ParameterList", - "parameters": [], - "src": "24616:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20117, - "nodeType": "FunctionDefinition", - "src": "24730:181:15", - "nodes": [], - "body": { - "id": 20116, - "nodeType": "Block", - "src": "24805:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c626f6f6c2c626f6f6c29", - "id": 20108, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24855:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ba535d9cec0fb8bbd83e61b83d0f575d149cba6778a192239c1bdc5170053e4f", - "typeString": "literal_string \"log(uint256,string,bool,bool)\"" - }, - "value": "log(uint256,string,bool,bool)" - }, - { - "id": 20109, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20096, - "src": "24888:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20110, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20098, - "src": "24892:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20111, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20100, - "src": "24896:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20112, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20102, - "src": "24900:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ba535d9cec0fb8bbd83e61b83d0f575d149cba6778a192239c1bdc5170053e4f", - "typeString": "literal_string \"log(uint256,string,bool,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 20106, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24831:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20107, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24835:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24831:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20113, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24831:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20105, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "24815:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24815:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20115, - "nodeType": "ExpressionStatement", - "src": "24815:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24739:3:15", - "parameters": { - "id": 20103, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20096, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24751:2:15", - "nodeType": "VariableDeclaration", - "scope": 20117, - "src": "24743:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20095, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24743:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20098, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24769:2:15", - "nodeType": "VariableDeclaration", - "scope": 20117, - "src": "24755:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20097, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24755:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20100, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24778:2:15", - "nodeType": "VariableDeclaration", - "scope": 20117, - "src": "24773:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20099, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24773:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20102, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24787:2:15", - "nodeType": "VariableDeclaration", - "scope": 20117, - "src": "24782:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20101, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24782:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "24742:48:15" - }, - "returnParameters": { - "id": 20104, - "nodeType": "ParameterList", - "parameters": [], - "src": "24805:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20140, - "nodeType": "FunctionDefinition", - "src": "24917:187:15", - "nodes": [], - "body": { - "id": 20139, - "nodeType": "Block", - "src": "24995:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c626f6f6c2c6164647265737329", - "id": 20131, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25045:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ae2ec581fba979c4f79aae94f13936ff6bb7e283817b2ec0602d9daa028a1550", - "typeString": "literal_string \"log(uint256,string,bool,address)\"" - }, - "value": "log(uint256,string,bool,address)" - }, - { - "id": 20132, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20119, - "src": "25081:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20133, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20121, - "src": "25085:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20134, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20123, - "src": "25089:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20135, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20125, - "src": "25093:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ae2ec581fba979c4f79aae94f13936ff6bb7e283817b2ec0602d9daa028a1550", - "typeString": "literal_string \"log(uint256,string,bool,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 20129, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25021:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20130, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25025:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25021:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25021:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20128, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "25005:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20137, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25005:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20138, - "nodeType": "ExpressionStatement", - "src": "25005:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24926:3:15", - "parameters": { - "id": 20126, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20119, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24938:2:15", - "nodeType": "VariableDeclaration", - "scope": 20140, - "src": "24930:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20118, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24930:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20121, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24956:2:15", - "nodeType": "VariableDeclaration", - "scope": 20140, - "src": "24942:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20120, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24942:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20123, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24965:2:15", - "nodeType": "VariableDeclaration", - "scope": 20140, - "src": "24960:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20122, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24960:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20125, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24977:2:15", - "nodeType": "VariableDeclaration", - "scope": 20140, - "src": "24969:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20124, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "24969:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "24929:51:15" - }, - "returnParameters": { - "id": 20127, - "nodeType": "ParameterList", - "parameters": [], - "src": "24995:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20163, - "nodeType": "FunctionDefinition", - "src": "25110:193:15", - "nodes": [], - "body": { - "id": 20162, - "nodeType": "Block", - "src": "25191:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c616464726573732c75696e7432353629", - "id": 20154, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25241:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e8d3018d32ee5012095e63c81679b366f06035e83d43be351e9c327886860908", - "typeString": "literal_string \"log(uint256,string,address,uint256)\"" - }, - "value": "log(uint256,string,address,uint256)" - }, - { - "id": 20155, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20142, - "src": "25280:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20156, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20144, - "src": "25284:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20157, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20146, - "src": "25288:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20158, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20148, - "src": "25292:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e8d3018d32ee5012095e63c81679b366f06035e83d43be351e9c327886860908", - "typeString": "literal_string \"log(uint256,string,address,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 20152, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25217:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20153, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25221:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25217:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20159, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25217:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20151, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "25201:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20160, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25201:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20161, - "nodeType": "ExpressionStatement", - "src": "25201:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25119:3:15", - "parameters": { - "id": 20149, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20142, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25131:2:15", - "nodeType": "VariableDeclaration", - "scope": 20163, - "src": "25123:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20141, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25123:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20144, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25149:2:15", - "nodeType": "VariableDeclaration", - "scope": 20163, - "src": "25135:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20143, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25135:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20146, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25161:2:15", - "nodeType": "VariableDeclaration", - "scope": 20163, - "src": "25153:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20145, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "25153:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20148, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25173:2:15", - "nodeType": "VariableDeclaration", - "scope": 20163, - "src": "25165:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20147, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25165:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "25122:54:15" - }, - "returnParameters": { - "id": 20150, - "nodeType": "ParameterList", - "parameters": [], - "src": "25191:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20186, - "nodeType": "FunctionDefinition", - "src": "25309:198:15", - "nodes": [], - "body": { - "id": 20185, - "nodeType": "Block", - "src": "25396:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c616464726573732c737472696e6729", - "id": 20177, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25446:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9c3adfa1394c3989d93ade538d03d04b05867057c1dd54721ae2c85f9a1a4720", - "typeString": "literal_string \"log(uint256,string,address,string)\"" - }, - "value": "log(uint256,string,address,string)" - }, - { - "id": 20178, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20165, - "src": "25484:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20179, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20167, - "src": "25488:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20180, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20169, - "src": "25492:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20181, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20171, - "src": "25496:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9c3adfa1394c3989d93ade538d03d04b05867057c1dd54721ae2c85f9a1a4720", - "typeString": "literal_string \"log(uint256,string,address,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 20175, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25422:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20176, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25426:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25422:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20182, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25422:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20174, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "25406:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25406:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20184, - "nodeType": "ExpressionStatement", - "src": "25406:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25318:3:15", - "parameters": { - "id": 20172, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20165, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25330:2:15", - "nodeType": "VariableDeclaration", - "scope": 20186, - "src": "25322:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20164, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25322:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20167, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25348:2:15", - "nodeType": "VariableDeclaration", - "scope": 20186, - "src": "25334:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20166, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25334:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20169, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25360:2:15", - "nodeType": "VariableDeclaration", - "scope": 20186, - "src": "25352:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20168, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "25352:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20171, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25378:2:15", - "nodeType": "VariableDeclaration", - "scope": 20186, - "src": "25364:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20170, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25364:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "25321:60:15" - }, - "returnParameters": { - "id": 20173, - "nodeType": "ParameterList", - "parameters": [], - "src": "25396:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20209, - "nodeType": "FunctionDefinition", - "src": "25513:187:15", - "nodes": [], - "body": { - "id": 20208, - "nodeType": "Block", - "src": "25591:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c616464726573732c626f6f6c29", - "id": 20200, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25641:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_90c30a564e5b352d6dfee73888402a5685ca327aad7827d5040904440ee085c5", - "typeString": "literal_string \"log(uint256,string,address,bool)\"" - }, - "value": "log(uint256,string,address,bool)" - }, - { - "id": 20201, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20188, - "src": "25677:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20202, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20190, - "src": "25681:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20203, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20192, - "src": "25685:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20204, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20194, - "src": "25689:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_90c30a564e5b352d6dfee73888402a5685ca327aad7827d5040904440ee085c5", - "typeString": "literal_string \"log(uint256,string,address,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 20198, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25617:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20199, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25621:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25617:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20205, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25617:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20197, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "25601:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20206, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25601:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20207, - "nodeType": "ExpressionStatement", - "src": "25601:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25522:3:15", - "parameters": { - "id": 20195, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20188, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25534:2:15", - "nodeType": "VariableDeclaration", - "scope": 20209, - "src": "25526:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20187, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25526:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20190, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25552:2:15", - "nodeType": "VariableDeclaration", - "scope": 20209, - "src": "25538:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20189, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25538:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20192, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25564:2:15", - "nodeType": "VariableDeclaration", - "scope": 20209, - "src": "25556:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20191, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "25556:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20194, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25573:2:15", - "nodeType": "VariableDeclaration", - "scope": 20209, - "src": "25568:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20193, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25568:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "25525:51:15" - }, - "returnParameters": { - "id": 20196, - "nodeType": "ParameterList", - "parameters": [], - "src": "25591:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20232, - "nodeType": "FunctionDefinition", - "src": "25706:193:15", - "nodes": [], - "body": { - "id": 20231, - "nodeType": "Block", - "src": "25787:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c616464726573732c6164647265737329", - "id": 20223, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25837:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6168ed618844a2c75dc49207e69cdff562cd2faf2e74aa5192211a023611c6bd", - "typeString": "literal_string \"log(uint256,string,address,address)\"" - }, - "value": "log(uint256,string,address,address)" - }, - { - "id": 20224, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20211, - "src": "25876:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20225, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20213, - "src": "25880:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20226, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20215, - "src": "25884:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20227, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20217, - "src": "25888:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6168ed618844a2c75dc49207e69cdff562cd2faf2e74aa5192211a023611c6bd", - "typeString": "literal_string \"log(uint256,string,address,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 20221, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25813:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20222, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25817:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25813:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20228, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25813:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20220, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "25797:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20229, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25797:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20230, - "nodeType": "ExpressionStatement", - "src": "25797:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25715:3:15", - "parameters": { - "id": 20218, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20211, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25727:2:15", - "nodeType": "VariableDeclaration", - "scope": 20232, - "src": "25719:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20210, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25719:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20213, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25745:2:15", - "nodeType": "VariableDeclaration", - "scope": 20232, - "src": "25731:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20212, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25731:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20215, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25757:2:15", - "nodeType": "VariableDeclaration", - "scope": 20232, - "src": "25749:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20214, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "25749:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20217, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25769:2:15", - "nodeType": "VariableDeclaration", - "scope": 20232, - "src": "25761:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20216, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "25761:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "25718:54:15" - }, - "returnParameters": { - "id": 20219, - "nodeType": "ParameterList", - "parameters": [], - "src": "25787:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20255, - "nodeType": "FunctionDefinition", - "src": "25905:182:15", - "nodes": [], - "body": { - "id": 20254, - "nodeType": "Block", - "src": "25977:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c75696e743235362c75696e7432353629", - "id": 20246, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26027:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c6acc7a8396e6de9a5a1476aecf2cbff57758b174747b0371b7f3994e930b8b4", - "typeString": "literal_string \"log(uint256,bool,uint256,uint256)\"" - }, - "value": "log(uint256,bool,uint256,uint256)" - }, - { - "id": 20247, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20234, - "src": "26064:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20248, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20236, - "src": "26068:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20249, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20238, - "src": "26072:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20250, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20240, - "src": "26076:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c6acc7a8396e6de9a5a1476aecf2cbff57758b174747b0371b7f3994e930b8b4", - "typeString": "literal_string \"log(uint256,bool,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 20244, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26003:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20245, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26007:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26003:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20251, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26003:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20243, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "25987:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25987:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20253, - "nodeType": "ExpressionStatement", - "src": "25987:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25914:3:15", - "parameters": { - "id": 20241, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20234, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25926:2:15", - "nodeType": "VariableDeclaration", - "scope": 20255, - "src": "25918:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20233, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25918:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20236, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25935:2:15", - "nodeType": "VariableDeclaration", - "scope": 20255, - "src": "25930:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20235, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25930:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20238, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25947:2:15", - "nodeType": "VariableDeclaration", - "scope": 20255, - "src": "25939:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20237, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25939:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20240, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25959:2:15", - "nodeType": "VariableDeclaration", - "scope": 20255, - "src": "25951:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20239, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25951:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "25917:45:15" - }, - "returnParameters": { - "id": 20242, - "nodeType": "ParameterList", - "parameters": [], - "src": "25977:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20278, - "nodeType": "FunctionDefinition", - "src": "26093:187:15", - "nodes": [], - "body": { - "id": 20277, - "nodeType": "Block", - "src": "26171:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c75696e743235362c737472696e6729", - "id": 20269, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26221:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_de03e77403acbacf9b1b18c1115984c9fba2c45e2eec9f12c266ada3f62a0d1b", - "typeString": "literal_string \"log(uint256,bool,uint256,string)\"" - }, - "value": "log(uint256,bool,uint256,string)" - }, - { - "id": 20270, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20257, - "src": "26257:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20271, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20259, - "src": "26261:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20272, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20261, - "src": "26265:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20273, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20263, - "src": "26269:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_de03e77403acbacf9b1b18c1115984c9fba2c45e2eec9f12c266ada3f62a0d1b", - "typeString": "literal_string \"log(uint256,bool,uint256,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 20267, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26197:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20268, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26201:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26197:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20274, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26197:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20266, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "26181:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20275, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26181:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20276, - "nodeType": "ExpressionStatement", - "src": "26181:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26102:3:15", - "parameters": { - "id": 20264, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20257, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26114:2:15", - "nodeType": "VariableDeclaration", - "scope": 20278, - "src": "26106:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20256, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26106:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20259, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26123:2:15", - "nodeType": "VariableDeclaration", - "scope": 20278, - "src": "26118:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20258, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26118:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20261, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26135:2:15", - "nodeType": "VariableDeclaration", - "scope": 20278, - "src": "26127:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20260, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26127:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20263, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26153:2:15", - "nodeType": "VariableDeclaration", - "scope": 20278, - "src": "26139:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20262, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "26139:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "26105:51:15" - }, - "returnParameters": { - "id": 20265, - "nodeType": "ParameterList", - "parameters": [], - "src": "26171:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20301, - "nodeType": "FunctionDefinition", - "src": "26286:176:15", - "nodes": [], - "body": { - "id": 20300, - "nodeType": "Block", - "src": "26355:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c75696e743235362c626f6f6c29", - "id": 20292, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26405:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_91a02e2ac8ae09683fa28beba3fd130b88054c89e51901b8e0510c8e25aa37d1", - "typeString": "literal_string \"log(uint256,bool,uint256,bool)\"" - }, - "value": "log(uint256,bool,uint256,bool)" - }, - { - "id": 20293, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20280, - "src": "26439:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20294, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20282, - "src": "26443:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20295, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20284, - "src": "26447:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20296, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20286, - "src": "26451:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_91a02e2ac8ae09683fa28beba3fd130b88054c89e51901b8e0510c8e25aa37d1", - "typeString": "literal_string \"log(uint256,bool,uint256,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 20290, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26381:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20291, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26385:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26381:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20297, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26381:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20289, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "26365:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26365:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20299, - "nodeType": "ExpressionStatement", - "src": "26365:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26295:3:15", - "parameters": { - "id": 20287, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20280, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26307:2:15", - "nodeType": "VariableDeclaration", - "scope": 20301, - "src": "26299:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20279, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26299:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20282, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26316:2:15", - "nodeType": "VariableDeclaration", - "scope": 20301, - "src": "26311:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20281, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26311:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20284, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26328:2:15", - "nodeType": "VariableDeclaration", - "scope": 20301, - "src": "26320:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20283, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26320:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20286, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26337:2:15", - "nodeType": "VariableDeclaration", - "scope": 20301, - "src": "26332:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20285, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26332:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "26298:42:15" - }, - "returnParameters": { - "id": 20288, - "nodeType": "ParameterList", - "parameters": [], - "src": "26355:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20324, - "nodeType": "FunctionDefinition", - "src": "26468:182:15", - "nodes": [], - "body": { - "id": 20323, - "nodeType": "Block", - "src": "26540:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c75696e743235362c6164647265737329", - "id": 20315, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26590:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_88cb6041693b97a5282ad65a65484c065fbc3d3a4dac698c427f5b30bb33b29b", - "typeString": "literal_string \"log(uint256,bool,uint256,address)\"" - }, - "value": "log(uint256,bool,uint256,address)" - }, - { - "id": 20316, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20303, - "src": "26627:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20317, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20305, - "src": "26631:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20318, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20307, - "src": "26635:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20319, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20309, - "src": "26639:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_88cb6041693b97a5282ad65a65484c065fbc3d3a4dac698c427f5b30bb33b29b", - "typeString": "literal_string \"log(uint256,bool,uint256,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 20313, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26566:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20314, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26570:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26566:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26566:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20312, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "26550:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26550:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20322, - "nodeType": "ExpressionStatement", - "src": "26550:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26477:3:15", - "parameters": { - "id": 20310, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20303, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26489:2:15", - "nodeType": "VariableDeclaration", - "scope": 20324, - "src": "26481:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20302, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26481:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20305, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26498:2:15", - "nodeType": "VariableDeclaration", - "scope": 20324, - "src": "26493:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20304, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26493:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20307, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26510:2:15", - "nodeType": "VariableDeclaration", - "scope": 20324, - "src": "26502:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20306, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26502:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20309, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26522:2:15", - "nodeType": "VariableDeclaration", - "scope": 20324, - "src": "26514:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20308, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "26514:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "26480:45:15" - }, - "returnParameters": { - "id": 20311, - "nodeType": "ParameterList", - "parameters": [], - "src": "26540:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20347, - "nodeType": "FunctionDefinition", - "src": "26656:187:15", - "nodes": [], - "body": { - "id": 20346, - "nodeType": "Block", - "src": "26734:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c737472696e672c75696e7432353629", - "id": 20338, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26784:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c1d07463509a567bf9962980ac948a2ea7c76a53c189a607b7b35b14e806be8", - "typeString": "literal_string \"log(uint256,bool,string,uint256)\"" - }, - "value": "log(uint256,bool,string,uint256)" - }, - { - "id": 20339, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20326, - "src": "26820:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20340, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20328, - "src": "26824:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20341, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20330, - "src": "26828:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20342, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20332, - "src": "26832:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2c1d07463509a567bf9962980ac948a2ea7c76a53c189a607b7b35b14e806be8", - "typeString": "literal_string \"log(uint256,bool,string,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 20336, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26760:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20337, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26764:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26760:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20343, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26760:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20335, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "26744:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20344, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26744:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20345, - "nodeType": "ExpressionStatement", - "src": "26744:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26665:3:15", - "parameters": { - "id": 20333, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20326, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26677:2:15", - "nodeType": "VariableDeclaration", - "scope": 20347, - "src": "26669:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20325, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26669:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20328, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26686:2:15", - "nodeType": "VariableDeclaration", - "scope": 20347, - "src": "26681:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20327, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26681:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20330, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26704:2:15", - "nodeType": "VariableDeclaration", - "scope": 20347, - "src": "26690:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20329, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "26690:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20332, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26716:2:15", - "nodeType": "VariableDeclaration", - "scope": 20347, - "src": "26708:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20331, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26708:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "26668:51:15" - }, - "returnParameters": { - "id": 20334, - "nodeType": "ParameterList", - "parameters": [], - "src": "26734:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20370, - "nodeType": "FunctionDefinition", - "src": "26849:192:15", - "nodes": [], - "body": { - "id": 20369, - "nodeType": "Block", - "src": "26933:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c737472696e672c737472696e6729", - "id": 20361, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26983:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_68c8b8bd8cd0cfd8add7c6745840520db0bd1049365ac415de6367b3b79b5ddd", - "typeString": "literal_string \"log(uint256,bool,string,string)\"" - }, - "value": "log(uint256,bool,string,string)" - }, - { - "id": 20362, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20349, - "src": "27018:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20363, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20351, - "src": "27022:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20364, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20353, - "src": "27026:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20365, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20355, - "src": "27030:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_68c8b8bd8cd0cfd8add7c6745840520db0bd1049365ac415de6367b3b79b5ddd", - "typeString": "literal_string \"log(uint256,bool,string,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 20359, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26959:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20360, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26963:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26959:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26959:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20358, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "26943:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20367, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26943:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20368, - "nodeType": "ExpressionStatement", - "src": "26943:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26858:3:15", - "parameters": { - "id": 20356, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20349, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26870:2:15", - "nodeType": "VariableDeclaration", - "scope": 20370, - "src": "26862:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20348, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26862:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20351, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26879:2:15", - "nodeType": "VariableDeclaration", - "scope": 20370, - "src": "26874:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20350, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26874:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20353, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26897:2:15", - "nodeType": "VariableDeclaration", - "scope": 20370, - "src": "26883:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20352, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "26883:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20355, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26915:2:15", - "nodeType": "VariableDeclaration", - "scope": 20370, - "src": "26901:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20354, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "26901:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "26861:57:15" - }, - "returnParameters": { - "id": 20357, - "nodeType": "ParameterList", - "parameters": [], - "src": "26933:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20393, - "nodeType": "FunctionDefinition", - "src": "27047:181:15", - "nodes": [], - "body": { - "id": 20392, - "nodeType": "Block", - "src": "27122:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c737472696e672c626f6f6c29", - "id": 20384, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27172:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb928d7f2c458ba40d8ba853c60153b2f73ca9189d4be051103bc8a6c10d45ad", - "typeString": "literal_string \"log(uint256,bool,string,bool)\"" - }, - "value": "log(uint256,bool,string,bool)" - }, - { - "id": 20385, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20372, - "src": "27205:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20386, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20374, - "src": "27209:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20387, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20376, - "src": "27213:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20388, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20378, - "src": "27217:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_eb928d7f2c458ba40d8ba853c60153b2f73ca9189d4be051103bc8a6c10d45ad", - "typeString": "literal_string \"log(uint256,bool,string,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 20382, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27148:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20383, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27152:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27148:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20389, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27148:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20381, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "27132:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20390, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27132:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20391, - "nodeType": "ExpressionStatement", - "src": "27132:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27056:3:15", - "parameters": { - "id": 20379, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20372, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27068:2:15", - "nodeType": "VariableDeclaration", - "scope": 20393, - "src": "27060:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20371, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27060:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20374, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27077:2:15", - "nodeType": "VariableDeclaration", - "scope": 20393, - "src": "27072:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20373, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27072:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20376, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27095:2:15", - "nodeType": "VariableDeclaration", - "scope": 20393, - "src": "27081:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20375, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "27081:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20378, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27104:2:15", - "nodeType": "VariableDeclaration", - "scope": 20393, - "src": "27099:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20377, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27099:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "27059:48:15" - }, - "returnParameters": { - "id": 20380, - "nodeType": "ParameterList", - "parameters": [], - "src": "27122:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20416, - "nodeType": "FunctionDefinition", - "src": "27234:187:15", - "nodes": [], - "body": { - "id": 20415, - "nodeType": "Block", - "src": "27312:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c737472696e672c6164647265737329", - "id": 20407, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27362:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ef529018e81552426f837435fb92b39b88965df2736546faff28c9f06e5f58b5", - "typeString": "literal_string \"log(uint256,bool,string,address)\"" - }, - "value": "log(uint256,bool,string,address)" - }, - { - "id": 20408, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20395, - "src": "27398:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20409, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20397, - "src": "27402:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20410, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20399, - "src": "27406:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20411, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20401, - "src": "27410:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ef529018e81552426f837435fb92b39b88965df2736546faff28c9f06e5f58b5", - "typeString": "literal_string \"log(uint256,bool,string,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 20405, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27338:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20406, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27342:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27338:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20412, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27338:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20404, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "27322:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27322:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20414, - "nodeType": "ExpressionStatement", - "src": "27322:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27243:3:15", - "parameters": { - "id": 20402, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20395, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27255:2:15", - "nodeType": "VariableDeclaration", - "scope": 20416, - "src": "27247:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20394, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27247:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20397, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27264:2:15", - "nodeType": "VariableDeclaration", - "scope": 20416, - "src": "27259:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20396, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27259:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20399, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27282:2:15", - "nodeType": "VariableDeclaration", - "scope": 20416, - "src": "27268:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20398, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "27268:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20401, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27294:2:15", - "nodeType": "VariableDeclaration", - "scope": 20416, - "src": "27286:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20400, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27286:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "27246:51:15" - }, - "returnParameters": { - "id": 20403, - "nodeType": "ParameterList", - "parameters": [], - "src": "27312:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20439, - "nodeType": "FunctionDefinition", - "src": "27427:176:15", - "nodes": [], - "body": { - "id": 20438, - "nodeType": "Block", - "src": "27496:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c626f6f6c2c75696e7432353629", - "id": 20430, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27546:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7464ce2380e6490f75dd524dd03612157b27bca22ecbf1bc2f0ca22ac41015d1", - "typeString": "literal_string \"log(uint256,bool,bool,uint256)\"" - }, - "value": "log(uint256,bool,bool,uint256)" - }, - { - "id": 20431, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20418, - "src": "27580:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20432, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20420, - "src": "27584:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20433, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20422, - "src": "27588:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20434, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20424, - "src": "27592:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7464ce2380e6490f75dd524dd03612157b27bca22ecbf1bc2f0ca22ac41015d1", - "typeString": "literal_string \"log(uint256,bool,bool,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 20428, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27522:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20429, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27526:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27522:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27522:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20427, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "27506:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20436, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27506:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20437, - "nodeType": "ExpressionStatement", - "src": "27506:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27436:3:15", - "parameters": { - "id": 20425, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20418, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27448:2:15", - "nodeType": "VariableDeclaration", - "scope": 20439, - "src": "27440:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20417, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27440:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20420, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27457:2:15", - "nodeType": "VariableDeclaration", - "scope": 20439, - "src": "27452:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20419, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27452:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20422, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27466:2:15", - "nodeType": "VariableDeclaration", - "scope": 20439, - "src": "27461:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20421, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27461:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20424, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27478:2:15", - "nodeType": "VariableDeclaration", - "scope": 20439, - "src": "27470:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20423, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27470:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "27439:42:15" - }, - "returnParameters": { - "id": 20426, - "nodeType": "ParameterList", - "parameters": [], - "src": "27496:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20462, - "nodeType": "FunctionDefinition", - "src": "27609:181:15", - "nodes": [], - "body": { - "id": 20461, - "nodeType": "Block", - "src": "27684:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c626f6f6c2c737472696e6729", - "id": 20453, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27734:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dddb956172e374c580dd136b5b8151c6400d22ece6b561a1010b6b9e902dd439", - "typeString": "literal_string \"log(uint256,bool,bool,string)\"" - }, - "value": "log(uint256,bool,bool,string)" - }, - { - "id": 20454, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20441, - "src": "27767:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20455, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20443, - "src": "27771:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20456, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20445, - "src": "27775:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20457, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20447, - "src": "27779:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_dddb956172e374c580dd136b5b8151c6400d22ece6b561a1010b6b9e902dd439", - "typeString": "literal_string \"log(uint256,bool,bool,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 20451, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27710:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20452, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27714:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27710:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20458, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27710:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20450, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "27694:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20459, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27694:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20460, - "nodeType": "ExpressionStatement", - "src": "27694:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27618:3:15", - "parameters": { - "id": 20448, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20441, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27630:2:15", - "nodeType": "VariableDeclaration", - "scope": 20462, - "src": "27622:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20440, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27622:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20443, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27639:2:15", - "nodeType": "VariableDeclaration", - "scope": 20462, - "src": "27634:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20442, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27634:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20445, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27648:2:15", - "nodeType": "VariableDeclaration", - "scope": 20462, - "src": "27643:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20444, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27643:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20447, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27666:2:15", - "nodeType": "VariableDeclaration", - "scope": 20462, - "src": "27652:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20446, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "27652:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "27621:48:15" - }, - "returnParameters": { - "id": 20449, - "nodeType": "ParameterList", - "parameters": [], - "src": "27684:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20485, - "nodeType": "FunctionDefinition", - "src": "27796:170:15", - "nodes": [], - "body": { - "id": 20484, - "nodeType": "Block", - "src": "27862:104:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 20476, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27912:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b6f577a1520f8fa7d40eaff9dcd5f293e28b7606bd07d0a450b13db93da80473", - "typeString": "literal_string \"log(uint256,bool,bool,bool)\"" - }, - "value": "log(uint256,bool,bool,bool)" - }, - { - "id": 20477, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20464, - "src": "27943:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20478, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20466, - "src": "27947:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20479, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20468, - "src": "27951:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20480, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20470, - "src": "27955:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b6f577a1520f8fa7d40eaff9dcd5f293e28b7606bd07d0a450b13db93da80473", - "typeString": "literal_string \"log(uint256,bool,bool,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 20474, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27888:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20475, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27892:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27888:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20481, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27888:70:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20473, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "27872:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20482, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27872:87:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20483, - "nodeType": "ExpressionStatement", - "src": "27872:87:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27805:3:15", - "parameters": { - "id": 20471, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20464, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27817:2:15", - "nodeType": "VariableDeclaration", - "scope": 20485, - "src": "27809:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20463, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27809:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20466, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27826:2:15", - "nodeType": "VariableDeclaration", - "scope": 20485, - "src": "27821:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20465, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27821:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20468, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27835:2:15", - "nodeType": "VariableDeclaration", - "scope": 20485, - "src": "27830:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20467, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27830:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20470, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27844:2:15", - "nodeType": "VariableDeclaration", - "scope": 20485, - "src": "27839:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20469, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27839:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "27808:39:15" - }, - "returnParameters": { - "id": 20472, - "nodeType": "ParameterList", - "parameters": [], - "src": "27862:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20508, - "nodeType": "FunctionDefinition", - "src": "27972:176:15", - "nodes": [], - "body": { - "id": 20507, - "nodeType": "Block", - "src": "28041:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c626f6f6c2c6164647265737329", - "id": 20499, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28091:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_69640b598ea5b9e4e68e932871cb8a509ce832c6718a902773532568b8c95c31", - "typeString": "literal_string \"log(uint256,bool,bool,address)\"" - }, - "value": "log(uint256,bool,bool,address)" - }, - { - "id": 20500, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20487, - "src": "28125:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20501, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20489, - "src": "28129:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20502, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20491, - "src": "28133:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20503, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20493, - "src": "28137:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_69640b598ea5b9e4e68e932871cb8a509ce832c6718a902773532568b8c95c31", - "typeString": "literal_string \"log(uint256,bool,bool,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 20497, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28067:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20498, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28071:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28067:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20504, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28067:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20496, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "28051:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20505, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28051:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20506, - "nodeType": "ExpressionStatement", - "src": "28051:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27981:3:15", - "parameters": { - "id": 20494, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20487, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27993:2:15", - "nodeType": "VariableDeclaration", - "scope": 20508, - "src": "27985:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20486, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27985:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20489, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28002:2:15", - "nodeType": "VariableDeclaration", - "scope": 20508, - "src": "27997:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20488, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27997:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20491, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28011:2:15", - "nodeType": "VariableDeclaration", - "scope": 20508, - "src": "28006:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20490, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "28006:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20493, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28023:2:15", - "nodeType": "VariableDeclaration", - "scope": 20508, - "src": "28015:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20492, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28015:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "27984:42:15" - }, - "returnParameters": { - "id": 20495, - "nodeType": "ParameterList", - "parameters": [], - "src": "28041:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20531, - "nodeType": "FunctionDefinition", - "src": "28154:182:15", - "nodes": [], - "body": { - "id": 20530, - "nodeType": "Block", - "src": "28226:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c616464726573732c75696e7432353629", - "id": 20522, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28276:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_078287f5d654caee11cca90bb8c074a9529509cd07319dc17a93fa036ea5ea88", - "typeString": "literal_string \"log(uint256,bool,address,uint256)\"" - }, - "value": "log(uint256,bool,address,uint256)" - }, - { - "id": 20523, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20510, - "src": "28313:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20524, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20512, - "src": "28317:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20525, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20514, - "src": "28321:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20526, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20516, - "src": "28325:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_078287f5d654caee11cca90bb8c074a9529509cd07319dc17a93fa036ea5ea88", - "typeString": "literal_string \"log(uint256,bool,address,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 20520, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28252:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20521, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28256:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28252:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20527, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28252:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20519, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "28236:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20528, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28236:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20529, - "nodeType": "ExpressionStatement", - "src": "28236:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28163:3:15", - "parameters": { - "id": 20517, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20510, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28175:2:15", - "nodeType": "VariableDeclaration", - "scope": 20531, - "src": "28167:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20509, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28167:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20512, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28184:2:15", - "nodeType": "VariableDeclaration", - "scope": 20531, - "src": "28179:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20511, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "28179:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20514, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28196:2:15", - "nodeType": "VariableDeclaration", - "scope": 20531, - "src": "28188:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20513, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28188:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20516, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28208:2:15", - "nodeType": "VariableDeclaration", - "scope": 20531, - "src": "28200:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20515, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28200:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "28166:45:15" - }, - "returnParameters": { - "id": 20518, - "nodeType": "ParameterList", - "parameters": [], - "src": "28226:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20554, - "nodeType": "FunctionDefinition", - "src": "28342:187:15", - "nodes": [], - "body": { - "id": 20553, - "nodeType": "Block", - "src": "28420:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c616464726573732c737472696e6729", - "id": 20545, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28470:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ade052c70a8f7736e3d4ca12bfb5de52ba51cd4551a71eb41200e5ca9b193461", - "typeString": "literal_string \"log(uint256,bool,address,string)\"" - }, - "value": "log(uint256,bool,address,string)" - }, - { - "id": 20546, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20533, - "src": "28506:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20547, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20535, - "src": "28510:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20548, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20537, - "src": "28514:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20549, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20539, - "src": "28518:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ade052c70a8f7736e3d4ca12bfb5de52ba51cd4551a71eb41200e5ca9b193461", - "typeString": "literal_string \"log(uint256,bool,address,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 20543, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28446:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28450:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28446:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20550, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28446:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20542, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "28430:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28430:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20552, - "nodeType": "ExpressionStatement", - "src": "28430:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28351:3:15", - "parameters": { - "id": 20540, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20533, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28363:2:15", - "nodeType": "VariableDeclaration", - "scope": 20554, - "src": "28355:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20532, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28355:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20535, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28372:2:15", - "nodeType": "VariableDeclaration", - "scope": 20554, - "src": "28367:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20534, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "28367:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20537, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28384:2:15", - "nodeType": "VariableDeclaration", - "scope": 20554, - "src": "28376:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20536, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28376:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20539, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28402:2:15", - "nodeType": "VariableDeclaration", - "scope": 20554, - "src": "28388:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20538, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "28388:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "28354:51:15" - }, - "returnParameters": { - "id": 20541, - "nodeType": "ParameterList", - "parameters": [], - "src": "28420:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20577, - "nodeType": "FunctionDefinition", - "src": "28535:176:15", - "nodes": [], - "body": { - "id": 20576, - "nodeType": "Block", - "src": "28604:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c616464726573732c626f6f6c29", - "id": 20568, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28654:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_454d54a5a1119d55883b5fbee0d6f19af54017eb1650d2284224aac472880f6a", - "typeString": "literal_string \"log(uint256,bool,address,bool)\"" - }, - "value": "log(uint256,bool,address,bool)" - }, - { - "id": 20569, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20556, - "src": "28688:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20570, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20558, - "src": "28692:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20571, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20560, - "src": "28696:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20572, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20562, - "src": "28700:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_454d54a5a1119d55883b5fbee0d6f19af54017eb1650d2284224aac472880f6a", - "typeString": "literal_string \"log(uint256,bool,address,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 20566, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28630:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20567, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28634:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28630:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20573, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28630:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20565, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "28614:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28614:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20575, - "nodeType": "ExpressionStatement", - "src": "28614:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28544:3:15", - "parameters": { - "id": 20563, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20556, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28556:2:15", - "nodeType": "VariableDeclaration", - "scope": 20577, - "src": "28548:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20555, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28548:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20558, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28565:2:15", - "nodeType": "VariableDeclaration", - "scope": 20577, - "src": "28560:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20557, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "28560:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20560, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28577:2:15", - "nodeType": "VariableDeclaration", - "scope": 20577, - "src": "28569:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20559, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28569:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20562, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28586:2:15", - "nodeType": "VariableDeclaration", - "scope": 20577, - "src": "28581:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20561, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "28581:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "28547:42:15" - }, - "returnParameters": { - "id": 20564, - "nodeType": "ParameterList", - "parameters": [], - "src": "28604:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20600, - "nodeType": "FunctionDefinition", - "src": "28717:182:15", - "nodes": [], - "body": { - "id": 20599, - "nodeType": "Block", - "src": "28789:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c616464726573732c6164647265737329", - "id": 20591, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28839:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a1ef4cbbfd0316a849f14b661567c9c341a49bccb745dfb6a3d9b82c389ac190", - "typeString": "literal_string \"log(uint256,bool,address,address)\"" - }, - "value": "log(uint256,bool,address,address)" - }, - { - "id": 20592, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20579, - "src": "28876:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20593, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20581, - "src": "28880:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20594, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20583, - "src": "28884:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20595, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20585, - "src": "28888:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a1ef4cbbfd0316a849f14b661567c9c341a49bccb745dfb6a3d9b82c389ac190", - "typeString": "literal_string \"log(uint256,bool,address,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 20589, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28815:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20590, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28819:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28815:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20596, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28815:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20588, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "28799:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20597, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28799:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20598, - "nodeType": "ExpressionStatement", - "src": "28799:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28726:3:15", - "parameters": { - "id": 20586, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20579, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28738:2:15", - "nodeType": "VariableDeclaration", - "scope": 20600, - "src": "28730:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20578, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28730:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20581, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28747:2:15", - "nodeType": "VariableDeclaration", - "scope": 20600, - "src": "28742:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20580, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "28742:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20583, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28759:2:15", - "nodeType": "VariableDeclaration", - "scope": 20600, - "src": "28751:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20582, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28751:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20585, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28771:2:15", - "nodeType": "VariableDeclaration", - "scope": 20600, - "src": "28763:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20584, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28763:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "28729:45:15" - }, - "returnParameters": { - "id": 20587, - "nodeType": "ParameterList", - "parameters": [], - "src": "28789:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20623, - "nodeType": "FunctionDefinition", - "src": "28905:188:15", - "nodes": [], - "body": { - "id": 20622, - "nodeType": "Block", - "src": "28980:113:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c75696e743235362c75696e7432353629", - "id": 20614, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29030:38:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c9cd9c12a2e17a9af800ac7e9a2b379066135ecb5b197bdb13381ac61cbc59a", - "typeString": "literal_string \"log(uint256,address,uint256,uint256)\"" - }, - "value": "log(uint256,address,uint256,uint256)" - }, - { - "id": 20615, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20602, - "src": "29070:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20616, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20604, - "src": "29074:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20617, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20606, - "src": "29078:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20618, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20608, - "src": "29082:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0c9cd9c12a2e17a9af800ac7e9a2b379066135ecb5b197bdb13381ac61cbc59a", - "typeString": "literal_string \"log(uint256,address,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 20612, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29006:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20613, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29010:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29006:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20619, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29006:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20611, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "28990:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20620, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28990:96:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20621, - "nodeType": "ExpressionStatement", - "src": "28990:96:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28914:3:15", - "parameters": { - "id": 20609, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20602, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28926:2:15", - "nodeType": "VariableDeclaration", - "scope": 20623, - "src": "28918:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20601, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28918:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20604, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28938:2:15", - "nodeType": "VariableDeclaration", - "scope": 20623, - "src": "28930:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20603, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28930:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20606, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28950:2:15", - "nodeType": "VariableDeclaration", - "scope": 20623, - "src": "28942:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20605, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28942:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20608, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28962:2:15", - "nodeType": "VariableDeclaration", - "scope": 20623, - "src": "28954:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20607, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28954:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "28917:48:15" - }, - "returnParameters": { - "id": 20610, - "nodeType": "ParameterList", - "parameters": [], - "src": "28980:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20646, - "nodeType": "FunctionDefinition", - "src": "29099:193:15", - "nodes": [], - "body": { - "id": 20645, - "nodeType": "Block", - "src": "29180:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c75696e743235362c737472696e6729", - "id": 20637, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29230:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ddb06521f885b932f9898b05830c564a50fea82133f47ad308278affbd84d0bd", - "typeString": "literal_string \"log(uint256,address,uint256,string)\"" - }, - "value": "log(uint256,address,uint256,string)" - }, - { - "id": 20638, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20625, - "src": "29269:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20639, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20627, - "src": "29273:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20640, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20629, - "src": "29277:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20641, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20631, - "src": "29281:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ddb06521f885b932f9898b05830c564a50fea82133f47ad308278affbd84d0bd", - "typeString": "literal_string \"log(uint256,address,uint256,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 20635, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29206:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20636, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29210:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29206:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20642, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29206:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20634, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "29190:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20643, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29190:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20644, - "nodeType": "ExpressionStatement", - "src": "29190:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29108:3:15", - "parameters": { - "id": 20632, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20625, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29120:2:15", - "nodeType": "VariableDeclaration", - "scope": 20646, - "src": "29112:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20624, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29112:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20627, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29132:2:15", - "nodeType": "VariableDeclaration", - "scope": 20646, - "src": "29124:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20626, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29124:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20629, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29144:2:15", - "nodeType": "VariableDeclaration", - "scope": 20646, - "src": "29136:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20628, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29136:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20631, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29162:2:15", - "nodeType": "VariableDeclaration", - "scope": 20646, - "src": "29148:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20630, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29148:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "29111:54:15" - }, - "returnParameters": { - "id": 20633, - "nodeType": "ParameterList", - "parameters": [], - "src": "29180:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20669, - "nodeType": "FunctionDefinition", - "src": "29298:182:15", - "nodes": [], - "body": { - "id": 20668, - "nodeType": "Block", - "src": "29370:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c75696e743235362c626f6f6c29", - "id": 20660, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29420:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5f743a7c155871069fb5e6df4e57e25e572bb3015b18294cc69630b2e0ae2e5f", - "typeString": "literal_string \"log(uint256,address,uint256,bool)\"" - }, - "value": "log(uint256,address,uint256,bool)" - }, - { - "id": 20661, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20648, - "src": "29457:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20662, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20650, - "src": "29461:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20663, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20652, - "src": "29465:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20664, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20654, - "src": "29469:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5f743a7c155871069fb5e6df4e57e25e572bb3015b18294cc69630b2e0ae2e5f", - "typeString": "literal_string \"log(uint256,address,uint256,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 20658, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29396:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20659, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29400:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29396:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20665, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29396:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20657, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "29380:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20666, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29380:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20667, - "nodeType": "ExpressionStatement", - "src": "29380:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29307:3:15", - "parameters": { - "id": 20655, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20648, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29319:2:15", - "nodeType": "VariableDeclaration", - "scope": 20669, - "src": "29311:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20647, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29311:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20650, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29331:2:15", - "nodeType": "VariableDeclaration", - "scope": 20669, - "src": "29323:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20649, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29323:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20652, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29343:2:15", - "nodeType": "VariableDeclaration", - "scope": 20669, - "src": "29335:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20651, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29335:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20654, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29352:2:15", - "nodeType": "VariableDeclaration", - "scope": 20669, - "src": "29347:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20653, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "29347:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "29310:45:15" - }, - "returnParameters": { - "id": 20656, - "nodeType": "ParameterList", - "parameters": [], - "src": "29370:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20692, - "nodeType": "FunctionDefinition", - "src": "29486:188:15", - "nodes": [], - "body": { - "id": 20691, - "nodeType": "Block", - "src": "29561:113:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c75696e743235362c6164647265737329", - "id": 20683, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29611:38:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_15c127b50404cc1f9627d5115fd42bf400df548658b1002bf25e12f94854b379", - "typeString": "literal_string \"log(uint256,address,uint256,address)\"" - }, - "value": "log(uint256,address,uint256,address)" - }, - { - "id": 20684, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20671, - "src": "29651:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20685, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20673, - "src": "29655:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20686, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20675, - "src": "29659:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20687, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20677, - "src": "29663:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_15c127b50404cc1f9627d5115fd42bf400df548658b1002bf25e12f94854b379", - "typeString": "literal_string \"log(uint256,address,uint256,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 20681, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29587:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20682, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29591:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29587:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29587:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20680, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "29571:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29571:96:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20690, - "nodeType": "ExpressionStatement", - "src": "29571:96:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29495:3:15", - "parameters": { - "id": 20678, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20671, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29507:2:15", - "nodeType": "VariableDeclaration", - "scope": 20692, - "src": "29499:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20670, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29499:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20673, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29519:2:15", - "nodeType": "VariableDeclaration", - "scope": 20692, - "src": "29511:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20672, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29511:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20675, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29531:2:15", - "nodeType": "VariableDeclaration", - "scope": 20692, - "src": "29523:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20674, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29523:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20677, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29543:2:15", - "nodeType": "VariableDeclaration", - "scope": 20692, - "src": "29535:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20676, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29535:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "29498:48:15" - }, - "returnParameters": { - "id": 20679, - "nodeType": "ParameterList", - "parameters": [], - "src": "29561:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20715, - "nodeType": "FunctionDefinition", - "src": "29680:193:15", - "nodes": [], - "body": { - "id": 20714, - "nodeType": "Block", - "src": "29761:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c737472696e672c75696e7432353629", - "id": 20706, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29811:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_46826b5dec5e8aeff4504f2c138d4e9c8aadb89d9034725f3050269a35303ba0", - "typeString": "literal_string \"log(uint256,address,string,uint256)\"" - }, - "value": "log(uint256,address,string,uint256)" - }, - { - "id": 20707, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20694, - "src": "29850:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20708, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20696, - "src": "29854:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20709, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20698, - "src": "29858:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20710, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20700, - "src": "29862:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_46826b5dec5e8aeff4504f2c138d4e9c8aadb89d9034725f3050269a35303ba0", - "typeString": "literal_string \"log(uint256,address,string,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 20704, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29787:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20705, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29791:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29787:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20711, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29787:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20703, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "29771:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20712, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29771:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20713, - "nodeType": "ExpressionStatement", - "src": "29771:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29689:3:15", - "parameters": { - "id": 20701, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20694, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29701:2:15", - "nodeType": "VariableDeclaration", - "scope": 20715, - "src": "29693:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20693, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29693:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20696, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29713:2:15", - "nodeType": "VariableDeclaration", - "scope": 20715, - "src": "29705:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20695, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29705:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20698, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29731:2:15", - "nodeType": "VariableDeclaration", - "scope": 20715, - "src": "29717:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20697, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29717:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20700, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29743:2:15", - "nodeType": "VariableDeclaration", - "scope": 20715, - "src": "29735:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20699, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29735:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "29692:54:15" - }, - "returnParameters": { - "id": 20702, - "nodeType": "ParameterList", - "parameters": [], - "src": "29761:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20738, - "nodeType": "FunctionDefinition", - "src": "29879:198:15", - "nodes": [], - "body": { - "id": 20737, - "nodeType": "Block", - "src": "29966:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c737472696e672c737472696e6729", - "id": 20729, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30016:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3e128ca3cc785552dc4e62d3c73af79fb5f114dc6f0c0eb2bc0e3bdbbd4a1d3b", - "typeString": "literal_string \"log(uint256,address,string,string)\"" - }, - "value": "log(uint256,address,string,string)" - }, - { - "id": 20730, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20717, - "src": "30054:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20731, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20719, - "src": "30058:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20732, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20721, - "src": "30062:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20733, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20723, - "src": "30066:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3e128ca3cc785552dc4e62d3c73af79fb5f114dc6f0c0eb2bc0e3bdbbd4a1d3b", - "typeString": "literal_string \"log(uint256,address,string,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 20727, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29992:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29996:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29992:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29992:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20726, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "29976:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20735, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29976:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20736, - "nodeType": "ExpressionStatement", - "src": "29976:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29888:3:15", - "parameters": { - "id": 20724, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20717, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29900:2:15", - "nodeType": "VariableDeclaration", - "scope": 20738, - "src": "29892:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20716, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29892:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20719, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29912:2:15", - "nodeType": "VariableDeclaration", - "scope": 20738, - "src": "29904:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20718, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29904:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20721, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29930:2:15", - "nodeType": "VariableDeclaration", - "scope": 20738, - "src": "29916:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20720, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29916:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20723, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29948:2:15", - "nodeType": "VariableDeclaration", - "scope": 20738, - "src": "29934:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20722, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29934:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "29891:60:15" - }, - "returnParameters": { - "id": 20725, - "nodeType": "ParameterList", - "parameters": [], - "src": "29966:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20761, - "nodeType": "FunctionDefinition", - "src": "30083:187:15", - "nodes": [], - "body": { - "id": 20760, - "nodeType": "Block", - "src": "30161:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c737472696e672c626f6f6c29", - "id": 20752, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30211:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cc32ab07df108ae88df1c6b9771e60e5cd39cbe0f0e92481af8633000db2c64b", - "typeString": "literal_string \"log(uint256,address,string,bool)\"" - }, - "value": "log(uint256,address,string,bool)" - }, - { - "id": 20753, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20740, - "src": "30247:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20754, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20742, - "src": "30251:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20755, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20744, - "src": "30255:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20756, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20746, - "src": "30259:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cc32ab07df108ae88df1c6b9771e60e5cd39cbe0f0e92481af8633000db2c64b", - "typeString": "literal_string \"log(uint256,address,string,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 20750, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30187:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20751, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30191:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30187:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30187:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20749, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "30171:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20758, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30171:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20759, - "nodeType": "ExpressionStatement", - "src": "30171:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30092:3:15", - "parameters": { - "id": 20747, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20740, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30104:2:15", - "nodeType": "VariableDeclaration", - "scope": 20761, - "src": "30096:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20739, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30096:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20742, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30116:2:15", - "nodeType": "VariableDeclaration", - "scope": 20761, - "src": "30108:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20741, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30108:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20744, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30134:2:15", - "nodeType": "VariableDeclaration", - "scope": 20761, - "src": "30120:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20743, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30120:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20746, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30143:2:15", - "nodeType": "VariableDeclaration", - "scope": 20761, - "src": "30138:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20745, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30138:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "30095:51:15" - }, - "returnParameters": { - "id": 20748, - "nodeType": "ParameterList", - "parameters": [], - "src": "30161:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20784, - "nodeType": "FunctionDefinition", - "src": "30276:193:15", - "nodes": [], - "body": { - "id": 20783, - "nodeType": "Block", - "src": "30357:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c737472696e672c6164647265737329", - "id": 20775, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30407:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9cba8fffa4a3e6f47d307a71f619bf1719d0a75680c6c916d7776ea0341039b9", - "typeString": "literal_string \"log(uint256,address,string,address)\"" - }, - "value": "log(uint256,address,string,address)" - }, - { - "id": 20776, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20763, - "src": "30446:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20777, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20765, - "src": "30450:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20778, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20767, - "src": "30454:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20779, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20769, - "src": "30458:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9cba8fffa4a3e6f47d307a71f619bf1719d0a75680c6c916d7776ea0341039b9", - "typeString": "literal_string \"log(uint256,address,string,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 20773, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30383:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20774, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30387:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30383:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20780, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30383:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20772, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "30367:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20781, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30367:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20782, - "nodeType": "ExpressionStatement", - "src": "30367:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30285:3:15", - "parameters": { - "id": 20770, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20763, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30297:2:15", - "nodeType": "VariableDeclaration", - "scope": 20784, - "src": "30289:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20762, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30289:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20765, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30309:2:15", - "nodeType": "VariableDeclaration", - "scope": 20784, - "src": "30301:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20764, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30301:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20767, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30327:2:15", - "nodeType": "VariableDeclaration", - "scope": 20784, - "src": "30313:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20766, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30313:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20769, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30339:2:15", - "nodeType": "VariableDeclaration", - "scope": 20784, - "src": "30331:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20768, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30331:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "30288:54:15" - }, - "returnParameters": { - "id": 20771, - "nodeType": "ParameterList", - "parameters": [], - "src": "30357:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20807, - "nodeType": "FunctionDefinition", - "src": "30475:182:15", - "nodes": [], - "body": { - "id": 20806, - "nodeType": "Block", - "src": "30547:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c626f6f6c2c75696e7432353629", - "id": 20798, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30597:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5abd992a7a64be8afc8745d44215dd5b4a31f8b03abd4cb03ff6565b7f51c1b1", - "typeString": "literal_string \"log(uint256,address,bool,uint256)\"" - }, - "value": "log(uint256,address,bool,uint256)" - }, - { - "id": 20799, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20786, - "src": "30634:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20800, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20788, - "src": "30638:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20801, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20790, - "src": "30642:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20802, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20792, - "src": "30646:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5abd992a7a64be8afc8745d44215dd5b4a31f8b03abd4cb03ff6565b7f51c1b1", - "typeString": "literal_string \"log(uint256,address,bool,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 20796, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30573:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30577:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30573:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20803, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30573:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20795, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "30557:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20804, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30557:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20805, - "nodeType": "ExpressionStatement", - "src": "30557:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30484:3:15", - "parameters": { - "id": 20793, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20786, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30496:2:15", - "nodeType": "VariableDeclaration", - "scope": 20807, - "src": "30488:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20785, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30488:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20788, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30508:2:15", - "nodeType": "VariableDeclaration", - "scope": 20807, - "src": "30500:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20787, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30500:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20790, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30517:2:15", - "nodeType": "VariableDeclaration", - "scope": 20807, - "src": "30512:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20789, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30512:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20792, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30529:2:15", - "nodeType": "VariableDeclaration", - "scope": 20807, - "src": "30521:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20791, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30521:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "30487:45:15" - }, - "returnParameters": { - "id": 20794, - "nodeType": "ParameterList", - "parameters": [], - "src": "30547:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20830, - "nodeType": "FunctionDefinition", - "src": "30663:187:15", - "nodes": [], - "body": { - "id": 20829, - "nodeType": "Block", - "src": "30741:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c626f6f6c2c737472696e6729", - "id": 20821, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30791:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_90fb06aa0f94ddb9149d9a0d0271a9fd2b331af93ebc6a4aece22e4f82154c7d", - "typeString": "literal_string \"log(uint256,address,bool,string)\"" - }, - "value": "log(uint256,address,bool,string)" - }, - { - "id": 20822, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20809, - "src": "30827:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20823, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20811, - "src": "30831:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20824, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20813, - "src": "30835:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20825, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20815, - "src": "30839:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_90fb06aa0f94ddb9149d9a0d0271a9fd2b331af93ebc6a4aece22e4f82154c7d", - "typeString": "literal_string \"log(uint256,address,bool,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 20819, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30767:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20820, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30771:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30767:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20826, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30767:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20818, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "30751:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20827, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30751:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20828, - "nodeType": "ExpressionStatement", - "src": "30751:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30672:3:15", - "parameters": { - "id": 20816, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20809, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30684:2:15", - "nodeType": "VariableDeclaration", - "scope": 20830, - "src": "30676:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20808, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30676:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20811, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30696:2:15", - "nodeType": "VariableDeclaration", - "scope": 20830, - "src": "30688:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20810, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30688:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20813, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30705:2:15", - "nodeType": "VariableDeclaration", - "scope": 20830, - "src": "30700:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20812, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30700:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20815, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30723:2:15", - "nodeType": "VariableDeclaration", - "scope": 20830, - "src": "30709:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20814, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30709:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "30675:51:15" - }, - "returnParameters": { - "id": 20817, - "nodeType": "ParameterList", - "parameters": [], - "src": "30741:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20853, - "nodeType": "FunctionDefinition", - "src": "30856:176:15", - "nodes": [], - "body": { - "id": 20852, - "nodeType": "Block", - "src": "30925:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c626f6f6c2c626f6f6c29", - "id": 20844, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30975:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e351140f919f09731a4793c7bb4d5f07234902f499ced9e1e3c9639d2685c6f1", - "typeString": "literal_string \"log(uint256,address,bool,bool)\"" - }, - "value": "log(uint256,address,bool,bool)" - }, - { - "id": 20845, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20832, - "src": "31009:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20846, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20834, - "src": "31013:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20847, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20836, - "src": "31017:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20848, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20838, - "src": "31021:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e351140f919f09731a4793c7bb4d5f07234902f499ced9e1e3c9639d2685c6f1", - "typeString": "literal_string \"log(uint256,address,bool,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 20842, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30951:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20843, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30955:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30951:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20849, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30951:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20841, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "30935:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20850, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30935:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20851, - "nodeType": "ExpressionStatement", - "src": "30935:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30865:3:15", - "parameters": { - "id": 20839, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20832, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30877:2:15", - "nodeType": "VariableDeclaration", - "scope": 20853, - "src": "30869:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20831, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30869:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20834, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30889:2:15", - "nodeType": "VariableDeclaration", - "scope": 20853, - "src": "30881:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20833, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30881:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20836, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30898:2:15", - "nodeType": "VariableDeclaration", - "scope": 20853, - "src": "30893:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20835, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30893:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20838, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30907:2:15", - "nodeType": "VariableDeclaration", - "scope": 20853, - "src": "30902:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20837, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30902:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "30868:42:15" - }, - "returnParameters": { - "id": 20840, - "nodeType": "ParameterList", - "parameters": [], - "src": "30925:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20876, - "nodeType": "FunctionDefinition", - "src": "31038:182:15", - "nodes": [], - "body": { - "id": 20875, - "nodeType": "Block", - "src": "31110:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c626f6f6c2c6164647265737329", - "id": 20867, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31160:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ef72c5130890d3b81e89bdbf9a039a84547328dd01c955d6bb1088aaf2252d05", - "typeString": "literal_string \"log(uint256,address,bool,address)\"" - }, - "value": "log(uint256,address,bool,address)" - }, - { - "id": 20868, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20855, - "src": "31197:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20869, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20857, - "src": "31201:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20870, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20859, - "src": "31205:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20871, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20861, - "src": "31209:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ef72c5130890d3b81e89bdbf9a039a84547328dd01c955d6bb1088aaf2252d05", - "typeString": "literal_string \"log(uint256,address,bool,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 20865, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31136:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20866, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31140:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31136:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20872, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31136:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20864, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "31120:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31120:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20874, - "nodeType": "ExpressionStatement", - "src": "31120:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31047:3:15", - "parameters": { - "id": 20862, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20855, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31059:2:15", - "nodeType": "VariableDeclaration", - "scope": 20876, - "src": "31051:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20854, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31051:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20857, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31071:2:15", - "nodeType": "VariableDeclaration", - "scope": 20876, - "src": "31063:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20856, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31063:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20859, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31080:2:15", - "nodeType": "VariableDeclaration", - "scope": 20876, - "src": "31075:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20858, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "31075:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20861, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31092:2:15", - "nodeType": "VariableDeclaration", - "scope": 20876, - "src": "31084:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20860, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31084:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "31050:45:15" - }, - "returnParameters": { - "id": 20863, - "nodeType": "ParameterList", - "parameters": [], - "src": "31110:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20899, - "nodeType": "FunctionDefinition", - "src": "31226:188:15", - "nodes": [], - "body": { - "id": 20898, - "nodeType": "Block", - "src": "31301:113:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c616464726573732c75696e7432353629", - "id": 20890, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31351:38:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_736efbb692cd4ba0c879f89673f1c5a7eb58e7bd2b833c4d30d41d3aa9c7a23a", - "typeString": "literal_string \"log(uint256,address,address,uint256)\"" - }, - "value": "log(uint256,address,address,uint256)" - }, - { - "id": 20891, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20878, - "src": "31391:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20892, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20880, - "src": "31395:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20893, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20882, - "src": "31399:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20894, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20884, - "src": "31403:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_736efbb692cd4ba0c879f89673f1c5a7eb58e7bd2b833c4d30d41d3aa9c7a23a", - "typeString": "literal_string \"log(uint256,address,address,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 20888, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31327:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20889, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31331:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31327:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31327:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20887, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "31311:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20896, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31311:96:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20897, - "nodeType": "ExpressionStatement", - "src": "31311:96:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31235:3:15", - "parameters": { - "id": 20885, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20878, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31247:2:15", - "nodeType": "VariableDeclaration", - "scope": 20899, - "src": "31239:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20877, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31239:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20880, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31259:2:15", - "nodeType": "VariableDeclaration", - "scope": 20899, - "src": "31251:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20879, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31251:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20882, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31271:2:15", - "nodeType": "VariableDeclaration", - "scope": 20899, - "src": "31263:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20881, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31263:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20884, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31283:2:15", - "nodeType": "VariableDeclaration", - "scope": 20899, - "src": "31275:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20883, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31275:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "31238:48:15" - }, - "returnParameters": { - "id": 20886, - "nodeType": "ParameterList", - "parameters": [], - "src": "31301:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20922, - "nodeType": "FunctionDefinition", - "src": "31420:193:15", - "nodes": [], - "body": { - "id": 20921, - "nodeType": "Block", - "src": "31501:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c616464726573732c737472696e6729", - "id": 20913, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31551:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_031c6f73458c2a0d841ad5d5914dceb24973d9df898a3826eec79330397cd882", - "typeString": "literal_string \"log(uint256,address,address,string)\"" - }, - "value": "log(uint256,address,address,string)" - }, - { - "id": 20914, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20901, - "src": "31590:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20915, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20903, - "src": "31594:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20916, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20905, - "src": "31598:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20917, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20907, - "src": "31602:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_031c6f73458c2a0d841ad5d5914dceb24973d9df898a3826eec79330397cd882", - "typeString": "literal_string \"log(uint256,address,address,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 20911, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31527:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20912, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31531:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31527:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20918, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31527:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20910, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "31511:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20919, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31511:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20920, - "nodeType": "ExpressionStatement", - "src": "31511:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31429:3:15", - "parameters": { - "id": 20908, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20901, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31441:2:15", - "nodeType": "VariableDeclaration", - "scope": 20922, - "src": "31433:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20900, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31433:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20903, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31453:2:15", - "nodeType": "VariableDeclaration", - "scope": 20922, - "src": "31445:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20902, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31445:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20905, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31465:2:15", - "nodeType": "VariableDeclaration", - "scope": 20922, - "src": "31457:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20904, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31457:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20907, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31483:2:15", - "nodeType": "VariableDeclaration", - "scope": 20922, - "src": "31469:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20906, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31469:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "31432:54:15" - }, - "returnParameters": { - "id": 20909, - "nodeType": "ParameterList", - "parameters": [], - "src": "31501:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20945, - "nodeType": "FunctionDefinition", - "src": "31619:182:15", - "nodes": [], - "body": { - "id": 20944, - "nodeType": "Block", - "src": "31691:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c616464726573732c626f6f6c29", - "id": 20936, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31741:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_091ffaf5e3365a794bfeb97b8157886a9ba00c981ee88d8a8fdb0cc96a5e6c1d", - "typeString": "literal_string \"log(uint256,address,address,bool)\"" - }, - "value": "log(uint256,address,address,bool)" - }, - { - "id": 20937, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20924, - "src": "31778:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20938, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20926, - "src": "31782:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20939, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20928, - "src": "31786:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20940, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20930, - "src": "31790:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_091ffaf5e3365a794bfeb97b8157886a9ba00c981ee88d8a8fdb0cc96a5e6c1d", - "typeString": "literal_string \"log(uint256,address,address,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 20934, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31717:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20935, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31721:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31717:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20941, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31717:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20933, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "31701:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20942, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31701:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20943, - "nodeType": "ExpressionStatement", - "src": "31701:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31628:3:15", - "parameters": { - "id": 20931, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20924, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31640:2:15", - "nodeType": "VariableDeclaration", - "scope": 20945, - "src": "31632:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20923, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31632:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20926, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31652:2:15", - "nodeType": "VariableDeclaration", - "scope": 20945, - "src": "31644:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20925, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31644:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20928, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31664:2:15", - "nodeType": "VariableDeclaration", - "scope": 20945, - "src": "31656:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20927, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31656:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20930, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31673:2:15", - "nodeType": "VariableDeclaration", - "scope": 20945, - "src": "31668:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20929, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "31668:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "31631:45:15" - }, - "returnParameters": { - "id": 20932, - "nodeType": "ParameterList", - "parameters": [], - "src": "31691:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20968, - "nodeType": "FunctionDefinition", - "src": "31807:188:15", - "nodes": [], - "body": { - "id": 20967, - "nodeType": "Block", - "src": "31882:113:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c616464726573732c6164647265737329", - "id": 20959, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31932:38:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2488b414330cbd4ddab2b849dacd8bed50b19b82318ec6e4a5ccdf72ee519553", - "typeString": "literal_string \"log(uint256,address,address,address)\"" - }, - "value": "log(uint256,address,address,address)" - }, - { - "id": 20960, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20947, - "src": "31972:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20961, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20949, - "src": "31976:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20962, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20951, - "src": "31980:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20963, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20953, - "src": "31984:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2488b414330cbd4ddab2b849dacd8bed50b19b82318ec6e4a5ccdf72ee519553", - "typeString": "literal_string \"log(uint256,address,address,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 20957, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31908:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20958, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31912:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31908:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20964, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31908:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20956, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "31892:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20965, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31892:96:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20966, - "nodeType": "ExpressionStatement", - "src": "31892:96:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31816:3:15", - "parameters": { - "id": 20954, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20947, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31828:2:15", - "nodeType": "VariableDeclaration", - "scope": 20968, - "src": "31820:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20946, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31820:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20949, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31840:2:15", - "nodeType": "VariableDeclaration", - "scope": 20968, - "src": "31832:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20948, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31832:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20951, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31852:2:15", - "nodeType": "VariableDeclaration", - "scope": 20968, - "src": "31844:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20950, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31844:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20953, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31864:2:15", - "nodeType": "VariableDeclaration", - "scope": 20968, - "src": "31856:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20952, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31856:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "31819:48:15" - }, - "returnParameters": { - "id": 20955, - "nodeType": "ParameterList", - "parameters": [], - "src": "31882:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20991, - "nodeType": "FunctionDefinition", - "src": "32001:193:15", - "nodes": [], - "body": { - "id": 20990, - "nodeType": "Block", - "src": "32082:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c75696e743235362c75696e7432353629", - "id": 20982, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32132:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a7a8785394d9aadf7945b4e3d27726dea716dc88e3f64cc80b3aa9abbd2751c5", - "typeString": "literal_string \"log(string,uint256,uint256,uint256)\"" - }, - "value": "log(string,uint256,uint256,uint256)" - }, - { - "id": 20983, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20970, - "src": "32171:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20984, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20972, - "src": "32175:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20985, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20974, - "src": "32179:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20986, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20976, - "src": "32183:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a7a8785394d9aadf7945b4e3d27726dea716dc88e3f64cc80b3aa9abbd2751c5", - "typeString": "literal_string \"log(string,uint256,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 20980, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32108:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20981, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32112:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32108:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32108:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20979, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "32092:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20988, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32092:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20989, - "nodeType": "ExpressionStatement", - "src": "32092:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32010:3:15", - "parameters": { - "id": 20977, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20970, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32028:2:15", - "nodeType": "VariableDeclaration", - "scope": 20991, - "src": "32014:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20969, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32014:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20972, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32040:2:15", - "nodeType": "VariableDeclaration", - "scope": 20991, - "src": "32032:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20971, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32032:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20974, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32052:2:15", - "nodeType": "VariableDeclaration", - "scope": 20991, - "src": "32044:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20973, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32044:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20976, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32064:2:15", - "nodeType": "VariableDeclaration", - "scope": 20991, - "src": "32056:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20975, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32056:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "32013:54:15" - }, - "returnParameters": { - "id": 20978, - "nodeType": "ParameterList", - "parameters": [], - "src": "32082:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21014, - "nodeType": "FunctionDefinition", - "src": "32200:198:15", - "nodes": [], - "body": { - "id": 21013, - "nodeType": "Block", - "src": "32287:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c75696e743235362c737472696e6729", - "id": 21005, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32337:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_854b34964800cd321ba295da547026c9cfe69753667a81487e80d237f63c927f", - "typeString": "literal_string \"log(string,uint256,uint256,string)\"" - }, - "value": "log(string,uint256,uint256,string)" - }, - { - "id": 21006, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20993, - "src": "32375:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21007, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20995, - "src": "32379:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21008, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20997, - "src": "32383:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21009, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20999, - "src": "32387:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_854b34964800cd321ba295da547026c9cfe69753667a81487e80d237f63c927f", - "typeString": "literal_string \"log(string,uint256,uint256,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 21003, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32313:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21004, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32317:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32313:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32313:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21002, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "32297:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32297:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21012, - "nodeType": "ExpressionStatement", - "src": "32297:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32209:3:15", - "parameters": { - "id": 21000, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20993, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32227:2:15", - "nodeType": "VariableDeclaration", - "scope": 21014, - "src": "32213:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20992, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32213:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20995, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32239:2:15", - "nodeType": "VariableDeclaration", - "scope": 21014, - "src": "32231:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20994, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32231:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20997, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32251:2:15", - "nodeType": "VariableDeclaration", - "scope": 21014, - "src": "32243:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20996, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32243:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20999, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32269:2:15", - "nodeType": "VariableDeclaration", - "scope": 21014, - "src": "32255:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20998, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32255:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "32212:60:15" - }, - "returnParameters": { - "id": 21001, - "nodeType": "ParameterList", - "parameters": [], - "src": "32287:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21037, - "nodeType": "FunctionDefinition", - "src": "32404:187:15", - "nodes": [], - "body": { - "id": 21036, - "nodeType": "Block", - "src": "32482:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c75696e743235362c626f6f6c29", - "id": 21028, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32532:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7626db92bcbe8fb38799da91134ebae6bc6c7b10cb0db567e752720b8fd9ae0f", - "typeString": "literal_string \"log(string,uint256,uint256,bool)\"" - }, - "value": "log(string,uint256,uint256,bool)" - }, - { - "id": 21029, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21016, - "src": "32568:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21030, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21018, - "src": "32572:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21031, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21020, - "src": "32576:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21032, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21022, - "src": "32580:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7626db92bcbe8fb38799da91134ebae6bc6c7b10cb0db567e752720b8fd9ae0f", - "typeString": "literal_string \"log(string,uint256,uint256,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 21026, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32508:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21027, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32512:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32508:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21033, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32508:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21025, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "32492:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32492:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21035, - "nodeType": "ExpressionStatement", - "src": "32492:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32413:3:15", - "parameters": { - "id": 21023, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21016, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32431:2:15", - "nodeType": "VariableDeclaration", - "scope": 21037, - "src": "32417:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21015, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32417:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21018, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32443:2:15", - "nodeType": "VariableDeclaration", - "scope": 21037, - "src": "32435:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21017, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32435:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21020, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32455:2:15", - "nodeType": "VariableDeclaration", - "scope": 21037, - "src": "32447:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21019, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32447:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21022, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32464:2:15", - "nodeType": "VariableDeclaration", - "scope": 21037, - "src": "32459:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21021, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "32459:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "32416:51:15" - }, - "returnParameters": { - "id": 21024, - "nodeType": "ParameterList", - "parameters": [], - "src": "32482:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21060, - "nodeType": "FunctionDefinition", - "src": "32597:193:15", - "nodes": [], - "body": { - "id": 21059, - "nodeType": "Block", - "src": "32678:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c75696e743235362c6164647265737329", - "id": 21051, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32728:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e21de278b3902dab5803384c9ad03fb95c973bc87490e387079e41c7f244f118", - "typeString": "literal_string \"log(string,uint256,uint256,address)\"" - }, - "value": "log(string,uint256,uint256,address)" - }, - { - "id": 21052, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21039, - "src": "32767:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21053, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21041, - "src": "32771:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21054, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21043, - "src": "32775:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21055, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21045, - "src": "32779:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e21de278b3902dab5803384c9ad03fb95c973bc87490e387079e41c7f244f118", - "typeString": "literal_string \"log(string,uint256,uint256,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 21049, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32704:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21050, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32708:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32704:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21056, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32704:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21048, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "32688:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32688:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21058, - "nodeType": "ExpressionStatement", - "src": "32688:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32606:3:15", - "parameters": { - "id": 21046, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21039, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32624:2:15", - "nodeType": "VariableDeclaration", - "scope": 21060, - "src": "32610:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21038, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32610:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21041, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32636:2:15", - "nodeType": "VariableDeclaration", - "scope": 21060, - "src": "32628:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21040, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32628:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21043, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32648:2:15", - "nodeType": "VariableDeclaration", - "scope": 21060, - "src": "32640:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21042, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32640:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21045, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32660:2:15", - "nodeType": "VariableDeclaration", - "scope": 21060, - "src": "32652:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21044, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "32652:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "32609:54:15" - }, - "returnParameters": { - "id": 21047, - "nodeType": "ParameterList", - "parameters": [], - "src": "32678:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21083, - "nodeType": "FunctionDefinition", - "src": "32796:198:15", - "nodes": [], - "body": { - "id": 21082, - "nodeType": "Block", - "src": "32883:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c737472696e672c75696e7432353629", - "id": 21074, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32933:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c67ea9d1db4353b82da41ad5e5b85243320ba3a89399b41c13eee1ab804e84c9", - "typeString": "literal_string \"log(string,uint256,string,uint256)\"" - }, - "value": "log(string,uint256,string,uint256)" - }, - { - "id": 21075, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21062, - "src": "32971:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21076, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21064, - "src": "32975:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21077, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21066, - "src": "32979:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21078, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21068, - "src": "32983:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c67ea9d1db4353b82da41ad5e5b85243320ba3a89399b41c13eee1ab804e84c9", - "typeString": "literal_string \"log(string,uint256,string,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 21072, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32909:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21073, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32913:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32909:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21079, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32909:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21071, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "32893:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32893:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21081, - "nodeType": "ExpressionStatement", - "src": "32893:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32805:3:15", - "parameters": { - "id": 21069, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21062, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32823:2:15", - "nodeType": "VariableDeclaration", - "scope": 21083, - "src": "32809:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21061, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32809:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21064, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32835:2:15", - "nodeType": "VariableDeclaration", - "scope": 21083, - "src": "32827:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21063, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32827:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21066, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32853:2:15", - "nodeType": "VariableDeclaration", - "scope": 21083, - "src": "32839:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21065, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32839:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21068, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32865:2:15", - "nodeType": "VariableDeclaration", - "scope": 21083, - "src": "32857:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21067, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32857:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "32808:60:15" - }, - "returnParameters": { - "id": 21070, - "nodeType": "ParameterList", - "parameters": [], - "src": "32883:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21106, - "nodeType": "FunctionDefinition", - "src": "33000:203:15", - "nodes": [], - "body": { - "id": 21105, - "nodeType": "Block", - "src": "33093:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c737472696e672c737472696e6729", - "id": 21097, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33143:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5ab84e1fba099b79ad99dc62242807811428e5c36b5f473a3b74e319a04c4089", - "typeString": "literal_string \"log(string,uint256,string,string)\"" - }, - "value": "log(string,uint256,string,string)" - }, - { - "id": 21098, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21085, - "src": "33180:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21099, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21087, - "src": "33184:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21100, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21089, - "src": "33188:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21101, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21091, - "src": "33192:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5ab84e1fba099b79ad99dc62242807811428e5c36b5f473a3b74e319a04c4089", - "typeString": "literal_string \"log(string,uint256,string,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 21095, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33119:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21096, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33123:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33119:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33119:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21094, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "33103:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33103:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21104, - "nodeType": "ExpressionStatement", - "src": "33103:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33009:3:15", - "parameters": { - "id": 21092, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21085, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33027:2:15", - "nodeType": "VariableDeclaration", - "scope": 21106, - "src": "33013:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21084, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33013:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21087, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33039:2:15", - "nodeType": "VariableDeclaration", - "scope": 21106, - "src": "33031:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21086, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33031:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21089, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33057:2:15", - "nodeType": "VariableDeclaration", - "scope": 21106, - "src": "33043:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21088, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33043:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21091, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33075:2:15", - "nodeType": "VariableDeclaration", - "scope": 21106, - "src": "33061:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21090, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33061:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "33012:66:15" - }, - "returnParameters": { - "id": 21093, - "nodeType": "ParameterList", - "parameters": [], - "src": "33093:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21129, - "nodeType": "FunctionDefinition", - "src": "33209:192:15", - "nodes": [], - "body": { - "id": 21128, - "nodeType": "Block", - "src": "33293:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c737472696e672c626f6f6c29", - "id": 21120, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33343:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7d24491d69f4bc88a6e68cd8228b6698af11fe37f60f65c80e3f11428a8eba2f", - "typeString": "literal_string \"log(string,uint256,string,bool)\"" - }, - "value": "log(string,uint256,string,bool)" - }, - { - "id": 21121, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21108, - "src": "33378:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21122, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21110, - "src": "33382:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21123, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21112, - "src": "33386:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21124, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21114, - "src": "33390:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7d24491d69f4bc88a6e68cd8228b6698af11fe37f60f65c80e3f11428a8eba2f", - "typeString": "literal_string \"log(string,uint256,string,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 21118, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33319:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21119, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33323:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33319:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21125, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33319:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21117, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "33303:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33303:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21127, - "nodeType": "ExpressionStatement", - "src": "33303:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33218:3:15", - "parameters": { - "id": 21115, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21108, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33236:2:15", - "nodeType": "VariableDeclaration", - "scope": 21129, - "src": "33222:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21107, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33222:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21110, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33248:2:15", - "nodeType": "VariableDeclaration", - "scope": 21129, - "src": "33240:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21109, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33240:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21112, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33266:2:15", - "nodeType": "VariableDeclaration", - "scope": 21129, - "src": "33252:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21111, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33252:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21114, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33275:2:15", - "nodeType": "VariableDeclaration", - "scope": 21129, - "src": "33270:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21113, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "33270:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "33221:57:15" - }, - "returnParameters": { - "id": 21116, - "nodeType": "ParameterList", - "parameters": [], - "src": "33293:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21152, - "nodeType": "FunctionDefinition", - "src": "33407:198:15", - "nodes": [], - "body": { - "id": 21151, - "nodeType": "Block", - "src": "33494:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c737472696e672c6164647265737329", - "id": 21143, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33544:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7c4632a48572fa2d4647539e525c9742d692f8e780540d6116f897ab472257cb", - "typeString": "literal_string \"log(string,uint256,string,address)\"" - }, - "value": "log(string,uint256,string,address)" - }, - { - "id": 21144, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21131, - "src": "33582:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21145, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21133, - "src": "33586:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21146, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21135, - "src": "33590:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21147, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21137, - "src": "33594:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7c4632a48572fa2d4647539e525c9742d692f8e780540d6116f897ab472257cb", - "typeString": "literal_string \"log(string,uint256,string,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 21141, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33520:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21142, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33524:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33520:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21148, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33520:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21140, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "33504:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21149, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33504:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21150, - "nodeType": "ExpressionStatement", - "src": "33504:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33416:3:15", - "parameters": { - "id": 21138, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21131, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33434:2:15", - "nodeType": "VariableDeclaration", - "scope": 21152, - "src": "33420:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21130, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33420:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21133, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33446:2:15", - "nodeType": "VariableDeclaration", - "scope": 21152, - "src": "33438:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21132, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33438:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21135, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33464:2:15", - "nodeType": "VariableDeclaration", - "scope": 21152, - "src": "33450:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21134, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33450:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21137, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33476:2:15", - "nodeType": "VariableDeclaration", - "scope": 21152, - "src": "33468:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21136, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33468:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "33419:60:15" - }, - "returnParameters": { - "id": 21139, - "nodeType": "ParameterList", - "parameters": [], - "src": "33494:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21175, - "nodeType": "FunctionDefinition", - "src": "33611:187:15", - "nodes": [], - "body": { - "id": 21174, - "nodeType": "Block", - "src": "33689:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c626f6f6c2c75696e7432353629", - "id": 21166, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33739:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e41b6f6f58a4f880a3266f23bebaff73175ff4306317c20982bc2eabc04edd13", - "typeString": "literal_string \"log(string,uint256,bool,uint256)\"" - }, - "value": "log(string,uint256,bool,uint256)" - }, - { - "id": 21167, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21154, - "src": "33775:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21168, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21156, - "src": "33779:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21169, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21158, - "src": "33783:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21170, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21160, - "src": "33787:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e41b6f6f58a4f880a3266f23bebaff73175ff4306317c20982bc2eabc04edd13", - "typeString": "literal_string \"log(string,uint256,bool,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 21164, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33715:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33719:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33715:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33715:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21163, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "33699:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21172, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33699:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21173, - "nodeType": "ExpressionStatement", - "src": "33699:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33620:3:15", - "parameters": { - "id": 21161, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21154, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33638:2:15", - "nodeType": "VariableDeclaration", - "scope": 21175, - "src": "33624:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21153, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33624:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21156, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33650:2:15", - "nodeType": "VariableDeclaration", - "scope": 21175, - "src": "33642:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21155, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33642:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21158, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33659:2:15", - "nodeType": "VariableDeclaration", - "scope": 21175, - "src": "33654:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21157, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "33654:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21160, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33671:2:15", - "nodeType": "VariableDeclaration", - "scope": 21175, - "src": "33663:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21159, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33663:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "33623:51:15" - }, - "returnParameters": { - "id": 21162, - "nodeType": "ParameterList", - "parameters": [], - "src": "33689:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21198, - "nodeType": "FunctionDefinition", - "src": "33804:192:15", - "nodes": [], - "body": { - "id": 21197, - "nodeType": "Block", - "src": "33888:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c626f6f6c2c737472696e6729", - "id": 21189, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33938:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_abf73a9831ab2bdeb8da9d06a81eab42196b20e336ab670ecba37bac94839d87", - "typeString": "literal_string \"log(string,uint256,bool,string)\"" - }, - "value": "log(string,uint256,bool,string)" - }, - { - "id": 21190, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21177, - "src": "33973:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21191, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21179, - "src": "33977:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21192, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21181, - "src": "33981:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21193, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21183, - "src": "33985:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_abf73a9831ab2bdeb8da9d06a81eab42196b20e336ab670ecba37bac94839d87", - "typeString": "literal_string \"log(string,uint256,bool,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 21187, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33914:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21188, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33918:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33914:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33914:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21186, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "33898:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21195, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33898:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21196, - "nodeType": "ExpressionStatement", - "src": "33898:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33813:3:15", - "parameters": { - "id": 21184, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21177, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33831:2:15", - "nodeType": "VariableDeclaration", - "scope": 21198, - "src": "33817:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21176, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33817:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21179, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33843:2:15", - "nodeType": "VariableDeclaration", - "scope": 21198, - "src": "33835:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21178, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33835:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21181, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33852:2:15", - "nodeType": "VariableDeclaration", - "scope": 21198, - "src": "33847:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21180, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "33847:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21183, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33870:2:15", - "nodeType": "VariableDeclaration", - "scope": 21198, - "src": "33856:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21182, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33856:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "33816:57:15" - }, - "returnParameters": { - "id": 21185, - "nodeType": "ParameterList", - "parameters": [], - "src": "33888:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21221, - "nodeType": "FunctionDefinition", - "src": "34002:181:15", - "nodes": [], - "body": { - "id": 21220, - "nodeType": "Block", - "src": "34077:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c626f6f6c2c626f6f6c29", - "id": 21212, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34127:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_354c36d6798abb81721fb2beaef51c92cab9d4cf16be10f0a4724648784ecb76", - "typeString": "literal_string \"log(string,uint256,bool,bool)\"" - }, - "value": "log(string,uint256,bool,bool)" - }, - { - "id": 21213, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21200, - "src": "34160:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21214, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21202, - "src": "34164:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21215, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21204, - "src": "34168:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21216, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21206, - "src": "34172:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_354c36d6798abb81721fb2beaef51c92cab9d4cf16be10f0a4724648784ecb76", - "typeString": "literal_string \"log(string,uint256,bool,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 21210, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34103:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21211, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34107:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34103:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21217, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34103:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21209, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "34087:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21218, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34087:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21219, - "nodeType": "ExpressionStatement", - "src": "34087:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34011:3:15", - "parameters": { - "id": 21207, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21200, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34029:2:15", - "nodeType": "VariableDeclaration", - "scope": 21221, - "src": "34015:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21199, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34015:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21202, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34041:2:15", - "nodeType": "VariableDeclaration", - "scope": 21221, - "src": "34033:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21201, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "34033:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21204, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34050:2:15", - "nodeType": "VariableDeclaration", - "scope": 21221, - "src": "34045:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21203, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "34045:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21206, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34059:2:15", - "nodeType": "VariableDeclaration", - "scope": 21221, - "src": "34054:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21205, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "34054:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "34014:48:15" - }, - "returnParameters": { - "id": 21208, - "nodeType": "ParameterList", - "parameters": [], - "src": "34077:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21244, - "nodeType": "FunctionDefinition", - "src": "34189:187:15", - "nodes": [], - "body": { - "id": 21243, - "nodeType": "Block", - "src": "34267:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c626f6f6c2c6164647265737329", - "id": 21235, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34317:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e0e95b9833a204b7ba633bd63a60ec523906565f2c86d8936f7ff3e9937880f7", - "typeString": "literal_string \"log(string,uint256,bool,address)\"" - }, - "value": "log(string,uint256,bool,address)" - }, - { - "id": 21236, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21223, - "src": "34353:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21237, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21225, - "src": "34357:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21238, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21227, - "src": "34361:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21239, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21229, - "src": "34365:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e0e95b9833a204b7ba633bd63a60ec523906565f2c86d8936f7ff3e9937880f7", - "typeString": "literal_string \"log(string,uint256,bool,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 21233, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34293:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21234, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34297:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34293:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34293:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21232, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "34277:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21241, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34277:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21242, - "nodeType": "ExpressionStatement", - "src": "34277:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34198:3:15", - "parameters": { - "id": 21230, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21223, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34216:2:15", - "nodeType": "VariableDeclaration", - "scope": 21244, - "src": "34202:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21222, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34202:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21225, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34228:2:15", - "nodeType": "VariableDeclaration", - "scope": 21244, - "src": "34220:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21224, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "34220:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21227, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34237:2:15", - "nodeType": "VariableDeclaration", - "scope": 21244, - "src": "34232:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21226, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "34232:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21229, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34249:2:15", - "nodeType": "VariableDeclaration", - "scope": 21244, - "src": "34241:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21228, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34241:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "34201:51:15" - }, - "returnParameters": { - "id": 21231, - "nodeType": "ParameterList", - "parameters": [], - "src": "34267:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21267, - "nodeType": "FunctionDefinition", - "src": "34382:193:15", - "nodes": [], - "body": { - "id": 21266, - "nodeType": "Block", - "src": "34463:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c616464726573732c75696e7432353629", - "id": 21258, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34513:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4f04fdc6b6271b036262883bae0d1ea5155524010fed0023b5c71c574fb937ff", - "typeString": "literal_string \"log(string,uint256,address,uint256)\"" - }, - "value": "log(string,uint256,address,uint256)" - }, - { - "id": 21259, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21246, - "src": "34552:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21260, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21248, - "src": "34556:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21261, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21250, - "src": "34560:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21262, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21252, - "src": "34564:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4f04fdc6b6271b036262883bae0d1ea5155524010fed0023b5c71c574fb937ff", - "typeString": "literal_string \"log(string,uint256,address,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 21256, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34489:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21257, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34493:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34489:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21263, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34489:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21255, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "34473:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21264, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34473:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21265, - "nodeType": "ExpressionStatement", - "src": "34473:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34391:3:15", - "parameters": { - "id": 21253, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21246, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34409:2:15", - "nodeType": "VariableDeclaration", - "scope": 21267, - "src": "34395:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21245, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34395:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21248, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34421:2:15", - "nodeType": "VariableDeclaration", - "scope": 21267, - "src": "34413:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21247, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "34413:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21250, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34433:2:15", - "nodeType": "VariableDeclaration", - "scope": 21267, - "src": "34425:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21249, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34425:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21252, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34445:2:15", - "nodeType": "VariableDeclaration", - "scope": 21267, - "src": "34437:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21251, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "34437:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "34394:54:15" - }, - "returnParameters": { - "id": 21254, - "nodeType": "ParameterList", - "parameters": [], - "src": "34463:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21290, - "nodeType": "FunctionDefinition", - "src": "34581:198:15", - "nodes": [], - "body": { - "id": 21289, - "nodeType": "Block", - "src": "34668:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c616464726573732c737472696e6729", - "id": 21281, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34718:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9ffb2f93ff043d0a86ff6dc2ddf23d28dfc95ecde23d406177dfe6f19d070d2b", - "typeString": "literal_string \"log(string,uint256,address,string)\"" - }, - "value": "log(string,uint256,address,string)" - }, - { - "id": 21282, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21269, - "src": "34756:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21283, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21271, - "src": "34760:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21284, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21273, - "src": "34764:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21285, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21275, - "src": "34768:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9ffb2f93ff043d0a86ff6dc2ddf23d28dfc95ecde23d406177dfe6f19d070d2b", - "typeString": "literal_string \"log(string,uint256,address,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 21279, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34694:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21280, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34698:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34694:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21286, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34694:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21278, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "34678:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21287, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34678:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21288, - "nodeType": "ExpressionStatement", - "src": "34678:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34590:3:15", - "parameters": { - "id": 21276, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21269, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34608:2:15", - "nodeType": "VariableDeclaration", - "scope": 21290, - "src": "34594:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21268, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34594:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21271, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34620:2:15", - "nodeType": "VariableDeclaration", - "scope": 21290, - "src": "34612:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21270, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "34612:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21273, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34632:2:15", - "nodeType": "VariableDeclaration", - "scope": 21290, - "src": "34624:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21272, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34624:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21275, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34650:2:15", - "nodeType": "VariableDeclaration", - "scope": 21290, - "src": "34636:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21274, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34636:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "34593:60:15" - }, - "returnParameters": { - "id": 21277, - "nodeType": "ParameterList", - "parameters": [], - "src": "34668:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21313, - "nodeType": "FunctionDefinition", - "src": "34785:187:15", - "nodes": [], - "body": { - "id": 21312, - "nodeType": "Block", - "src": "34863:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c616464726573732c626f6f6c29", - "id": 21304, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34913:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_82112a429657399db0318af6ca78ff56626aa907939e7cf56b60b07035dcc190", - "typeString": "literal_string \"log(string,uint256,address,bool)\"" - }, - "value": "log(string,uint256,address,bool)" - }, - { - "id": 21305, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21292, - "src": "34949:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21306, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21294, - "src": "34953:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21307, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21296, - "src": "34957:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21308, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21298, - "src": "34961:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_82112a429657399db0318af6ca78ff56626aa907939e7cf56b60b07035dcc190", - "typeString": "literal_string \"log(string,uint256,address,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 21302, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34889:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21303, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34893:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34889:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21309, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34889:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21301, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "34873:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21310, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34873:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21311, - "nodeType": "ExpressionStatement", - "src": "34873:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34794:3:15", - "parameters": { - "id": 21299, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21292, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34812:2:15", - "nodeType": "VariableDeclaration", - "scope": 21313, - "src": "34798:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21291, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34798:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21294, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34824:2:15", - "nodeType": "VariableDeclaration", - "scope": 21313, - "src": "34816:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21293, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "34816:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21296, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34836:2:15", - "nodeType": "VariableDeclaration", - "scope": 21313, - "src": "34828:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21295, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34828:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21298, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34845:2:15", - "nodeType": "VariableDeclaration", - "scope": 21313, - "src": "34840:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21297, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "34840:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "34797:51:15" - }, - "returnParameters": { - "id": 21300, - "nodeType": "ParameterList", - "parameters": [], - "src": "34863:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21336, - "nodeType": "FunctionDefinition", - "src": "34978:193:15", - "nodes": [], - "body": { - "id": 21335, - "nodeType": "Block", - "src": "35059:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c616464726573732c6164647265737329", - "id": 21327, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35109:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5ea2b7aea4409bbe3ef8ca502419b3574b002a6123a1f864be076316b8efcd1d", - "typeString": "literal_string \"log(string,uint256,address,address)\"" - }, - "value": "log(string,uint256,address,address)" - }, - { - "id": 21328, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21315, - "src": "35148:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21329, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21317, - "src": "35152:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21330, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21319, - "src": "35156:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21331, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21321, - "src": "35160:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5ea2b7aea4409bbe3ef8ca502419b3574b002a6123a1f864be076316b8efcd1d", - "typeString": "literal_string \"log(string,uint256,address,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 21325, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35085:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21326, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35089:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35085:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21332, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35085:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21324, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "35069:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35069:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21334, - "nodeType": "ExpressionStatement", - "src": "35069:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34987:3:15", - "parameters": { - "id": 21322, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21315, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35005:2:15", - "nodeType": "VariableDeclaration", - "scope": 21336, - "src": "34991:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21314, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34991:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21317, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35017:2:15", - "nodeType": "VariableDeclaration", - "scope": 21336, - "src": "35009:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21316, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35009:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21319, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35029:2:15", - "nodeType": "VariableDeclaration", - "scope": 21336, - "src": "35021:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21318, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35021:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21321, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35041:2:15", - "nodeType": "VariableDeclaration", - "scope": 21336, - "src": "35033:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21320, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35033:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "34990:54:15" - }, - "returnParameters": { - "id": 21323, - "nodeType": "ParameterList", - "parameters": [], - "src": "35059:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21359, - "nodeType": "FunctionDefinition", - "src": "35177:198:15", - "nodes": [], - "body": { - "id": 21358, - "nodeType": "Block", - "src": "35264:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e743235362c75696e7432353629", - "id": 21350, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35314:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f45d7d2cd1abe030b09347ce21ce66b503ffdad3e7a1ad6df9e55da5d9367776", - "typeString": "literal_string \"log(string,string,uint256,uint256)\"" - }, - "value": "log(string,string,uint256,uint256)" - }, - { - "id": 21351, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21338, - "src": "35352:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21352, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21340, - "src": "35356:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21353, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21342, - "src": "35360:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21354, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21344, - "src": "35364:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f45d7d2cd1abe030b09347ce21ce66b503ffdad3e7a1ad6df9e55da5d9367776", - "typeString": "literal_string \"log(string,string,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 21348, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35290:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21349, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35294:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35290:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21355, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35290:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21347, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "35274:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21356, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35274:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21357, - "nodeType": "ExpressionStatement", - "src": "35274:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35186:3:15", - "parameters": { - "id": 21345, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21338, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35204:2:15", - "nodeType": "VariableDeclaration", - "scope": 21359, - "src": "35190:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21337, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35190:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21340, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35222:2:15", - "nodeType": "VariableDeclaration", - "scope": 21359, - "src": "35208:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21339, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35208:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21342, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35234:2:15", - "nodeType": "VariableDeclaration", - "scope": 21359, - "src": "35226:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21341, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35226:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21344, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35246:2:15", - "nodeType": "VariableDeclaration", - "scope": 21359, - "src": "35238:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21343, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35238:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "35189:60:15" - }, - "returnParameters": { - "id": 21346, - "nodeType": "ParameterList", - "parameters": [], - "src": "35264:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21382, - "nodeType": "FunctionDefinition", - "src": "35381:203:15", - "nodes": [], - "body": { - "id": 21381, - "nodeType": "Block", - "src": "35474:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e743235362c737472696e6729", - "id": 21373, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35524:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d1a971aebb8f2fbb7526a470ca55e409230d59ee63217090d29ce11b768e909", - "typeString": "literal_string \"log(string,string,uint256,string)\"" - }, - "value": "log(string,string,uint256,string)" - }, - { - "id": 21374, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21361, - "src": "35561:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21375, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21363, - "src": "35565:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21376, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21365, - "src": "35569:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21377, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21367, - "src": "35573:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5d1a971aebb8f2fbb7526a470ca55e409230d59ee63217090d29ce11b768e909", - "typeString": "literal_string \"log(string,string,uint256,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 21371, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35500:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21372, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35504:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35500:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21378, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35500:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21370, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "35484:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21379, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35484:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21380, - "nodeType": "ExpressionStatement", - "src": "35484:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35390:3:15", - "parameters": { - "id": 21368, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21361, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35408:2:15", - "nodeType": "VariableDeclaration", - "scope": 21382, - "src": "35394:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21360, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35394:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21363, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35426:2:15", - "nodeType": "VariableDeclaration", - "scope": 21382, - "src": "35412:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21362, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35412:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21365, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35438:2:15", - "nodeType": "VariableDeclaration", - "scope": 21382, - "src": "35430:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21364, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35430:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21367, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35456:2:15", - "nodeType": "VariableDeclaration", - "scope": 21382, - "src": "35442:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21366, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35442:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "35393:66:15" - }, - "returnParameters": { - "id": 21369, - "nodeType": "ParameterList", - "parameters": [], - "src": "35474:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21405, - "nodeType": "FunctionDefinition", - "src": "35590:192:15", - "nodes": [], - "body": { - "id": 21404, - "nodeType": "Block", - "src": "35674:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e743235362c626f6f6c29", - "id": 21396, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35724:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c3a8a6546b97cf01562dd9ca797c4955f3bab9bc163d02081737c20b686446d2", - "typeString": "literal_string \"log(string,string,uint256,bool)\"" - }, - "value": "log(string,string,uint256,bool)" - }, - { - "id": 21397, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21384, - "src": "35759:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21398, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21386, - "src": "35763:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21399, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21388, - "src": "35767:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21400, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21390, - "src": "35771:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c3a8a6546b97cf01562dd9ca797c4955f3bab9bc163d02081737c20b686446d2", - "typeString": "literal_string \"log(string,string,uint256,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 21394, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35700:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21395, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35704:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35700:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21401, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35700:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21393, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "35684:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21402, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35684:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21403, - "nodeType": "ExpressionStatement", - "src": "35684:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35599:3:15", - "parameters": { - "id": 21391, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21384, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35617:2:15", - "nodeType": "VariableDeclaration", - "scope": 21405, - "src": "35603:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21383, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35603:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21386, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35635:2:15", - "nodeType": "VariableDeclaration", - "scope": 21405, - "src": "35621:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21385, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35621:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21388, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35647:2:15", - "nodeType": "VariableDeclaration", - "scope": 21405, - "src": "35639:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21387, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35639:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21390, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35656:2:15", - "nodeType": "VariableDeclaration", - "scope": 21405, - "src": "35651:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21389, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35651:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "35602:57:15" - }, - "returnParameters": { - "id": 21392, - "nodeType": "ParameterList", - "parameters": [], - "src": "35674:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21428, - "nodeType": "FunctionDefinition", - "src": "35788:198:15", - "nodes": [], - "body": { - "id": 21427, - "nodeType": "Block", - "src": "35875:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e743235362c6164647265737329", - "id": 21419, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35925:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1023f7b286378387abf24b7020dbd1ddde789519cf7f13da727146a2a8a61fc6", - "typeString": "literal_string \"log(string,string,uint256,address)\"" - }, - "value": "log(string,string,uint256,address)" - }, - { - "id": 21420, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21407, - "src": "35963:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21421, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21409, - "src": "35967:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21422, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21411, - "src": "35971:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21423, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21413, - "src": "35975:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1023f7b286378387abf24b7020dbd1ddde789519cf7f13da727146a2a8a61fc6", - "typeString": "literal_string \"log(string,string,uint256,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 21417, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35901:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21418, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35905:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35901:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35901:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21416, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "35885:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21425, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35885:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21426, - "nodeType": "ExpressionStatement", - "src": "35885:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35797:3:15", - "parameters": { - "id": 21414, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21407, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35815:2:15", - "nodeType": "VariableDeclaration", - "scope": 21428, - "src": "35801:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21406, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35801:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21409, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35833:2:15", - "nodeType": "VariableDeclaration", - "scope": 21428, - "src": "35819:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21408, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35819:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21411, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35845:2:15", - "nodeType": "VariableDeclaration", - "scope": 21428, - "src": "35837:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21410, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35837:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21413, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35857:2:15", - "nodeType": "VariableDeclaration", - "scope": 21428, - "src": "35849:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21412, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35849:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "35800:60:15" - }, - "returnParameters": { - "id": 21415, - "nodeType": "ParameterList", - "parameters": [], - "src": "35875:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21451, - "nodeType": "FunctionDefinition", - "src": "35992:203:15", - "nodes": [], - "body": { - "id": 21450, - "nodeType": "Block", - "src": "36085:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c75696e7432353629", - "id": 21442, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36135:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8eafb02b2f27070f4cef3c26d2b8a8d041c7bf077352780062dc5a70550ac689", - "typeString": "literal_string \"log(string,string,string,uint256)\"" - }, - "value": "log(string,string,string,uint256)" - }, - { - "id": 21443, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21430, - "src": "36172:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21444, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21432, - "src": "36176:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21445, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21434, - "src": "36180:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21446, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21436, - "src": "36184:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8eafb02b2f27070f4cef3c26d2b8a8d041c7bf077352780062dc5a70550ac689", - "typeString": "literal_string \"log(string,string,string,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 21440, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36111:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21441, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36115:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36111:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36111:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21439, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "36095:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21448, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36095:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21449, - "nodeType": "ExpressionStatement", - "src": "36095:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36001:3:15", - "parameters": { - "id": 21437, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21430, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36019:2:15", - "nodeType": "VariableDeclaration", - "scope": 21451, - "src": "36005:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21429, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36005:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21432, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36037:2:15", - "nodeType": "VariableDeclaration", - "scope": 21451, - "src": "36023:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21431, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36023:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21434, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36055:2:15", - "nodeType": "VariableDeclaration", - "scope": 21451, - "src": "36041:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21433, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36041:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21436, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36067:2:15", - "nodeType": "VariableDeclaration", - "scope": 21451, - "src": "36059:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21435, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "36059:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "36004:66:15" - }, - "returnParameters": { - "id": 21438, - "nodeType": "ParameterList", - "parameters": [], - "src": "36085:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21474, - "nodeType": "FunctionDefinition", - "src": "36201:208:15", - "nodes": [], - "body": { - "id": 21473, - "nodeType": "Block", - "src": "36300:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c737472696e6729", - "id": 21465, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36350:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_de68f20a8e88f68d54c5aa294860ee37b58680632686e2f1101e4e042a2cbcbe", - "typeString": "literal_string \"log(string,string,string,string)\"" - }, - "value": "log(string,string,string,string)" - }, - { - "id": 21466, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21453, - "src": "36386:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21467, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21455, - "src": "36390:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21468, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21457, - "src": "36394:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21469, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21459, - "src": "36398:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_de68f20a8e88f68d54c5aa294860ee37b58680632686e2f1101e4e042a2cbcbe", - "typeString": "literal_string \"log(string,string,string,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 21463, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36326:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21464, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36330:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36326:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36326:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21462, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "36310:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36310:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21472, - "nodeType": "ExpressionStatement", - "src": "36310:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36210:3:15", - "parameters": { - "id": 21460, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21453, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36228:2:15", - "nodeType": "VariableDeclaration", - "scope": 21474, - "src": "36214:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21452, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36214:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21455, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36246:2:15", - "nodeType": "VariableDeclaration", - "scope": 21474, - "src": "36232:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21454, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36232:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21457, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36264:2:15", - "nodeType": "VariableDeclaration", - "scope": 21474, - "src": "36250:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21456, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36250:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21459, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36282:2:15", - "nodeType": "VariableDeclaration", - "scope": 21474, - "src": "36268:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21458, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36268:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "36213:72:15" - }, - "returnParameters": { - "id": 21461, - "nodeType": "ParameterList", - "parameters": [], - "src": "36300:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21497, - "nodeType": "FunctionDefinition", - "src": "36415:197:15", - "nodes": [], - "body": { - "id": 21496, - "nodeType": "Block", - "src": "36505:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c626f6f6c29", - "id": 21488, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36555:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c1754ed9d3bc50669c3e71e3115dc4403f3cff35aa9b6b58799f80b5496f332", - "typeString": "literal_string \"log(string,string,string,bool)\"" - }, - "value": "log(string,string,string,bool)" - }, - { - "id": 21489, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21476, - "src": "36589:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21490, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21478, - "src": "36593:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21491, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21480, - "src": "36597:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21492, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21482, - "src": "36601:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2c1754ed9d3bc50669c3e71e3115dc4403f3cff35aa9b6b58799f80b5496f332", - "typeString": "literal_string \"log(string,string,string,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 21486, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36531:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21487, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36535:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36531:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21493, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36531:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21485, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "36515:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21494, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36515:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21495, - "nodeType": "ExpressionStatement", - "src": "36515:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36424:3:15", - "parameters": { - "id": 21483, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21476, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36442:2:15", - "nodeType": "VariableDeclaration", - "scope": 21497, - "src": "36428:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21475, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36428:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21478, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36460:2:15", - "nodeType": "VariableDeclaration", - "scope": 21497, - "src": "36446:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21477, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36446:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21480, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36478:2:15", - "nodeType": "VariableDeclaration", - "scope": 21497, - "src": "36464:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21479, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36464:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21482, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36487:2:15", - "nodeType": "VariableDeclaration", - "scope": 21497, - "src": "36482:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21481, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36482:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "36427:63:15" - }, - "returnParameters": { - "id": 21484, - "nodeType": "ParameterList", - "parameters": [], - "src": "36505:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21520, - "nodeType": "FunctionDefinition", - "src": "36618:203:15", - "nodes": [], - "body": { - "id": 21519, - "nodeType": "Block", - "src": "36711:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c6164647265737329", - "id": 21511, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36761:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d572f449cf1e446ea3ace51a34ce30628f4f1588a39dc5d550cefb210c5bb16", - "typeString": "literal_string \"log(string,string,string,address)\"" - }, - "value": "log(string,string,string,address)" - }, - { - "id": 21512, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21499, - "src": "36798:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21513, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21501, - "src": "36802:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21514, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21503, - "src": "36806:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21515, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21505, - "src": "36810:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6d572f449cf1e446ea3ace51a34ce30628f4f1588a39dc5d550cefb210c5bb16", - "typeString": "literal_string \"log(string,string,string,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 21509, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36737:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21510, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36741:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36737:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21516, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36737:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21508, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "36721:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21517, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36721:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21518, - "nodeType": "ExpressionStatement", - "src": "36721:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36627:3:15", - "parameters": { - "id": 21506, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21499, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36645:2:15", - "nodeType": "VariableDeclaration", - "scope": 21520, - "src": "36631:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21498, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36631:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21501, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36663:2:15", - "nodeType": "VariableDeclaration", - "scope": 21520, - "src": "36649:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21500, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36649:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21503, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36681:2:15", - "nodeType": "VariableDeclaration", - "scope": 21520, - "src": "36667:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21502, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36667:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21505, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36693:2:15", - "nodeType": "VariableDeclaration", - "scope": 21520, - "src": "36685:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21504, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "36685:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "36630:66:15" - }, - "returnParameters": { - "id": 21507, - "nodeType": "ParameterList", - "parameters": [], - "src": "36711:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21543, - "nodeType": "FunctionDefinition", - "src": "36827:192:15", - "nodes": [], - "body": { - "id": 21542, - "nodeType": "Block", - "src": "36911:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c75696e7432353629", - "id": 21534, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36961:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d6aefad2ecee6d91421acc41f939bded56985ac5c9cf6e49011ee16b1bb31729", - "typeString": "literal_string \"log(string,string,bool,uint256)\"" - }, - "value": "log(string,string,bool,uint256)" - }, - { - "id": 21535, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21522, - "src": "36996:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21536, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21524, - "src": "37000:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21537, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21526, - "src": "37004:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21538, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21528, - "src": "37008:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d6aefad2ecee6d91421acc41f939bded56985ac5c9cf6e49011ee16b1bb31729", - "typeString": "literal_string \"log(string,string,bool,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 21532, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36937:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21533, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36941:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36937:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21539, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36937:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21531, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "36921:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21540, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36921:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21541, - "nodeType": "ExpressionStatement", - "src": "36921:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36836:3:15", - "parameters": { - "id": 21529, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21522, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36854:2:15", - "nodeType": "VariableDeclaration", - "scope": 21543, - "src": "36840:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21521, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36840:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21524, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36872:2:15", - "nodeType": "VariableDeclaration", - "scope": 21543, - "src": "36858:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21523, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36858:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21526, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36881:2:15", - "nodeType": "VariableDeclaration", - "scope": 21543, - "src": "36876:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21525, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36876:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21528, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36893:2:15", - "nodeType": "VariableDeclaration", - "scope": 21543, - "src": "36885:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21527, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "36885:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "36839:57:15" - }, - "returnParameters": { - "id": 21530, - "nodeType": "ParameterList", - "parameters": [], - "src": "36911:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21566, - "nodeType": "FunctionDefinition", - "src": "37025:197:15", - "nodes": [], - "body": { - "id": 21565, - "nodeType": "Block", - "src": "37115:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c737472696e6729", - "id": 21557, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37165:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5e84b0ea51a130c3c7e1443097f28cb5c541ea8487836ae7cb1ca9c6e683699b", - "typeString": "literal_string \"log(string,string,bool,string)\"" - }, - "value": "log(string,string,bool,string)" - }, - { - "id": 21558, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21545, - "src": "37199:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21559, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21547, - "src": "37203:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21560, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21549, - "src": "37207:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21561, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21551, - "src": "37211:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5e84b0ea51a130c3c7e1443097f28cb5c541ea8487836ae7cb1ca9c6e683699b", - "typeString": "literal_string \"log(string,string,bool,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 21555, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37141:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21556, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37145:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37141:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21562, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37141:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21554, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "37125:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21563, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37125:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21564, - "nodeType": "ExpressionStatement", - "src": "37125:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37034:3:15", - "parameters": { - "id": 21552, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21545, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37052:2:15", - "nodeType": "VariableDeclaration", - "scope": 21566, - "src": "37038:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21544, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37038:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21547, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37070:2:15", - "nodeType": "VariableDeclaration", - "scope": 21566, - "src": "37056:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21546, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37056:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21549, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37079:2:15", - "nodeType": "VariableDeclaration", - "scope": 21566, - "src": "37074:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21548, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37074:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21551, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37097:2:15", - "nodeType": "VariableDeclaration", - "scope": 21566, - "src": "37083:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21550, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37083:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "37037:63:15" - }, - "returnParameters": { - "id": 21553, - "nodeType": "ParameterList", - "parameters": [], - "src": "37115:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21589, - "nodeType": "FunctionDefinition", - "src": "37228:186:15", - "nodes": [], - "body": { - "id": 21588, - "nodeType": "Block", - "src": "37309:105:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c626f6f6c29", - "id": 21580, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37359:30:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_40785869c0ea63ca2ccbcf7415552989c2f1ce04f151eb3b2bd695c64d21af10", - "typeString": "literal_string \"log(string,string,bool,bool)\"" - }, - "value": "log(string,string,bool,bool)" - }, - { - "id": 21581, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21568, - "src": "37391:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21582, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21570, - "src": "37395:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21583, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21572, - "src": "37399:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21584, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21574, - "src": "37403:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_40785869c0ea63ca2ccbcf7415552989c2f1ce04f151eb3b2bd695c64d21af10", - "typeString": "literal_string \"log(string,string,bool,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 21578, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37335:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21579, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37339:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37335:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21585, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37335:71:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21577, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "37319:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37319:88:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21587, - "nodeType": "ExpressionStatement", - "src": "37319:88:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37237:3:15", - "parameters": { - "id": 21575, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21568, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37255:2:15", - "nodeType": "VariableDeclaration", - "scope": 21589, - "src": "37241:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21567, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37241:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21570, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37273:2:15", - "nodeType": "VariableDeclaration", - "scope": 21589, - "src": "37259:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21569, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37259:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21572, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37282:2:15", - "nodeType": "VariableDeclaration", - "scope": 21589, - "src": "37277:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21571, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37277:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21574, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37291:2:15", - "nodeType": "VariableDeclaration", - "scope": 21589, - "src": "37286:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21573, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37286:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "37240:54:15" - }, - "returnParameters": { - "id": 21576, - "nodeType": "ParameterList", - "parameters": [], - "src": "37309:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21612, - "nodeType": "FunctionDefinition", - "src": "37420:192:15", - "nodes": [], - "body": { - "id": 21611, - "nodeType": "Block", - "src": "37504:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c6164647265737329", - "id": 21603, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37554:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c371c7db0a4b104babdbdf00d079eb75cb5aa1d401c4fb726c8e5559029df84d", - "typeString": "literal_string \"log(string,string,bool,address)\"" - }, - "value": "log(string,string,bool,address)" - }, - { - "id": 21604, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21591, - "src": "37589:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21605, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21593, - "src": "37593:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21606, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21595, - "src": "37597:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21607, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21597, - "src": "37601:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c371c7db0a4b104babdbdf00d079eb75cb5aa1d401c4fb726c8e5559029df84d", - "typeString": "literal_string \"log(string,string,bool,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 21601, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37530:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21602, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37534:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37530:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21608, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37530:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21600, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "37514:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37514:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21610, - "nodeType": "ExpressionStatement", - "src": "37514:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37429:3:15", - "parameters": { - "id": 21598, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21591, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37447:2:15", - "nodeType": "VariableDeclaration", - "scope": 21612, - "src": "37433:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21590, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37433:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21593, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37465:2:15", - "nodeType": "VariableDeclaration", - "scope": 21612, - "src": "37451:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21592, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37451:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21595, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37474:2:15", - "nodeType": "VariableDeclaration", - "scope": 21612, - "src": "37469:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21594, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37469:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21597, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37486:2:15", - "nodeType": "VariableDeclaration", - "scope": 21612, - "src": "37478:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21596, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "37478:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "37432:57:15" - }, - "returnParameters": { - "id": 21599, - "nodeType": "ParameterList", - "parameters": [], - "src": "37504:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21635, - "nodeType": "FunctionDefinition", - "src": "37618:198:15", - "nodes": [], - "body": { - "id": 21634, - "nodeType": "Block", - "src": "37705:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c75696e7432353629", - "id": 21626, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37755:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7cc3c607046f21bb2d1cc4864448de2e6c44029beb9bfc36cf6ca90777ae5a00", - "typeString": "literal_string \"log(string,string,address,uint256)\"" - }, - "value": "log(string,string,address,uint256)" - }, - { - "id": 21627, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21614, - "src": "37793:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21628, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21616, - "src": "37797:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21629, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21618, - "src": "37801:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21630, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21620, - "src": "37805:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7cc3c607046f21bb2d1cc4864448de2e6c44029beb9bfc36cf6ca90777ae5a00", - "typeString": "literal_string \"log(string,string,address,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 21624, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37731:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21625, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37735:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37731:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21631, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37731:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21623, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "37715:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21632, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37715:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21633, - "nodeType": "ExpressionStatement", - "src": "37715:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37627:3:15", - "parameters": { - "id": 21621, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21614, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37645:2:15", - "nodeType": "VariableDeclaration", - "scope": 21635, - "src": "37631:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21613, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37631:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21616, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37663:2:15", - "nodeType": "VariableDeclaration", - "scope": 21635, - "src": "37649:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21615, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37649:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21618, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37675:2:15", - "nodeType": "VariableDeclaration", - "scope": 21635, - "src": "37667:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21617, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "37667:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21620, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37687:2:15", - "nodeType": "VariableDeclaration", - "scope": 21635, - "src": "37679:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21619, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37679:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37630:60:15" - }, - "returnParameters": { - "id": 21622, - "nodeType": "ParameterList", - "parameters": [], - "src": "37705:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21658, - "nodeType": "FunctionDefinition", - "src": "37822:203:15", - "nodes": [], - "body": { - "id": 21657, - "nodeType": "Block", - "src": "37915:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c737472696e6729", - "id": 21649, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37965:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb1bff805ef136c60bfed230c7b932a14c6f7a62608edeaf56f8f2c0575d25b6", - "typeString": "literal_string \"log(string,string,address,string)\"" - }, - "value": "log(string,string,address,string)" - }, - { - "id": 21650, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21637, - "src": "38002:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21651, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21639, - "src": "38006:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21652, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21641, - "src": "38010:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21653, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21643, - "src": "38014:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_eb1bff805ef136c60bfed230c7b932a14c6f7a62608edeaf56f8f2c0575d25b6", - "typeString": "literal_string \"log(string,string,address,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 21647, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37941:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21648, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37945:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37941:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21654, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37941:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21646, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "37925:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21655, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37925:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21656, - "nodeType": "ExpressionStatement", - "src": "37925:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37831:3:15", - "parameters": { - "id": 21644, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21637, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37849:2:15", - "nodeType": "VariableDeclaration", - "scope": 21658, - "src": "37835:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21636, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37835:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21639, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37867:2:15", - "nodeType": "VariableDeclaration", - "scope": 21658, - "src": "37853:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21638, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37853:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21641, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37879:2:15", - "nodeType": "VariableDeclaration", - "scope": 21658, - "src": "37871:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21640, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "37871:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21643, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37897:2:15", - "nodeType": "VariableDeclaration", - "scope": 21658, - "src": "37883:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21642, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37883:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "37834:66:15" - }, - "returnParameters": { - "id": 21645, - "nodeType": "ParameterList", - "parameters": [], - "src": "37915:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21681, - "nodeType": "FunctionDefinition", - "src": "38031:192:15", - "nodes": [], - "body": { - "id": 21680, - "nodeType": "Block", - "src": "38115:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c626f6f6c29", - "id": 21672, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38165:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5ccd4e373eb6ae26626c8607ae861c55cda5fd321363edde7e6328e09072ba63", - "typeString": "literal_string \"log(string,string,address,bool)\"" - }, - "value": "log(string,string,address,bool)" - }, - { - "id": 21673, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21660, - "src": "38200:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21674, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21662, - "src": "38204:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21675, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21664, - "src": "38208:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21676, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21666, - "src": "38212:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5ccd4e373eb6ae26626c8607ae861c55cda5fd321363edde7e6328e09072ba63", - "typeString": "literal_string \"log(string,string,address,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 21670, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38141:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21671, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38145:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38141:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38141:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21669, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "38125:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38125:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21679, - "nodeType": "ExpressionStatement", - "src": "38125:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38040:3:15", - "parameters": { - "id": 21667, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21660, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38058:2:15", - "nodeType": "VariableDeclaration", - "scope": 21681, - "src": "38044:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21659, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38044:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21662, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38076:2:15", - "nodeType": "VariableDeclaration", - "scope": 21681, - "src": "38062:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21661, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38062:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21664, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38088:2:15", - "nodeType": "VariableDeclaration", - "scope": 21681, - "src": "38080:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21663, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "38080:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21666, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38097:2:15", - "nodeType": "VariableDeclaration", - "scope": 21681, - "src": "38092:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21665, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38092:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "38043:57:15" - }, - "returnParameters": { - "id": 21668, - "nodeType": "ParameterList", - "parameters": [], - "src": "38115:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21704, - "nodeType": "FunctionDefinition", - "src": "38229:198:15", - "nodes": [], - "body": { - "id": 21703, - "nodeType": "Block", - "src": "38316:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c6164647265737329", - "id": 21695, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38366:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_439c7befd1b6bfcb9bd001c1f3a991ef43c070f0ace0c190dd9f16d7ae338a5d", - "typeString": "literal_string \"log(string,string,address,address)\"" - }, - "value": "log(string,string,address,address)" - }, - { - "id": 21696, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21683, - "src": "38404:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21697, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21685, - "src": "38408:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21698, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21687, - "src": "38412:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21699, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21689, - "src": "38416:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_439c7befd1b6bfcb9bd001c1f3a991ef43c070f0ace0c190dd9f16d7ae338a5d", - "typeString": "literal_string \"log(string,string,address,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 21693, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38342:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21694, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38346:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38342:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21700, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38342:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21692, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "38326:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21701, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38326:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21702, - "nodeType": "ExpressionStatement", - "src": "38326:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38238:3:15", - "parameters": { - "id": 21690, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21683, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38256:2:15", - "nodeType": "VariableDeclaration", - "scope": 21704, - "src": "38242:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21682, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38242:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21685, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38274:2:15", - "nodeType": "VariableDeclaration", - "scope": 21704, - "src": "38260:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21684, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38260:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21687, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38286:2:15", - "nodeType": "VariableDeclaration", - "scope": 21704, - "src": "38278:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21686, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "38278:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21689, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38298:2:15", - "nodeType": "VariableDeclaration", - "scope": 21704, - "src": "38290:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21688, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "38290:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "38241:60:15" - }, - "returnParameters": { - "id": 21691, - "nodeType": "ParameterList", - "parameters": [], - "src": "38316:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21727, - "nodeType": "FunctionDefinition", - "src": "38433:187:15", - "nodes": [], - "body": { - "id": 21726, - "nodeType": "Block", - "src": "38511:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e743235362c75696e7432353629", - "id": 21718, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38561:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_64b5bb671d0911515c2d999ed3f7f689c3b5762a99b342dfee4a1d88fec7b25e", - "typeString": "literal_string \"log(string,bool,uint256,uint256)\"" - }, - "value": "log(string,bool,uint256,uint256)" - }, - { - "id": 21719, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21706, - "src": "38597:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21720, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21708, - "src": "38601:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21721, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21710, - "src": "38605:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21722, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21712, - "src": "38609:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_64b5bb671d0911515c2d999ed3f7f689c3b5762a99b342dfee4a1d88fec7b25e", - "typeString": "literal_string \"log(string,bool,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 21716, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38537:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21717, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38541:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38537:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21723, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38537:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21715, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "38521:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21724, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38521:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21725, - "nodeType": "ExpressionStatement", - "src": "38521:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38442:3:15", - "parameters": { - "id": 21713, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21706, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38460:2:15", - "nodeType": "VariableDeclaration", - "scope": 21727, - "src": "38446:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21705, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38446:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21708, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38469:2:15", - "nodeType": "VariableDeclaration", - "scope": 21727, - "src": "38464:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21707, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38464:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21710, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38481:2:15", - "nodeType": "VariableDeclaration", - "scope": 21727, - "src": "38473:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21709, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "38473:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21712, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38493:2:15", - "nodeType": "VariableDeclaration", - "scope": 21727, - "src": "38485:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21711, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "38485:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "38445:51:15" - }, - "returnParameters": { - "id": 21714, - "nodeType": "ParameterList", - "parameters": [], - "src": "38511:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21750, - "nodeType": "FunctionDefinition", - "src": "38626:192:15", - "nodes": [], - "body": { - "id": 21749, - "nodeType": "Block", - "src": "38710:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e743235362c737472696e6729", - "id": 21741, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38760:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_742d6ee771df9df1dec5a8b70ff5f7f41567f6ae9fe27e7e391b2811f9978b00", - "typeString": "literal_string \"log(string,bool,uint256,string)\"" - }, - "value": "log(string,bool,uint256,string)" - }, - { - "id": 21742, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21729, - "src": "38795:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21743, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21731, - "src": "38799:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21744, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21733, - "src": "38803:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21745, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21735, - "src": "38807:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_742d6ee771df9df1dec5a8b70ff5f7f41567f6ae9fe27e7e391b2811f9978b00", - "typeString": "literal_string \"log(string,bool,uint256,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 21739, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38736:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21740, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38740:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38736:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21746, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38736:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21738, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "38720:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38720:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21748, - "nodeType": "ExpressionStatement", - "src": "38720:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38635:3:15", - "parameters": { - "id": 21736, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21729, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38653:2:15", - "nodeType": "VariableDeclaration", - "scope": 21750, - "src": "38639:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21728, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38639:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21731, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38662:2:15", - "nodeType": "VariableDeclaration", - "scope": 21750, - "src": "38657:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21730, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38657:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21733, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38674:2:15", - "nodeType": "VariableDeclaration", - "scope": 21750, - "src": "38666:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21732, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "38666:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21735, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38692:2:15", - "nodeType": "VariableDeclaration", - "scope": 21750, - "src": "38678:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21734, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38678:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "38638:57:15" - }, - "returnParameters": { - "id": 21737, - "nodeType": "ParameterList", - "parameters": [], - "src": "38710:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21773, - "nodeType": "FunctionDefinition", - "src": "38824:181:15", - "nodes": [], - "body": { - "id": 21772, - "nodeType": "Block", - "src": "38899:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e743235362c626f6f6c29", - "id": 21764, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38949:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8af7cf8a379b674b00a81c3841f4203ce23fde0db10f1f8c2a0017ca424d79e2", - "typeString": "literal_string \"log(string,bool,uint256,bool)\"" - }, - "value": "log(string,bool,uint256,bool)" - }, - { - "id": 21765, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21752, - "src": "38982:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21766, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21754, - "src": "38986:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21767, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21756, - "src": "38990:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21768, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21758, - "src": "38994:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8af7cf8a379b674b00a81c3841f4203ce23fde0db10f1f8c2a0017ca424d79e2", - "typeString": "literal_string \"log(string,bool,uint256,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 21762, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38925:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21763, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38929:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38925:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38925:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21761, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "38909:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38909:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21771, - "nodeType": "ExpressionStatement", - "src": "38909:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38833:3:15", - "parameters": { - "id": 21759, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21752, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38851:2:15", - "nodeType": "VariableDeclaration", - "scope": 21773, - "src": "38837:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21751, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38837:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21754, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38860:2:15", - "nodeType": "VariableDeclaration", - "scope": 21773, - "src": "38855:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21753, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38855:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21756, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38872:2:15", - "nodeType": "VariableDeclaration", - "scope": 21773, - "src": "38864:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21755, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "38864:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21758, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38881:2:15", - "nodeType": "VariableDeclaration", - "scope": 21773, - "src": "38876:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21757, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38876:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "38836:48:15" - }, - "returnParameters": { - "id": 21760, - "nodeType": "ParameterList", - "parameters": [], - "src": "38899:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21796, - "nodeType": "FunctionDefinition", - "src": "39011:187:15", - "nodes": [], - "body": { - "id": 21795, - "nodeType": "Block", - "src": "39089:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e743235362c6164647265737329", - "id": 21787, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39139:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_935e09bfd29779a7e049f17e6e907bb9f7181e93c0c486cf646b7471eb4a9d1e", - "typeString": "literal_string \"log(string,bool,uint256,address)\"" - }, - "value": "log(string,bool,uint256,address)" - }, - { - "id": 21788, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21775, - "src": "39175:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21789, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21777, - "src": "39179:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21790, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21779, - "src": "39183:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21791, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21781, - "src": "39187:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_935e09bfd29779a7e049f17e6e907bb9f7181e93c0c486cf646b7471eb4a9d1e", - "typeString": "literal_string \"log(string,bool,uint256,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 21785, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39115:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21786, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39119:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39115:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21792, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39115:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21784, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "39099:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39099:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21794, - "nodeType": "ExpressionStatement", - "src": "39099:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39020:3:15", - "parameters": { - "id": 21782, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21775, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39038:2:15", - "nodeType": "VariableDeclaration", - "scope": 21796, - "src": "39024:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21774, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39024:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21777, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39047:2:15", - "nodeType": "VariableDeclaration", - "scope": 21796, - "src": "39042:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21776, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39042:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21779, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39059:2:15", - "nodeType": "VariableDeclaration", - "scope": 21796, - "src": "39051:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21778, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "39051:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21781, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39071:2:15", - "nodeType": "VariableDeclaration", - "scope": 21796, - "src": "39063:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21780, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39063:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "39023:51:15" - }, - "returnParameters": { - "id": 21783, - "nodeType": "ParameterList", - "parameters": [], - "src": "39089:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21819, - "nodeType": "FunctionDefinition", - "src": "39204:192:15", - "nodes": [], - "body": { - "id": 21818, - "nodeType": "Block", - "src": "39288:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c75696e7432353629", - "id": 21810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39338:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_24f9146562ee02c43db65ac014241fab3a51c9e29435f60d2ed133a186cac03a", - "typeString": "literal_string \"log(string,bool,string,uint256)\"" - }, - "value": "log(string,bool,string,uint256)" - }, - { - "id": 21811, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21798, - "src": "39373:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21812, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21800, - "src": "39377:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21813, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21802, - "src": "39381:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21814, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21804, - "src": "39385:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_24f9146562ee02c43db65ac014241fab3a51c9e29435f60d2ed133a186cac03a", - "typeString": "literal_string \"log(string,bool,string,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 21808, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39314:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21809, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39318:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39314:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39314:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21807, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "39298:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21816, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39298:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21817, - "nodeType": "ExpressionStatement", - "src": "39298:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39213:3:15", - "parameters": { - "id": 21805, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21798, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39231:2:15", - "nodeType": "VariableDeclaration", - "scope": 21819, - "src": "39217:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21797, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39217:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21800, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39240:2:15", - "nodeType": "VariableDeclaration", - "scope": 21819, - "src": "39235:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21799, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39235:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21802, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39258:2:15", - "nodeType": "VariableDeclaration", - "scope": 21819, - "src": "39244:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21801, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39244:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21804, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39270:2:15", - "nodeType": "VariableDeclaration", - "scope": 21819, - "src": "39262:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21803, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "39262:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "39216:57:15" - }, - "returnParameters": { - "id": 21806, - "nodeType": "ParameterList", - "parameters": [], - "src": "39288:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21842, - "nodeType": "FunctionDefinition", - "src": "39402:197:15", - "nodes": [], - "body": { - "id": 21841, - "nodeType": "Block", - "src": "39492:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c737472696e6729", - "id": 21833, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39542:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a826caebc65f4a71211c1c7fd8dc9bdd856d7ef7dbeef42d8af156e9f73bc47d", - "typeString": "literal_string \"log(string,bool,string,string)\"" - }, - "value": "log(string,bool,string,string)" - }, - { - "id": 21834, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21821, - "src": "39576:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21835, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21823, - "src": "39580:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21836, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21825, - "src": "39584:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21837, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21827, - "src": "39588:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a826caebc65f4a71211c1c7fd8dc9bdd856d7ef7dbeef42d8af156e9f73bc47d", - "typeString": "literal_string \"log(string,bool,string,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 21831, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39518:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21832, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39522:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39518:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21838, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39518:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21830, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "39502:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21839, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39502:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21840, - "nodeType": "ExpressionStatement", - "src": "39502:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39411:3:15", - "parameters": { - "id": 21828, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21821, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39429:2:15", - "nodeType": "VariableDeclaration", - "scope": 21842, - "src": "39415:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21820, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39415:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21823, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39438:2:15", - "nodeType": "VariableDeclaration", - "scope": 21842, - "src": "39433:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21822, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39433:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21825, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39456:2:15", - "nodeType": "VariableDeclaration", - "scope": 21842, - "src": "39442:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21824, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39442:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21827, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39474:2:15", - "nodeType": "VariableDeclaration", - "scope": 21842, - "src": "39460:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21826, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39460:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "39414:63:15" - }, - "returnParameters": { - "id": 21829, - "nodeType": "ParameterList", - "parameters": [], - "src": "39492:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21865, - "nodeType": "FunctionDefinition", - "src": "39605:186:15", - "nodes": [], - "body": { - "id": 21864, - "nodeType": "Block", - "src": "39686:105:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c626f6f6c29", - "id": 21856, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39736:30:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3f8a701d00386d6ad9c7b7a930805b985bcbbe108e894a7d5cb9493e87e57e8b", - "typeString": "literal_string \"log(string,bool,string,bool)\"" - }, - "value": "log(string,bool,string,bool)" - }, - { - "id": 21857, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21844, - "src": "39768:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21858, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21846, - "src": "39772:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21859, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21848, - "src": "39776:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21860, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21850, - "src": "39780:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3f8a701d00386d6ad9c7b7a930805b985bcbbe108e894a7d5cb9493e87e57e8b", - "typeString": "literal_string \"log(string,bool,string,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 21854, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39712:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21855, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39716:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39712:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21861, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39712:71:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21853, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "39696:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21862, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39696:88:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21863, - "nodeType": "ExpressionStatement", - "src": "39696:88:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39614:3:15", - "parameters": { - "id": 21851, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21844, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39632:2:15", - "nodeType": "VariableDeclaration", - "scope": 21865, - "src": "39618:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21843, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39618:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21846, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39641:2:15", - "nodeType": "VariableDeclaration", - "scope": 21865, - "src": "39636:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21845, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39636:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21848, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39659:2:15", - "nodeType": "VariableDeclaration", - "scope": 21865, - "src": "39645:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21847, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39645:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21850, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39668:2:15", - "nodeType": "VariableDeclaration", - "scope": 21865, - "src": "39663:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21849, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39663:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "39617:54:15" - }, - "returnParameters": { - "id": 21852, - "nodeType": "ParameterList", - "parameters": [], - "src": "39686:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21888, - "nodeType": "FunctionDefinition", - "src": "39797:192:15", - "nodes": [], - "body": { - "id": 21887, - "nodeType": "Block", - "src": "39881:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c6164647265737329", - "id": 21879, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39931:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e0625b292fa5cbc865b55f61713cbbe0ce7abb244ec2df45291ea19c30ddfaf8", - "typeString": "literal_string \"log(string,bool,string,address)\"" - }, - "value": "log(string,bool,string,address)" - }, - { - "id": 21880, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21867, - "src": "39966:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21881, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21869, - "src": "39970:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21882, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21871, - "src": "39974:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21883, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21873, - "src": "39978:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e0625b292fa5cbc865b55f61713cbbe0ce7abb244ec2df45291ea19c30ddfaf8", - "typeString": "literal_string \"log(string,bool,string,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 21877, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39907:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21878, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39911:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39907:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21884, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39907:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21876, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "39891:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39891:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21886, - "nodeType": "ExpressionStatement", - "src": "39891:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39806:3:15", - "parameters": { - "id": 21874, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21867, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39824:2:15", - "nodeType": "VariableDeclaration", - "scope": 21888, - "src": "39810:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21866, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39810:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21869, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39833:2:15", - "nodeType": "VariableDeclaration", - "scope": 21888, - "src": "39828:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21868, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39828:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21871, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39851:2:15", - "nodeType": "VariableDeclaration", - "scope": 21888, - "src": "39837:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21870, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39837:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21873, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39863:2:15", - "nodeType": "VariableDeclaration", - "scope": 21888, - "src": "39855:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21872, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39855:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "39809:57:15" - }, - "returnParameters": { - "id": 21875, - "nodeType": "ParameterList", - "parameters": [], - "src": "39881:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21911, - "nodeType": "FunctionDefinition", - "src": "39995:181:15", - "nodes": [], - "body": { - "id": 21910, - "nodeType": "Block", - "src": "40070:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c75696e7432353629", - "id": 21902, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40120:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8e3f78a95b6137f6ae9ccc69d6fedacb3b283b432b4367bfc497a4b3b428665c", - "typeString": "literal_string \"log(string,bool,bool,uint256)\"" - }, - "value": "log(string,bool,bool,uint256)" - }, - { - "id": 21903, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21890, - "src": "40153:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21904, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21892, - "src": "40157:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21905, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21894, - "src": "40161:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21906, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21896, - "src": "40165:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8e3f78a95b6137f6ae9ccc69d6fedacb3b283b432b4367bfc497a4b3b428665c", - "typeString": "literal_string \"log(string,bool,bool,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 21900, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40096:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21901, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40100:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40096:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40096:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21899, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "40080:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40080:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21909, - "nodeType": "ExpressionStatement", - "src": "40080:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40004:3:15", - "parameters": { - "id": 21897, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21890, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40022:2:15", - "nodeType": "VariableDeclaration", - "scope": 21911, - "src": "40008:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21889, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40008:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21892, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40031:2:15", - "nodeType": "VariableDeclaration", - "scope": 21911, - "src": "40026:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21891, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40026:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21894, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40040:2:15", - "nodeType": "VariableDeclaration", - "scope": 21911, - "src": "40035:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21893, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40035:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21896, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40052:2:15", - "nodeType": "VariableDeclaration", - "scope": 21911, - "src": "40044:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21895, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "40044:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "40007:48:15" - }, - "returnParameters": { - "id": 21898, - "nodeType": "ParameterList", - "parameters": [], - "src": "40070:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21934, - "nodeType": "FunctionDefinition", - "src": "40182:186:15", - "nodes": [], - "body": { - "id": 21933, - "nodeType": "Block", - "src": "40263:105:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c737472696e6729", - "id": 21925, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40313:30:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9d22d5dd5fa6b44920526f32944af8a0b12651bcfe7d5e4d9330573146eaf058", - "typeString": "literal_string \"log(string,bool,bool,string)\"" - }, - "value": "log(string,bool,bool,string)" - }, - { - "id": 21926, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21913, - "src": "40345:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21927, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21915, - "src": "40349:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21928, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21917, - "src": "40353:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21929, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21919, - "src": "40357:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9d22d5dd5fa6b44920526f32944af8a0b12651bcfe7d5e4d9330573146eaf058", - "typeString": "literal_string \"log(string,bool,bool,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 21923, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40289:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21924, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40293:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40289:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40289:71:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21922, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "40273:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21931, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40273:88:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21932, - "nodeType": "ExpressionStatement", - "src": "40273:88:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40191:3:15", - "parameters": { - "id": 21920, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21913, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40209:2:15", - "nodeType": "VariableDeclaration", - "scope": 21934, - "src": "40195:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21912, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40195:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21915, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40218:2:15", - "nodeType": "VariableDeclaration", - "scope": 21934, - "src": "40213:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21914, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40213:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21917, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40227:2:15", - "nodeType": "VariableDeclaration", - "scope": 21934, - "src": "40222:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21916, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40222:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21919, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40245:2:15", - "nodeType": "VariableDeclaration", - "scope": 21934, - "src": "40231:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21918, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40231:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "40194:54:15" - }, - "returnParameters": { - "id": 21921, - "nodeType": "ParameterList", - "parameters": [], - "src": "40263:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21957, - "nodeType": "FunctionDefinition", - "src": "40374:175:15", - "nodes": [], - "body": { - "id": 21956, - "nodeType": "Block", - "src": "40446:103:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 21948, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40496:28:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_895af8c5b50078ceec3119054e20583155eeb3e1a8f56b8ed56efbec57456ad2", - "typeString": "literal_string \"log(string,bool,bool,bool)\"" - }, - "value": "log(string,bool,bool,bool)" - }, - { - "id": 21949, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21936, - "src": "40526:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21950, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21938, - "src": "40530:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21951, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21940, - "src": "40534:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21952, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21942, - "src": "40538:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_895af8c5b50078ceec3119054e20583155eeb3e1a8f56b8ed56efbec57456ad2", - "typeString": "literal_string \"log(string,bool,bool,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 21946, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40472:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21947, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40476:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40472:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21953, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40472:69:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21945, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "40456:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40456:86:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21955, - "nodeType": "ExpressionStatement", - "src": "40456:86:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40383:3:15", - "parameters": { - "id": 21943, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21936, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40401:2:15", - "nodeType": "VariableDeclaration", - "scope": 21957, - "src": "40387:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21935, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40387:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21938, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40410:2:15", - "nodeType": "VariableDeclaration", - "scope": 21957, - "src": "40405:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21937, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40405:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21940, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40419:2:15", - "nodeType": "VariableDeclaration", - "scope": 21957, - "src": "40414:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21939, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40414:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21942, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40428:2:15", - "nodeType": "VariableDeclaration", - "scope": 21957, - "src": "40423:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21941, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40423:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "40386:45:15" - }, - "returnParameters": { - "id": 21944, - "nodeType": "ParameterList", - "parameters": [], - "src": "40446:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21980, - "nodeType": "FunctionDefinition", - "src": "40555:181:15", - "nodes": [], - "body": { - "id": 21979, - "nodeType": "Block", - "src": "40630:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c6164647265737329", - "id": 21971, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40680:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7190a529624f3e9168945b9053b9648f6439313f31cad0801b50f9dc38a45d4d", - "typeString": "literal_string \"log(string,bool,bool,address)\"" - }, - "value": "log(string,bool,bool,address)" - }, - { - "id": 21972, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21959, - "src": "40713:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21973, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21961, - "src": "40717:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21974, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21963, - "src": "40721:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21975, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21965, - "src": "40725:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7190a529624f3e9168945b9053b9648f6439313f31cad0801b50f9dc38a45d4d", - "typeString": "literal_string \"log(string,bool,bool,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 21969, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40656:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21970, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40660:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40656:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21976, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40656:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21968, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "40640:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21977, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40640:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21978, - "nodeType": "ExpressionStatement", - "src": "40640:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40564:3:15", - "parameters": { - "id": 21966, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21959, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40582:2:15", - "nodeType": "VariableDeclaration", - "scope": 21980, - "src": "40568:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21958, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40568:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21961, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40591:2:15", - "nodeType": "VariableDeclaration", - "scope": 21980, - "src": "40586:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21960, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40586:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21963, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40600:2:15", - "nodeType": "VariableDeclaration", - "scope": 21980, - "src": "40595:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21962, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40595:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21965, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40612:2:15", - "nodeType": "VariableDeclaration", - "scope": 21980, - "src": "40604:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21964, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40604:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "40567:48:15" - }, - "returnParameters": { - "id": 21967, - "nodeType": "ParameterList", - "parameters": [], - "src": "40630:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22003, - "nodeType": "FunctionDefinition", - "src": "40742:187:15", - "nodes": [], - "body": { - "id": 22002, - "nodeType": "Block", - "src": "40820:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c75696e7432353629", - "id": 21994, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40870:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d08bb051545e1af26b8dc05172e6aa8a0bd85212ec19e971b10cea364c21531", - "typeString": "literal_string \"log(string,bool,address,uint256)\"" - }, - "value": "log(string,bool,address,uint256)" - }, - { - "id": 21995, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21982, - "src": "40906:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21996, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21984, - "src": "40910:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21997, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21986, - "src": "40914:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21998, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21988, - "src": "40918:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5d08bb051545e1af26b8dc05172e6aa8a0bd85212ec19e971b10cea364c21531", - "typeString": "literal_string \"log(string,bool,address,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 21992, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40846:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21993, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40850:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40846:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21999, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40846:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21991, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "40830:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40830:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22001, - "nodeType": "ExpressionStatement", - "src": "40830:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40751:3:15", - "parameters": { - "id": 21989, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21982, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40769:2:15", - "nodeType": "VariableDeclaration", - "scope": 22003, - "src": "40755:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21981, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40755:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21984, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40778:2:15", - "nodeType": "VariableDeclaration", - "scope": 22003, - "src": "40773:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21983, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40773:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21986, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40790:2:15", - "nodeType": "VariableDeclaration", - "scope": 22003, - "src": "40782:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21985, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40782:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21988, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40802:2:15", - "nodeType": "VariableDeclaration", - "scope": 22003, - "src": "40794:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21987, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "40794:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "40754:51:15" - }, - "returnParameters": { - "id": 21990, - "nodeType": "ParameterList", - "parameters": [], - "src": "40820:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22026, - "nodeType": "FunctionDefinition", - "src": "40935:192:15", - "nodes": [], - "body": { - "id": 22025, - "nodeType": "Block", - "src": "41019:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c737472696e6729", - "id": 22017, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41069:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2d8e33a4e52268aad313274a8446eec6f40466a28da2456a8f12d83b298c13ef", - "typeString": "literal_string \"log(string,bool,address,string)\"" - }, - "value": "log(string,bool,address,string)" - }, - { - "id": 22018, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22005, - "src": "41104:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22019, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22007, - "src": "41108:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22020, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22009, - "src": "41112:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22021, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22011, - "src": "41116:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2d8e33a4e52268aad313274a8446eec6f40466a28da2456a8f12d83b298c13ef", - "typeString": "literal_string \"log(string,bool,address,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 22015, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41045:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22016, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41049:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41045:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22022, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41045:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22014, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "41029:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22023, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41029:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22024, - "nodeType": "ExpressionStatement", - "src": "41029:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40944:3:15", - "parameters": { - "id": 22012, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22005, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40962:2:15", - "nodeType": "VariableDeclaration", - "scope": 22026, - "src": "40948:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22004, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40948:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22007, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40971:2:15", - "nodeType": "VariableDeclaration", - "scope": 22026, - "src": "40966:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22006, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40966:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22009, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40983:2:15", - "nodeType": "VariableDeclaration", - "scope": 22026, - "src": "40975:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22008, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40975:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22011, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41001:2:15", - "nodeType": "VariableDeclaration", - "scope": 22026, - "src": "40987:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22010, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40987:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "40947:57:15" - }, - "returnParameters": { - "id": 22013, - "nodeType": "ParameterList", - "parameters": [], - "src": "41019:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22049, - "nodeType": "FunctionDefinition", - "src": "41133:181:15", - "nodes": [], - "body": { - "id": 22048, - "nodeType": "Block", - "src": "41208:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c626f6f6c29", - "id": 22040, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41258:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_958c28c6e7bd79de7ce7f6f112cbcb194d9e383764dfb947492ee1374ff5c482", - "typeString": "literal_string \"log(string,bool,address,bool)\"" - }, - "value": "log(string,bool,address,bool)" - }, - { - "id": 22041, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22028, - "src": "41291:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22042, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22030, - "src": "41295:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22043, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22032, - "src": "41299:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22044, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22034, - "src": "41303:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_958c28c6e7bd79de7ce7f6f112cbcb194d9e383764dfb947492ee1374ff5c482", - "typeString": "literal_string \"log(string,bool,address,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 22038, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41234:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22039, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41238:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41234:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41234:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22037, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "41218:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22046, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41218:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22047, - "nodeType": "ExpressionStatement", - "src": "41218:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41142:3:15", - "parameters": { - "id": 22035, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22028, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41160:2:15", - "nodeType": "VariableDeclaration", - "scope": 22049, - "src": "41146:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22027, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41146:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22030, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41169:2:15", - "nodeType": "VariableDeclaration", - "scope": 22049, - "src": "41164:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22029, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41164:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22032, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41181:2:15", - "nodeType": "VariableDeclaration", - "scope": 22049, - "src": "41173:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22031, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41173:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22034, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41190:2:15", - "nodeType": "VariableDeclaration", - "scope": 22049, - "src": "41185:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22033, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41185:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "41145:48:15" - }, - "returnParameters": { - "id": 22036, - "nodeType": "ParameterList", - "parameters": [], - "src": "41208:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22072, - "nodeType": "FunctionDefinition", - "src": "41320:187:15", - "nodes": [], - "body": { - "id": 22071, - "nodeType": "Block", - "src": "41398:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c6164647265737329", - "id": 22063, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41448:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_33e9dd1deb33816160eb59d86987de501b214bedbbe3c70103eff4092834b53d", - "typeString": "literal_string \"log(string,bool,address,address)\"" - }, - "value": "log(string,bool,address,address)" - }, - { - "id": 22064, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22051, - "src": "41484:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22065, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22053, - "src": "41488:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22066, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22055, - "src": "41492:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22067, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22057, - "src": "41496:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_33e9dd1deb33816160eb59d86987de501b214bedbbe3c70103eff4092834b53d", - "typeString": "literal_string \"log(string,bool,address,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 22061, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41424:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22062, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41428:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41424:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22068, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41424:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22060, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "41408:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22069, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41408:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22070, - "nodeType": "ExpressionStatement", - "src": "41408:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41329:3:15", - "parameters": { - "id": 22058, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22051, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41347:2:15", - "nodeType": "VariableDeclaration", - "scope": 22072, - "src": "41333:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22050, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41333:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22053, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41356:2:15", - "nodeType": "VariableDeclaration", - "scope": 22072, - "src": "41351:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22052, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41351:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22055, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41368:2:15", - "nodeType": "VariableDeclaration", - "scope": 22072, - "src": "41360:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22054, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41360:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22057, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41380:2:15", - "nodeType": "VariableDeclaration", - "scope": 22072, - "src": "41372:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22056, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41372:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "41332:51:15" - }, - "returnParameters": { - "id": 22059, - "nodeType": "ParameterList", - "parameters": [], - "src": "41398:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22095, - "nodeType": "FunctionDefinition", - "src": "41513:193:15", - "nodes": [], - "body": { - "id": 22094, - "nodeType": "Block", - "src": "41594:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e743235362c75696e7432353629", - "id": 22086, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41644:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f8f51b1efa50f24f22e6d84ce2fe784a33e1301484ada1546e913ae05d6370e9", - "typeString": "literal_string \"log(string,address,uint256,uint256)\"" - }, - "value": "log(string,address,uint256,uint256)" - }, - { - "id": 22087, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22074, - "src": "41683:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22088, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22076, - "src": "41687:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22089, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22078, - "src": "41691:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22090, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22080, - "src": "41695:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f8f51b1efa50f24f22e6d84ce2fe784a33e1301484ada1546e913ae05d6370e9", - "typeString": "literal_string \"log(string,address,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 22084, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41620:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22085, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41624:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41620:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22091, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41620:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22083, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "41604:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22092, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41604:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22093, - "nodeType": "ExpressionStatement", - "src": "41604:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41522:3:15", - "parameters": { - "id": 22081, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22074, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41540:2:15", - "nodeType": "VariableDeclaration", - "scope": 22095, - "src": "41526:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22073, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41526:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22076, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41552:2:15", - "nodeType": "VariableDeclaration", - "scope": 22095, - "src": "41544:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22075, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41544:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22078, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41564:2:15", - "nodeType": "VariableDeclaration", - "scope": 22095, - "src": "41556:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22077, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41556:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22080, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41576:2:15", - "nodeType": "VariableDeclaration", - "scope": 22095, - "src": "41568:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22079, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41568:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "41525:54:15" - }, - "returnParameters": { - "id": 22082, - "nodeType": "ParameterList", - "parameters": [], - "src": "41594:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22118, - "nodeType": "FunctionDefinition", - "src": "41712:198:15", - "nodes": [], - "body": { - "id": 22117, - "nodeType": "Block", - "src": "41799:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e743235362c737472696e6729", - "id": 22109, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41849:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5a477632ed0f8b7872a83c9247644de555db395491f2f355c6edb676d8bcb46c", - "typeString": "literal_string \"log(string,address,uint256,string)\"" - }, - "value": "log(string,address,uint256,string)" - }, - { - "id": 22110, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22097, - "src": "41887:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22111, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22099, - "src": "41891:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22112, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22101, - "src": "41895:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22113, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22103, - "src": "41899:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5a477632ed0f8b7872a83c9247644de555db395491f2f355c6edb676d8bcb46c", - "typeString": "literal_string \"log(string,address,uint256,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 22107, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41825:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22108, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41829:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41825:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41825:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22106, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "41809:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22115, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41809:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22116, - "nodeType": "ExpressionStatement", - "src": "41809:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41721:3:15", - "parameters": { - "id": 22104, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22097, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41739:2:15", - "nodeType": "VariableDeclaration", - "scope": 22118, - "src": "41725:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22096, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41725:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22099, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41751:2:15", - "nodeType": "VariableDeclaration", - "scope": 22118, - "src": "41743:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22098, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41743:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22101, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41763:2:15", - "nodeType": "VariableDeclaration", - "scope": 22118, - "src": "41755:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22100, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41755:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22103, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41781:2:15", - "nodeType": "VariableDeclaration", - "scope": 22118, - "src": "41767:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22102, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41767:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "41724:60:15" - }, - "returnParameters": { - "id": 22105, - "nodeType": "ParameterList", - "parameters": [], - "src": "41799:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22141, - "nodeType": "FunctionDefinition", - "src": "41916:187:15", - "nodes": [], - "body": { - "id": 22140, - "nodeType": "Block", - "src": "41994:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e743235362c626f6f6c29", - "id": 22132, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42044:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fc4845f029f76ed29f7b800fe92a7851214073a807806d7d808676b2cbe7a1c7", - "typeString": "literal_string \"log(string,address,uint256,bool)\"" - }, - "value": "log(string,address,uint256,bool)" - }, - { - "id": 22133, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22120, - "src": "42080:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22134, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22122, - "src": "42084:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22135, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22124, - "src": "42088:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22136, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22126, - "src": "42092:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_fc4845f029f76ed29f7b800fe92a7851214073a807806d7d808676b2cbe7a1c7", - "typeString": "literal_string \"log(string,address,uint256,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 22130, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42020:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22131, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42024:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42020:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22137, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42020:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22129, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "42004:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22138, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42004:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22139, - "nodeType": "ExpressionStatement", - "src": "42004:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41925:3:15", - "parameters": { - "id": 22127, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22120, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41943:2:15", - "nodeType": "VariableDeclaration", - "scope": 22141, - "src": "41929:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22119, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41929:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22122, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41955:2:15", - "nodeType": "VariableDeclaration", - "scope": 22141, - "src": "41947:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22121, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41947:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22124, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41967:2:15", - "nodeType": "VariableDeclaration", - "scope": 22141, - "src": "41959:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22123, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41959:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22126, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41976:2:15", - "nodeType": "VariableDeclaration", - "scope": 22141, - "src": "41971:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22125, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41971:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "41928:51:15" - }, - "returnParameters": { - "id": 22128, - "nodeType": "ParameterList", - "parameters": [], - "src": "41994:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22164, - "nodeType": "FunctionDefinition", - "src": "42109:193:15", - "nodes": [], - "body": { - "id": 22163, - "nodeType": "Block", - "src": "42190:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e743235362c6164647265737329", - "id": 22155, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42240:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_63fb8bc57476e3f2139504feb3fa304f43eeecc15ac8e150b7b3c9fdfa4ea83a", - "typeString": "literal_string \"log(string,address,uint256,address)\"" - }, - "value": "log(string,address,uint256,address)" - }, - { - "id": 22156, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22143, - "src": "42279:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22157, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22145, - "src": "42283:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22158, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22147, - "src": "42287:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22159, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22149, - "src": "42291:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_63fb8bc57476e3f2139504feb3fa304f43eeecc15ac8e150b7b3c9fdfa4ea83a", - "typeString": "literal_string \"log(string,address,uint256,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 22153, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42216:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22154, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42220:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42216:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22160, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42216:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22152, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "42200:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22161, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42200:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22162, - "nodeType": "ExpressionStatement", - "src": "42200:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42118:3:15", - "parameters": { - "id": 22150, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22143, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42136:2:15", - "nodeType": "VariableDeclaration", - "scope": 22164, - "src": "42122:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22142, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42122:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22145, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42148:2:15", - "nodeType": "VariableDeclaration", - "scope": 22164, - "src": "42140:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22144, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42140:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22147, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42160:2:15", - "nodeType": "VariableDeclaration", - "scope": 22164, - "src": "42152:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22146, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "42152:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22149, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42172:2:15", - "nodeType": "VariableDeclaration", - "scope": 22164, - "src": "42164:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22148, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42164:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "42121:54:15" - }, - "returnParameters": { - "id": 22151, - "nodeType": "ParameterList", - "parameters": [], - "src": "42190:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22187, - "nodeType": "FunctionDefinition", - "src": "42308:198:15", - "nodes": [], - "body": { - "id": 22186, - "nodeType": "Block", - "src": "42395:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c75696e7432353629", - "id": 22178, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42445:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_91d1112e9ca774de680c78512401449500c1938a4e449f6e73f80a84d95cfcfd", - "typeString": "literal_string \"log(string,address,string,uint256)\"" - }, - "value": "log(string,address,string,uint256)" - }, - { - "id": 22179, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22166, - "src": "42483:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22180, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22168, - "src": "42487:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22181, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22170, - "src": "42491:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22182, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22172, - "src": "42495:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_91d1112e9ca774de680c78512401449500c1938a4e449f6e73f80a84d95cfcfd", - "typeString": "literal_string \"log(string,address,string,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 22176, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42421:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22177, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42425:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42421:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42421:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22175, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "42405:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22184, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42405:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22185, - "nodeType": "ExpressionStatement", - "src": "42405:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42317:3:15", - "parameters": { - "id": 22173, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22166, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42335:2:15", - "nodeType": "VariableDeclaration", - "scope": 22187, - "src": "42321:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22165, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42321:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22168, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42347:2:15", - "nodeType": "VariableDeclaration", - "scope": 22187, - "src": "42339:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22167, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42339:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22170, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42365:2:15", - "nodeType": "VariableDeclaration", - "scope": 22187, - "src": "42351:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22169, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42351:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22172, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42377:2:15", - "nodeType": "VariableDeclaration", - "scope": 22187, - "src": "42369:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22171, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "42369:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "42320:60:15" - }, - "returnParameters": { - "id": 22174, - "nodeType": "ParameterList", - "parameters": [], - "src": "42395:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22210, - "nodeType": "FunctionDefinition", - "src": "42512:203:15", - "nodes": [], - "body": { - "id": 22209, - "nodeType": "Block", - "src": "42605:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c737472696e6729", - "id": 22201, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42655:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_245986f22170901865e76245a48ee28ce0127ca357f6ad576a72190e1d358797", - "typeString": "literal_string \"log(string,address,string,string)\"" - }, - "value": "log(string,address,string,string)" - }, - { - "id": 22202, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22189, - "src": "42692:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22203, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22191, - "src": "42696:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22204, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22193, - "src": "42700:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22205, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22195, - "src": "42704:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_245986f22170901865e76245a48ee28ce0127ca357f6ad576a72190e1d358797", - "typeString": "literal_string \"log(string,address,string,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 22199, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42631:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22200, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42635:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42631:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22206, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42631:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22198, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "42615:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42615:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22208, - "nodeType": "ExpressionStatement", - "src": "42615:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42521:3:15", - "parameters": { - "id": 22196, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22189, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42539:2:15", - "nodeType": "VariableDeclaration", - "scope": 22210, - "src": "42525:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22188, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42525:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22191, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42551:2:15", - "nodeType": "VariableDeclaration", - "scope": 22210, - "src": "42543:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22190, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42543:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22193, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42569:2:15", - "nodeType": "VariableDeclaration", - "scope": 22210, - "src": "42555:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22192, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42555:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22195, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42587:2:15", - "nodeType": "VariableDeclaration", - "scope": 22210, - "src": "42573:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22194, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42573:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "42524:66:15" - }, - "returnParameters": { - "id": 22197, - "nodeType": "ParameterList", - "parameters": [], - "src": "42605:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22233, - "nodeType": "FunctionDefinition", - "src": "42721:192:15", - "nodes": [], - "body": { - "id": 22232, - "nodeType": "Block", - "src": "42805:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c626f6f6c29", - "id": 22224, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42855:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5f15d28c15ddff15fba1c00f6a4975ae6af8b36c9b2a875bf59bd45049046154", - "typeString": "literal_string \"log(string,address,string,bool)\"" - }, - "value": "log(string,address,string,bool)" - }, - { - "id": 22225, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22212, - "src": "42890:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22226, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22214, - "src": "42894:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22227, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22216, - "src": "42898:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22228, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22218, - "src": "42902:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5f15d28c15ddff15fba1c00f6a4975ae6af8b36c9b2a875bf59bd45049046154", - "typeString": "literal_string \"log(string,address,string,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 22222, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42831:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22223, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42835:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42831:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22229, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42831:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22221, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "42815:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22230, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42815:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22231, - "nodeType": "ExpressionStatement", - "src": "42815:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42730:3:15", - "parameters": { - "id": 22219, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22212, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42748:2:15", - "nodeType": "VariableDeclaration", - "scope": 22233, - "src": "42734:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22211, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42734:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22214, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42760:2:15", - "nodeType": "VariableDeclaration", - "scope": 22233, - "src": "42752:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22213, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42752:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22216, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42778:2:15", - "nodeType": "VariableDeclaration", - "scope": 22233, - "src": "42764:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22215, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42764:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22218, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42787:2:15", - "nodeType": "VariableDeclaration", - "scope": 22233, - "src": "42782:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22217, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "42782:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "42733:57:15" - }, - "returnParameters": { - "id": 22220, - "nodeType": "ParameterList", - "parameters": [], - "src": "42805:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22256, - "nodeType": "FunctionDefinition", - "src": "42919:198:15", - "nodes": [], - "body": { - "id": 22255, - "nodeType": "Block", - "src": "43006:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c6164647265737329", - "id": 22247, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43056:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_aabc9a311ab49789834b120d81155a7fee846a9f0d4f740bbeb970770190c82d", - "typeString": "literal_string \"log(string,address,string,address)\"" - }, - "value": "log(string,address,string,address)" - }, - { - "id": 22248, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22235, - "src": "43094:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22249, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22237, - "src": "43098:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22250, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22239, - "src": "43102:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22251, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22241, - "src": "43106:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_aabc9a311ab49789834b120d81155a7fee846a9f0d4f740bbeb970770190c82d", - "typeString": "literal_string \"log(string,address,string,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 22245, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43032:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22246, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43036:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43032:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43032:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22244, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "43016:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43016:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22254, - "nodeType": "ExpressionStatement", - "src": "43016:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42928:3:15", - "parameters": { - "id": 22242, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22235, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42946:2:15", - "nodeType": "VariableDeclaration", - "scope": 22256, - "src": "42932:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22234, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42932:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22237, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42958:2:15", - "nodeType": "VariableDeclaration", - "scope": 22256, - "src": "42950:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22236, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42950:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22239, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42976:2:15", - "nodeType": "VariableDeclaration", - "scope": 22256, - "src": "42962:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22238, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42962:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22241, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42988:2:15", - "nodeType": "VariableDeclaration", - "scope": 22256, - "src": "42980:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22240, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42980:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "42931:60:15" - }, - "returnParameters": { - "id": 22243, - "nodeType": "ParameterList", - "parameters": [], - "src": "43006:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22279, - "nodeType": "FunctionDefinition", - "src": "43123:187:15", - "nodes": [], - "body": { - "id": 22278, - "nodeType": "Block", - "src": "43201:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c75696e7432353629", - "id": 22270, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43251:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3e9f866aadef9b1f2b0257e0ed5e2df8882ba55e598b4f5282674b64ae3f06b5", - "typeString": "literal_string \"log(string,address,bool,uint256)\"" - }, - "value": "log(string,address,bool,uint256)" - }, - { - "id": 22271, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22258, - "src": "43287:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22272, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22260, - "src": "43291:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22273, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22262, - "src": "43295:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22274, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22264, - "src": "43299:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3e9f866aadef9b1f2b0257e0ed5e2df8882ba55e598b4f5282674b64ae3f06b5", - "typeString": "literal_string \"log(string,address,bool,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 22268, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43227:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22269, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43231:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43227:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22275, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43227:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22267, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "43211:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22276, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43211:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22277, - "nodeType": "ExpressionStatement", - "src": "43211:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43132:3:15", - "parameters": { - "id": 22265, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22258, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43150:2:15", - "nodeType": "VariableDeclaration", - "scope": 22279, - "src": "43136:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22257, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43136:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22260, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43162:2:15", - "nodeType": "VariableDeclaration", - "scope": 22279, - "src": "43154:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22259, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43154:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22262, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43171:2:15", - "nodeType": "VariableDeclaration", - "scope": 22279, - "src": "43166:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22261, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43166:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22264, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43183:2:15", - "nodeType": "VariableDeclaration", - "scope": 22279, - "src": "43175:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22263, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "43175:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "43135:51:15" - }, - "returnParameters": { - "id": 22266, - "nodeType": "ParameterList", - "parameters": [], - "src": "43201:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22302, - "nodeType": "FunctionDefinition", - "src": "43316:192:15", - "nodes": [], - "body": { - "id": 22301, - "nodeType": "Block", - "src": "43400:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c737472696e6729", - "id": 22293, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43450:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0454c0793d4a41e5f630eb9a887926f8a67ff9e817a5feb968698354ac9d22fb", - "typeString": "literal_string \"log(string,address,bool,string)\"" - }, - "value": "log(string,address,bool,string)" - }, - { - "id": 22294, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22281, - "src": "43485:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22295, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22283, - "src": "43489:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22296, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22285, - "src": "43493:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22297, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22287, - "src": "43497:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0454c0793d4a41e5f630eb9a887926f8a67ff9e817a5feb968698354ac9d22fb", - "typeString": "literal_string \"log(string,address,bool,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 22291, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43426:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22292, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43430:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43426:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43426:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22290, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "43410:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22299, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43410:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22300, - "nodeType": "ExpressionStatement", - "src": "43410:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43325:3:15", - "parameters": { - "id": 22288, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22281, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43343:2:15", - "nodeType": "VariableDeclaration", - "scope": 22302, - "src": "43329:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22280, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43329:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22283, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43355:2:15", - "nodeType": "VariableDeclaration", - "scope": 22302, - "src": "43347:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22282, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43347:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22285, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43364:2:15", - "nodeType": "VariableDeclaration", - "scope": 22302, - "src": "43359:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22284, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43359:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22287, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43382:2:15", - "nodeType": "VariableDeclaration", - "scope": 22302, - "src": "43368:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22286, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43368:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "43328:57:15" - }, - "returnParameters": { - "id": 22289, - "nodeType": "ParameterList", - "parameters": [], - "src": "43400:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22325, - "nodeType": "FunctionDefinition", - "src": "43514:181:15", - "nodes": [], - "body": { - "id": 22324, - "nodeType": "Block", - "src": "43589:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c626f6f6c29", - "id": 22316, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43639:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_79884c2bc85eb73c854df1610df373a05f191b834f79cd47a7ab28be2308c039", - "typeString": "literal_string \"log(string,address,bool,bool)\"" - }, - "value": "log(string,address,bool,bool)" - }, - { - "id": 22317, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22304, - "src": "43672:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22318, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22306, - "src": "43676:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22319, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22308, - "src": "43680:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22320, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22310, - "src": "43684:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_79884c2bc85eb73c854df1610df373a05f191b834f79cd47a7ab28be2308c039", - "typeString": "literal_string \"log(string,address,bool,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 22314, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43615:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22315, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43619:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43615:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43615:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22313, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "43599:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43599:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22323, - "nodeType": "ExpressionStatement", - "src": "43599:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43523:3:15", - "parameters": { - "id": 22311, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22304, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43541:2:15", - "nodeType": "VariableDeclaration", - "scope": 22325, - "src": "43527:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22303, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43527:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22306, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43553:2:15", - "nodeType": "VariableDeclaration", - "scope": 22325, - "src": "43545:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22305, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43545:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22308, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43562:2:15", - "nodeType": "VariableDeclaration", - "scope": 22325, - "src": "43557:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22307, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43557:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22310, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43571:2:15", - "nodeType": "VariableDeclaration", - "scope": 22325, - "src": "43566:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22309, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43566:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "43526:48:15" - }, - "returnParameters": { - "id": 22312, - "nodeType": "ParameterList", - "parameters": [], - "src": "43589:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22348, - "nodeType": "FunctionDefinition", - "src": "43701:187:15", - "nodes": [], - "body": { - "id": 22347, - "nodeType": "Block", - "src": "43779:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c6164647265737329", - "id": 22339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43829:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_223603bd064d72559a7d519ad0f1c6a8da707a49f5718dfa23a5ccb01bf9ab76", - "typeString": "literal_string \"log(string,address,bool,address)\"" - }, - "value": "log(string,address,bool,address)" - }, - { - "id": 22340, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22327, - "src": "43865:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22341, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22329, - "src": "43869:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22342, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22331, - "src": "43873:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22343, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22333, - "src": "43877:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_223603bd064d72559a7d519ad0f1c6a8da707a49f5718dfa23a5ccb01bf9ab76", - "typeString": "literal_string \"log(string,address,bool,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 22337, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43805:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22338, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43809:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43805:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22344, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43805:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22336, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "43789:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22345, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43789:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22346, - "nodeType": "ExpressionStatement", - "src": "43789:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43710:3:15", - "parameters": { - "id": 22334, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22327, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43728:2:15", - "nodeType": "VariableDeclaration", - "scope": 22348, - "src": "43714:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22326, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43714:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22329, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43740:2:15", - "nodeType": "VariableDeclaration", - "scope": 22348, - "src": "43732:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22328, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43732:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22331, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43749:2:15", - "nodeType": "VariableDeclaration", - "scope": 22348, - "src": "43744:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22330, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43744:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22333, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43761:2:15", - "nodeType": "VariableDeclaration", - "scope": 22348, - "src": "43753:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22332, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43753:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "43713:51:15" - }, - "returnParameters": { - "id": 22335, - "nodeType": "ParameterList", - "parameters": [], - "src": "43779:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22371, - "nodeType": "FunctionDefinition", - "src": "43894:193:15", - "nodes": [], - "body": { - "id": 22370, - "nodeType": "Block", - "src": "43975:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c75696e7432353629", - "id": 22362, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44025:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8ef3f399de1ebecd7840dee5f4cdc1bad43021ab37fa3acdd3dfbd36f7092e7b", - "typeString": "literal_string \"log(string,address,address,uint256)\"" - }, - "value": "log(string,address,address,uint256)" - }, - { - "id": 22363, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22350, - "src": "44064:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22364, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22352, - "src": "44068:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22365, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22354, - "src": "44072:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22366, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22356, - "src": "44076:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8ef3f399de1ebecd7840dee5f4cdc1bad43021ab37fa3acdd3dfbd36f7092e7b", - "typeString": "literal_string \"log(string,address,address,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 22360, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44001:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22361, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44005:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44001:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22367, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44001:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22359, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "43985:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22368, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43985:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22369, - "nodeType": "ExpressionStatement", - "src": "43985:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43903:3:15", - "parameters": { - "id": 22357, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22350, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43921:2:15", - "nodeType": "VariableDeclaration", - "scope": 22371, - "src": "43907:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22349, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43907:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22352, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43933:2:15", - "nodeType": "VariableDeclaration", - "scope": 22371, - "src": "43925:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22351, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43925:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22354, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43945:2:15", - "nodeType": "VariableDeclaration", - "scope": 22371, - "src": "43937:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22353, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43937:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22356, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43957:2:15", - "nodeType": "VariableDeclaration", - "scope": 22371, - "src": "43949:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22355, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "43949:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "43906:54:15" - }, - "returnParameters": { - "id": 22358, - "nodeType": "ParameterList", - "parameters": [], - "src": "43975:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22394, - "nodeType": "FunctionDefinition", - "src": "44093:198:15", - "nodes": [], - "body": { - "id": 22393, - "nodeType": "Block", - "src": "44180:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c737472696e6729", - "id": 22385, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44230:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_800a1c6756a402b6162ca8653fd8e87e2c52d1c019c876e92eb2980479636a76", - "typeString": "literal_string \"log(string,address,address,string)\"" - }, - "value": "log(string,address,address,string)" - }, - { - "id": 22386, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22373, - "src": "44268:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22387, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22375, - "src": "44272:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22388, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22377, - "src": "44276:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22389, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22379, - "src": "44280:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_800a1c6756a402b6162ca8653fd8e87e2c52d1c019c876e92eb2980479636a76", - "typeString": "literal_string \"log(string,address,address,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 22383, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44206:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22384, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44210:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44206:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22390, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44206:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22382, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "44190:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44190:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22392, - "nodeType": "ExpressionStatement", - "src": "44190:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44102:3:15", - "parameters": { - "id": 22380, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22373, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44120:2:15", - "nodeType": "VariableDeclaration", - "scope": 22394, - "src": "44106:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22372, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44106:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22375, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44132:2:15", - "nodeType": "VariableDeclaration", - "scope": 22394, - "src": "44124:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22374, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44124:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22377, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44144:2:15", - "nodeType": "VariableDeclaration", - "scope": 22394, - "src": "44136:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22376, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44136:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22379, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44162:2:15", - "nodeType": "VariableDeclaration", - "scope": 22394, - "src": "44148:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22378, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44148:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "44105:60:15" - }, - "returnParameters": { - "id": 22381, - "nodeType": "ParameterList", - "parameters": [], - "src": "44180:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22417, - "nodeType": "FunctionDefinition", - "src": "44297:187:15", - "nodes": [], - "body": { - "id": 22416, - "nodeType": "Block", - "src": "44375:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c626f6f6c29", - "id": 22408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44425:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b59dbd60587b4eeae521d5427cbc88bff32729f88aff059e7deb0a3a4320aaf4", - "typeString": "literal_string \"log(string,address,address,bool)\"" - }, - "value": "log(string,address,address,bool)" - }, - { - "id": 22409, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22396, - "src": "44461:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22410, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22398, - "src": "44465:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22411, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22400, - "src": "44469:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22412, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22402, - "src": "44473:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b59dbd60587b4eeae521d5427cbc88bff32729f88aff059e7deb0a3a4320aaf4", - "typeString": "literal_string \"log(string,address,address,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 22406, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44401:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22407, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44405:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44401:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44401:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22405, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "44385:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44385:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22415, - "nodeType": "ExpressionStatement", - "src": "44385:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44306:3:15", - "parameters": { - "id": 22403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22396, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44324:2:15", - "nodeType": "VariableDeclaration", - "scope": 22417, - "src": "44310:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22395, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44310:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22398, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44336:2:15", - "nodeType": "VariableDeclaration", - "scope": 22417, - "src": "44328:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22397, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44328:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22400, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44348:2:15", - "nodeType": "VariableDeclaration", - "scope": 22417, - "src": "44340:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22399, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44340:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22402, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44357:2:15", - "nodeType": "VariableDeclaration", - "scope": 22417, - "src": "44352:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22401, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44352:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "44309:51:15" - }, - "returnParameters": { - "id": 22404, - "nodeType": "ParameterList", - "parameters": [], - "src": "44375:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22440, - "nodeType": "FunctionDefinition", - "src": "44490:193:15", - "nodes": [], - "body": { - "id": 22439, - "nodeType": "Block", - "src": "44571:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c6164647265737329", - "id": 22431, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44621:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ed8f28f6f4b5d54b1d37f705e543f556805f28b9d1bb3aef0ef7e57ef4992d15", - "typeString": "literal_string \"log(string,address,address,address)\"" - }, - "value": "log(string,address,address,address)" - }, - { - "id": 22432, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22419, - "src": "44660:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22433, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22421, - "src": "44664:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22434, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22423, - "src": "44668:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22435, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22425, - "src": "44672:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ed8f28f6f4b5d54b1d37f705e543f556805f28b9d1bb3aef0ef7e57ef4992d15", - "typeString": "literal_string \"log(string,address,address,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 22429, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44597:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22430, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44601:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44597:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22436, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44597:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22428, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "44581:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22437, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44581:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22438, - "nodeType": "ExpressionStatement", - "src": "44581:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44499:3:15", - "parameters": { - "id": 22426, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22419, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44517:2:15", - "nodeType": "VariableDeclaration", - "scope": 22440, - "src": "44503:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22418, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44503:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22421, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44529:2:15", - "nodeType": "VariableDeclaration", - "scope": 22440, - "src": "44521:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22420, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44521:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22423, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44541:2:15", - "nodeType": "VariableDeclaration", - "scope": 22440, - "src": "44533:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22422, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44533:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22425, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44553:2:15", - "nodeType": "VariableDeclaration", - "scope": 22440, - "src": "44545:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22424, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44545:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "44502:54:15" - }, - "returnParameters": { - "id": 22427, - "nodeType": "ParameterList", - "parameters": [], - "src": "44571:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22463, - "nodeType": "FunctionDefinition", - "src": "44689:182:15", - "nodes": [], - "body": { - "id": 22462, - "nodeType": "Block", - "src": "44761:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c75696e743235362c75696e7432353629", - "id": 22454, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44811:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_374bb4b29e495d2b557643d341fe72136bf6e92f2ac9b1edd86dbbd72a19d62b", - "typeString": "literal_string \"log(bool,uint256,uint256,uint256)\"" - }, - "value": "log(bool,uint256,uint256,uint256)" - }, - { - "id": 22455, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22442, - "src": "44848:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22456, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22444, - "src": "44852:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22457, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22446, - "src": "44856:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22458, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22448, - "src": "44860:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_374bb4b29e495d2b557643d341fe72136bf6e92f2ac9b1edd86dbbd72a19d62b", - "typeString": "literal_string \"log(bool,uint256,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 22452, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44787:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22453, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44791:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44787:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22459, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44787:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22451, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "44771:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22460, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44771:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22461, - "nodeType": "ExpressionStatement", - "src": "44771:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44698:3:15", - "parameters": { - "id": 22449, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22442, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44707:2:15", - "nodeType": "VariableDeclaration", - "scope": 22463, - "src": "44702:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22441, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44702:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22444, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44719:2:15", - "nodeType": "VariableDeclaration", - "scope": 22463, - "src": "44711:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22443, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "44711:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22446, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44731:2:15", - "nodeType": "VariableDeclaration", - "scope": 22463, - "src": "44723:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22445, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "44723:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22448, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44743:2:15", - "nodeType": "VariableDeclaration", - "scope": 22463, - "src": "44735:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22447, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "44735:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "44701:45:15" - }, - "returnParameters": { - "id": 22450, - "nodeType": "ParameterList", - "parameters": [], - "src": "44761:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22486, - "nodeType": "FunctionDefinition", - "src": "44877:187:15", - "nodes": [], - "body": { - "id": 22485, - "nodeType": "Block", - "src": "44955:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c75696e743235362c737472696e6729", - "id": 22477, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45005:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8e69fb5dd49f06ae0054ca1d4af84221644c5b45a9306505e04580a4156255c3", - "typeString": "literal_string \"log(bool,uint256,uint256,string)\"" - }, - "value": "log(bool,uint256,uint256,string)" - }, - { - "id": 22478, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22465, - "src": "45041:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22479, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22467, - "src": "45045:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22480, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22469, - "src": "45049:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22481, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22471, - "src": "45053:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8e69fb5dd49f06ae0054ca1d4af84221644c5b45a9306505e04580a4156255c3", - "typeString": "literal_string \"log(bool,uint256,uint256,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 22475, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44981:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22476, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44985:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44981:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22482, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44981:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22474, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "44965:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22483, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44965:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22484, - "nodeType": "ExpressionStatement", - "src": "44965:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44886:3:15", - "parameters": { - "id": 22472, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22465, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44895:2:15", - "nodeType": "VariableDeclaration", - "scope": 22486, - "src": "44890:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22464, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44890:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22467, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44907:2:15", - "nodeType": "VariableDeclaration", - "scope": 22486, - "src": "44899:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22466, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "44899:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22469, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44919:2:15", - "nodeType": "VariableDeclaration", - "scope": 22486, - "src": "44911:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22468, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "44911:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22471, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44937:2:15", - "nodeType": "VariableDeclaration", - "scope": 22486, - "src": "44923:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22470, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44923:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "44889:51:15" - }, - "returnParameters": { - "id": 22473, - "nodeType": "ParameterList", - "parameters": [], - "src": "44955:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22509, - "nodeType": "FunctionDefinition", - "src": "45070:176:15", - "nodes": [], - "body": { - "id": 22508, - "nodeType": "Block", - "src": "45139:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c75696e743235362c626f6f6c29", - "id": 22500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45189:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_be9843530e69b1feba88a3a9701a6984aaa8a57e749a7f9d10c857993e79900d", - "typeString": "literal_string \"log(bool,uint256,uint256,bool)\"" - }, - "value": "log(bool,uint256,uint256,bool)" - }, - { - "id": 22501, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22488, - "src": "45223:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22502, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22490, - "src": "45227:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22503, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22492, - "src": "45231:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22504, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22494, - "src": "45235:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_be9843530e69b1feba88a3a9701a6984aaa8a57e749a7f9d10c857993e79900d", - "typeString": "literal_string \"log(bool,uint256,uint256,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 22498, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45165:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22499, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45169:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45165:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22505, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45165:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22497, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "45149:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22506, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45149:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22507, - "nodeType": "ExpressionStatement", - "src": "45149:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45079:3:15", - "parameters": { - "id": 22495, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22488, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45088:2:15", - "nodeType": "VariableDeclaration", - "scope": 22509, - "src": "45083:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22487, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45083:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22490, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45100:2:15", - "nodeType": "VariableDeclaration", - "scope": 22509, - "src": "45092:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22489, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "45092:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22492, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45112:2:15", - "nodeType": "VariableDeclaration", - "scope": 22509, - "src": "45104:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22491, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "45104:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22494, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45121:2:15", - "nodeType": "VariableDeclaration", - "scope": 22509, - "src": "45116:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22493, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45116:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "45082:42:15" - }, - "returnParameters": { - "id": 22496, - "nodeType": "ParameterList", - "parameters": [], - "src": "45139:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22532, - "nodeType": "FunctionDefinition", - "src": "45252:182:15", - "nodes": [], - "body": { - "id": 22531, - "nodeType": "Block", - "src": "45324:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c75696e743235362c6164647265737329", - "id": 22523, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45374:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_00dd87b926eb0a94d5705f2c40026359b9577dfd5ddb2d0d51c86b3f4acb5010", - "typeString": "literal_string \"log(bool,uint256,uint256,address)\"" - }, - "value": "log(bool,uint256,uint256,address)" - }, - { - "id": 22524, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22511, - "src": "45411:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22525, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22513, - "src": "45415:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22526, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22515, - "src": "45419:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22527, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22517, - "src": "45423:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_00dd87b926eb0a94d5705f2c40026359b9577dfd5ddb2d0d51c86b3f4acb5010", - "typeString": "literal_string \"log(bool,uint256,uint256,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 22521, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45350:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22522, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45354:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45350:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22528, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45350:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22520, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "45334:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22529, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45334:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22530, - "nodeType": "ExpressionStatement", - "src": "45334:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45261:3:15", - "parameters": { - "id": 22518, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22511, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45270:2:15", - "nodeType": "VariableDeclaration", - "scope": 22532, - "src": "45265:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22510, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45265:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22513, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45282:2:15", - "nodeType": "VariableDeclaration", - "scope": 22532, - "src": "45274:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22512, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "45274:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22515, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45294:2:15", - "nodeType": "VariableDeclaration", - "scope": 22532, - "src": "45286:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22514, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "45286:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22517, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45306:2:15", - "nodeType": "VariableDeclaration", - "scope": 22532, - "src": "45298:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22516, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "45298:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "45264:45:15" - }, - "returnParameters": { - "id": 22519, - "nodeType": "ParameterList", - "parameters": [], - "src": "45324:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22555, - "nodeType": "FunctionDefinition", - "src": "45440:187:15", - "nodes": [], - "body": { - "id": 22554, - "nodeType": "Block", - "src": "45518:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c737472696e672c75696e7432353629", - "id": 22546, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45568:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6a1199e21848ce015eabd66ea7f6a3409c7fc6ef9bb322d84e4c06706c42747e", - "typeString": "literal_string \"log(bool,uint256,string,uint256)\"" - }, - "value": "log(bool,uint256,string,uint256)" - }, - { - "id": 22547, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22534, - "src": "45604:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22548, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22536, - "src": "45608:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22549, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22538, - "src": "45612:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22550, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22540, - "src": "45616:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6a1199e21848ce015eabd66ea7f6a3409c7fc6ef9bb322d84e4c06706c42747e", - "typeString": "literal_string \"log(bool,uint256,string,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 22544, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45544:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22545, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45548:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45544:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45544:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22543, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "45528:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22552, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45528:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22553, - "nodeType": "ExpressionStatement", - "src": "45528:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45449:3:15", - "parameters": { - "id": 22541, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22534, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45458:2:15", - "nodeType": "VariableDeclaration", - "scope": 22555, - "src": "45453:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22533, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45453:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22536, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45470:2:15", - "nodeType": "VariableDeclaration", - "scope": 22555, - "src": "45462:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22535, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "45462:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22538, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45488:2:15", - "nodeType": "VariableDeclaration", - "scope": 22555, - "src": "45474:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22537, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45474:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22540, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45500:2:15", - "nodeType": "VariableDeclaration", - "scope": 22555, - "src": "45492:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22539, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "45492:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "45452:51:15" - }, - "returnParameters": { - "id": 22542, - "nodeType": "ParameterList", - "parameters": [], - "src": "45518:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22578, - "nodeType": "FunctionDefinition", - "src": "45633:192:15", - "nodes": [], - "body": { - "id": 22577, - "nodeType": "Block", - "src": "45717:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c737472696e672c737472696e6729", - "id": 22569, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45767:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f5bc2249bce1f463dc4a6cae73d4e7be2aab36b6885cd1506575f16575a67f07", - "typeString": "literal_string \"log(bool,uint256,string,string)\"" - }, - "value": "log(bool,uint256,string,string)" - }, - { - "id": 22570, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22557, - "src": "45802:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22571, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22559, - "src": "45806:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22572, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22561, - "src": "45810:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22573, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22563, - "src": "45814:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f5bc2249bce1f463dc4a6cae73d4e7be2aab36b6885cd1506575f16575a67f07", - "typeString": "literal_string \"log(bool,uint256,string,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 22567, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45743:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22568, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45747:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45743:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45743:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22566, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "45727:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45727:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22576, - "nodeType": "ExpressionStatement", - "src": "45727:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45642:3:15", - "parameters": { - "id": 22564, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22557, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45651:2:15", - "nodeType": "VariableDeclaration", - "scope": 22578, - "src": "45646:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22556, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45646:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22559, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45663:2:15", - "nodeType": "VariableDeclaration", - "scope": 22578, - "src": "45655:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22558, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "45655:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22561, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45681:2:15", - "nodeType": "VariableDeclaration", - "scope": 22578, - "src": "45667:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22560, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45667:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22563, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45699:2:15", - "nodeType": "VariableDeclaration", - "scope": 22578, - "src": "45685:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22562, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45685:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "45645:57:15" - }, - "returnParameters": { - "id": 22565, - "nodeType": "ParameterList", - "parameters": [], - "src": "45717:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22601, - "nodeType": "FunctionDefinition", - "src": "45831:181:15", - "nodes": [], - "body": { - "id": 22600, - "nodeType": "Block", - "src": "45906:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c737472696e672c626f6f6c29", - "id": 22592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45956:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e5e70b2b79ba63a1232a1075e7d527614bad7291574e41ebeb8ef428426395c2", - "typeString": "literal_string \"log(bool,uint256,string,bool)\"" - }, - "value": "log(bool,uint256,string,bool)" - }, - { - "id": 22593, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22580, - "src": "45989:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22594, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22582, - "src": "45993:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22595, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22584, - "src": "45997:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22596, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22586, - "src": "46001:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e5e70b2b79ba63a1232a1075e7d527614bad7291574e41ebeb8ef428426395c2", - "typeString": "literal_string \"log(bool,uint256,string,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 22590, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45932:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22591, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45936:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45932:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22597, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45932:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22589, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "45916:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22598, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45916:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22599, - "nodeType": "ExpressionStatement", - "src": "45916:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45840:3:15", - "parameters": { - "id": 22587, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22580, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45849:2:15", - "nodeType": "VariableDeclaration", - "scope": 22601, - "src": "45844:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22579, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45844:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22582, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45861:2:15", - "nodeType": "VariableDeclaration", - "scope": 22601, - "src": "45853:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22581, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "45853:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22584, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45879:2:15", - "nodeType": "VariableDeclaration", - "scope": 22601, - "src": "45865:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22583, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45865:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22586, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45888:2:15", - "nodeType": "VariableDeclaration", - "scope": 22601, - "src": "45883:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22585, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45883:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "45843:48:15" - }, - "returnParameters": { - "id": 22588, - "nodeType": "ParameterList", - "parameters": [], - "src": "45906:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22624, - "nodeType": "FunctionDefinition", - "src": "46018:187:15", - "nodes": [], - "body": { - "id": 22623, - "nodeType": "Block", - "src": "46096:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c737472696e672c6164647265737329", - "id": 22615, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46146:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fedd1fffaad08b0e5474b192f50d84da9ca48f54859d4d4f42d00bf3f4781fab", - "typeString": "literal_string \"log(bool,uint256,string,address)\"" - }, - "value": "log(bool,uint256,string,address)" - }, - { - "id": 22616, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22603, - "src": "46182:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22617, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22605, - "src": "46186:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22618, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22607, - "src": "46190:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22619, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22609, - "src": "46194:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_fedd1fffaad08b0e5474b192f50d84da9ca48f54859d4d4f42d00bf3f4781fab", - "typeString": "literal_string \"log(bool,uint256,string,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 22613, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46122:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22614, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46126:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46122:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22620, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46122:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22612, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "46106:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46106:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22622, - "nodeType": "ExpressionStatement", - "src": "46106:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46027:3:15", - "parameters": { - "id": 22610, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22603, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46036:2:15", - "nodeType": "VariableDeclaration", - "scope": 22624, - "src": "46031:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22602, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46031:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22605, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46048:2:15", - "nodeType": "VariableDeclaration", - "scope": 22624, - "src": "46040:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22604, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "46040:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22607, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46066:2:15", - "nodeType": "VariableDeclaration", - "scope": 22624, - "src": "46052:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22606, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46052:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22609, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46078:2:15", - "nodeType": "VariableDeclaration", - "scope": 22624, - "src": "46070:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22608, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "46070:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "46030:51:15" - }, - "returnParameters": { - "id": 22611, - "nodeType": "ParameterList", - "parameters": [], - "src": "46096:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22647, - "nodeType": "FunctionDefinition", - "src": "46211:176:15", - "nodes": [], - "body": { - "id": 22646, - "nodeType": "Block", - "src": "46280:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c626f6f6c2c75696e7432353629", - "id": 22638, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46330:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7f9bbca288abffbb423da5759392c2bb0e6c7c60dc55ee1c76da7b38adac1443", - "typeString": "literal_string \"log(bool,uint256,bool,uint256)\"" - }, - "value": "log(bool,uint256,bool,uint256)" - }, - { - "id": 22639, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22626, - "src": "46364:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22640, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22628, - "src": "46368:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22641, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22630, - "src": "46372:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22642, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22632, - "src": "46376:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7f9bbca288abffbb423da5759392c2bb0e6c7c60dc55ee1c76da7b38adac1443", - "typeString": "literal_string \"log(bool,uint256,bool,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 22636, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46306:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22637, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46310:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46306:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22643, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46306:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22635, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "46290:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46290:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22645, - "nodeType": "ExpressionStatement", - "src": "46290:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46220:3:15", - "parameters": { - "id": 22633, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22626, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46229:2:15", - "nodeType": "VariableDeclaration", - "scope": 22647, - "src": "46224:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22625, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46224:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22628, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46241:2:15", - "nodeType": "VariableDeclaration", - "scope": 22647, - "src": "46233:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22627, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "46233:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22630, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46250:2:15", - "nodeType": "VariableDeclaration", - "scope": 22647, - "src": "46245:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22629, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46245:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22632, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46262:2:15", - "nodeType": "VariableDeclaration", - "scope": 22647, - "src": "46254:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22631, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "46254:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "46223:42:15" - }, - "returnParameters": { - "id": 22634, - "nodeType": "ParameterList", - "parameters": [], - "src": "46280:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22670, - "nodeType": "FunctionDefinition", - "src": "46393:181:15", - "nodes": [], - "body": { - "id": 22669, - "nodeType": "Block", - "src": "46468:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c626f6f6c2c737472696e6729", - "id": 22661, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46518:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9143dbb14a0962a6e3d7ec52e236cb9bf165b86383a96499ea4cf52b827d7ce0", - "typeString": "literal_string \"log(bool,uint256,bool,string)\"" - }, - "value": "log(bool,uint256,bool,string)" - }, - { - "id": 22662, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22649, - "src": "46551:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22663, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22651, - "src": "46555:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22664, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22653, - "src": "46559:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22665, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22655, - "src": "46563:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9143dbb14a0962a6e3d7ec52e236cb9bf165b86383a96499ea4cf52b827d7ce0", - "typeString": "literal_string \"log(bool,uint256,bool,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 22659, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46494:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22660, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46498:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46494:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22666, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46494:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22658, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "46478:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46478:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22668, - "nodeType": "ExpressionStatement", - "src": "46478:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46402:3:15", - "parameters": { - "id": 22656, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22649, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46411:2:15", - "nodeType": "VariableDeclaration", - "scope": 22670, - "src": "46406:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22648, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46406:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22651, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46423:2:15", - "nodeType": "VariableDeclaration", - "scope": 22670, - "src": "46415:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22650, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "46415:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22653, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46432:2:15", - "nodeType": "VariableDeclaration", - "scope": 22670, - "src": "46427:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22652, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46427:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22655, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46450:2:15", - "nodeType": "VariableDeclaration", - "scope": 22670, - "src": "46436:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22654, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46436:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "46405:48:15" - }, - "returnParameters": { - "id": 22657, - "nodeType": "ParameterList", - "parameters": [], - "src": "46468:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22693, - "nodeType": "FunctionDefinition", - "src": "46580:170:15", - "nodes": [], - "body": { - "id": 22692, - "nodeType": "Block", - "src": "46646:104:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c626f6f6c2c626f6f6c29", - "id": 22684, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46696:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ceb5f4d77121f3d3cfafeaa403e6fff70e4470d0bfb40c1d850f89e3d65029f2", - "typeString": "literal_string \"log(bool,uint256,bool,bool)\"" - }, - "value": "log(bool,uint256,bool,bool)" - }, - { - "id": 22685, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22672, - "src": "46727:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22686, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22674, - "src": "46731:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22687, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22676, - "src": "46735:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22688, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22678, - "src": "46739:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ceb5f4d77121f3d3cfafeaa403e6fff70e4470d0bfb40c1d850f89e3d65029f2", - "typeString": "literal_string \"log(bool,uint256,bool,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 22682, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46672:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22683, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46676:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46672:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46672:70:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22681, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "46656:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46656:87:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22691, - "nodeType": "ExpressionStatement", - "src": "46656:87:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46589:3:15", - "parameters": { - "id": 22679, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22672, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46598:2:15", - "nodeType": "VariableDeclaration", - "scope": 22693, - "src": "46593:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22671, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46593:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22674, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46610:2:15", - "nodeType": "VariableDeclaration", - "scope": 22693, - "src": "46602:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22673, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "46602:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22676, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46619:2:15", - "nodeType": "VariableDeclaration", - "scope": 22693, - "src": "46614:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22675, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46614:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22678, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46628:2:15", - "nodeType": "VariableDeclaration", - "scope": 22693, - "src": "46623:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22677, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46623:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "46592:39:15" - }, - "returnParameters": { - "id": 22680, - "nodeType": "ParameterList", - "parameters": [], - "src": "46646:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22716, - "nodeType": "FunctionDefinition", - "src": "46756:176:15", - "nodes": [], - "body": { - "id": 22715, - "nodeType": "Block", - "src": "46825:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c626f6f6c2c6164647265737329", - "id": 22707, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46875:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9acd3616ce3d15d7b870c591206f600266707f40592e6070353f762f54c75a2e", - "typeString": "literal_string \"log(bool,uint256,bool,address)\"" - }, - "value": "log(bool,uint256,bool,address)" - }, - { - "id": 22708, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22695, - "src": "46909:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22709, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22697, - "src": "46913:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22710, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22699, - "src": "46917:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22711, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22701, - "src": "46921:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9acd3616ce3d15d7b870c591206f600266707f40592e6070353f762f54c75a2e", - "typeString": "literal_string \"log(bool,uint256,bool,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 22705, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46851:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22706, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46855:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46851:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22712, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46851:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22704, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "46835:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46835:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22714, - "nodeType": "ExpressionStatement", - "src": "46835:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46765:3:15", - "parameters": { - "id": 22702, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22695, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46774:2:15", - "nodeType": "VariableDeclaration", - "scope": 22716, - "src": "46769:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22694, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46769:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22697, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46786:2:15", - "nodeType": "VariableDeclaration", - "scope": 22716, - "src": "46778:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22696, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "46778:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22699, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46795:2:15", - "nodeType": "VariableDeclaration", - "scope": 22716, - "src": "46790:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22698, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46790:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22701, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46807:2:15", - "nodeType": "VariableDeclaration", - "scope": 22716, - "src": "46799:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22700, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "46799:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "46768:42:15" - }, - "returnParameters": { - "id": 22703, - "nodeType": "ParameterList", - "parameters": [], - "src": "46825:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22739, - "nodeType": "FunctionDefinition", - "src": "46938:182:15", - "nodes": [], - "body": { - "id": 22738, - "nodeType": "Block", - "src": "47010:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c616464726573732c75696e7432353629", - "id": 22730, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47060:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1537dc87a2086882c18d77c4157142ca3b6771cb00e940824367191cd9b5e560", - "typeString": "literal_string \"log(bool,uint256,address,uint256)\"" - }, - "value": "log(bool,uint256,address,uint256)" - }, - { - "id": 22731, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22718, - "src": "47097:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22732, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22720, - "src": "47101:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22733, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22722, - "src": "47105:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22734, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22724, - "src": "47109:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1537dc87a2086882c18d77c4157142ca3b6771cb00e940824367191cd9b5e560", - "typeString": "literal_string \"log(bool,uint256,address,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 22728, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47036:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22729, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47040:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47036:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22735, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47036:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22727, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "47020:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47020:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22737, - "nodeType": "ExpressionStatement", - "src": "47020:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46947:3:15", - "parameters": { - "id": 22725, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22718, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46956:2:15", - "nodeType": "VariableDeclaration", - "scope": 22739, - "src": "46951:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22717, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46951:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22720, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46968:2:15", - "nodeType": "VariableDeclaration", - "scope": 22739, - "src": "46960:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22719, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "46960:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22722, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46980:2:15", - "nodeType": "VariableDeclaration", - "scope": 22739, - "src": "46972:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22721, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "46972:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22724, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46992:2:15", - "nodeType": "VariableDeclaration", - "scope": 22739, - "src": "46984:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22723, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "46984:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "46950:45:15" - }, - "returnParameters": { - "id": 22726, - "nodeType": "ParameterList", - "parameters": [], - "src": "47010:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22762, - "nodeType": "FunctionDefinition", - "src": "47126:187:15", - "nodes": [], - "body": { - "id": 22761, - "nodeType": "Block", - "src": "47204:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c616464726573732c737472696e6729", - "id": 22753, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47254:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1bb3b09a4221f0a7df6a4e6e8ee3a14c54c5ebf8032d4ada871c774122536c94", - "typeString": "literal_string \"log(bool,uint256,address,string)\"" - }, - "value": "log(bool,uint256,address,string)" - }, - { - "id": 22754, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22741, - "src": "47290:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22755, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22743, - "src": "47294:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22756, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22745, - "src": "47298:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22757, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22747, - "src": "47302:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1bb3b09a4221f0a7df6a4e6e8ee3a14c54c5ebf8032d4ada871c774122536c94", - "typeString": "literal_string \"log(bool,uint256,address,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 22751, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47230:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22752, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47234:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47230:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22758, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47230:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22750, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "47214:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22759, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47214:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22760, - "nodeType": "ExpressionStatement", - "src": "47214:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47135:3:15", - "parameters": { - "id": 22748, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22741, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47144:2:15", - "nodeType": "VariableDeclaration", - "scope": 22762, - "src": "47139:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22740, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47139:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22743, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47156:2:15", - "nodeType": "VariableDeclaration", - "scope": 22762, - "src": "47148:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22742, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "47148:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22745, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47168:2:15", - "nodeType": "VariableDeclaration", - "scope": 22762, - "src": "47160:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22744, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "47160:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22747, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47186:2:15", - "nodeType": "VariableDeclaration", - "scope": 22762, - "src": "47172:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22746, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47172:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "47138:51:15" - }, - "returnParameters": { - "id": 22749, - "nodeType": "ParameterList", - "parameters": [], - "src": "47204:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22785, - "nodeType": "FunctionDefinition", - "src": "47319:176:15", - "nodes": [], - "body": { - "id": 22784, - "nodeType": "Block", - "src": "47388:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c616464726573732c626f6f6c29", - "id": 22776, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47438:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b4c314ff4d8914c4657179922b73426f4bcee4ae499bd03b5b3cf557ef247ea8", - "typeString": "literal_string \"log(bool,uint256,address,bool)\"" - }, - "value": "log(bool,uint256,address,bool)" - }, - { - "id": 22777, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22764, - "src": "47472:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22778, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22766, - "src": "47476:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22779, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22768, - "src": "47480:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22780, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22770, - "src": "47484:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b4c314ff4d8914c4657179922b73426f4bcee4ae499bd03b5b3cf557ef247ea8", - "typeString": "literal_string \"log(bool,uint256,address,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 22774, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47414:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22775, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47418:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47414:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22781, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47414:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22773, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "47398:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22782, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47398:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22783, - "nodeType": "ExpressionStatement", - "src": "47398:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47328:3:15", - "parameters": { - "id": 22771, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22764, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47337:2:15", - "nodeType": "VariableDeclaration", - "scope": 22785, - "src": "47332:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22763, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47332:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22766, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47349:2:15", - "nodeType": "VariableDeclaration", - "scope": 22785, - "src": "47341:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22765, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "47341:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22768, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47361:2:15", - "nodeType": "VariableDeclaration", - "scope": 22785, - "src": "47353:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22767, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "47353:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22770, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47370:2:15", - "nodeType": "VariableDeclaration", - "scope": 22785, - "src": "47365:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22769, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47365:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "47331:42:15" - }, - "returnParameters": { - "id": 22772, - "nodeType": "ParameterList", - "parameters": [], - "src": "47388:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22808, - "nodeType": "FunctionDefinition", - "src": "47501:182:15", - "nodes": [], - "body": { - "id": 22807, - "nodeType": "Block", - "src": "47573:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c616464726573732c6164647265737329", - "id": 22799, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47623:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_26f560a852938fadf6addef4dd03c86f93715a295417544d6a793cb20f13b8dd", - "typeString": "literal_string \"log(bool,uint256,address,address)\"" - }, - "value": "log(bool,uint256,address,address)" - }, - { - "id": 22800, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22787, - "src": "47660:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22801, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22789, - "src": "47664:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22802, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22791, - "src": "47668:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22803, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22793, - "src": "47672:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_26f560a852938fadf6addef4dd03c86f93715a295417544d6a793cb20f13b8dd", - "typeString": "literal_string \"log(bool,uint256,address,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 22797, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47599:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22798, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47603:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47599:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22804, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47599:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22796, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "47583:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47583:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22806, - "nodeType": "ExpressionStatement", - "src": "47583:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47510:3:15", - "parameters": { - "id": 22794, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22787, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47519:2:15", - "nodeType": "VariableDeclaration", - "scope": 22808, - "src": "47514:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22786, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47514:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22789, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47531:2:15", - "nodeType": "VariableDeclaration", - "scope": 22808, - "src": "47523:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22788, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "47523:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22791, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47543:2:15", - "nodeType": "VariableDeclaration", - "scope": 22808, - "src": "47535:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22790, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "47535:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22793, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47555:2:15", - "nodeType": "VariableDeclaration", - "scope": 22808, - "src": "47547:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22792, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "47547:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "47513:45:15" - }, - "returnParameters": { - "id": 22795, - "nodeType": "ParameterList", - "parameters": [], - "src": "47573:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22831, - "nodeType": "FunctionDefinition", - "src": "47689:187:15", - "nodes": [], - "body": { - "id": 22830, - "nodeType": "Block", - "src": "47767:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e743235362c75696e7432353629", - "id": 22822, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47817:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_28863fcbec29a80af15c2b8595f162a2324efa0e9f70b928971349e597c15cb0", - "typeString": "literal_string \"log(bool,string,uint256,uint256)\"" - }, - "value": "log(bool,string,uint256,uint256)" - }, - { - "id": 22823, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22810, - "src": "47853:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22824, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22812, - "src": "47857:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22825, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22814, - "src": "47861:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22826, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22816, - "src": "47865:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_28863fcbec29a80af15c2b8595f162a2324efa0e9f70b928971349e597c15cb0", - "typeString": "literal_string \"log(bool,string,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 22820, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47793:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22821, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47797:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47793:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22827, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47793:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22819, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "47777:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22828, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47777:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22829, - "nodeType": "ExpressionStatement", - "src": "47777:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47698:3:15", - "parameters": { - "id": 22817, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22810, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47707:2:15", - "nodeType": "VariableDeclaration", - "scope": 22831, - "src": "47702:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22809, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47702:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22812, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47725:2:15", - "nodeType": "VariableDeclaration", - "scope": 22831, - "src": "47711:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22811, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47711:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22814, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47737:2:15", - "nodeType": "VariableDeclaration", - "scope": 22831, - "src": "47729:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22813, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "47729:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22816, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47749:2:15", - "nodeType": "VariableDeclaration", - "scope": 22831, - "src": "47741:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22815, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "47741:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "47701:51:15" - }, - "returnParameters": { - "id": 22818, - "nodeType": "ParameterList", - "parameters": [], - "src": "47767:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22854, - "nodeType": "FunctionDefinition", - "src": "47882:192:15", - "nodes": [], - "body": { - "id": 22853, - "nodeType": "Block", - "src": "47966:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e743235362c737472696e6729", - "id": 22845, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48016:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1ad96de6602c0b08f6631d6647303bccf3e586fcfa2c15fa04c5d6cbf0ffc70d", - "typeString": "literal_string \"log(bool,string,uint256,string)\"" - }, - "value": "log(bool,string,uint256,string)" - }, - { - "id": 22846, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22833, - "src": "48051:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22847, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22835, - "src": "48055:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22848, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22837, - "src": "48059:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22849, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22839, - "src": "48063:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1ad96de6602c0b08f6631d6647303bccf3e586fcfa2c15fa04c5d6cbf0ffc70d", - "typeString": "literal_string \"log(bool,string,uint256,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 22843, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47992:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22844, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47996:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47992:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22850, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47992:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22842, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "47976:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22851, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47976:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22852, - "nodeType": "ExpressionStatement", - "src": "47976:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47891:3:15", - "parameters": { - "id": 22840, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22833, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47900:2:15", - "nodeType": "VariableDeclaration", - "scope": 22854, - "src": "47895:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22832, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47895:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22835, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47918:2:15", - "nodeType": "VariableDeclaration", - "scope": 22854, - "src": "47904:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22834, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47904:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22837, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47930:2:15", - "nodeType": "VariableDeclaration", - "scope": 22854, - "src": "47922:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22836, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "47922:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22839, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47948:2:15", - "nodeType": "VariableDeclaration", - "scope": 22854, - "src": "47934:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22838, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47934:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "47894:57:15" - }, - "returnParameters": { - "id": 22841, - "nodeType": "ParameterList", - "parameters": [], - "src": "47966:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22877, - "nodeType": "FunctionDefinition", - "src": "48080:181:15", - "nodes": [], - "body": { - "id": 22876, - "nodeType": "Block", - "src": "48155:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e743235362c626f6f6c29", - "id": 22868, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48205:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6b0e5d538cb3332d8fd45a0c2680232536414e292adbc2f70059f1d665e25411", - "typeString": "literal_string \"log(bool,string,uint256,bool)\"" - }, - "value": "log(bool,string,uint256,bool)" - }, - { - "id": 22869, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22856, - "src": "48238:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22870, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22858, - "src": "48242:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22871, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22860, - "src": "48246:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22872, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22862, - "src": "48250:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6b0e5d538cb3332d8fd45a0c2680232536414e292adbc2f70059f1d665e25411", - "typeString": "literal_string \"log(bool,string,uint256,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 22866, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48181:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22867, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48185:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48181:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48181:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22865, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "48165:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22874, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48165:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22875, - "nodeType": "ExpressionStatement", - "src": "48165:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48089:3:15", - "parameters": { - "id": 22863, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22856, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48098:2:15", - "nodeType": "VariableDeclaration", - "scope": 22877, - "src": "48093:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22855, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48093:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22858, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48116:2:15", - "nodeType": "VariableDeclaration", - "scope": 22877, - "src": "48102:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22857, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48102:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22860, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48128:2:15", - "nodeType": "VariableDeclaration", - "scope": 22877, - "src": "48120:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22859, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "48120:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22862, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48137:2:15", - "nodeType": "VariableDeclaration", - "scope": 22877, - "src": "48132:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22861, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48132:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "48092:48:15" - }, - "returnParameters": { - "id": 22864, - "nodeType": "ParameterList", - "parameters": [], - "src": "48155:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22900, - "nodeType": "FunctionDefinition", - "src": "48267:187:15", - "nodes": [], - "body": { - "id": 22899, - "nodeType": "Block", - "src": "48345:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e743235362c6164647265737329", - "id": 22891, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48395:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1596a1ceb88c7fe162cbcf294bbc564db1eb943f277b50b442bf55dba1134056", - "typeString": "literal_string \"log(bool,string,uint256,address)\"" - }, - "value": "log(bool,string,uint256,address)" - }, - { - "id": 22892, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22879, - "src": "48431:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22893, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22881, - "src": "48435:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22894, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22883, - "src": "48439:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22895, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22885, - "src": "48443:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1596a1ceb88c7fe162cbcf294bbc564db1eb943f277b50b442bf55dba1134056", - "typeString": "literal_string \"log(bool,string,uint256,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 22889, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48371:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22890, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48375:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48371:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22896, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48371:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22888, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "48355:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22897, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48355:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22898, - "nodeType": "ExpressionStatement", - "src": "48355:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48276:3:15", - "parameters": { - "id": 22886, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22879, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48285:2:15", - "nodeType": "VariableDeclaration", - "scope": 22900, - "src": "48280:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22878, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48280:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22881, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48303:2:15", - "nodeType": "VariableDeclaration", - "scope": 22900, - "src": "48289:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22880, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48289:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22883, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48315:2:15", - "nodeType": "VariableDeclaration", - "scope": 22900, - "src": "48307:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22882, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "48307:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22885, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48327:2:15", - "nodeType": "VariableDeclaration", - "scope": 22900, - "src": "48319:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22884, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "48319:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "48279:51:15" - }, - "returnParameters": { - "id": 22887, - "nodeType": "ParameterList", - "parameters": [], - "src": "48345:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22923, - "nodeType": "FunctionDefinition", - "src": "48460:192:15", - "nodes": [], - "body": { - "id": 22922, - "nodeType": "Block", - "src": "48544:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c75696e7432353629", - "id": 22914, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48594:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7be0c3eb1e87c47c60c12330b930fb496493960f97b03f8342bbe08fec9d20a2", - "typeString": "literal_string \"log(bool,string,string,uint256)\"" - }, - "value": "log(bool,string,string,uint256)" - }, - { - "id": 22915, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22902, - "src": "48629:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22916, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22904, - "src": "48633:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22917, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22906, - "src": "48637:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22918, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22908, - "src": "48641:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7be0c3eb1e87c47c60c12330b930fb496493960f97b03f8342bbe08fec9d20a2", - "typeString": "literal_string \"log(bool,string,string,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 22912, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48570:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22913, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48574:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48570:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22919, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48570:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22911, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "48554:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48554:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22921, - "nodeType": "ExpressionStatement", - "src": "48554:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48469:3:15", - "parameters": { - "id": 22909, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22902, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48478:2:15", - "nodeType": "VariableDeclaration", - "scope": 22923, - "src": "48473:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22901, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48473:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22904, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48496:2:15", - "nodeType": "VariableDeclaration", - "scope": 22923, - "src": "48482:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22903, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48482:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22906, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48514:2:15", - "nodeType": "VariableDeclaration", - "scope": 22923, - "src": "48500:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22905, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48500:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22908, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48526:2:15", - "nodeType": "VariableDeclaration", - "scope": 22923, - "src": "48518:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22907, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "48518:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "48472:57:15" - }, - "returnParameters": { - "id": 22910, - "nodeType": "ParameterList", - "parameters": [], - "src": "48544:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22946, - "nodeType": "FunctionDefinition", - "src": "48658:197:15", - "nodes": [], - "body": { - "id": 22945, - "nodeType": "Block", - "src": "48748:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c737472696e6729", - "id": 22937, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48798:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1762e32af9fa924f818d8f4a6c92011d30129df73749081e0b95feea819a17c9", - "typeString": "literal_string \"log(bool,string,string,string)\"" - }, - "value": "log(bool,string,string,string)" - }, - { - "id": 22938, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22925, - "src": "48832:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22939, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22927, - "src": "48836:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22940, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22929, - "src": "48840:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22941, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22931, - "src": "48844:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1762e32af9fa924f818d8f4a6c92011d30129df73749081e0b95feea819a17c9", - "typeString": "literal_string \"log(bool,string,string,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 22935, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48774:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22936, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48778:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48774:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22942, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48774:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22934, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "48758:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48758:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22944, - "nodeType": "ExpressionStatement", - "src": "48758:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48667:3:15", - "parameters": { - "id": 22932, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22925, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48676:2:15", - "nodeType": "VariableDeclaration", - "scope": 22946, - "src": "48671:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22924, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48671:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22927, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48694:2:15", - "nodeType": "VariableDeclaration", - "scope": 22946, - "src": "48680:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22926, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48680:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22929, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48712:2:15", - "nodeType": "VariableDeclaration", - "scope": 22946, - "src": "48698:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22928, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48698:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22931, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48730:2:15", - "nodeType": "VariableDeclaration", - "scope": 22946, - "src": "48716:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22930, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48716:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "48670:63:15" - }, - "returnParameters": { - "id": 22933, - "nodeType": "ParameterList", - "parameters": [], - "src": "48748:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22969, - "nodeType": "FunctionDefinition", - "src": "48861:186:15", - "nodes": [], - "body": { - "id": 22968, - "nodeType": "Block", - "src": "48942:105:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c626f6f6c29", - "id": 22960, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48992:30:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e4b87e52d13efc5b368defba0463e423637ec55125c6230945d005f817198d1", - "typeString": "literal_string \"log(bool,string,string,bool)\"" - }, - "value": "log(bool,string,string,bool)" - }, - { - "id": 22961, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22948, - "src": "49024:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22962, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22950, - "src": "49028:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22963, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22952, - "src": "49032:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22964, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22954, - "src": "49036:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1e4b87e52d13efc5b368defba0463e423637ec55125c6230945d005f817198d1", - "typeString": "literal_string \"log(bool,string,string,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 22958, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48968:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22959, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48972:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48968:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22965, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48968:71:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22957, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "48952:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22966, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48952:88:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22967, - "nodeType": "ExpressionStatement", - "src": "48952:88:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48870:3:15", - "parameters": { - "id": 22955, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22948, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48879:2:15", - "nodeType": "VariableDeclaration", - "scope": 22969, - "src": "48874:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22947, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48874:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22950, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48897:2:15", - "nodeType": "VariableDeclaration", - "scope": 22969, - "src": "48883:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22949, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48883:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22952, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48915:2:15", - "nodeType": "VariableDeclaration", - "scope": 22969, - "src": "48901:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22951, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48901:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22954, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48924:2:15", - "nodeType": "VariableDeclaration", - "scope": 22969, - "src": "48919:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22953, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48919:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "48873:54:15" - }, - "returnParameters": { - "id": 22956, - "nodeType": "ParameterList", - "parameters": [], - "src": "48942:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22992, - "nodeType": "FunctionDefinition", - "src": "49053:192:15", - "nodes": [], - "body": { - "id": 22991, - "nodeType": "Block", - "src": "49137:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c6164647265737329", - "id": 22983, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49187:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_97d394d89551bd441d1340d1c3dcc3b6160871bf042c6884bcb4049b2fa2bdb5", - "typeString": "literal_string \"log(bool,string,string,address)\"" - }, - "value": "log(bool,string,string,address)" - }, - { - "id": 22984, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22971, - "src": "49222:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22985, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22973, - "src": "49226:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22986, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22975, - "src": "49230:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22987, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22977, - "src": "49234:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_97d394d89551bd441d1340d1c3dcc3b6160871bf042c6884bcb4049b2fa2bdb5", - "typeString": "literal_string \"log(bool,string,string,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 22981, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49163:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22982, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49167:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49163:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22988, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49163:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22980, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "49147:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49147:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22990, - "nodeType": "ExpressionStatement", - "src": "49147:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49062:3:15", - "parameters": { - "id": 22978, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22971, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49071:2:15", - "nodeType": "VariableDeclaration", - "scope": 22992, - "src": "49066:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22970, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49066:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22973, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49089:2:15", - "nodeType": "VariableDeclaration", - "scope": 22992, - "src": "49075:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22972, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49075:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22975, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49107:2:15", - "nodeType": "VariableDeclaration", - "scope": 22992, - "src": "49093:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22974, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49093:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22977, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49119:2:15", - "nodeType": "VariableDeclaration", - "scope": 22992, - "src": "49111:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22976, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "49111:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "49065:57:15" - }, - "returnParameters": { - "id": 22979, - "nodeType": "ParameterList", - "parameters": [], - "src": "49137:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23015, - "nodeType": "FunctionDefinition", - "src": "49251:181:15", - "nodes": [], - "body": { - "id": 23014, - "nodeType": "Block", - "src": "49326:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c75696e7432353629", - "id": 23006, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49376:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1606a393d6d8ee0e5b372b3b4baba691a3700cb155888ecb60500deb6038e937", - "typeString": "literal_string \"log(bool,string,bool,uint256)\"" - }, - "value": "log(bool,string,bool,uint256)" - }, - { - "id": 23007, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22994, - "src": "49409:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23008, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22996, - "src": "49413:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23009, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22998, - "src": "49417:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23010, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23000, - "src": "49421:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1606a393d6d8ee0e5b372b3b4baba691a3700cb155888ecb60500deb6038e937", - "typeString": "literal_string \"log(bool,string,bool,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 23004, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49352:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23005, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49356:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49352:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49352:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23003, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "49336:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23012, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49336:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23013, - "nodeType": "ExpressionStatement", - "src": "49336:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49260:3:15", - "parameters": { - "id": 23001, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22994, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49269:2:15", - "nodeType": "VariableDeclaration", - "scope": 23015, - "src": "49264:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22993, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49264:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22996, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49287:2:15", - "nodeType": "VariableDeclaration", - "scope": 23015, - "src": "49273:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22995, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49273:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22998, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49296:2:15", - "nodeType": "VariableDeclaration", - "scope": 23015, - "src": "49291:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22997, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49291:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23000, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49308:2:15", - "nodeType": "VariableDeclaration", - "scope": 23015, - "src": "49300:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22999, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "49300:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "49263:48:15" - }, - "returnParameters": { - "id": 23002, - "nodeType": "ParameterList", - "parameters": [], - "src": "49326:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23038, - "nodeType": "FunctionDefinition", - "src": "49438:186:15", - "nodes": [], - "body": { - "id": 23037, - "nodeType": "Block", - "src": "49519:105:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c737472696e6729", - "id": 23029, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49569:30:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_483d0416329d0c81c68975a0cac822497c590c00f8ae8be66af490d0f9215468", - "typeString": "literal_string \"log(bool,string,bool,string)\"" - }, - "value": "log(bool,string,bool,string)" - }, - { - "id": 23030, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23017, - "src": "49601:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23031, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23019, - "src": "49605:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23032, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23021, - "src": "49609:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23033, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23023, - "src": "49613:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_483d0416329d0c81c68975a0cac822497c590c00f8ae8be66af490d0f9215468", - "typeString": "literal_string \"log(bool,string,bool,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 23027, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49545:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23028, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49549:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49545:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49545:71:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23026, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "49529:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23035, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49529:88:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23036, - "nodeType": "ExpressionStatement", - "src": "49529:88:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49447:3:15", - "parameters": { - "id": 23024, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23017, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49456:2:15", - "nodeType": "VariableDeclaration", - "scope": 23038, - "src": "49451:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23016, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49451:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23019, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49474:2:15", - "nodeType": "VariableDeclaration", - "scope": 23038, - "src": "49460:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23018, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49460:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23021, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49483:2:15", - "nodeType": "VariableDeclaration", - "scope": 23038, - "src": "49478:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23020, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49478:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23023, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49501:2:15", - "nodeType": "VariableDeclaration", - "scope": 23038, - "src": "49487:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23022, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49487:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "49450:54:15" - }, - "returnParameters": { - "id": 23025, - "nodeType": "ParameterList", - "parameters": [], - "src": "49519:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23061, - "nodeType": "FunctionDefinition", - "src": "49630:175:15", - "nodes": [], - "body": { - "id": 23060, - "nodeType": "Block", - "src": "49702:103:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c626f6f6c29", - "id": 23052, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49752:28:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dc5e935b9ccf45ff13b5900aeaf3a593df3e9479fc07e9c213f5fcaa0951e91f", - "typeString": "literal_string \"log(bool,string,bool,bool)\"" - }, - "value": "log(bool,string,bool,bool)" - }, - { - "id": 23053, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23040, - "src": "49782:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23054, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23042, - "src": "49786:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23055, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23044, - "src": "49790:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23056, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23046, - "src": "49794:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_dc5e935b9ccf45ff13b5900aeaf3a593df3e9479fc07e9c213f5fcaa0951e91f", - "typeString": "literal_string \"log(bool,string,bool,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 23050, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49728:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23051, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49732:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49728:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49728:69:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23049, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "49712:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23058, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49712:86:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23059, - "nodeType": "ExpressionStatement", - "src": "49712:86:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49639:3:15", - "parameters": { - "id": 23047, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23040, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49648:2:15", - "nodeType": "VariableDeclaration", - "scope": 23061, - "src": "49643:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23039, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49643:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23042, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49666:2:15", - "nodeType": "VariableDeclaration", - "scope": 23061, - "src": "49652:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23041, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49652:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23044, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49675:2:15", - "nodeType": "VariableDeclaration", - "scope": 23061, - "src": "49670:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23043, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49670:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23046, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49684:2:15", - "nodeType": "VariableDeclaration", - "scope": 23061, - "src": "49679:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23045, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49679:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "49642:45:15" - }, - "returnParameters": { - "id": 23048, - "nodeType": "ParameterList", - "parameters": [], - "src": "49702:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23084, - "nodeType": "FunctionDefinition", - "src": "49811:181:15", - "nodes": [], - "body": { - "id": 23083, - "nodeType": "Block", - "src": "49886:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c6164647265737329", - "id": 23075, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49936:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_538e06ab06366b189ea53da7c11628ee5730bc373b0bc64719bea1a2afab03c5", - "typeString": "literal_string \"log(bool,string,bool,address)\"" - }, - "value": "log(bool,string,bool,address)" - }, - { - "id": 23076, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23063, - "src": "49969:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23077, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23065, - "src": "49973:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23078, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23067, - "src": "49977:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23079, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23069, - "src": "49981:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_538e06ab06366b189ea53da7c11628ee5730bc373b0bc64719bea1a2afab03c5", - "typeString": "literal_string \"log(bool,string,bool,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 23073, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49912:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23074, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49916:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49912:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49912:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23072, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "49896:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49896:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23082, - "nodeType": "ExpressionStatement", - "src": "49896:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49820:3:15", - "parameters": { - "id": 23070, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23063, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49829:2:15", - "nodeType": "VariableDeclaration", - "scope": 23084, - "src": "49824:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23062, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49824:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23065, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49847:2:15", - "nodeType": "VariableDeclaration", - "scope": 23084, - "src": "49833:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23064, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49833:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23067, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49856:2:15", - "nodeType": "VariableDeclaration", - "scope": 23084, - "src": "49851:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23066, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49851:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23069, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49868:2:15", - "nodeType": "VariableDeclaration", - "scope": 23084, - "src": "49860:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23068, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "49860:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "49823:48:15" - }, - "returnParameters": { - "id": 23071, - "nodeType": "ParameterList", - "parameters": [], - "src": "49886:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23107, - "nodeType": "FunctionDefinition", - "src": "49998:187:15", - "nodes": [], - "body": { - "id": 23106, - "nodeType": "Block", - "src": "50076:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c75696e7432353629", - "id": 23098, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50126:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a5cada94c7dfdda57d4cfcf14da44c63431bfd533756a6e0d0d0a684af164218", - "typeString": "literal_string \"log(bool,string,address,uint256)\"" - }, - "value": "log(bool,string,address,uint256)" - }, - { - "id": 23099, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23086, - "src": "50162:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23100, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23088, - "src": "50166:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23101, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23090, - "src": "50170:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23102, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23092, - "src": "50174:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a5cada94c7dfdda57d4cfcf14da44c63431bfd533756a6e0d0d0a684af164218", - "typeString": "literal_string \"log(bool,string,address,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 23096, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50102:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23097, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50106:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50102:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50102:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23095, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "50086:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23104, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50086:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23105, - "nodeType": "ExpressionStatement", - "src": "50086:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50007:3:15", - "parameters": { - "id": 23093, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23086, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50016:2:15", - "nodeType": "VariableDeclaration", - "scope": 23107, - "src": "50011:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23085, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50011:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23088, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50034:2:15", - "nodeType": "VariableDeclaration", - "scope": 23107, - "src": "50020:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23087, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50020:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23090, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50046:2:15", - "nodeType": "VariableDeclaration", - "scope": 23107, - "src": "50038:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23089, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50038:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23092, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50058:2:15", - "nodeType": "VariableDeclaration", - "scope": 23107, - "src": "50050:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23091, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "50050:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "50010:51:15" - }, - "returnParameters": { - "id": 23094, - "nodeType": "ParameterList", - "parameters": [], - "src": "50076:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23130, - "nodeType": "FunctionDefinition", - "src": "50191:192:15", - "nodes": [], - "body": { - "id": 23129, - "nodeType": "Block", - "src": "50275:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c737472696e6729", - "id": 23121, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50325:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_12d6c788fea4d6144f2607e1e8821bec55a5c2dfdc4cece41a536f7b7831e7a7", - "typeString": "literal_string \"log(bool,string,address,string)\"" - }, - "value": "log(bool,string,address,string)" - }, - { - "id": 23122, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23109, - "src": "50360:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23123, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23111, - "src": "50364:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23124, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23113, - "src": "50368:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23125, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23115, - "src": "50372:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_12d6c788fea4d6144f2607e1e8821bec55a5c2dfdc4cece41a536f7b7831e7a7", - "typeString": "literal_string \"log(bool,string,address,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 23119, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50301:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23120, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50305:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50301:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50301:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23118, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "50285:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50285:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23128, - "nodeType": "ExpressionStatement", - "src": "50285:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50200:3:15", - "parameters": { - "id": 23116, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23109, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50209:2:15", - "nodeType": "VariableDeclaration", - "scope": 23130, - "src": "50204:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23108, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50204:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23111, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50227:2:15", - "nodeType": "VariableDeclaration", - "scope": 23130, - "src": "50213:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23110, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50213:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23113, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50239:2:15", - "nodeType": "VariableDeclaration", - "scope": 23130, - "src": "50231:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23112, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50231:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23115, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50257:2:15", - "nodeType": "VariableDeclaration", - "scope": 23130, - "src": "50243:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23114, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50243:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "50203:57:15" - }, - "returnParameters": { - "id": 23117, - "nodeType": "ParameterList", - "parameters": [], - "src": "50275:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23153, - "nodeType": "FunctionDefinition", - "src": "50389:181:15", - "nodes": [], - "body": { - "id": 23152, - "nodeType": "Block", - "src": "50464:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c626f6f6c29", - "id": 23144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50514:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6dd434ca1fa26d491bcd72b7fe69eb72d41cae8eadbda5a7f985734e1b80c67d", - "typeString": "literal_string \"log(bool,string,address,bool)\"" - }, - "value": "log(bool,string,address,bool)" - }, - { - "id": 23145, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23132, - "src": "50547:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23146, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23134, - "src": "50551:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23147, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23136, - "src": "50555:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23148, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23138, - "src": "50559:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6dd434ca1fa26d491bcd72b7fe69eb72d41cae8eadbda5a7f985734e1b80c67d", - "typeString": "literal_string \"log(bool,string,address,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 23142, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50490:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23143, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50494:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50490:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23149, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50490:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23141, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "50474:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50474:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23151, - "nodeType": "ExpressionStatement", - "src": "50474:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50398:3:15", - "parameters": { - "id": 23139, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23132, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50407:2:15", - "nodeType": "VariableDeclaration", - "scope": 23153, - "src": "50402:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23131, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50402:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23134, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50425:2:15", - "nodeType": "VariableDeclaration", - "scope": 23153, - "src": "50411:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23133, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50411:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23136, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50437:2:15", - "nodeType": "VariableDeclaration", - "scope": 23153, - "src": "50429:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23135, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50429:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23138, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50446:2:15", - "nodeType": "VariableDeclaration", - "scope": 23153, - "src": "50441:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23137, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50441:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "50401:48:15" - }, - "returnParameters": { - "id": 23140, - "nodeType": "ParameterList", - "parameters": [], - "src": "50464:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23176, - "nodeType": "FunctionDefinition", - "src": "50576:187:15", - "nodes": [], - "body": { - "id": 23175, - "nodeType": "Block", - "src": "50654:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c6164647265737329", - "id": 23167, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50704:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2b2b18dc50ecc75180f201de41eca533fbda0c7bf525c06b5b8e87bc1d010822", - "typeString": "literal_string \"log(bool,string,address,address)\"" - }, - "value": "log(bool,string,address,address)" - }, - { - "id": 23168, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23155, - "src": "50740:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23169, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23157, - "src": "50744:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23170, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23159, - "src": "50748:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23171, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23161, - "src": "50752:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2b2b18dc50ecc75180f201de41eca533fbda0c7bf525c06b5b8e87bc1d010822", - "typeString": "literal_string \"log(bool,string,address,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 23165, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50680:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23166, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50684:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50680:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23172, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50680:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23164, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "50664:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50664:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23174, - "nodeType": "ExpressionStatement", - "src": "50664:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50585:3:15", - "parameters": { - "id": 23162, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23155, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50594:2:15", - "nodeType": "VariableDeclaration", - "scope": 23176, - "src": "50589:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23154, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50589:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23157, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50612:2:15", - "nodeType": "VariableDeclaration", - "scope": 23176, - "src": "50598:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23156, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50598:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23159, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50624:2:15", - "nodeType": "VariableDeclaration", - "scope": 23176, - "src": "50616:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23158, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50616:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23161, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50636:2:15", - "nodeType": "VariableDeclaration", - "scope": 23176, - "src": "50628:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23160, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50628:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "50588:51:15" - }, - "returnParameters": { - "id": 23163, - "nodeType": "ParameterList", - "parameters": [], - "src": "50654:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23199, - "nodeType": "FunctionDefinition", - "src": "50769:176:15", - "nodes": [], - "body": { - "id": 23198, - "nodeType": "Block", - "src": "50838:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e743235362c75696e7432353629", - "id": 23190, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50888:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0bb00eab8772a517edb34ef48e9be8dbee2f7b7490bba02909d18953766a9d34", - "typeString": "literal_string \"log(bool,bool,uint256,uint256)\"" - }, - "value": "log(bool,bool,uint256,uint256)" - }, - { - "id": 23191, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23178, - "src": "50922:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23192, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23180, - "src": "50926:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23193, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23182, - "src": "50930:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23194, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23184, - "src": "50934:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0bb00eab8772a517edb34ef48e9be8dbee2f7b7490bba02909d18953766a9d34", - "typeString": "literal_string \"log(bool,bool,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 23188, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50864:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23189, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50868:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50864:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23195, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50864:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23187, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "50848:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23196, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50848:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23197, - "nodeType": "ExpressionStatement", - "src": "50848:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50778:3:15", - "parameters": { - "id": 23185, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23178, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50787:2:15", - "nodeType": "VariableDeclaration", - "scope": 23199, - "src": "50782:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23177, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50782:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23180, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50796:2:15", - "nodeType": "VariableDeclaration", - "scope": 23199, - "src": "50791:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23179, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50791:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23182, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50808:2:15", - "nodeType": "VariableDeclaration", - "scope": 23199, - "src": "50800:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23181, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "50800:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23184, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50820:2:15", - "nodeType": "VariableDeclaration", - "scope": 23199, - "src": "50812:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23183, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "50812:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "50781:42:15" - }, - "returnParameters": { - "id": 23186, - "nodeType": "ParameterList", - "parameters": [], - "src": "50838:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23222, - "nodeType": "FunctionDefinition", - "src": "50951:181:15", - "nodes": [], - "body": { - "id": 23221, - "nodeType": "Block", - "src": "51026:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e743235362c737472696e6729", - "id": 23213, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51076:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7dd4d0e0c518f4b352fd13daccf87a5d9bed9e01e109d2cd329f8180d1bf37cf", - "typeString": "literal_string \"log(bool,bool,uint256,string)\"" - }, - "value": "log(bool,bool,uint256,string)" - }, - { - "id": 23214, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23201, - "src": "51109:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23215, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23203, - "src": "51113:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23216, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23205, - "src": "51117:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23217, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23207, - "src": "51121:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7dd4d0e0c518f4b352fd13daccf87a5d9bed9e01e109d2cd329f8180d1bf37cf", - "typeString": "literal_string \"log(bool,bool,uint256,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 23211, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51052:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23212, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51056:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51052:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23218, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51052:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23210, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "51036:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51036:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23220, - "nodeType": "ExpressionStatement", - "src": "51036:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50960:3:15", - "parameters": { - "id": 23208, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23201, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50969:2:15", - "nodeType": "VariableDeclaration", - "scope": 23222, - "src": "50964:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23200, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50964:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23203, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50978:2:15", - "nodeType": "VariableDeclaration", - "scope": 23222, - "src": "50973:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23202, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50973:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23205, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50990:2:15", - "nodeType": "VariableDeclaration", - "scope": 23222, - "src": "50982:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23204, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "50982:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23207, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51008:2:15", - "nodeType": "VariableDeclaration", - "scope": 23222, - "src": "50994:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23206, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50994:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "50963:48:15" - }, - "returnParameters": { - "id": 23209, - "nodeType": "ParameterList", - "parameters": [], - "src": "51026:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23245, - "nodeType": "FunctionDefinition", - "src": "51138:170:15", - "nodes": [], - "body": { - "id": 23244, - "nodeType": "Block", - "src": "51204:104:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e743235362c626f6f6c29", - "id": 23236, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51254:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_619e4d0eef4ca09035d413eaba6f544cfd6dc9e01c2aeecde070c53237f5a842", - "typeString": "literal_string \"log(bool,bool,uint256,bool)\"" - }, - "value": "log(bool,bool,uint256,bool)" - }, - { - "id": 23237, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23224, - "src": "51285:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23238, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23226, - "src": "51289:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23239, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23228, - "src": "51293:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23240, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23230, - "src": "51297:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_619e4d0eef4ca09035d413eaba6f544cfd6dc9e01c2aeecde070c53237f5a842", - "typeString": "literal_string \"log(bool,bool,uint256,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 23234, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51230:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23235, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51234:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51230:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23241, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51230:70:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23233, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "51214:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23242, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51214:87:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23243, - "nodeType": "ExpressionStatement", - "src": "51214:87:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51147:3:15", - "parameters": { - "id": 23231, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23224, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51156:2:15", - "nodeType": "VariableDeclaration", - "scope": 23245, - "src": "51151:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23223, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51151:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23226, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51165:2:15", - "nodeType": "VariableDeclaration", - "scope": 23245, - "src": "51160:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23225, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51160:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23228, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51177:2:15", - "nodeType": "VariableDeclaration", - "scope": 23245, - "src": "51169:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23227, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "51169:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23230, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51186:2:15", - "nodeType": "VariableDeclaration", - "scope": 23245, - "src": "51181:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23229, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51181:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "51150:39:15" - }, - "returnParameters": { - "id": 23232, - "nodeType": "ParameterList", - "parameters": [], - "src": "51204:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23268, - "nodeType": "FunctionDefinition", - "src": "51314:176:15", - "nodes": [], - "body": { - "id": 23267, - "nodeType": "Block", - "src": "51383:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e743235362c6164647265737329", - "id": 23259, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51433:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_54a7a9a08e00a28d36d734cc45e318f9adc9ffbfd731cd45d0dc5a2abe2b9ac9", - "typeString": "literal_string \"log(bool,bool,uint256,address)\"" - }, - "value": "log(bool,bool,uint256,address)" - }, - { - "id": 23260, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23247, - "src": "51467:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23261, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23249, - "src": "51471:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23262, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23251, - "src": "51475:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23263, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23253, - "src": "51479:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_54a7a9a08e00a28d36d734cc45e318f9adc9ffbfd731cd45d0dc5a2abe2b9ac9", - "typeString": "literal_string \"log(bool,bool,uint256,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 23257, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51409:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23258, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51413:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51409:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23264, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51409:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23256, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "51393:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23265, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51393:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23266, - "nodeType": "ExpressionStatement", - "src": "51393:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51323:3:15", - "parameters": { - "id": 23254, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23247, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51332:2:15", - "nodeType": "VariableDeclaration", - "scope": 23268, - "src": "51327:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23246, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51327:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23249, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51341:2:15", - "nodeType": "VariableDeclaration", - "scope": 23268, - "src": "51336:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23248, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51336:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23251, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51353:2:15", - "nodeType": "VariableDeclaration", - "scope": 23268, - "src": "51345:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23250, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "51345:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23253, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51365:2:15", - "nodeType": "VariableDeclaration", - "scope": 23268, - "src": "51357:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23252, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51357:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "51326:42:15" - }, - "returnParameters": { - "id": 23255, - "nodeType": "ParameterList", - "parameters": [], - "src": "51383:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23291, - "nodeType": "FunctionDefinition", - "src": "51496:181:15", - "nodes": [], - "body": { - "id": 23290, - "nodeType": "Block", - "src": "51571:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c75696e7432353629", - "id": 23282, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51621:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e3a9ca2f5717705d404f75ae4eff025addb4f91e02ce7d2b9a424fc7423a8246", - "typeString": "literal_string \"log(bool,bool,string,uint256)\"" - }, - "value": "log(bool,bool,string,uint256)" - }, - { - "id": 23283, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23270, - "src": "51654:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23284, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23272, - "src": "51658:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23285, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23274, - "src": "51662:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23286, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23276, - "src": "51666:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e3a9ca2f5717705d404f75ae4eff025addb4f91e02ce7d2b9a424fc7423a8246", - "typeString": "literal_string \"log(bool,bool,string,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 23280, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51597:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23281, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51601:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51597:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23287, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51597:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23279, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "51581:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23288, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51581:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23289, - "nodeType": "ExpressionStatement", - "src": "51581:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51505:3:15", - "parameters": { - "id": 23277, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23270, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51514:2:15", - "nodeType": "VariableDeclaration", - "scope": 23291, - "src": "51509:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23269, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51509:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23272, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51523:2:15", - "nodeType": "VariableDeclaration", - "scope": 23291, - "src": "51518:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23271, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51518:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23274, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51541:2:15", - "nodeType": "VariableDeclaration", - "scope": 23291, - "src": "51527:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23273, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "51527:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23276, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51553:2:15", - "nodeType": "VariableDeclaration", - "scope": 23291, - "src": "51545:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23275, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "51545:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "51508:48:15" - }, - "returnParameters": { - "id": 23278, - "nodeType": "ParameterList", - "parameters": [], - "src": "51571:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23314, - "nodeType": "FunctionDefinition", - "src": "51683:186:15", - "nodes": [], - "body": { - "id": 23313, - "nodeType": "Block", - "src": "51764:105:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c737472696e6729", - "id": 23305, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51814:30:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d1e87518c98344bc3efd52648f61de340bda51607aec409d641f3467caafaaf", - "typeString": "literal_string \"log(bool,bool,string,string)\"" - }, - "value": "log(bool,bool,string,string)" - }, - { - "id": 23306, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23293, - "src": "51846:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23307, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23295, - "src": "51850:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23308, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23297, - "src": "51854:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23309, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23299, - "src": "51858:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6d1e87518c98344bc3efd52648f61de340bda51607aec409d641f3467caafaaf", - "typeString": "literal_string \"log(bool,bool,string,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 23303, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51790:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23304, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51794:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51790:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23310, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51790:71:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23302, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "51774:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23311, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51774:88:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23312, - "nodeType": "ExpressionStatement", - "src": "51774:88:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51692:3:15", - "parameters": { - "id": 23300, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23293, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51701:2:15", - "nodeType": "VariableDeclaration", - "scope": 23314, - "src": "51696:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23292, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51696:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23295, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51710:2:15", - "nodeType": "VariableDeclaration", - "scope": 23314, - "src": "51705:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23294, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51705:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23297, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51728:2:15", - "nodeType": "VariableDeclaration", - "scope": 23314, - "src": "51714:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23296, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "51714:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23299, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51746:2:15", - "nodeType": "VariableDeclaration", - "scope": 23314, - "src": "51732:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23298, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "51732:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "51695:54:15" - }, - "returnParameters": { - "id": 23301, - "nodeType": "ParameterList", - "parameters": [], - "src": "51764:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23337, - "nodeType": "FunctionDefinition", - "src": "51875:175:15", - "nodes": [], - "body": { - "id": 23336, - "nodeType": "Block", - "src": "51947:103:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c626f6f6c29", - "id": 23328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51997:28:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b857163a2b7b8273ed53cefa410aa148f1833bdfc22da11e1e2fb89c6e625d02", - "typeString": "literal_string \"log(bool,bool,string,bool)\"" - }, - "value": "log(bool,bool,string,bool)" - }, - { - "id": 23329, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23316, - "src": "52027:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23330, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23318, - "src": "52031:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23331, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23320, - "src": "52035:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23332, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23322, - "src": "52039:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b857163a2b7b8273ed53cefa410aa148f1833bdfc22da11e1e2fb89c6e625d02", - "typeString": "literal_string \"log(bool,bool,string,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 23326, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51973:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23327, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51977:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51973:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51973:69:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23325, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "51957:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23334, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51957:86:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23335, - "nodeType": "ExpressionStatement", - "src": "51957:86:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51884:3:15", - "parameters": { - "id": 23323, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23316, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51893:2:15", - "nodeType": "VariableDeclaration", - "scope": 23337, - "src": "51888:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23315, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51888:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23318, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51902:2:15", - "nodeType": "VariableDeclaration", - "scope": 23337, - "src": "51897:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23317, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51897:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23320, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51920:2:15", - "nodeType": "VariableDeclaration", - "scope": 23337, - "src": "51906:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23319, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "51906:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23322, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51929:2:15", - "nodeType": "VariableDeclaration", - "scope": 23337, - "src": "51924:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23321, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51924:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "51887:45:15" - }, - "returnParameters": { - "id": 23324, - "nodeType": "ParameterList", - "parameters": [], - "src": "51947:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23360, - "nodeType": "FunctionDefinition", - "src": "52056:181:15", - "nodes": [], - "body": { - "id": 23359, - "nodeType": "Block", - "src": "52131:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c6164647265737329", - "id": 23351, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52181:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f9ad2b893873fa31c02b102aa30743b2e44c102daa588ea9d1eb1f2baf23d202", - "typeString": "literal_string \"log(bool,bool,string,address)\"" - }, - "value": "log(bool,bool,string,address)" - }, - { - "id": 23352, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23339, - "src": "52214:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23353, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23341, - "src": "52218:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23354, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23343, - "src": "52222:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23355, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23345, - "src": "52226:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f9ad2b893873fa31c02b102aa30743b2e44c102daa588ea9d1eb1f2baf23d202", - "typeString": "literal_string \"log(bool,bool,string,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 23349, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52157:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23350, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52161:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52157:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23356, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52157:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23348, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "52141:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52141:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23358, - "nodeType": "ExpressionStatement", - "src": "52141:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52065:3:15", - "parameters": { - "id": 23346, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23339, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52074:2:15", - "nodeType": "VariableDeclaration", - "scope": 23360, - "src": "52069:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23338, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52069:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23341, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52083:2:15", - "nodeType": "VariableDeclaration", - "scope": 23360, - "src": "52078:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23340, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52078:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23343, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52101:2:15", - "nodeType": "VariableDeclaration", - "scope": 23360, - "src": "52087:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23342, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "52087:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23345, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52113:2:15", - "nodeType": "VariableDeclaration", - "scope": 23360, - "src": "52105:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23344, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52105:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "52068:48:15" - }, - "returnParameters": { - "id": 23347, - "nodeType": "ParameterList", - "parameters": [], - "src": "52131:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23383, - "nodeType": "FunctionDefinition", - "src": "52243:170:15", - "nodes": [], - "body": { - "id": 23382, - "nodeType": "Block", - "src": "52309:104:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c75696e7432353629", - "id": 23374, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52359:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d7045c1b7eb7ef78b5ae54b2426a16952d89f674f6d689a4e37aa73bc076a7c", - "typeString": "literal_string \"log(bool,bool,bool,uint256)\"" - }, - "value": "log(bool,bool,bool,uint256)" - }, - { - "id": 23375, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23362, - "src": "52390:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23376, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23364, - "src": "52394:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23377, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23366, - "src": "52398:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23378, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23368, - "src": "52402:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6d7045c1b7eb7ef78b5ae54b2426a16952d89f674f6d689a4e37aa73bc076a7c", - "typeString": "literal_string \"log(bool,bool,bool,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 23372, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52335:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23373, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52339:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52335:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23379, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52335:70:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23371, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "52319:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52319:87:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23381, - "nodeType": "ExpressionStatement", - "src": "52319:87:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52252:3:15", - "parameters": { - "id": 23369, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23362, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52261:2:15", - "nodeType": "VariableDeclaration", - "scope": 23383, - "src": "52256:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23361, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52256:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23364, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52270:2:15", - "nodeType": "VariableDeclaration", - "scope": 23383, - "src": "52265:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23363, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52265:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23366, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52279:2:15", - "nodeType": "VariableDeclaration", - "scope": 23383, - "src": "52274:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23365, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52274:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23368, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52291:2:15", - "nodeType": "VariableDeclaration", - "scope": 23383, - "src": "52283:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23367, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "52283:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "52255:39:15" - }, - "returnParameters": { - "id": 23370, - "nodeType": "ParameterList", - "parameters": [], - "src": "52309:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23406, - "nodeType": "FunctionDefinition", - "src": "52419:175:15", - "nodes": [], - "body": { - "id": 23405, - "nodeType": "Block", - "src": "52491:103:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c737472696e6729", - "id": 23397, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52541:28:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2ae408d4d030305a0361ad07c397f2b9653613b220d82459c7aeb9a6bab96c15", - "typeString": "literal_string \"log(bool,bool,bool,string)\"" - }, - "value": "log(bool,bool,bool,string)" - }, - { - "id": 23398, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23385, - "src": "52571:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23399, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23387, - "src": "52575:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23400, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23389, - "src": "52579:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23401, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23391, - "src": "52583:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2ae408d4d030305a0361ad07c397f2b9653613b220d82459c7aeb9a6bab96c15", - "typeString": "literal_string \"log(bool,bool,bool,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 23395, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52517:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23396, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52521:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52517:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23402, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52517:69:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23394, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "52501:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23403, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52501:86:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23404, - "nodeType": "ExpressionStatement", - "src": "52501:86:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52428:3:15", - "parameters": { - "id": 23392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23385, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52437:2:15", - "nodeType": "VariableDeclaration", - "scope": 23406, - "src": "52432:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23384, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52432:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23387, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52446:2:15", - "nodeType": "VariableDeclaration", - "scope": 23406, - "src": "52441:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23386, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52441:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23389, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52455:2:15", - "nodeType": "VariableDeclaration", - "scope": 23406, - "src": "52450:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23388, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52450:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23391, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52473:2:15", - "nodeType": "VariableDeclaration", - "scope": 23406, - "src": "52459:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23390, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "52459:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "52431:45:15" - }, - "returnParameters": { - "id": 23393, - "nodeType": "ParameterList", - "parameters": [], - "src": "52491:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23429, - "nodeType": "FunctionDefinition", - "src": "52600:164:15", - "nodes": [], - "body": { - "id": 23428, - "nodeType": "Block", - "src": "52663:101:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 23420, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52713:26:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3b2a5ce0ddf7b166153a4354c81efba12a817983a38c6bc3b58fd91ce816d99f", - "typeString": "literal_string \"log(bool,bool,bool,bool)\"" - }, - "value": "log(bool,bool,bool,bool)" - }, - { - "id": 23421, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23408, - "src": "52741:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23422, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23410, - "src": "52745:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23423, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23412, - "src": "52749:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23424, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23414, - "src": "52753:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3b2a5ce0ddf7b166153a4354c81efba12a817983a38c6bc3b58fd91ce816d99f", - "typeString": "literal_string \"log(bool,bool,bool,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 23418, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52689:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23419, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52693:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52689:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23425, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52689:67:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23417, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "52673:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52673:84:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23427, - "nodeType": "ExpressionStatement", - "src": "52673:84:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52609:3:15", - "parameters": { - "id": 23415, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23408, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52618:2:15", - "nodeType": "VariableDeclaration", - "scope": 23429, - "src": "52613:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23407, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52613:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23410, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52627:2:15", - "nodeType": "VariableDeclaration", - "scope": 23429, - "src": "52622:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23409, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52622:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23412, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52636:2:15", - "nodeType": "VariableDeclaration", - "scope": 23429, - "src": "52631:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23411, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52631:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23414, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52645:2:15", - "nodeType": "VariableDeclaration", - "scope": 23429, - "src": "52640:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23413, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52640:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "52612:36:15" - }, - "returnParameters": { - "id": 23416, - "nodeType": "ParameterList", - "parameters": [], - "src": "52663:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23452, - "nodeType": "FunctionDefinition", - "src": "52770:170:15", - "nodes": [], - "body": { - "id": 23451, - "nodeType": "Block", - "src": "52836:104:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c6164647265737329", - "id": 23443, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52886:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8c329b1a1752dedfc6b781d23096b49b7f905d62405e6e3f0ab0344786ff69f4", - "typeString": "literal_string \"log(bool,bool,bool,address)\"" - }, - "value": "log(bool,bool,bool,address)" - }, - { - "id": 23444, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23431, - "src": "52917:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23445, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23433, - "src": "52921:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23446, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23435, - "src": "52925:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23447, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23437, - "src": "52929:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8c329b1a1752dedfc6b781d23096b49b7f905d62405e6e3f0ab0344786ff69f4", - "typeString": "literal_string \"log(bool,bool,bool,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 23441, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52862:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23442, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52866:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52862:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23448, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52862:70:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23440, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "52846:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52846:87:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23450, - "nodeType": "ExpressionStatement", - "src": "52846:87:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52779:3:15", - "parameters": { - "id": 23438, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23431, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52788:2:15", - "nodeType": "VariableDeclaration", - "scope": 23452, - "src": "52783:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23430, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52783:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23433, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52797:2:15", - "nodeType": "VariableDeclaration", - "scope": 23452, - "src": "52792:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23432, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52792:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23435, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52806:2:15", - "nodeType": "VariableDeclaration", - "scope": 23452, - "src": "52801:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23434, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52801:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23437, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52818:2:15", - "nodeType": "VariableDeclaration", - "scope": 23452, - "src": "52810:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23436, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52810:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "52782:39:15" - }, - "returnParameters": { - "id": 23439, - "nodeType": "ParameterList", - "parameters": [], - "src": "52836:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23475, - "nodeType": "FunctionDefinition", - "src": "52946:176:15", - "nodes": [], - "body": { - "id": 23474, - "nodeType": "Block", - "src": "53015:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c75696e7432353629", - "id": 23466, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53065:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4c123d5798ed03bd59911522da9ad7b1fc4e62f5a5de1c95ef20dc3897657cf1", - "typeString": "literal_string \"log(bool,bool,address,uint256)\"" - }, - "value": "log(bool,bool,address,uint256)" - }, - { - "id": 23467, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23454, - "src": "53099:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23468, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23456, - "src": "53103:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23469, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23458, - "src": "53107:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23470, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23460, - "src": "53111:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4c123d5798ed03bd59911522da9ad7b1fc4e62f5a5de1c95ef20dc3897657cf1", - "typeString": "literal_string \"log(bool,bool,address,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 23464, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53041:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23465, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53045:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53041:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53041:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23463, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "53025:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53025:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23473, - "nodeType": "ExpressionStatement", - "src": "53025:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52955:3:15", - "parameters": { - "id": 23461, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23454, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52964:2:15", - "nodeType": "VariableDeclaration", - "scope": 23475, - "src": "52959:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23453, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52959:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23456, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52973:2:15", - "nodeType": "VariableDeclaration", - "scope": 23475, - "src": "52968:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23455, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52968:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23458, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52985:2:15", - "nodeType": "VariableDeclaration", - "scope": 23475, - "src": "52977:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23457, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52977:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23460, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52997:2:15", - "nodeType": "VariableDeclaration", - "scope": 23475, - "src": "52989:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23459, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "52989:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "52958:42:15" - }, - "returnParameters": { - "id": 23462, - "nodeType": "ParameterList", - "parameters": [], - "src": "53015:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23498, - "nodeType": "FunctionDefinition", - "src": "53128:181:15", - "nodes": [], - "body": { - "id": 23497, - "nodeType": "Block", - "src": "53203:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c737472696e6729", - "id": 23489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53253:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a0a479635c05dee438b610769de0f667f2e93ee267e4cd4badf3dd44eb6271d2", - "typeString": "literal_string \"log(bool,bool,address,string)\"" - }, - "value": "log(bool,bool,address,string)" - }, - { - "id": 23490, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23477, - "src": "53286:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23491, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23479, - "src": "53290:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23492, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23481, - "src": "53294:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23493, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23483, - "src": "53298:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a0a479635c05dee438b610769de0f667f2e93ee267e4cd4badf3dd44eb6271d2", - "typeString": "literal_string \"log(bool,bool,address,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 23487, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53229:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23488, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53233:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53229:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23494, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53229:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23486, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "53213:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23495, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53213:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23496, - "nodeType": "ExpressionStatement", - "src": "53213:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53137:3:15", - "parameters": { - "id": 23484, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23477, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53146:2:15", - "nodeType": "VariableDeclaration", - "scope": 23498, - "src": "53141:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23476, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53141:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23479, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53155:2:15", - "nodeType": "VariableDeclaration", - "scope": 23498, - "src": "53150:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23478, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53150:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23481, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53167:2:15", - "nodeType": "VariableDeclaration", - "scope": 23498, - "src": "53159:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23480, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53159:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23483, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53185:2:15", - "nodeType": "VariableDeclaration", - "scope": 23498, - "src": "53171:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23482, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "53171:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "53140:48:15" - }, - "returnParameters": { - "id": 23485, - "nodeType": "ParameterList", - "parameters": [], - "src": "53203:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23521, - "nodeType": "FunctionDefinition", - "src": "53315:170:15", - "nodes": [], - "body": { - "id": 23520, - "nodeType": "Block", - "src": "53381:104:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c626f6f6c29", - "id": 23512, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53431:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c0a302d8f11e8919127c20f396068f7014b94967efb042778db9b27b68ee1eaf", - "typeString": "literal_string \"log(bool,bool,address,bool)\"" - }, - "value": "log(bool,bool,address,bool)" - }, - { - "id": 23513, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23500, - "src": "53462:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23514, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23502, - "src": "53466:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23515, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23504, - "src": "53470:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23516, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23506, - "src": "53474:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c0a302d8f11e8919127c20f396068f7014b94967efb042778db9b27b68ee1eaf", - "typeString": "literal_string \"log(bool,bool,address,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 23510, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53407:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23511, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53411:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53407:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23517, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53407:70:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23509, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "53391:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23518, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53391:87:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23519, - "nodeType": "ExpressionStatement", - "src": "53391:87:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53324:3:15", - "parameters": { - "id": 23507, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23500, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53333:2:15", - "nodeType": "VariableDeclaration", - "scope": 23521, - "src": "53328:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23499, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53328:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23502, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53342:2:15", - "nodeType": "VariableDeclaration", - "scope": 23521, - "src": "53337:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23501, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53337:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23504, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53354:2:15", - "nodeType": "VariableDeclaration", - "scope": 23521, - "src": "53346:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23503, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53346:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23506, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53363:2:15", - "nodeType": "VariableDeclaration", - "scope": 23521, - "src": "53358:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23505, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53358:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "53327:39:15" - }, - "returnParameters": { - "id": 23508, - "nodeType": "ParameterList", - "parameters": [], - "src": "53381:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23544, - "nodeType": "FunctionDefinition", - "src": "53491:176:15", - "nodes": [], - "body": { - "id": 23543, - "nodeType": "Block", - "src": "53560:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c6164647265737329", - "id": 23535, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53610:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f4880ea4063b4f7e3c68468bb4a7a3f1502aa7497bce4fb0ba02ec0450f047f4", - "typeString": "literal_string \"log(bool,bool,address,address)\"" - }, - "value": "log(bool,bool,address,address)" - }, - { - "id": 23536, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23523, - "src": "53644:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23537, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23525, - "src": "53648:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23538, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23527, - "src": "53652:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23539, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23529, - "src": "53656:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f4880ea4063b4f7e3c68468bb4a7a3f1502aa7497bce4fb0ba02ec0450f047f4", - "typeString": "literal_string \"log(bool,bool,address,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 23533, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53586:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23534, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53590:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53586:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23540, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53586:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23532, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "53570:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23541, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53570:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23542, - "nodeType": "ExpressionStatement", - "src": "53570:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53500:3:15", - "parameters": { - "id": 23530, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23523, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53509:2:15", - "nodeType": "VariableDeclaration", - "scope": 23544, - "src": "53504:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23522, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53504:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23525, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53518:2:15", - "nodeType": "VariableDeclaration", - "scope": 23544, - "src": "53513:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23524, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53513:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23527, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53530:2:15", - "nodeType": "VariableDeclaration", - "scope": 23544, - "src": "53522:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23526, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53522:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23529, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53542:2:15", - "nodeType": "VariableDeclaration", - "scope": 23544, - "src": "53534:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23528, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53534:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "53503:42:15" - }, - "returnParameters": { - "id": 23531, - "nodeType": "ParameterList", - "parameters": [], - "src": "53560:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23567, - "nodeType": "FunctionDefinition", - "src": "53673:182:15", - "nodes": [], - "body": { - "id": 23566, - "nodeType": "Block", - "src": "53745:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e743235362c75696e7432353629", - "id": 23558, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53795:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7bf181a13b51d775e7d4339fb4fee9749d9226fa1720a2ae5e3183ab5674d16e", - "typeString": "literal_string \"log(bool,address,uint256,uint256)\"" - }, - "value": "log(bool,address,uint256,uint256)" - }, - { - "id": 23559, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23546, - "src": "53832:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23560, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23548, - "src": "53836:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23561, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23550, - "src": "53840:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23562, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23552, - "src": "53844:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7bf181a13b51d775e7d4339fb4fee9749d9226fa1720a2ae5e3183ab5674d16e", - "typeString": "literal_string \"log(bool,address,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 23556, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53771:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23557, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53775:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53771:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23563, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53771:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23555, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "53755:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53755:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23565, - "nodeType": "ExpressionStatement", - "src": "53755:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53682:3:15", - "parameters": { - "id": 23553, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23546, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53691:2:15", - "nodeType": "VariableDeclaration", - "scope": 23567, - "src": "53686:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23545, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53686:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23548, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53703:2:15", - "nodeType": "VariableDeclaration", - "scope": 23567, - "src": "53695:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23547, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53695:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23550, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53715:2:15", - "nodeType": "VariableDeclaration", - "scope": 23567, - "src": "53707:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23549, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "53707:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23552, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53727:2:15", - "nodeType": "VariableDeclaration", - "scope": 23567, - "src": "53719:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23551, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "53719:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "53685:45:15" - }, - "returnParameters": { - "id": 23554, - "nodeType": "ParameterList", - "parameters": [], - "src": "53745:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23590, - "nodeType": "FunctionDefinition", - "src": "53861:187:15", - "nodes": [], - "body": { - "id": 23589, - "nodeType": "Block", - "src": "53939:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e743235362c737472696e6729", - "id": 23581, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53989:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51f09ff8d49d8535177ce9f46f86e22d6e0ebf6aab24e3ad1fe351dec9cb8af7", - "typeString": "literal_string \"log(bool,address,uint256,string)\"" - }, - "value": "log(bool,address,uint256,string)" - }, - { - "id": 23582, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23569, - "src": "54025:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23583, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23571, - "src": "54029:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23584, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23573, - "src": "54033:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23585, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23575, - "src": "54037:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_51f09ff8d49d8535177ce9f46f86e22d6e0ebf6aab24e3ad1fe351dec9cb8af7", - "typeString": "literal_string \"log(bool,address,uint256,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 23579, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53965:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23580, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53969:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53965:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53965:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23578, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "53949:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53949:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23588, - "nodeType": "ExpressionStatement", - "src": "53949:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53870:3:15", - "parameters": { - "id": 23576, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23569, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53879:2:15", - "nodeType": "VariableDeclaration", - "scope": 23590, - "src": "53874:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23568, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53874:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23571, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53891:2:15", - "nodeType": "VariableDeclaration", - "scope": 23590, - "src": "53883:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23570, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53883:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23573, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53903:2:15", - "nodeType": "VariableDeclaration", - "scope": 23590, - "src": "53895:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23572, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "53895:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23575, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53921:2:15", - "nodeType": "VariableDeclaration", - "scope": 23590, - "src": "53907:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23574, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "53907:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "53873:51:15" - }, - "returnParameters": { - "id": 23577, - "nodeType": "ParameterList", - "parameters": [], - "src": "53939:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23613, - "nodeType": "FunctionDefinition", - "src": "54054:176:15", - "nodes": [], - "body": { - "id": 23612, - "nodeType": "Block", - "src": "54123:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e743235362c626f6f6c29", - "id": 23604, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54173:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d6019f1c844577cb799272d8b580ae7d31e1d26be8513d99f3a91ca8ea67c958", - "typeString": "literal_string \"log(bool,address,uint256,bool)\"" - }, - "value": "log(bool,address,uint256,bool)" - }, - { - "id": 23605, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23592, - "src": "54207:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23606, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23594, - "src": "54211:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23607, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23596, - "src": "54215:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23608, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23598, - "src": "54219:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d6019f1c844577cb799272d8b580ae7d31e1d26be8513d99f3a91ca8ea67c958", - "typeString": "literal_string \"log(bool,address,uint256,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 23602, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54149:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23603, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54153:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54149:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54149:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23601, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "54133:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54133:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23611, - "nodeType": "ExpressionStatement", - "src": "54133:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54063:3:15", - "parameters": { - "id": 23599, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23592, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54072:2:15", - "nodeType": "VariableDeclaration", - "scope": 23613, - "src": "54067:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23591, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54067:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23594, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54084:2:15", - "nodeType": "VariableDeclaration", - "scope": 23613, - "src": "54076:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23593, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54076:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23596, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54096:2:15", - "nodeType": "VariableDeclaration", - "scope": 23613, - "src": "54088:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23595, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "54088:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23598, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54105:2:15", - "nodeType": "VariableDeclaration", - "scope": 23613, - "src": "54100:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23597, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54100:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "54066:42:15" - }, - "returnParameters": { - "id": 23600, - "nodeType": "ParameterList", - "parameters": [], - "src": "54123:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23636, - "nodeType": "FunctionDefinition", - "src": "54236:182:15", - "nodes": [], - "body": { - "id": 23635, - "nodeType": "Block", - "src": "54308:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e743235362c6164647265737329", - "id": 23627, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54358:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_136b05dd56dbfa6e97805ce657954968bb4ea366eef252c9fa3aec31b1aa7ebd", - "typeString": "literal_string \"log(bool,address,uint256,address)\"" - }, - "value": "log(bool,address,uint256,address)" - }, - { - "id": 23628, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23615, - "src": "54395:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23629, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23617, - "src": "54399:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23630, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23619, - "src": "54403:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23631, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23621, - "src": "54407:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_136b05dd56dbfa6e97805ce657954968bb4ea366eef252c9fa3aec31b1aa7ebd", - "typeString": "literal_string \"log(bool,address,uint256,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 23625, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54334:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23626, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54338:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54334:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23632, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54334:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23624, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "54318:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23633, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54318:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23634, - "nodeType": "ExpressionStatement", - "src": "54318:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54245:3:15", - "parameters": { - "id": 23622, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23615, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54254:2:15", - "nodeType": "VariableDeclaration", - "scope": 23636, - "src": "54249:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23614, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54249:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23617, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54266:2:15", - "nodeType": "VariableDeclaration", - "scope": 23636, - "src": "54258:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23616, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54258:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23619, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54278:2:15", - "nodeType": "VariableDeclaration", - "scope": 23636, - "src": "54270:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23618, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "54270:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23621, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54290:2:15", - "nodeType": "VariableDeclaration", - "scope": 23636, - "src": "54282:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23620, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54282:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "54248:45:15" - }, - "returnParameters": { - "id": 23623, - "nodeType": "ParameterList", - "parameters": [], - "src": "54308:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23659, - "nodeType": "FunctionDefinition", - "src": "54424:187:15", - "nodes": [], - "body": { - "id": 23658, - "nodeType": "Block", - "src": "54502:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c75696e7432353629", - "id": 23650, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54552:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c21f64c781c24c69fbdf6daf185e821c3143831e9c7b3ede1933a6cffd68030d", - "typeString": "literal_string \"log(bool,address,string,uint256)\"" - }, - "value": "log(bool,address,string,uint256)" - }, - { - "id": 23651, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23638, - "src": "54588:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23652, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23640, - "src": "54592:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23653, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23642, - "src": "54596:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23654, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23644, - "src": "54600:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c21f64c781c24c69fbdf6daf185e821c3143831e9c7b3ede1933a6cffd68030d", - "typeString": "literal_string \"log(bool,address,string,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 23648, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54528:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23649, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54532:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54528:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23655, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54528:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23647, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "54512:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54512:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23657, - "nodeType": "ExpressionStatement", - "src": "54512:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54433:3:15", - "parameters": { - "id": 23645, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23638, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54442:2:15", - "nodeType": "VariableDeclaration", - "scope": 23659, - "src": "54437:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23637, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54437:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23640, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54454:2:15", - "nodeType": "VariableDeclaration", - "scope": 23659, - "src": "54446:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23639, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54446:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23642, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54472:2:15", - "nodeType": "VariableDeclaration", - "scope": 23659, - "src": "54458:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23641, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "54458:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23644, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54484:2:15", - "nodeType": "VariableDeclaration", - "scope": 23659, - "src": "54476:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23643, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "54476:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "54436:51:15" - }, - "returnParameters": { - "id": 23646, - "nodeType": "ParameterList", - "parameters": [], - "src": "54502:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23682, - "nodeType": "FunctionDefinition", - "src": "54617:192:15", - "nodes": [], - "body": { - "id": 23681, - "nodeType": "Block", - "src": "54701:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c737472696e6729", - "id": 23673, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54751:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a73c1db639dbf1382c9113eacdf5b14a7ccd81fc001ac60393623936011bf49d", - "typeString": "literal_string \"log(bool,address,string,string)\"" - }, - "value": "log(bool,address,string,string)" - }, - { - "id": 23674, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23661, - "src": "54786:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23675, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23663, - "src": "54790:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23676, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23665, - "src": "54794:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23677, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23667, - "src": "54798:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a73c1db639dbf1382c9113eacdf5b14a7ccd81fc001ac60393623936011bf49d", - "typeString": "literal_string \"log(bool,address,string,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 23671, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54727:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23672, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54731:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54727:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54727:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23670, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "54711:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23679, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54711:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23680, - "nodeType": "ExpressionStatement", - "src": "54711:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54626:3:15", - "parameters": { - "id": 23668, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23661, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54635:2:15", - "nodeType": "VariableDeclaration", - "scope": 23682, - "src": "54630:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23660, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54630:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23663, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54647:2:15", - "nodeType": "VariableDeclaration", - "scope": 23682, - "src": "54639:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23662, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54639:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23665, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54665:2:15", - "nodeType": "VariableDeclaration", - "scope": 23682, - "src": "54651:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23664, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "54651:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23667, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54683:2:15", - "nodeType": "VariableDeclaration", - "scope": 23682, - "src": "54669:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23666, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "54669:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "54629:57:15" - }, - "returnParameters": { - "id": 23669, - "nodeType": "ParameterList", - "parameters": [], - "src": "54701:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23705, - "nodeType": "FunctionDefinition", - "src": "54815:181:15", - "nodes": [], - "body": { - "id": 23704, - "nodeType": "Block", - "src": "54890:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c626f6f6c29", - "id": 23696, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54940:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e2bfd60b4f6acdab0603dda631b69bf37ab7cbf71bc5953f9ed72c1f2a76f7dc", - "typeString": "literal_string \"log(bool,address,string,bool)\"" - }, - "value": "log(bool,address,string,bool)" - }, - { - "id": 23697, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23684, - "src": "54973:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23698, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23686, - "src": "54977:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23699, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23688, - "src": "54981:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23700, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23690, - "src": "54985:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e2bfd60b4f6acdab0603dda631b69bf37ab7cbf71bc5953f9ed72c1f2a76f7dc", - "typeString": "literal_string \"log(bool,address,string,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 23694, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54916:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23695, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54920:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54916:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23701, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54916:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23693, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "54900:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23702, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54900:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23703, - "nodeType": "ExpressionStatement", - "src": "54900:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54824:3:15", - "parameters": { - "id": 23691, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23684, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54833:2:15", - "nodeType": "VariableDeclaration", - "scope": 23705, - "src": "54828:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23683, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54828:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23686, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54845:2:15", - "nodeType": "VariableDeclaration", - "scope": 23705, - "src": "54837:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23685, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54837:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23688, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54863:2:15", - "nodeType": "VariableDeclaration", - "scope": 23705, - "src": "54849:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23687, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "54849:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23690, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54872:2:15", - "nodeType": "VariableDeclaration", - "scope": 23705, - "src": "54867:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23689, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54867:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "54827:48:15" - }, - "returnParameters": { - "id": 23692, - "nodeType": "ParameterList", - "parameters": [], - "src": "54890:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23728, - "nodeType": "FunctionDefinition", - "src": "55002:187:15", - "nodes": [], - "body": { - "id": 23727, - "nodeType": "Block", - "src": "55080:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c6164647265737329", - "id": 23719, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55130:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f7c603e9035cbc7959bb3d44ec862ddc6711eecebd67d54ceb0010f42f85654", - "typeString": "literal_string \"log(bool,address,string,address)\"" - }, - "value": "log(bool,address,string,address)" - }, - { - "id": 23720, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23707, - "src": "55166:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23721, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23709, - "src": "55170:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23722, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23711, - "src": "55174:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23723, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23713, - "src": "55178:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6f7c603e9035cbc7959bb3d44ec862ddc6711eecebd67d54ceb0010f42f85654", - "typeString": "literal_string \"log(bool,address,string,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 23717, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55106:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23718, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55110:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55106:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23724, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55106:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23716, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "55090:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23725, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55090:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23726, - "nodeType": "ExpressionStatement", - "src": "55090:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55011:3:15", - "parameters": { - "id": 23714, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23707, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55020:2:15", - "nodeType": "VariableDeclaration", - "scope": 23728, - "src": "55015:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23706, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55015:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23709, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55032:2:15", - "nodeType": "VariableDeclaration", - "scope": 23728, - "src": "55024:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23708, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55024:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23711, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55050:2:15", - "nodeType": "VariableDeclaration", - "scope": 23728, - "src": "55036:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23710, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "55036:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23713, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55062:2:15", - "nodeType": "VariableDeclaration", - "scope": 23728, - "src": "55054:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23712, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55054:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "55014:51:15" - }, - "returnParameters": { - "id": 23715, - "nodeType": "ParameterList", - "parameters": [], - "src": "55080:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23751, - "nodeType": "FunctionDefinition", - "src": "55195:176:15", - "nodes": [], - "body": { - "id": 23750, - "nodeType": "Block", - "src": "55264:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c75696e7432353629", - "id": 23742, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55314:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_07831502b96d5b050adbd4ca2f9d4cd011dd7a8d3e1266dadb6c832ee8e56059", - "typeString": "literal_string \"log(bool,address,bool,uint256)\"" - }, - "value": "log(bool,address,bool,uint256)" - }, - { - "id": 23743, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23730, - "src": "55348:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23744, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23732, - "src": "55352:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23745, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23734, - "src": "55356:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23746, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23736, - "src": "55360:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_07831502b96d5b050adbd4ca2f9d4cd011dd7a8d3e1266dadb6c832ee8e56059", - "typeString": "literal_string \"log(bool,address,bool,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 23740, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55290:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23741, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55294:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55290:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55290:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23739, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "55274:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55274:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23749, - "nodeType": "ExpressionStatement", - "src": "55274:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55204:3:15", - "parameters": { - "id": 23737, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23730, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55213:2:15", - "nodeType": "VariableDeclaration", - "scope": 23751, - "src": "55208:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23729, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55208:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23732, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55225:2:15", - "nodeType": "VariableDeclaration", - "scope": 23751, - "src": "55217:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23731, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55217:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23734, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55234:2:15", - "nodeType": "VariableDeclaration", - "scope": 23751, - "src": "55229:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23733, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55229:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23736, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55246:2:15", - "nodeType": "VariableDeclaration", - "scope": 23751, - "src": "55238:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23735, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "55238:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "55207:42:15" - }, - "returnParameters": { - "id": 23738, - "nodeType": "ParameterList", - "parameters": [], - "src": "55264:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23774, - "nodeType": "FunctionDefinition", - "src": "55377:181:15", - "nodes": [], - "body": { - "id": 23773, - "nodeType": "Block", - "src": "55452:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c737472696e6729", - "id": 23765, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55502:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4a66cb34796065525d301a5b87b440b55f1936e34dd66e2f2039307bc4e3ea59", - "typeString": "literal_string \"log(bool,address,bool,string)\"" - }, - "value": "log(bool,address,bool,string)" - }, - { - "id": 23766, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23753, - "src": "55535:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23767, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23755, - "src": "55539:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23768, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23757, - "src": "55543:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23769, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23759, - "src": "55547:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4a66cb34796065525d301a5b87b440b55f1936e34dd66e2f2039307bc4e3ea59", - "typeString": "literal_string \"log(bool,address,bool,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 23763, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55478:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23764, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55482:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55478:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55478:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23762, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "55462:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55462:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23772, - "nodeType": "ExpressionStatement", - "src": "55462:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55386:3:15", - "parameters": { - "id": 23760, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23753, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55395:2:15", - "nodeType": "VariableDeclaration", - "scope": 23774, - "src": "55390:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23752, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55390:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23755, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55407:2:15", - "nodeType": "VariableDeclaration", - "scope": 23774, - "src": "55399:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23754, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55399:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23757, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55416:2:15", - "nodeType": "VariableDeclaration", - "scope": 23774, - "src": "55411:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23756, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55411:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23759, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55434:2:15", - "nodeType": "VariableDeclaration", - "scope": 23774, - "src": "55420:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23758, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "55420:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "55389:48:15" - }, - "returnParameters": { - "id": 23761, - "nodeType": "ParameterList", - "parameters": [], - "src": "55452:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23797, - "nodeType": "FunctionDefinition", - "src": "55564:170:15", - "nodes": [], - "body": { - "id": 23796, - "nodeType": "Block", - "src": "55630:104:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c626f6f6c29", - "id": 23788, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55680:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6a9c478bc98300d44308882e2e0b5864f2536a2939cb77105f503738b5832577", - "typeString": "literal_string \"log(bool,address,bool,bool)\"" - }, - "value": "log(bool,address,bool,bool)" - }, - { - "id": 23789, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23776, - "src": "55711:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23790, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23778, - "src": "55715:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23791, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23780, - "src": "55719:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23792, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23782, - "src": "55723:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6a9c478bc98300d44308882e2e0b5864f2536a2939cb77105f503738b5832577", - "typeString": "literal_string \"log(bool,address,bool,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 23786, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55656:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23787, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55660:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55656:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55656:70:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23785, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "55640:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55640:87:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23795, - "nodeType": "ExpressionStatement", - "src": "55640:87:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55573:3:15", - "parameters": { - "id": 23783, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23776, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55582:2:15", - "nodeType": "VariableDeclaration", - "scope": 23797, - "src": "55577:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23775, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55577:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23778, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55594:2:15", - "nodeType": "VariableDeclaration", - "scope": 23797, - "src": "55586:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23777, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55586:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23780, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55603:2:15", - "nodeType": "VariableDeclaration", - "scope": 23797, - "src": "55598:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23779, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55598:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23782, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55612:2:15", - "nodeType": "VariableDeclaration", - "scope": 23797, - "src": "55607:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23781, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55607:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "55576:39:15" - }, - "returnParameters": { - "id": 23784, - "nodeType": "ParameterList", - "parameters": [], - "src": "55630:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23820, - "nodeType": "FunctionDefinition", - "src": "55740:176:15", - "nodes": [], - "body": { - "id": 23819, - "nodeType": "Block", - "src": "55809:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c6164647265737329", - "id": 23811, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55859:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1c41a336759f1c2fe1d8b137296b2dfbdcfe7114fc53f203852c2835c09f8870", - "typeString": "literal_string \"log(bool,address,bool,address)\"" - }, - "value": "log(bool,address,bool,address)" - }, - { - "id": 23812, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23799, - "src": "55893:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23813, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23801, - "src": "55897:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23814, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23803, - "src": "55901:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23815, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23805, - "src": "55905:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1c41a336759f1c2fe1d8b137296b2dfbdcfe7114fc53f203852c2835c09f8870", - "typeString": "literal_string \"log(bool,address,bool,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 23809, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55835:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55839:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55835:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23816, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55835:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23808, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "55819:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23817, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55819:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23818, - "nodeType": "ExpressionStatement", - "src": "55819:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55749:3:15", - "parameters": { - "id": 23806, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23799, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55758:2:15", - "nodeType": "VariableDeclaration", - "scope": 23820, - "src": "55753:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23798, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55753:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23801, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55770:2:15", - "nodeType": "VariableDeclaration", - "scope": 23820, - "src": "55762:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23800, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55762:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23803, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55779:2:15", - "nodeType": "VariableDeclaration", - "scope": 23820, - "src": "55774:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23802, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55774:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23805, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55791:2:15", - "nodeType": "VariableDeclaration", - "scope": 23820, - "src": "55783:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23804, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55783:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "55752:42:15" - }, - "returnParameters": { - "id": 23807, - "nodeType": "ParameterList", - "parameters": [], - "src": "55809:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23843, - "nodeType": "FunctionDefinition", - "src": "55922:182:15", - "nodes": [], - "body": { - "id": 23842, - "nodeType": "Block", - "src": "55994:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c75696e7432353629", - "id": 23834, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56044:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c66d1be8b80b8d96088c57d6fc12897f737822d5beb6e751a923520a0a509b8", - "typeString": "literal_string \"log(bool,address,address,uint256)\"" - }, - "value": "log(bool,address,address,uint256)" - }, - { - "id": 23835, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23822, - "src": "56081:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23836, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23824, - "src": "56085:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23837, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23826, - "src": "56089:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23838, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23828, - "src": "56093:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0c66d1be8b80b8d96088c57d6fc12897f737822d5beb6e751a923520a0a509b8", - "typeString": "literal_string \"log(bool,address,address,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 23832, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56020:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23833, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56024:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56020:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23839, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56020:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23831, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "56004:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23840, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56004:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23841, - "nodeType": "ExpressionStatement", - "src": "56004:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55931:3:15", - "parameters": { - "id": 23829, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23822, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55940:2:15", - "nodeType": "VariableDeclaration", - "scope": 23843, - "src": "55935:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23821, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55935:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23824, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55952:2:15", - "nodeType": "VariableDeclaration", - "scope": 23843, - "src": "55944:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23823, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55944:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23826, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55964:2:15", - "nodeType": "VariableDeclaration", - "scope": 23843, - "src": "55956:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23825, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55956:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23828, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55976:2:15", - "nodeType": "VariableDeclaration", - "scope": 23843, - "src": "55968:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23827, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "55968:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "55934:45:15" - }, - "returnParameters": { - "id": 23830, - "nodeType": "ParameterList", - "parameters": [], - "src": "55994:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23866, - "nodeType": "FunctionDefinition", - "src": "56110:187:15", - "nodes": [], - "body": { - "id": 23865, - "nodeType": "Block", - "src": "56188:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c737472696e6729", - "id": 23857, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56238:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d812a167fb7ec8cf55a11f06ff411238f0a431de331592d8a735c8c8481f7432", - "typeString": "literal_string \"log(bool,address,address,string)\"" - }, - "value": "log(bool,address,address,string)" - }, - { - "id": 23858, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23845, - "src": "56274:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23859, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23847, - "src": "56278:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23860, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23849, - "src": "56282:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23861, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23851, - "src": "56286:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d812a167fb7ec8cf55a11f06ff411238f0a431de331592d8a735c8c8481f7432", - "typeString": "literal_string \"log(bool,address,address,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 23855, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56214:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23856, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56218:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56214:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23862, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56214:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23854, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "56198:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56198:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23864, - "nodeType": "ExpressionStatement", - "src": "56198:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56119:3:15", - "parameters": { - "id": 23852, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23845, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56128:2:15", - "nodeType": "VariableDeclaration", - "scope": 23866, - "src": "56123:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23844, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56123:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23847, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56140:2:15", - "nodeType": "VariableDeclaration", - "scope": 23866, - "src": "56132:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23846, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56132:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23849, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56152:2:15", - "nodeType": "VariableDeclaration", - "scope": 23866, - "src": "56144:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23848, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56144:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23851, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56170:2:15", - "nodeType": "VariableDeclaration", - "scope": 23866, - "src": "56156:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23850, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "56156:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "56122:51:15" - }, - "returnParameters": { - "id": 23853, - "nodeType": "ParameterList", - "parameters": [], - "src": "56188:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23889, - "nodeType": "FunctionDefinition", - "src": "56303:176:15", - "nodes": [], - "body": { - "id": 23888, - "nodeType": "Block", - "src": "56372:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c626f6f6c29", - "id": 23880, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56422:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_46600be071bbf2a7e3a3cb4fd0e6efe39e86453e4c4a27c400470867be7afd9e", - "typeString": "literal_string \"log(bool,address,address,bool)\"" - }, - "value": "log(bool,address,address,bool)" - }, - { - "id": 23881, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23868, - "src": "56456:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23882, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23870, - "src": "56460:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23883, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23872, - "src": "56464:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23884, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23874, - "src": "56468:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_46600be071bbf2a7e3a3cb4fd0e6efe39e86453e4c4a27c400470867be7afd9e", - "typeString": "literal_string \"log(bool,address,address,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 23878, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56398:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23879, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56402:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56398:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56398:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23877, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "56382:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56382:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23887, - "nodeType": "ExpressionStatement", - "src": "56382:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56312:3:15", - "parameters": { - "id": 23875, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23868, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56321:2:15", - "nodeType": "VariableDeclaration", - "scope": 23889, - "src": "56316:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23867, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56316:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23870, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56333:2:15", - "nodeType": "VariableDeclaration", - "scope": 23889, - "src": "56325:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23869, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56325:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23872, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56345:2:15", - "nodeType": "VariableDeclaration", - "scope": 23889, - "src": "56337:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23871, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56337:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23874, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56354:2:15", - "nodeType": "VariableDeclaration", - "scope": 23889, - "src": "56349:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23873, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56349:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "56315:42:15" - }, - "returnParameters": { - "id": 23876, - "nodeType": "ParameterList", - "parameters": [], - "src": "56372:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23912, - "nodeType": "FunctionDefinition", - "src": "56485:182:15", - "nodes": [], - "body": { - "id": 23911, - "nodeType": "Block", - "src": "56557:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c6164647265737329", - "id": 23903, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56607:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1d14d00189540d88098b9fe614aa8c0efbe231c1a0fee05e7d705c0342377123", - "typeString": "literal_string \"log(bool,address,address,address)\"" - }, - "value": "log(bool,address,address,address)" - }, - { - "id": 23904, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23891, - "src": "56644:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23905, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23893, - "src": "56648:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23906, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23895, - "src": "56652:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23907, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23897, - "src": "56656:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1d14d00189540d88098b9fe614aa8c0efbe231c1a0fee05e7d705c0342377123", - "typeString": "literal_string \"log(bool,address,address,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 23901, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56583:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23902, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56587:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56583:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56583:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23900, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "56567:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56567:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23910, - "nodeType": "ExpressionStatement", - "src": "56567:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56494:3:15", - "parameters": { - "id": 23898, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23891, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56503:2:15", - "nodeType": "VariableDeclaration", - "scope": 23912, - "src": "56498:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23890, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56498:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23893, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56515:2:15", - "nodeType": "VariableDeclaration", - "scope": 23912, - "src": "56507:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23892, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56507:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23895, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56527:2:15", - "nodeType": "VariableDeclaration", - "scope": 23912, - "src": "56519:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23894, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56519:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23897, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56539:2:15", - "nodeType": "VariableDeclaration", - "scope": 23912, - "src": "56531:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23896, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56531:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "56497:45:15" - }, - "returnParameters": { - "id": 23899, - "nodeType": "ParameterList", - "parameters": [], - "src": "56557:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23935, - "nodeType": "FunctionDefinition", - "src": "56673:188:15", - "nodes": [], - "body": { - "id": 23934, - "nodeType": "Block", - "src": "56748:113:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c75696e743235362c75696e7432353629", - "id": 23926, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56798:38:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_34f0e636808ebabd61ce9b247c78c7a38984ab35d5f29c0bd51299288509f6d6", - "typeString": "literal_string \"log(address,uint256,uint256,uint256)\"" - }, - "value": "log(address,uint256,uint256,uint256)" - }, - { - "id": 23927, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23914, - "src": "56838:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23928, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23916, - "src": "56842:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23929, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23918, - "src": "56846:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23930, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23920, - "src": "56850:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_34f0e636808ebabd61ce9b247c78c7a38984ab35d5f29c0bd51299288509f6d6", - "typeString": "literal_string \"log(address,uint256,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 23924, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56774:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23925, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56778:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56774:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23931, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56774:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23923, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "56758:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23932, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56758:96:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23933, - "nodeType": "ExpressionStatement", - "src": "56758:96:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56682:3:15", - "parameters": { - "id": 23921, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23914, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56694:2:15", - "nodeType": "VariableDeclaration", - "scope": 23935, - "src": "56686:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23913, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56686:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23916, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56706:2:15", - "nodeType": "VariableDeclaration", - "scope": 23935, - "src": "56698:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23915, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "56698:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23918, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56718:2:15", - "nodeType": "VariableDeclaration", - "scope": 23935, - "src": "56710:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23917, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "56710:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23920, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56730:2:15", - "nodeType": "VariableDeclaration", - "scope": 23935, - "src": "56722:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23919, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "56722:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "56685:48:15" - }, - "returnParameters": { - "id": 23922, - "nodeType": "ParameterList", - "parameters": [], - "src": "56748:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23958, - "nodeType": "FunctionDefinition", - "src": "56867:193:15", - "nodes": [], - "body": { - "id": 23957, - "nodeType": "Block", - "src": "56948:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c75696e743235362c737472696e6729", - "id": 23949, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56998:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4a28c017e545dc04fb82dd1a46d46ba463e69e0aeff774fbced9bedd205b6cf6", - "typeString": "literal_string \"log(address,uint256,uint256,string)\"" - }, - "value": "log(address,uint256,uint256,string)" - }, - { - "id": 23950, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23937, - "src": "57037:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23951, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23939, - "src": "57041:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23952, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23941, - "src": "57045:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23953, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23943, - "src": "57049:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4a28c017e545dc04fb82dd1a46d46ba463e69e0aeff774fbced9bedd205b6cf6", - "typeString": "literal_string \"log(address,uint256,uint256,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 23947, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56974:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23948, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56978:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56974:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56974:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23946, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "56958:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56958:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23956, - "nodeType": "ExpressionStatement", - "src": "56958:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56876:3:15", - "parameters": { - "id": 23944, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23937, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56888:2:15", - "nodeType": "VariableDeclaration", - "scope": 23958, - "src": "56880:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23936, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56880:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23939, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56900:2:15", - "nodeType": "VariableDeclaration", - "scope": 23958, - "src": "56892:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23938, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "56892:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23941, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56912:2:15", - "nodeType": "VariableDeclaration", - "scope": 23958, - "src": "56904:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23940, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "56904:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23943, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56930:2:15", - "nodeType": "VariableDeclaration", - "scope": 23958, - "src": "56916:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23942, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "56916:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "56879:54:15" - }, - "returnParameters": { - "id": 23945, - "nodeType": "ParameterList", - "parameters": [], - "src": "56948:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23981, - "nodeType": "FunctionDefinition", - "src": "57066:182:15", - "nodes": [], - "body": { - "id": 23980, - "nodeType": "Block", - "src": "57138:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c75696e743235362c626f6f6c29", - "id": 23972, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57188:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_66f1bc67b5cb59260b3541ed684f0a38ab8f590dfff7947bd562de33eae3c57e", - "typeString": "literal_string \"log(address,uint256,uint256,bool)\"" - }, - "value": "log(address,uint256,uint256,bool)" - }, - { - "id": 23973, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23960, - "src": "57225:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23974, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23962, - "src": "57229:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23975, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23964, - "src": "57233:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23976, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23966, - "src": "57237:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_66f1bc67b5cb59260b3541ed684f0a38ab8f590dfff7947bd562de33eae3c57e", - "typeString": "literal_string \"log(address,uint256,uint256,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 23970, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57164:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23971, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57168:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57164:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23977, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57164:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23969, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "57148:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23978, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57148:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23979, - "nodeType": "ExpressionStatement", - "src": "57148:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57075:3:15", - "parameters": { - "id": 23967, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23960, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57087:2:15", - "nodeType": "VariableDeclaration", - "scope": 23981, - "src": "57079:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23959, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57079:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23962, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57099:2:15", - "nodeType": "VariableDeclaration", - "scope": 23981, - "src": "57091:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23961, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "57091:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23964, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57111:2:15", - "nodeType": "VariableDeclaration", - "scope": 23981, - "src": "57103:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23963, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "57103:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23966, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57120:2:15", - "nodeType": "VariableDeclaration", - "scope": 23981, - "src": "57115:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23965, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "57115:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "57078:45:15" - }, - "returnParameters": { - "id": 23968, - "nodeType": "ParameterList", - "parameters": [], - "src": "57138:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24004, - "nodeType": "FunctionDefinition", - "src": "57254:188:15", - "nodes": [], - "body": { - "id": 24003, - "nodeType": "Block", - "src": "57329:113:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c75696e743235362c6164647265737329", - "id": 23995, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57379:38:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_20e3984d0b91232a40a479187d959e3fb7102cd2a40a0267e07a4f648290e390", - "typeString": "literal_string \"log(address,uint256,uint256,address)\"" - }, - "value": "log(address,uint256,uint256,address)" - }, - { - "id": 23996, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23983, - "src": "57419:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23997, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23985, - "src": "57423:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23998, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23987, - "src": "57427:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23999, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23989, - "src": "57431:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_20e3984d0b91232a40a479187d959e3fb7102cd2a40a0267e07a4f648290e390", - "typeString": "literal_string \"log(address,uint256,uint256,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 23993, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57355:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23994, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57359:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57355:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57355:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23992, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "57339:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57339:96:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24002, - "nodeType": "ExpressionStatement", - "src": "57339:96:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57263:3:15", - "parameters": { - "id": 23990, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23983, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57275:2:15", - "nodeType": "VariableDeclaration", - "scope": 24004, - "src": "57267:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23982, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57267:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23985, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57287:2:15", - "nodeType": "VariableDeclaration", - "scope": 24004, - "src": "57279:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23984, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "57279:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23987, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57299:2:15", - "nodeType": "VariableDeclaration", - "scope": 24004, - "src": "57291:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23986, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "57291:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23989, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57311:2:15", - "nodeType": "VariableDeclaration", - "scope": 24004, - "src": "57303:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23988, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57303:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "57266:48:15" - }, - "returnParameters": { - "id": 23991, - "nodeType": "ParameterList", - "parameters": [], - "src": "57329:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24027, - "nodeType": "FunctionDefinition", - "src": "57448:193:15", - "nodes": [], - "body": { - "id": 24026, - "nodeType": "Block", - "src": "57529:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c737472696e672c75696e7432353629", - "id": 24018, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57579:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bf01f89152073297823dffc184d44302911f7269a4d8bb68457feda7325d0054", - "typeString": "literal_string \"log(address,uint256,string,uint256)\"" - }, - "value": "log(address,uint256,string,uint256)" - }, - { - "id": 24019, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24006, - "src": "57618:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24020, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24008, - "src": "57622:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24021, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24010, - "src": "57626:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24022, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24012, - "src": "57630:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_bf01f89152073297823dffc184d44302911f7269a4d8bb68457feda7325d0054", - "typeString": "literal_string \"log(address,uint256,string,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 24016, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57555:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24017, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57559:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57555:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24023, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57555:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24015, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "57539:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57539:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24025, - "nodeType": "ExpressionStatement", - "src": "57539:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57457:3:15", - "parameters": { - "id": 24013, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24006, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57469:2:15", - "nodeType": "VariableDeclaration", - "scope": 24027, - "src": "57461:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24005, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57461:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24008, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57481:2:15", - "nodeType": "VariableDeclaration", - "scope": 24027, - "src": "57473:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24007, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "57473:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24010, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57499:2:15", - "nodeType": "VariableDeclaration", - "scope": 24027, - "src": "57485:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24009, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57485:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24012, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57511:2:15", - "nodeType": "VariableDeclaration", - "scope": 24027, - "src": "57503:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24011, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "57503:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "57460:54:15" - }, - "returnParameters": { - "id": 24014, - "nodeType": "ParameterList", - "parameters": [], - "src": "57529:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24050, - "nodeType": "FunctionDefinition", - "src": "57647:198:15", - "nodes": [], - "body": { - "id": 24049, - "nodeType": "Block", - "src": "57734:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c737472696e672c737472696e6729", - "id": 24041, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57784:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_88a8c40673ee8948292248925b0e9d44ca87355f3f886942e848cf22ee50e1c9", - "typeString": "literal_string \"log(address,uint256,string,string)\"" - }, - "value": "log(address,uint256,string,string)" - }, - { - "id": 24042, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24029, - "src": "57822:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24043, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24031, - "src": "57826:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24044, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24033, - "src": "57830:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24045, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24035, - "src": "57834:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_88a8c40673ee8948292248925b0e9d44ca87355f3f886942e848cf22ee50e1c9", - "typeString": "literal_string \"log(address,uint256,string,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 24039, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57760:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24040, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57764:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57760:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24046, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57760:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24038, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "57744:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24047, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57744:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24048, - "nodeType": "ExpressionStatement", - "src": "57744:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57656:3:15", - "parameters": { - "id": 24036, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24029, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57668:2:15", - "nodeType": "VariableDeclaration", - "scope": 24050, - "src": "57660:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24028, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57660:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24031, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57680:2:15", - "nodeType": "VariableDeclaration", - "scope": 24050, - "src": "57672:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24030, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "57672:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24033, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57698:2:15", - "nodeType": "VariableDeclaration", - "scope": 24050, - "src": "57684:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24032, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57684:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24035, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57716:2:15", - "nodeType": "VariableDeclaration", - "scope": 24050, - "src": "57702:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24034, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57702:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "57659:60:15" - }, - "returnParameters": { - "id": 24037, - "nodeType": "ParameterList", - "parameters": [], - "src": "57734:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24073, - "nodeType": "FunctionDefinition", - "src": "57851:187:15", - "nodes": [], - "body": { - "id": 24072, - "nodeType": "Block", - "src": "57929:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c737472696e672c626f6f6c29", - "id": 24064, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57979:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cf18105cbdc058258aaac7d4703aebeff683e464ae87b167f8bcabefd4799184", - "typeString": "literal_string \"log(address,uint256,string,bool)\"" - }, - "value": "log(address,uint256,string,bool)" - }, - { - "id": 24065, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24052, - "src": "58015:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24066, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24054, - "src": "58019:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24067, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24056, - "src": "58023:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24068, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24058, - "src": "58027:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cf18105cbdc058258aaac7d4703aebeff683e464ae87b167f8bcabefd4799184", - "typeString": "literal_string \"log(address,uint256,string,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 24062, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57955:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24063, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57959:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57955:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24069, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57955:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24061, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "57939:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24070, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57939:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24071, - "nodeType": "ExpressionStatement", - "src": "57939:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57860:3:15", - "parameters": { - "id": 24059, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24052, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57872:2:15", - "nodeType": "VariableDeclaration", - "scope": 24073, - "src": "57864:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24051, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57864:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24054, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57884:2:15", - "nodeType": "VariableDeclaration", - "scope": 24073, - "src": "57876:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24053, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "57876:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24056, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57902:2:15", - "nodeType": "VariableDeclaration", - "scope": 24073, - "src": "57888:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24055, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57888:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24058, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57911:2:15", - "nodeType": "VariableDeclaration", - "scope": 24073, - "src": "57906:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24057, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "57906:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "57863:51:15" - }, - "returnParameters": { - "id": 24060, - "nodeType": "ParameterList", - "parameters": [], - "src": "57929:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24096, - "nodeType": "FunctionDefinition", - "src": "58044:193:15", - "nodes": [], - "body": { - "id": 24095, - "nodeType": "Block", - "src": "58125:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c737472696e672c6164647265737329", - "id": 24087, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58175:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5c430d475ad8236f34d086a6aae3612106ae74c8621b8677d58f13dcda27570a", - "typeString": "literal_string \"log(address,uint256,string,address)\"" - }, - "value": "log(address,uint256,string,address)" - }, - { - "id": 24088, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24075, - "src": "58214:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24089, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24077, - "src": "58218:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24090, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24079, - "src": "58222:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24091, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24081, - "src": "58226:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5c430d475ad8236f34d086a6aae3612106ae74c8621b8677d58f13dcda27570a", - "typeString": "literal_string \"log(address,uint256,string,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 24085, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58151:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24086, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58155:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58151:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24092, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58151:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24084, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "58135:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58135:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24094, - "nodeType": "ExpressionStatement", - "src": "58135:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58053:3:15", - "parameters": { - "id": 24082, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24075, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58065:2:15", - "nodeType": "VariableDeclaration", - "scope": 24096, - "src": "58057:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24074, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58057:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24077, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58077:2:15", - "nodeType": "VariableDeclaration", - "scope": 24096, - "src": "58069:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24076, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58069:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24079, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58095:2:15", - "nodeType": "VariableDeclaration", - "scope": 24096, - "src": "58081:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24078, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58081:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24081, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58107:2:15", - "nodeType": "VariableDeclaration", - "scope": 24096, - "src": "58099:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24080, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58099:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "58056:54:15" - }, - "returnParameters": { - "id": 24083, - "nodeType": "ParameterList", - "parameters": [], - "src": "58125:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24119, - "nodeType": "FunctionDefinition", - "src": "58243:182:15", - "nodes": [], - "body": { - "id": 24118, - "nodeType": "Block", - "src": "58315:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c626f6f6c2c75696e7432353629", - "id": 24110, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58365:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_22f6b999343c50207803e85ddd9e714a5457dacc91c49407b8de02bdaf889e5e", - "typeString": "literal_string \"log(address,uint256,bool,uint256)\"" - }, - "value": "log(address,uint256,bool,uint256)" - }, - { - "id": 24111, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24098, - "src": "58402:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24112, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24100, - "src": "58406:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24113, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24102, - "src": "58410:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24114, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24104, - "src": "58414:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_22f6b999343c50207803e85ddd9e714a5457dacc91c49407b8de02bdaf889e5e", - "typeString": "literal_string \"log(address,uint256,bool,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 24108, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58341:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24109, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58345:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58341:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24115, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58341:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24107, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "58325:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58325:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24117, - "nodeType": "ExpressionStatement", - "src": "58325:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58252:3:15", - "parameters": { - "id": 24105, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24098, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58264:2:15", - "nodeType": "VariableDeclaration", - "scope": 24119, - "src": "58256:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24097, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58256:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24100, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58276:2:15", - "nodeType": "VariableDeclaration", - "scope": 24119, - "src": "58268:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24099, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58268:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24102, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58285:2:15", - "nodeType": "VariableDeclaration", - "scope": 24119, - "src": "58280:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24101, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58280:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24104, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58297:2:15", - "nodeType": "VariableDeclaration", - "scope": 24119, - "src": "58289:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24103, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58289:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "58255:45:15" - }, - "returnParameters": { - "id": 24106, - "nodeType": "ParameterList", - "parameters": [], - "src": "58315:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24142, - "nodeType": "FunctionDefinition", - "src": "58431:187:15", - "nodes": [], - "body": { - "id": 24141, - "nodeType": "Block", - "src": "58509:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c626f6f6c2c737472696e6729", - "id": 24133, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58559:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5ad85f9b1e72940e5c2ff98bcaf10dac65873a2d1f60566284e5a9bba66ce0b", - "typeString": "literal_string \"log(address,uint256,bool,string)\"" - }, - "value": "log(address,uint256,bool,string)" - }, - { - "id": 24134, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24121, - "src": "58595:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24135, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24123, - "src": "58599:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24136, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24125, - "src": "58603:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24137, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24127, - "src": "58607:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c5ad85f9b1e72940e5c2ff98bcaf10dac65873a2d1f60566284e5a9bba66ce0b", - "typeString": "literal_string \"log(address,uint256,bool,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 24131, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58535:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24132, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58539:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58535:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24138, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58535:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24130, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "58519:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24139, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58519:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24140, - "nodeType": "ExpressionStatement", - "src": "58519:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58440:3:15", - "parameters": { - "id": 24128, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24121, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58452:2:15", - "nodeType": "VariableDeclaration", - "scope": 24142, - "src": "58444:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24120, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58444:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24123, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58464:2:15", - "nodeType": "VariableDeclaration", - "scope": 24142, - "src": "58456:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24122, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58456:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24125, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58473:2:15", - "nodeType": "VariableDeclaration", - "scope": 24142, - "src": "58468:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24124, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58468:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24127, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58491:2:15", - "nodeType": "VariableDeclaration", - "scope": 24142, - "src": "58477:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24126, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58477:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "58443:51:15" - }, - "returnParameters": { - "id": 24129, - "nodeType": "ParameterList", - "parameters": [], - "src": "58509:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24165, - "nodeType": "FunctionDefinition", - "src": "58624:176:15", - "nodes": [], - "body": { - "id": 24164, - "nodeType": "Block", - "src": "58693:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c626f6f6c2c626f6f6c29", - "id": 24156, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58743:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3bf5e5379bfb03415fbd47322e912c55a56b102cc24fbed41ca848047f460ae7", - "typeString": "literal_string \"log(address,uint256,bool,bool)\"" - }, - "value": "log(address,uint256,bool,bool)" - }, - { - "id": 24157, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24144, - "src": "58777:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24158, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24146, - "src": "58781:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24159, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24148, - "src": "58785:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24160, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24150, - "src": "58789:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3bf5e5379bfb03415fbd47322e912c55a56b102cc24fbed41ca848047f460ae7", - "typeString": "literal_string \"log(address,uint256,bool,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 24154, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58719:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24155, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58723:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58719:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24161, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58719:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24153, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "58703:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58703:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24163, - "nodeType": "ExpressionStatement", - "src": "58703:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58633:3:15", - "parameters": { - "id": 24151, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24144, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58645:2:15", - "nodeType": "VariableDeclaration", - "scope": 24165, - "src": "58637:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24143, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58637:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24146, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58657:2:15", - "nodeType": "VariableDeclaration", - "scope": 24165, - "src": "58649:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24145, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58649:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24148, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58666:2:15", - "nodeType": "VariableDeclaration", - "scope": 24165, - "src": "58661:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24147, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58661:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24150, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58675:2:15", - "nodeType": "VariableDeclaration", - "scope": 24165, - "src": "58670:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24149, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58670:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "58636:42:15" - }, - "returnParameters": { - "id": 24152, - "nodeType": "ParameterList", - "parameters": [], - "src": "58693:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24188, - "nodeType": "FunctionDefinition", - "src": "58806:182:15", - "nodes": [], - "body": { - "id": 24187, - "nodeType": "Block", - "src": "58878:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c626f6f6c2c6164647265737329", - "id": 24179, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58928:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a31bfdcce87cf9e77dc577737a291feb3aa727a8fbb8205e53519527c85ff290", - "typeString": "literal_string \"log(address,uint256,bool,address)\"" - }, - "value": "log(address,uint256,bool,address)" - }, - { - "id": 24180, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24167, - "src": "58965:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24181, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24169, - "src": "58969:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24182, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24171, - "src": "58973:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24183, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24173, - "src": "58977:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a31bfdcce87cf9e77dc577737a291feb3aa727a8fbb8205e53519527c85ff290", - "typeString": "literal_string \"log(address,uint256,bool,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 24177, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58904:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24178, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58908:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58904:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24184, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58904:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24176, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "58888:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24185, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58888:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24186, - "nodeType": "ExpressionStatement", - "src": "58888:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58815:3:15", - "parameters": { - "id": 24174, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24167, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58827:2:15", - "nodeType": "VariableDeclaration", - "scope": 24188, - "src": "58819:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24166, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58819:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24169, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58839:2:15", - "nodeType": "VariableDeclaration", - "scope": 24188, - "src": "58831:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24168, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58831:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24171, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58848:2:15", - "nodeType": "VariableDeclaration", - "scope": 24188, - "src": "58843:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24170, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58843:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24173, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58860:2:15", - "nodeType": "VariableDeclaration", - "scope": 24188, - "src": "58852:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24172, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58852:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "58818:45:15" - }, - "returnParameters": { - "id": 24175, - "nodeType": "ParameterList", - "parameters": [], - "src": "58878:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24211, - "nodeType": "FunctionDefinition", - "src": "58994:188:15", - "nodes": [], - "body": { - "id": 24210, - "nodeType": "Block", - "src": "59069:113:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c616464726573732c75696e7432353629", - "id": 24202, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59119:38:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_100f650ebf81cb406bb4fb842e06128992c5a86986b0eab3b9e965c3254516e6", - "typeString": "literal_string \"log(address,uint256,address,uint256)\"" - }, - "value": "log(address,uint256,address,uint256)" - }, - { - "id": 24203, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24190, - "src": "59159:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24204, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24192, - "src": "59163:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24205, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24194, - "src": "59167:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24206, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24196, - "src": "59171:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_100f650ebf81cb406bb4fb842e06128992c5a86986b0eab3b9e965c3254516e6", - "typeString": "literal_string \"log(address,uint256,address,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 24200, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59095:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24201, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59099:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59095:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59095:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24199, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "59079:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59079:96:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24209, - "nodeType": "ExpressionStatement", - "src": "59079:96:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59003:3:15", - "parameters": { - "id": 24197, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24190, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59015:2:15", - "nodeType": "VariableDeclaration", - "scope": 24211, - "src": "59007:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24189, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59007:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24192, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59027:2:15", - "nodeType": "VariableDeclaration", - "scope": 24211, - "src": "59019:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24191, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "59019:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24194, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59039:2:15", - "nodeType": "VariableDeclaration", - "scope": 24211, - "src": "59031:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24193, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59031:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24196, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59051:2:15", - "nodeType": "VariableDeclaration", - "scope": 24211, - "src": "59043:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24195, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "59043:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "59006:48:15" - }, - "returnParameters": { - "id": 24198, - "nodeType": "ParameterList", - "parameters": [], - "src": "59069:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24234, - "nodeType": "FunctionDefinition", - "src": "59188:193:15", - "nodes": [], - "body": { - "id": 24233, - "nodeType": "Block", - "src": "59269:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c616464726573732c737472696e6729", - "id": 24225, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59319:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1da986ea2505037a166dd31728d673db1dd36bf0935c0201f0d23934a6acafdb", - "typeString": "literal_string \"log(address,uint256,address,string)\"" - }, - "value": "log(address,uint256,address,string)" - }, - { - "id": 24226, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24213, - "src": "59358:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24227, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24215, - "src": "59362:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24228, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24217, - "src": "59366:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24229, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24219, - "src": "59370:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1da986ea2505037a166dd31728d673db1dd36bf0935c0201f0d23934a6acafdb", - "typeString": "literal_string \"log(address,uint256,address,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 24223, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59295:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24224, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59299:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59295:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24230, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59295:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24222, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "59279:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24231, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59279:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24232, - "nodeType": "ExpressionStatement", - "src": "59279:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59197:3:15", - "parameters": { - "id": 24220, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24213, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59209:2:15", - "nodeType": "VariableDeclaration", - "scope": 24234, - "src": "59201:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24212, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59201:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24215, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59221:2:15", - "nodeType": "VariableDeclaration", - "scope": 24234, - "src": "59213:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24214, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "59213:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24217, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59233:2:15", - "nodeType": "VariableDeclaration", - "scope": 24234, - "src": "59225:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24216, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59225:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24219, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59251:2:15", - "nodeType": "VariableDeclaration", - "scope": 24234, - "src": "59237:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24218, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59237:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "59200:54:15" - }, - "returnParameters": { - "id": 24221, - "nodeType": "ParameterList", - "parameters": [], - "src": "59269:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24257, - "nodeType": "FunctionDefinition", - "src": "59387:182:15", - "nodes": [], - "body": { - "id": 24256, - "nodeType": "Block", - "src": "59459:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c616464726573732c626f6f6c29", - "id": 24248, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59509:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a1bcc9b3f106a0ac6ebf0cd2eda5f636e4ab1afa891b1acb460dd180f14bb322", - "typeString": "literal_string \"log(address,uint256,address,bool)\"" - }, - "value": "log(address,uint256,address,bool)" - }, - { - "id": 24249, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24236, - "src": "59546:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24250, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24238, - "src": "59550:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24251, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24240, - "src": "59554:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24252, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24242, - "src": "59558:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a1bcc9b3f106a0ac6ebf0cd2eda5f636e4ab1afa891b1acb460dd180f14bb322", - "typeString": "literal_string \"log(address,uint256,address,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 24246, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59485:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24247, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59489:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59485:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59485:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24245, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "59469:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24254, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59469:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24255, - "nodeType": "ExpressionStatement", - "src": "59469:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59396:3:15", - "parameters": { - "id": 24243, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24236, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59408:2:15", - "nodeType": "VariableDeclaration", - "scope": 24257, - "src": "59400:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24235, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59400:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24238, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59420:2:15", - "nodeType": "VariableDeclaration", - "scope": 24257, - "src": "59412:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24237, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "59412:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24240, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59432:2:15", - "nodeType": "VariableDeclaration", - "scope": 24257, - "src": "59424:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24239, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59424:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24242, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59441:2:15", - "nodeType": "VariableDeclaration", - "scope": 24257, - "src": "59436:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24241, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59436:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "59399:45:15" - }, - "returnParameters": { - "id": 24244, - "nodeType": "ParameterList", - "parameters": [], - "src": "59459:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24280, - "nodeType": "FunctionDefinition", - "src": "59575:188:15", - "nodes": [], - "body": { - "id": 24279, - "nodeType": "Block", - "src": "59650:113:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c616464726573732c6164647265737329", - "id": 24271, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59700:38:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_478d1c625a50f0548fbd6ce5c9463f034dc2ce146c930b3546dac402346457d4", - "typeString": "literal_string \"log(address,uint256,address,address)\"" - }, - "value": "log(address,uint256,address,address)" - }, - { - "id": 24272, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24259, - "src": "59740:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24273, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24261, - "src": "59744:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24274, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24263, - "src": "59748:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24275, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24265, - "src": "59752:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_478d1c625a50f0548fbd6ce5c9463f034dc2ce146c930b3546dac402346457d4", - "typeString": "literal_string \"log(address,uint256,address,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 24269, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59676:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24270, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59680:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59676:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24276, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59676:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24268, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "59660:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24277, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59660:96:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24278, - "nodeType": "ExpressionStatement", - "src": "59660:96:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59584:3:15", - "parameters": { - "id": 24266, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24259, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59596:2:15", - "nodeType": "VariableDeclaration", - "scope": 24280, - "src": "59588:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24258, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59588:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24261, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59608:2:15", - "nodeType": "VariableDeclaration", - "scope": 24280, - "src": "59600:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24260, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "59600:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24263, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59620:2:15", - "nodeType": "VariableDeclaration", - "scope": 24280, - "src": "59612:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24262, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59612:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24265, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59632:2:15", - "nodeType": "VariableDeclaration", - "scope": 24280, - "src": "59624:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24264, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59624:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "59587:48:15" - }, - "returnParameters": { - "id": 24267, - "nodeType": "ParameterList", - "parameters": [], - "src": "59650:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24303, - "nodeType": "FunctionDefinition", - "src": "59769:193:15", - "nodes": [], - "body": { - "id": 24302, - "nodeType": "Block", - "src": "59850:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e743235362c75696e7432353629", - "id": 24294, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59900:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1dc8e1b86f5e8cc33f88f9c9577316d392566cde443e43069eebe8e56a0a0562", - "typeString": "literal_string \"log(address,string,uint256,uint256)\"" - }, - "value": "log(address,string,uint256,uint256)" - }, - { - "id": 24295, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24282, - "src": "59939:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24296, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24284, - "src": "59943:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24297, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24286, - "src": "59947:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24298, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24288, - "src": "59951:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1dc8e1b86f5e8cc33f88f9c9577316d392566cde443e43069eebe8e56a0a0562", - "typeString": "literal_string \"log(address,string,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 24292, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59876:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24293, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59880:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59876:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24299, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59876:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24291, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "59860:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24300, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59860:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24301, - "nodeType": "ExpressionStatement", - "src": "59860:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59778:3:15", - "parameters": { - "id": 24289, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24282, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59790:2:15", - "nodeType": "VariableDeclaration", - "scope": 24303, - "src": "59782:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24281, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59782:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24284, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59808:2:15", - "nodeType": "VariableDeclaration", - "scope": 24303, - "src": "59794:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24283, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59794:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24286, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59820:2:15", - "nodeType": "VariableDeclaration", - "scope": 24303, - "src": "59812:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24285, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "59812:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24288, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59832:2:15", - "nodeType": "VariableDeclaration", - "scope": 24303, - "src": "59824:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24287, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "59824:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "59781:54:15" - }, - "returnParameters": { - "id": 24290, - "nodeType": "ParameterList", - "parameters": [], - "src": "59850:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24326, - "nodeType": "FunctionDefinition", - "src": "59968:198:15", - "nodes": [], - "body": { - "id": 24325, - "nodeType": "Block", - "src": "60055:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e743235362c737472696e6729", - "id": 24317, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60105:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_448830a8c1281c2ef562207eb8a81eaf8ce3a05f5db2e480f1a7741f740725d3", - "typeString": "literal_string \"log(address,string,uint256,string)\"" - }, - "value": "log(address,string,uint256,string)" - }, - { - "id": 24318, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24305, - "src": "60143:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24319, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24307, - "src": "60147:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24320, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24309, - "src": "60151:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24321, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24311, - "src": "60155:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_448830a8c1281c2ef562207eb8a81eaf8ce3a05f5db2e480f1a7741f740725d3", - "typeString": "literal_string \"log(address,string,uint256,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 24315, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60081:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24316, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60085:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60081:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60081:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24314, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "60065:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24323, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60065:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24324, - "nodeType": "ExpressionStatement", - "src": "60065:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59977:3:15", - "parameters": { - "id": 24312, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24305, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59989:2:15", - "nodeType": "VariableDeclaration", - "scope": 24326, - "src": "59981:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24304, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59981:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24307, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60007:2:15", - "nodeType": "VariableDeclaration", - "scope": 24326, - "src": "59993:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24306, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59993:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24309, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60019:2:15", - "nodeType": "VariableDeclaration", - "scope": 24326, - "src": "60011:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24308, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "60011:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24311, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60037:2:15", - "nodeType": "VariableDeclaration", - "scope": 24326, - "src": "60023:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24310, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60023:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "59980:60:15" - }, - "returnParameters": { - "id": 24313, - "nodeType": "ParameterList", - "parameters": [], - "src": "60055:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24349, - "nodeType": "FunctionDefinition", - "src": "60172:187:15", - "nodes": [], - "body": { - "id": 24348, - "nodeType": "Block", - "src": "60250:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e743235362c626f6f6c29", - "id": 24340, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60300:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0ef7e050655c297a96024e476b2cd79b6c7fd3efbcd797a5d2723a888114ada4", - "typeString": "literal_string \"log(address,string,uint256,bool)\"" - }, - "value": "log(address,string,uint256,bool)" - }, - { - "id": 24341, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24328, - "src": "60336:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24342, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24330, - "src": "60340:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24343, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24332, - "src": "60344:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24344, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24334, - "src": "60348:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0ef7e050655c297a96024e476b2cd79b6c7fd3efbcd797a5d2723a888114ada4", - "typeString": "literal_string \"log(address,string,uint256,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 24338, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60276:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60280:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60276:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24345, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60276:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24337, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "60260:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60260:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24347, - "nodeType": "ExpressionStatement", - "src": "60260:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60181:3:15", - "parameters": { - "id": 24335, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24328, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60193:2:15", - "nodeType": "VariableDeclaration", - "scope": 24349, - "src": "60185:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24327, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60185:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24330, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60211:2:15", - "nodeType": "VariableDeclaration", - "scope": 24349, - "src": "60197:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24329, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60197:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24332, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60223:2:15", - "nodeType": "VariableDeclaration", - "scope": 24349, - "src": "60215:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24331, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "60215:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24334, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60232:2:15", - "nodeType": "VariableDeclaration", - "scope": 24349, - "src": "60227:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24333, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60227:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "60184:51:15" - }, - "returnParameters": { - "id": 24336, - "nodeType": "ParameterList", - "parameters": [], - "src": "60250:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24372, - "nodeType": "FunctionDefinition", - "src": "60365:193:15", - "nodes": [], - "body": { - "id": 24371, - "nodeType": "Block", - "src": "60446:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e743235362c6164647265737329", - "id": 24363, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60496:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_631836789e813227d6b1cf492359a1dbdd837663758bd3e55e319e4a730f0a18", - "typeString": "literal_string \"log(address,string,uint256,address)\"" - }, - "value": "log(address,string,uint256,address)" - }, - { - "id": 24364, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24351, - "src": "60535:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24365, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24353, - "src": "60539:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24366, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24355, - "src": "60543:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24367, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24357, - "src": "60547:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_631836789e813227d6b1cf492359a1dbdd837663758bd3e55e319e4a730f0a18", - "typeString": "literal_string \"log(address,string,uint256,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 24361, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60472:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24362, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60476:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60472:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24368, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60472:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24360, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "60456:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24369, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60456:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24370, - "nodeType": "ExpressionStatement", - "src": "60456:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60374:3:15", - "parameters": { - "id": 24358, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24351, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60386:2:15", - "nodeType": "VariableDeclaration", - "scope": 24372, - "src": "60378:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24350, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60378:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24353, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60404:2:15", - "nodeType": "VariableDeclaration", - "scope": 24372, - "src": "60390:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24352, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60390:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24355, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60416:2:15", - "nodeType": "VariableDeclaration", - "scope": 24372, - "src": "60408:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24354, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "60408:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24357, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60428:2:15", - "nodeType": "VariableDeclaration", - "scope": 24372, - "src": "60420:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24356, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60420:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "60377:54:15" - }, - "returnParameters": { - "id": 24359, - "nodeType": "ParameterList", - "parameters": [], - "src": "60446:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24395, - "nodeType": "FunctionDefinition", - "src": "60564:198:15", - "nodes": [], - "body": { - "id": 24394, - "nodeType": "Block", - "src": "60651:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c75696e7432353629", - "id": 24386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60701:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_159f89272dbf40436b74fcc844c992c1f5cc6a7cc05a9db80782be1a20a8f265", - "typeString": "literal_string \"log(address,string,string,uint256)\"" - }, - "value": "log(address,string,string,uint256)" - }, - { - "id": 24387, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24374, - "src": "60739:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24388, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24376, - "src": "60743:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24389, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24378, - "src": "60747:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24390, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24380, - "src": "60751:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_159f89272dbf40436b74fcc844c992c1f5cc6a7cc05a9db80782be1a20a8f265", - "typeString": "literal_string \"log(address,string,string,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 24384, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60677:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24385, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60681:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60677:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60677:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24383, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "60661:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60661:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24393, - "nodeType": "ExpressionStatement", - "src": "60661:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60573:3:15", - "parameters": { - "id": 24381, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24374, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60585:2:15", - "nodeType": "VariableDeclaration", - "scope": 24395, - "src": "60577:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24373, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60577:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24376, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60603:2:15", - "nodeType": "VariableDeclaration", - "scope": 24395, - "src": "60589:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24375, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60589:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24378, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60621:2:15", - "nodeType": "VariableDeclaration", - "scope": 24395, - "src": "60607:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24377, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60607:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24380, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60633:2:15", - "nodeType": "VariableDeclaration", - "scope": 24395, - "src": "60625:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24379, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "60625:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "60576:60:15" - }, - "returnParameters": { - "id": 24382, - "nodeType": "ParameterList", - "parameters": [], - "src": "60651:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24418, - "nodeType": "FunctionDefinition", - "src": "60768:203:15", - "nodes": [], - "body": { - "id": 24417, - "nodeType": "Block", - "src": "60861:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c737472696e6729", - "id": 24409, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60911:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d02c50b371ad9a1f5c638dc99b5e9b545011f148f0be5233c530a4b2a12665c", - "typeString": "literal_string \"log(address,string,string,string)\"" - }, - "value": "log(address,string,string,string)" - }, - { - "id": 24410, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24397, - "src": "60948:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24411, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24399, - "src": "60952:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24412, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24401, - "src": "60956:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24413, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24403, - "src": "60960:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5d02c50b371ad9a1f5c638dc99b5e9b545011f148f0be5233c530a4b2a12665c", - "typeString": "literal_string \"log(address,string,string,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 24407, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60887:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60891:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60887:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60887:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24406, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "60871:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60871:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24416, - "nodeType": "ExpressionStatement", - "src": "60871:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60777:3:15", - "parameters": { - "id": 24404, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24397, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60789:2:15", - "nodeType": "VariableDeclaration", - "scope": 24418, - "src": "60781:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24396, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60781:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24399, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60807:2:15", - "nodeType": "VariableDeclaration", - "scope": 24418, - "src": "60793:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24398, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60793:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24401, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60825:2:15", - "nodeType": "VariableDeclaration", - "scope": 24418, - "src": "60811:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24400, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60811:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24403, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60843:2:15", - "nodeType": "VariableDeclaration", - "scope": 24418, - "src": "60829:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24402, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60829:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "60780:66:15" - }, - "returnParameters": { - "id": 24405, - "nodeType": "ParameterList", - "parameters": [], - "src": "60861:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24441, - "nodeType": "FunctionDefinition", - "src": "60977:192:15", - "nodes": [], - "body": { - "id": 24440, - "nodeType": "Block", - "src": "61061:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c626f6f6c29", - "id": 24432, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61111:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_35a5071fa9f4610e50772083182f21e949e7a02301a3936e315dd1c4fc39a9ed", - "typeString": "literal_string \"log(address,string,string,bool)\"" - }, - "value": "log(address,string,string,bool)" - }, - { - "id": 24433, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24420, - "src": "61146:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24434, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24422, - "src": "61150:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24435, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24424, - "src": "61154:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24436, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24426, - "src": "61158:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_35a5071fa9f4610e50772083182f21e949e7a02301a3936e315dd1c4fc39a9ed", - "typeString": "literal_string \"log(address,string,string,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 24430, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61087:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24431, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61091:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61087:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24437, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61087:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24429, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "61071:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24438, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61071:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24439, - "nodeType": "ExpressionStatement", - "src": "61071:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60986:3:15", - "parameters": { - "id": 24427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24420, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60998:2:15", - "nodeType": "VariableDeclaration", - "scope": 24441, - "src": "60990:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24419, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60990:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24422, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61016:2:15", - "nodeType": "VariableDeclaration", - "scope": 24441, - "src": "61002:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24421, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61002:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24424, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61034:2:15", - "nodeType": "VariableDeclaration", - "scope": 24441, - "src": "61020:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24423, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61020:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24426, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61043:2:15", - "nodeType": "VariableDeclaration", - "scope": 24441, - "src": "61038:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24425, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61038:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "60989:57:15" - }, - "returnParameters": { - "id": 24428, - "nodeType": "ParameterList", - "parameters": [], - "src": "61061:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24464, - "nodeType": "FunctionDefinition", - "src": "61175:198:15", - "nodes": [], - "body": { - "id": 24463, - "nodeType": "Block", - "src": "61262:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c6164647265737329", - "id": 24455, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61312:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a04e2f87a739673cc9223810c24b00b35c6b2c9f3ef123cc82866752e1fa816f", - "typeString": "literal_string \"log(address,string,string,address)\"" - }, - "value": "log(address,string,string,address)" - }, - { - "id": 24456, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24443, - "src": "61350:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24457, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24445, - "src": "61354:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24458, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24447, - "src": "61358:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24459, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24449, - "src": "61362:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a04e2f87a739673cc9223810c24b00b35c6b2c9f3ef123cc82866752e1fa816f", - "typeString": "literal_string \"log(address,string,string,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 24453, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61288:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24454, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61292:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61288:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24460, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61288:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24452, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "61272:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61272:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24462, - "nodeType": "ExpressionStatement", - "src": "61272:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61184:3:15", - "parameters": { - "id": 24450, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24443, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61196:2:15", - "nodeType": "VariableDeclaration", - "scope": 24464, - "src": "61188:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24442, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61188:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24445, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61214:2:15", - "nodeType": "VariableDeclaration", - "scope": 24464, - "src": "61200:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24444, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61200:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24447, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61232:2:15", - "nodeType": "VariableDeclaration", - "scope": 24464, - "src": "61218:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24446, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61218:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24449, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61244:2:15", - "nodeType": "VariableDeclaration", - "scope": 24464, - "src": "61236:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61236:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "61187:60:15" - }, - "returnParameters": { - "id": 24451, - "nodeType": "ParameterList", - "parameters": [], - "src": "61262:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24487, - "nodeType": "FunctionDefinition", - "src": "61379:187:15", - "nodes": [], - "body": { - "id": 24486, - "nodeType": "Block", - "src": "61457:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c75696e7432353629", - "id": 24478, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61507:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_515e38b61b40d622a4c0448953be005b3991f6a70155c59b5dca42a264aa0345", - "typeString": "literal_string \"log(address,string,bool,uint256)\"" - }, - "value": "log(address,string,bool,uint256)" - }, - { - "id": 24479, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24466, - "src": "61543:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24480, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24468, - "src": "61547:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24481, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24470, - "src": "61551:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24482, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24472, - "src": "61555:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_515e38b61b40d622a4c0448953be005b3991f6a70155c59b5dca42a264aa0345", - "typeString": "literal_string \"log(address,string,bool,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 24476, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61483:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24477, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61487:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61483:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24483, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61483:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24475, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "61467:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61467:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24485, - "nodeType": "ExpressionStatement", - "src": "61467:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61388:3:15", - "parameters": { - "id": 24473, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24466, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61400:2:15", - "nodeType": "VariableDeclaration", - "scope": 24487, - "src": "61392:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24465, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61392:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24468, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61418:2:15", - "nodeType": "VariableDeclaration", - "scope": 24487, - "src": "61404:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24467, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61404:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24470, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61427:2:15", - "nodeType": "VariableDeclaration", - "scope": 24487, - "src": "61422:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24469, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61422:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24472, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61439:2:15", - "nodeType": "VariableDeclaration", - "scope": 24487, - "src": "61431:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24471, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "61431:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "61391:51:15" - }, - "returnParameters": { - "id": 24474, - "nodeType": "ParameterList", - "parameters": [], - "src": "61457:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24510, - "nodeType": "FunctionDefinition", - "src": "61572:192:15", - "nodes": [], - "body": { - "id": 24509, - "nodeType": "Block", - "src": "61656:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c737472696e6729", - "id": 24501, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61706:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bc0b61fe9497b47eb6a51a5a6a4bf26b32ddcbc9407ccae8cc7de64b3e3d84cc", - "typeString": "literal_string \"log(address,string,bool,string)\"" - }, - "value": "log(address,string,bool,string)" - }, - { - "id": 24502, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24489, - "src": "61741:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24503, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24491, - "src": "61745:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24504, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24493, - "src": "61749:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24505, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24495, - "src": "61753:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_bc0b61fe9497b47eb6a51a5a6a4bf26b32ddcbc9407ccae8cc7de64b3e3d84cc", - "typeString": "literal_string \"log(address,string,bool,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 24499, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61682:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61686:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61682:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24506, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61682:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24498, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "61666:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61666:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24508, - "nodeType": "ExpressionStatement", - "src": "61666:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61581:3:15", - "parameters": { - "id": 24496, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24489, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61593:2:15", - "nodeType": "VariableDeclaration", - "scope": 24510, - "src": "61585:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24488, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61585:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24491, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61611:2:15", - "nodeType": "VariableDeclaration", - "scope": 24510, - "src": "61597:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24490, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61597:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24493, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61620:2:15", - "nodeType": "VariableDeclaration", - "scope": 24510, - "src": "61615:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24492, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61615:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24495, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61638:2:15", - "nodeType": "VariableDeclaration", - "scope": 24510, - "src": "61624:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24494, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61624:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "61584:57:15" - }, - "returnParameters": { - "id": 24497, - "nodeType": "ParameterList", - "parameters": [], - "src": "61656:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24533, - "nodeType": "FunctionDefinition", - "src": "61770:181:15", - "nodes": [], - "body": { - "id": 24532, - "nodeType": "Block", - "src": "61845:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c626f6f6c29", - "id": 24524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61895:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5f1d5c9f0de8c048364058d1d6842804ada33dbc34bf9eaff8f2be978f384e08", - "typeString": "literal_string \"log(address,string,bool,bool)\"" - }, - "value": "log(address,string,bool,bool)" - }, - { - "id": 24525, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24512, - "src": "61928:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24526, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24514, - "src": "61932:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24527, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24516, - "src": "61936:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24528, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24518, - "src": "61940:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5f1d5c9f0de8c048364058d1d6842804ada33dbc34bf9eaff8f2be978f384e08", - "typeString": "literal_string \"log(address,string,bool,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 24522, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61871:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24523, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61875:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61871:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24529, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61871:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24521, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "61855:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24530, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61855:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24531, - "nodeType": "ExpressionStatement", - "src": "61855:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61779:3:15", - "parameters": { - "id": 24519, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24512, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61791:2:15", - "nodeType": "VariableDeclaration", - "scope": 24533, - "src": "61783:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24511, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61783:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24514, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61809:2:15", - "nodeType": "VariableDeclaration", - "scope": 24533, - "src": "61795:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24513, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61795:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24516, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61818:2:15", - "nodeType": "VariableDeclaration", - "scope": 24533, - "src": "61813:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24515, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61813:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24518, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61827:2:15", - "nodeType": "VariableDeclaration", - "scope": 24533, - "src": "61822:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24517, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61822:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "61782:48:15" - }, - "returnParameters": { - "id": 24520, - "nodeType": "ParameterList", - "parameters": [], - "src": "61845:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24556, - "nodeType": "FunctionDefinition", - "src": "61957:187:15", - "nodes": [], - "body": { - "id": 24555, - "nodeType": "Block", - "src": "62035:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c6164647265737329", - "id": 24547, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62085:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_205871c2f2d320acdd350939b5fc035cc20b1a9cc058fb26f1c9fb3d2ba59970", - "typeString": "literal_string \"log(address,string,bool,address)\"" - }, - "value": "log(address,string,bool,address)" - }, - { - "id": 24548, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24535, - "src": "62121:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24549, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24537, - "src": "62125:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24550, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24539, - "src": "62129:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24551, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24541, - "src": "62133:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_205871c2f2d320acdd350939b5fc035cc20b1a9cc058fb26f1c9fb3d2ba59970", - "typeString": "literal_string \"log(address,string,bool,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 24545, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62061:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24546, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62065:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62061:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24552, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62061:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24544, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "62045:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62045:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24554, - "nodeType": "ExpressionStatement", - "src": "62045:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61966:3:15", - "parameters": { - "id": 24542, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24535, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61978:2:15", - "nodeType": "VariableDeclaration", - "scope": 24556, - "src": "61970:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24534, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61970:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24537, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61996:2:15", - "nodeType": "VariableDeclaration", - "scope": 24556, - "src": "61982:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24536, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61982:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24539, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62005:2:15", - "nodeType": "VariableDeclaration", - "scope": 24556, - "src": "62000:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24538, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62000:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24541, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62017:2:15", - "nodeType": "VariableDeclaration", - "scope": 24556, - "src": "62009:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24540, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62009:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "61969:51:15" - }, - "returnParameters": { - "id": 24543, - "nodeType": "ParameterList", - "parameters": [], - "src": "62035:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24579, - "nodeType": "FunctionDefinition", - "src": "62150:193:15", - "nodes": [], - "body": { - "id": 24578, - "nodeType": "Block", - "src": "62231:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c75696e7432353629", - "id": 24570, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62281:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_457fe3cf7da0d45ce051e53ef9adc21213d4d7779b5a0fadf99dea432be4beb7", - "typeString": "literal_string \"log(address,string,address,uint256)\"" - }, - "value": "log(address,string,address,uint256)" - }, - { - "id": 24571, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24558, - "src": "62320:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24572, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24560, - "src": "62324:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24573, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24562, - "src": "62328:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24574, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24564, - "src": "62332:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_457fe3cf7da0d45ce051e53ef9adc21213d4d7779b5a0fadf99dea432be4beb7", - "typeString": "literal_string \"log(address,string,address,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 24568, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62257:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24569, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62261:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62257:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62257:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24567, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "62241:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24576, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62241:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24577, - "nodeType": "ExpressionStatement", - "src": "62241:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62159:3:15", - "parameters": { - "id": 24565, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24558, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62171:2:15", - "nodeType": "VariableDeclaration", - "scope": 24579, - "src": "62163:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24557, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62163:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24560, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62189:2:15", - "nodeType": "VariableDeclaration", - "scope": 24579, - "src": "62175:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24559, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "62175:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24562, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62201:2:15", - "nodeType": "VariableDeclaration", - "scope": 24579, - "src": "62193:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24561, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62193:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24564, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62213:2:15", - "nodeType": "VariableDeclaration", - "scope": 24579, - "src": "62205:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24563, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "62205:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "62162:54:15" - }, - "returnParameters": { - "id": 24566, - "nodeType": "ParameterList", - "parameters": [], - "src": "62231:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24602, - "nodeType": "FunctionDefinition", - "src": "62349:198:15", - "nodes": [], - "body": { - "id": 24601, - "nodeType": "Block", - "src": "62436:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c737472696e6729", - "id": 24593, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62486:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f7e3624510fc5618feb98a49f5d4404e3749dacbdc916c267fea7b2051a08dea", - "typeString": "literal_string \"log(address,string,address,string)\"" - }, - "value": "log(address,string,address,string)" - }, - { - "id": 24594, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24581, - "src": "62524:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24595, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24583, - "src": "62528:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24596, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24585, - "src": "62532:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24597, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24587, - "src": "62536:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f7e3624510fc5618feb98a49f5d4404e3749dacbdc916c267fea7b2051a08dea", - "typeString": "literal_string \"log(address,string,address,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 24591, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62462:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62466:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62462:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24598, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62462:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24590, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "62446:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24599, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62446:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24600, - "nodeType": "ExpressionStatement", - "src": "62446:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62358:3:15", - "parameters": { - "id": 24588, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24581, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62370:2:15", - "nodeType": "VariableDeclaration", - "scope": 24602, - "src": "62362:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24580, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62362:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24583, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62388:2:15", - "nodeType": "VariableDeclaration", - "scope": 24602, - "src": "62374:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24582, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "62374:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24585, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62400:2:15", - "nodeType": "VariableDeclaration", - "scope": 24602, - "src": "62392:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24584, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62392:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24587, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62418:2:15", - "nodeType": "VariableDeclaration", - "scope": 24602, - "src": "62404:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24586, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "62404:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "62361:60:15" - }, - "returnParameters": { - "id": 24589, - "nodeType": "ParameterList", - "parameters": [], - "src": "62436:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24625, - "nodeType": "FunctionDefinition", - "src": "62553:187:15", - "nodes": [], - "body": { - "id": 24624, - "nodeType": "Block", - "src": "62631:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c626f6f6c29", - "id": 24616, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62681:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0df12b7620e0bad204ac79fe9930fef9b9a40702161764a681594d50d657b081", - "typeString": "literal_string \"log(address,string,address,bool)\"" - }, - "value": "log(address,string,address,bool)" - }, - { - "id": 24617, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24604, - "src": "62717:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24618, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24606, - "src": "62721:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24619, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24608, - "src": "62725:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24620, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24610, - "src": "62729:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0df12b7620e0bad204ac79fe9930fef9b9a40702161764a681594d50d657b081", - "typeString": "literal_string \"log(address,string,address,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 24614, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62657:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24615, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62661:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62657:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62657:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24613, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "62641:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24622, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62641:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24623, - "nodeType": "ExpressionStatement", - "src": "62641:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62562:3:15", - "parameters": { - "id": 24611, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24604, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62574:2:15", - "nodeType": "VariableDeclaration", - "scope": 24625, - "src": "62566:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24603, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62566:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24606, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62592:2:15", - "nodeType": "VariableDeclaration", - "scope": 24625, - "src": "62578:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24605, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "62578:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24608, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62604:2:15", - "nodeType": "VariableDeclaration", - "scope": 24625, - "src": "62596:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24607, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62596:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24610, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62613:2:15", - "nodeType": "VariableDeclaration", - "scope": 24625, - "src": "62608:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24609, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62608:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "62565:51:15" - }, - "returnParameters": { - "id": 24612, - "nodeType": "ParameterList", - "parameters": [], - "src": "62631:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24648, - "nodeType": "FunctionDefinition", - "src": "62746:193:15", - "nodes": [], - "body": { - "id": 24647, - "nodeType": "Block", - "src": "62827:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c6164647265737329", - "id": 24639, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62877:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0d36fa2022fafb45586a59914be3ad4c57b76e89535385dcff89c28c80605121", - "typeString": "literal_string \"log(address,string,address,address)\"" - }, - "value": "log(address,string,address,address)" - }, - { - "id": 24640, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24627, - "src": "62916:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24641, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24629, - "src": "62920:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24642, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24631, - "src": "62924:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24643, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24633, - "src": "62928:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0d36fa2022fafb45586a59914be3ad4c57b76e89535385dcff89c28c80605121", - "typeString": "literal_string \"log(address,string,address,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 24637, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62853:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24638, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62857:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62853:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62853:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24636, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "62837:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62837:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24646, - "nodeType": "ExpressionStatement", - "src": "62837:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62755:3:15", - "parameters": { - "id": 24634, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24627, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62767:2:15", - "nodeType": "VariableDeclaration", - "scope": 24648, - "src": "62759:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24626, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62759:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24629, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62785:2:15", - "nodeType": "VariableDeclaration", - "scope": 24648, - "src": "62771:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24628, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "62771:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24631, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62797:2:15", - "nodeType": "VariableDeclaration", - "scope": 24648, - "src": "62789:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24630, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62789:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24633, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62809:2:15", - "nodeType": "VariableDeclaration", - "scope": 24648, - "src": "62801:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24632, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62801:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "62758:54:15" - }, - "returnParameters": { - "id": 24635, - "nodeType": "ParameterList", - "parameters": [], - "src": "62827:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24671, - "nodeType": "FunctionDefinition", - "src": "62945:182:15", - "nodes": [], - "body": { - "id": 24670, - "nodeType": "Block", - "src": "63017:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e743235362c75696e7432353629", - "id": 24662, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63067:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_386ff5f4530ea008cf639214e5b8a55077ec58314989bc72a4ee1f3ffe9617a4", - "typeString": "literal_string \"log(address,bool,uint256,uint256)\"" - }, - "value": "log(address,bool,uint256,uint256)" - }, - { - "id": 24663, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24650, - "src": "63104:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24664, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24652, - "src": "63108:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24665, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24654, - "src": "63112:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24666, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24656, - "src": "63116:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_386ff5f4530ea008cf639214e5b8a55077ec58314989bc72a4ee1f3ffe9617a4", - "typeString": "literal_string \"log(address,bool,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 24660, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63043:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24661, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63047:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63043:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63043:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24659, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "63027:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63027:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24669, - "nodeType": "ExpressionStatement", - "src": "63027:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62954:3:15", - "parameters": { - "id": 24657, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24650, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62966:2:15", - "nodeType": "VariableDeclaration", - "scope": 24671, - "src": "62958:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24649, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62958:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24652, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62975:2:15", - "nodeType": "VariableDeclaration", - "scope": 24671, - "src": "62970:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24651, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62970:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24654, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62987:2:15", - "nodeType": "VariableDeclaration", - "scope": 24671, - "src": "62979:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24653, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "62979:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24656, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62999:2:15", - "nodeType": "VariableDeclaration", - "scope": 24671, - "src": "62991:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24655, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "62991:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "62957:45:15" - }, - "returnParameters": { - "id": 24658, - "nodeType": "ParameterList", - "parameters": [], - "src": "63017:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24694, - "nodeType": "FunctionDefinition", - "src": "63133:187:15", - "nodes": [], - "body": { - "id": 24693, - "nodeType": "Block", - "src": "63211:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e743235362c737472696e6729", - "id": 24685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63261:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0aa6cfad2c268cd387390ada6d4a75b3aa3e38d6511517eb59fcd07a90f9c283", - "typeString": "literal_string \"log(address,bool,uint256,string)\"" - }, - "value": "log(address,bool,uint256,string)" - }, - { - "id": 24686, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24673, - "src": "63297:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24687, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24675, - "src": "63301:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24688, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24677, - "src": "63305:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24689, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24679, - "src": "63309:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0aa6cfad2c268cd387390ada6d4a75b3aa3e38d6511517eb59fcd07a90f9c283", - "typeString": "literal_string \"log(address,bool,uint256,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 24683, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63237:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24684, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63241:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63237:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63237:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24682, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "63221:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63221:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24692, - "nodeType": "ExpressionStatement", - "src": "63221:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63142:3:15", - "parameters": { - "id": 24680, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24673, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63154:2:15", - "nodeType": "VariableDeclaration", - "scope": 24694, - "src": "63146:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24672, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63146:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24675, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63163:2:15", - "nodeType": "VariableDeclaration", - "scope": 24694, - "src": "63158:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24674, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63158:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24677, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63175:2:15", - "nodeType": "VariableDeclaration", - "scope": 24694, - "src": "63167:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24676, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "63167:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24679, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63193:2:15", - "nodeType": "VariableDeclaration", - "scope": 24694, - "src": "63179:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24678, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "63179:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "63145:51:15" - }, - "returnParameters": { - "id": 24681, - "nodeType": "ParameterList", - "parameters": [], - "src": "63211:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24717, - "nodeType": "FunctionDefinition", - "src": "63326:176:15", - "nodes": [], - "body": { - "id": 24716, - "nodeType": "Block", - "src": "63395:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e743235362c626f6f6c29", - "id": 24708, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63445:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c4643e20494ddb98fe78bc587bcecbcc7db255edcee8232992e8be9b00c4713c", - "typeString": "literal_string \"log(address,bool,uint256,bool)\"" - }, - "value": "log(address,bool,uint256,bool)" - }, - { - "id": 24709, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24696, - "src": "63479:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24710, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24698, - "src": "63483:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24711, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24700, - "src": "63487:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24712, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24702, - "src": "63491:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c4643e20494ddb98fe78bc587bcecbcc7db255edcee8232992e8be9b00c4713c", - "typeString": "literal_string \"log(address,bool,uint256,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 24706, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63421:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24707, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63425:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63421:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63421:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24705, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "63405:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24714, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63405:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24715, - "nodeType": "ExpressionStatement", - "src": "63405:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63335:3:15", - "parameters": { - "id": 24703, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24696, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63347:2:15", - "nodeType": "VariableDeclaration", - "scope": 24717, - "src": "63339:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24695, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63339:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24698, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63356:2:15", - "nodeType": "VariableDeclaration", - "scope": 24717, - "src": "63351:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24697, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63351:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24700, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63368:2:15", - "nodeType": "VariableDeclaration", - "scope": 24717, - "src": "63360:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24699, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "63360:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24702, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63377:2:15", - "nodeType": "VariableDeclaration", - "scope": 24717, - "src": "63372:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24701, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63372:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "63338:42:15" - }, - "returnParameters": { - "id": 24704, - "nodeType": "ParameterList", - "parameters": [], - "src": "63395:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24740, - "nodeType": "FunctionDefinition", - "src": "63508:182:15", - "nodes": [], - "body": { - "id": 24739, - "nodeType": "Block", - "src": "63580:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e743235362c6164647265737329", - "id": 24731, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63630:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ccf790a175b1b762ef5bfd3564f0b74c078f15eca08b8ee654a38a96a5ad2aee", - "typeString": "literal_string \"log(address,bool,uint256,address)\"" - }, - "value": "log(address,bool,uint256,address)" - }, - { - "id": 24732, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24719, - "src": "63667:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24733, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24721, - "src": "63671:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24734, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24723, - "src": "63675:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24735, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24725, - "src": "63679:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ccf790a175b1b762ef5bfd3564f0b74c078f15eca08b8ee654a38a96a5ad2aee", - "typeString": "literal_string \"log(address,bool,uint256,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 24729, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63606:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24730, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63610:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63606:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63606:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24728, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "63590:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63590:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24738, - "nodeType": "ExpressionStatement", - "src": "63590:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63517:3:15", - "parameters": { - "id": 24726, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24719, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63529:2:15", - "nodeType": "VariableDeclaration", - "scope": 24740, - "src": "63521:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24718, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63521:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24721, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63538:2:15", - "nodeType": "VariableDeclaration", - "scope": 24740, - "src": "63533:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24720, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63533:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24723, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63550:2:15", - "nodeType": "VariableDeclaration", - "scope": 24740, - "src": "63542:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24722, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "63542:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24725, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63562:2:15", - "nodeType": "VariableDeclaration", - "scope": 24740, - "src": "63554:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24724, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63554:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "63520:45:15" - }, - "returnParameters": { - "id": 24727, - "nodeType": "ParameterList", - "parameters": [], - "src": "63580:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24763, - "nodeType": "FunctionDefinition", - "src": "63696:187:15", - "nodes": [], - "body": { - "id": 24762, - "nodeType": "Block", - "src": "63774:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c75696e7432353629", - "id": 24754, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63824:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_80e6a20b48643c1f2494eae694f173a69e42da349d0e193e48fece80e869df69", - "typeString": "literal_string \"log(address,bool,string,uint256)\"" - }, - "value": "log(address,bool,string,uint256)" - }, - { - "id": 24755, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24742, - "src": "63860:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24756, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24744, - "src": "63864:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24757, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24746, - "src": "63868:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24758, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24748, - "src": "63872:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_80e6a20b48643c1f2494eae694f173a69e42da349d0e193e48fece80e869df69", - "typeString": "literal_string \"log(address,bool,string,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 24752, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63800:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24753, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63804:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63800:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24759, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63800:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24751, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "63784:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63784:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24761, - "nodeType": "ExpressionStatement", - "src": "63784:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63705:3:15", - "parameters": { - "id": 24749, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24742, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63717:2:15", - "nodeType": "VariableDeclaration", - "scope": 24763, - "src": "63709:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24741, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63709:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24744, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63726:2:15", - "nodeType": "VariableDeclaration", - "scope": 24763, - "src": "63721:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24743, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63721:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24746, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63744:2:15", - "nodeType": "VariableDeclaration", - "scope": 24763, - "src": "63730:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24745, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "63730:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24748, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63756:2:15", - "nodeType": "VariableDeclaration", - "scope": 24763, - "src": "63748:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24747, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "63748:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "63708:51:15" - }, - "returnParameters": { - "id": 24750, - "nodeType": "ParameterList", - "parameters": [], - "src": "63774:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24786, - "nodeType": "FunctionDefinition", - "src": "63889:192:15", - "nodes": [], - "body": { - "id": 24785, - "nodeType": "Block", - "src": "63973:108:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c737472696e6729", - "id": 24777, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64023:33:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_475c5c33f91155b7a0e86c9fac7985c60ab58f4bfb411ee9b31d994a7fc95d1f", - "typeString": "literal_string \"log(address,bool,string,string)\"" - }, - "value": "log(address,bool,string,string)" - }, - { - "id": 24778, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24765, - "src": "64058:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24779, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24767, - "src": "64062:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24780, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24769, - "src": "64066:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24781, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24771, - "src": "64070:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_475c5c33f91155b7a0e86c9fac7985c60ab58f4bfb411ee9b31d994a7fc95d1f", - "typeString": "literal_string \"log(address,bool,string,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 24775, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63999:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24776, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64003:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63999:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24782, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63999:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24774, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "63983:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63983:91:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24784, - "nodeType": "ExpressionStatement", - "src": "63983:91:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63898:3:15", - "parameters": { - "id": 24772, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24765, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63910:2:15", - "nodeType": "VariableDeclaration", - "scope": 24786, - "src": "63902:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24764, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63902:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24767, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63919:2:15", - "nodeType": "VariableDeclaration", - "scope": 24786, - "src": "63914:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24766, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63914:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24769, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63937:2:15", - "nodeType": "VariableDeclaration", - "scope": 24786, - "src": "63923:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24768, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "63923:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24771, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63955:2:15", - "nodeType": "VariableDeclaration", - "scope": 24786, - "src": "63941:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24770, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "63941:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "63901:57:15" - }, - "returnParameters": { - "id": 24773, - "nodeType": "ParameterList", - "parameters": [], - "src": "63973:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24809, - "nodeType": "FunctionDefinition", - "src": "64087:181:15", - "nodes": [], - "body": { - "id": 24808, - "nodeType": "Block", - "src": "64162:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c626f6f6c29", - "id": 24800, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64212:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_50ad461db24803fc9b2ba76f072192e0a4d8fbb3667a50c400f504443380890f", - "typeString": "literal_string \"log(address,bool,string,bool)\"" - }, - "value": "log(address,bool,string,bool)" - }, - { - "id": 24801, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24788, - "src": "64245:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24802, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24790, - "src": "64249:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24803, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24792, - "src": "64253:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24804, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24794, - "src": "64257:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_50ad461db24803fc9b2ba76f072192e0a4d8fbb3667a50c400f504443380890f", - "typeString": "literal_string \"log(address,bool,string,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 24798, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64188:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24799, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64192:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64188:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64188:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24797, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "64172:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24806, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64172:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24807, - "nodeType": "ExpressionStatement", - "src": "64172:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64096:3:15", - "parameters": { - "id": 24795, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24788, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64108:2:15", - "nodeType": "VariableDeclaration", - "scope": 24809, - "src": "64100:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24787, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64100:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24790, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64117:2:15", - "nodeType": "VariableDeclaration", - "scope": 24809, - "src": "64112:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24789, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64112:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24792, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64135:2:15", - "nodeType": "VariableDeclaration", - "scope": 24809, - "src": "64121:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24791, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "64121:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24794, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64144:2:15", - "nodeType": "VariableDeclaration", - "scope": 24809, - "src": "64139:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24793, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64139:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "64099:48:15" - }, - "returnParameters": { - "id": 24796, - "nodeType": "ParameterList", - "parameters": [], - "src": "64162:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24832, - "nodeType": "FunctionDefinition", - "src": "64274:187:15", - "nodes": [], - "body": { - "id": 24831, - "nodeType": "Block", - "src": "64352:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c6164647265737329", - "id": 24823, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64402:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_19fd495659df511498cf8dde03672830bd109ef2d9b9bec18e72190917c328bc", - "typeString": "literal_string \"log(address,bool,string,address)\"" - }, - "value": "log(address,bool,string,address)" - }, - { - "id": 24824, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24811, - "src": "64438:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24825, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24813, - "src": "64442:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24826, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24815, - "src": "64446:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 24827, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24817, - "src": "64450:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_19fd495659df511498cf8dde03672830bd109ef2d9b9bec18e72190917c328bc", - "typeString": "literal_string \"log(address,bool,string,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 24821, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64378:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24822, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64382:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64378:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24828, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64378:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24820, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "64362:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24829, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64362:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24830, - "nodeType": "ExpressionStatement", - "src": "64362:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64283:3:15", - "parameters": { - "id": 24818, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24811, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64295:2:15", - "nodeType": "VariableDeclaration", - "scope": 24832, - "src": "64287:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24810, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64287:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24813, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64304:2:15", - "nodeType": "VariableDeclaration", - "scope": 24832, - "src": "64299:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24812, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64299:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24815, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64322:2:15", - "nodeType": "VariableDeclaration", - "scope": 24832, - "src": "64308:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24814, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "64308:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24817, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64334:2:15", - "nodeType": "VariableDeclaration", - "scope": 24832, - "src": "64326:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24816, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64326:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "64286:51:15" - }, - "returnParameters": { - "id": 24819, - "nodeType": "ParameterList", - "parameters": [], - "src": "64352:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24855, - "nodeType": "FunctionDefinition", - "src": "64467:176:15", - "nodes": [], - "body": { - "id": 24854, - "nodeType": "Block", - "src": "64536:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c75696e7432353629", - "id": 24846, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64586:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8c4e5de62881fec144fb423112f08d23c6aca116363a7b195024519470acf22e", - "typeString": "literal_string \"log(address,bool,bool,uint256)\"" - }, - "value": "log(address,bool,bool,uint256)" - }, - { - "id": 24847, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24834, - "src": "64620:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24848, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24836, - "src": "64624:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24849, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24838, - "src": "64628:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24850, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24840, - "src": "64632:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8c4e5de62881fec144fb423112f08d23c6aca116363a7b195024519470acf22e", - "typeString": "literal_string \"log(address,bool,bool,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 24844, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64562:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24845, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64566:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64562:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24851, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64562:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24843, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "64546:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64546:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24853, - "nodeType": "ExpressionStatement", - "src": "64546:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64476:3:15", - "parameters": { - "id": 24841, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24834, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64488:2:15", - "nodeType": "VariableDeclaration", - "scope": 24855, - "src": "64480:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24833, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64480:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24836, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64497:2:15", - "nodeType": "VariableDeclaration", - "scope": 24855, - "src": "64492:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24835, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64492:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24838, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64506:2:15", - "nodeType": "VariableDeclaration", - "scope": 24855, - "src": "64501:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24837, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64501:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24840, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64518:2:15", - "nodeType": "VariableDeclaration", - "scope": 24855, - "src": "64510:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24839, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "64510:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "64479:42:15" - }, - "returnParameters": { - "id": 24842, - "nodeType": "ParameterList", - "parameters": [], - "src": "64536:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24878, - "nodeType": "FunctionDefinition", - "src": "64649:181:15", - "nodes": [], - "body": { - "id": 24877, - "nodeType": "Block", - "src": "64724:106:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c737472696e6729", - "id": 24869, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64774:31:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dfc4a2e8c56809b44edbbc6d92d0a8441e551ad5387596bf8b629c56d9a91300", - "typeString": "literal_string \"log(address,bool,bool,string)\"" - }, - "value": "log(address,bool,bool,string)" - }, - { - "id": 24870, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24857, - "src": "64807:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24871, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24859, - "src": "64811:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24872, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24861, - "src": "64815:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24873, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24863, - "src": "64819:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_dfc4a2e8c56809b44edbbc6d92d0a8441e551ad5387596bf8b629c56d9a91300", - "typeString": "literal_string \"log(address,bool,bool,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 24867, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64750:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24868, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64754:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64750:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24874, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64750:72:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24866, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "64734:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24875, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64734:89:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24876, - "nodeType": "ExpressionStatement", - "src": "64734:89:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64658:3:15", - "parameters": { - "id": 24864, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24857, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64670:2:15", - "nodeType": "VariableDeclaration", - "scope": 24878, - "src": "64662:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24856, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64662:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24859, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64679:2:15", - "nodeType": "VariableDeclaration", - "scope": 24878, - "src": "64674:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24858, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64674:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24861, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64688:2:15", - "nodeType": "VariableDeclaration", - "scope": 24878, - "src": "64683:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24860, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64683:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24863, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64706:2:15", - "nodeType": "VariableDeclaration", - "scope": 24878, - "src": "64692:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24862, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "64692:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "64661:48:15" - }, - "returnParameters": { - "id": 24865, - "nodeType": "ParameterList", - "parameters": [], - "src": "64724:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24901, - "nodeType": "FunctionDefinition", - "src": "64836:170:15", - "nodes": [], - "body": { - "id": 24900, - "nodeType": "Block", - "src": "64902:104:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 24892, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64952:29:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cac434792b973db16714db96d2aeda353b2253f27255abe42b9960b2dc550634", - "typeString": "literal_string \"log(address,bool,bool,bool)\"" - }, - "value": "log(address,bool,bool,bool)" - }, - { - "id": 24893, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24880, - "src": "64983:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24894, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24882, - "src": "64987:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24895, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24884, - "src": "64991:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24896, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24886, - "src": "64995:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cac434792b973db16714db96d2aeda353b2253f27255abe42b9960b2dc550634", - "typeString": "literal_string \"log(address,bool,bool,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 24890, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64928:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24891, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64932:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64928:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24897, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64928:70:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24889, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "64912:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24898, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64912:87:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24899, - "nodeType": "ExpressionStatement", - "src": "64912:87:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64845:3:15", - "parameters": { - "id": 24887, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24880, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64857:2:15", - "nodeType": "VariableDeclaration", - "scope": 24901, - "src": "64849:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24879, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64849:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24882, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64866:2:15", - "nodeType": "VariableDeclaration", - "scope": 24901, - "src": "64861:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24881, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64861:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24884, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64875:2:15", - "nodeType": "VariableDeclaration", - "scope": 24901, - "src": "64870:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24883, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64870:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24886, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64884:2:15", - "nodeType": "VariableDeclaration", - "scope": 24901, - "src": "64879:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24885, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64879:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "64848:39:15" - }, - "returnParameters": { - "id": 24888, - "nodeType": "ParameterList", - "parameters": [], - "src": "64902:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24924, - "nodeType": "FunctionDefinition", - "src": "65012:176:15", - "nodes": [], - "body": { - "id": 24923, - "nodeType": "Block", - "src": "65081:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c6164647265737329", - "id": 24915, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65131:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cf394485abbd1f04b85b0f2c1a2cfc07e3d51c1c6f28386bf16d9e45161e8953", - "typeString": "literal_string \"log(address,bool,bool,address)\"" - }, - "value": "log(address,bool,bool,address)" - }, - { - "id": 24916, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24903, - "src": "65165:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24917, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24905, - "src": "65169:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24918, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24907, - "src": "65173:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24919, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24909, - "src": "65177:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cf394485abbd1f04b85b0f2c1a2cfc07e3d51c1c6f28386bf16d9e45161e8953", - "typeString": "literal_string \"log(address,bool,bool,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 24913, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65107:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24914, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65111:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65107:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65107:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24912, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "65091:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65091:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24922, - "nodeType": "ExpressionStatement", - "src": "65091:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65021:3:15", - "parameters": { - "id": 24910, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24903, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65033:2:15", - "nodeType": "VariableDeclaration", - "scope": 24924, - "src": "65025:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24902, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65025:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24905, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65042:2:15", - "nodeType": "VariableDeclaration", - "scope": 24924, - "src": "65037:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24904, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65037:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24907, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65051:2:15", - "nodeType": "VariableDeclaration", - "scope": 24924, - "src": "65046:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24906, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65046:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24909, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65063:2:15", - "nodeType": "VariableDeclaration", - "scope": 24924, - "src": "65055:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24908, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65055:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "65024:42:15" - }, - "returnParameters": { - "id": 24911, - "nodeType": "ParameterList", - "parameters": [], - "src": "65081:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24947, - "nodeType": "FunctionDefinition", - "src": "65194:182:15", - "nodes": [], - "body": { - "id": 24946, - "nodeType": "Block", - "src": "65266:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c75696e7432353629", - "id": 24938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65316:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a75c59de36827f2596ade7bd79f668ae219518c12b79ebf06071586765c3e039", - "typeString": "literal_string \"log(address,bool,address,uint256)\"" - }, - "value": "log(address,bool,address,uint256)" - }, - { - "id": 24939, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24926, - "src": "65353:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24940, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24928, - "src": "65357:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24941, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24930, - "src": "65361:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24942, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24932, - "src": "65365:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a75c59de36827f2596ade7bd79f668ae219518c12b79ebf06071586765c3e039", - "typeString": "literal_string \"log(address,bool,address,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 24936, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65292:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24937, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65296:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65292:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65292:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24935, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "65276:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24944, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65276:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24945, - "nodeType": "ExpressionStatement", - "src": "65276:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65203:3:15", - "parameters": { - "id": 24933, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24926, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65215:2:15", - "nodeType": "VariableDeclaration", - "scope": 24947, - "src": "65207:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24925, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65207:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24928, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65224:2:15", - "nodeType": "VariableDeclaration", - "scope": 24947, - "src": "65219:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24927, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65219:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24930, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65236:2:15", - "nodeType": "VariableDeclaration", - "scope": 24947, - "src": "65228:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24929, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65228:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24932, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65248:2:15", - "nodeType": "VariableDeclaration", - "scope": 24947, - "src": "65240:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24931, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "65240:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "65206:45:15" - }, - "returnParameters": { - "id": 24934, - "nodeType": "ParameterList", - "parameters": [], - "src": "65266:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24970, - "nodeType": "FunctionDefinition", - "src": "65382:187:15", - "nodes": [], - "body": { - "id": 24969, - "nodeType": "Block", - "src": "65460:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c737472696e6729", - "id": 24961, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65510:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2dd778e616be9386b5911da1a074bbaf979640681783fca6396ea75c8caf6453", - "typeString": "literal_string \"log(address,bool,address,string)\"" - }, - "value": "log(address,bool,address,string)" - }, - { - "id": 24962, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24949, - "src": "65546:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24963, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24951, - "src": "65550:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24964, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24953, - "src": "65554:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24965, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24955, - "src": "65558:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2dd778e616be9386b5911da1a074bbaf979640681783fca6396ea75c8caf6453", - "typeString": "literal_string \"log(address,bool,address,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 24959, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65486:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24960, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65490:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65486:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24966, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65486:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24958, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "65470:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24967, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65470:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24968, - "nodeType": "ExpressionStatement", - "src": "65470:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65391:3:15", - "parameters": { - "id": 24956, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24949, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65403:2:15", - "nodeType": "VariableDeclaration", - "scope": 24970, - "src": "65395:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24948, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65395:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24951, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65412:2:15", - "nodeType": "VariableDeclaration", - "scope": 24970, - "src": "65407:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24950, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65407:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24953, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65424:2:15", - "nodeType": "VariableDeclaration", - "scope": 24970, - "src": "65416:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24952, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65416:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24955, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65442:2:15", - "nodeType": "VariableDeclaration", - "scope": 24970, - "src": "65428:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24954, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "65428:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "65394:51:15" - }, - "returnParameters": { - "id": 24957, - "nodeType": "ParameterList", - "parameters": [], - "src": "65460:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24993, - "nodeType": "FunctionDefinition", - "src": "65575:176:15", - "nodes": [], - "body": { - "id": 24992, - "nodeType": "Block", - "src": "65644:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c626f6f6c29", - "id": 24984, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65694:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a6f50b0f122c916fe81861751b94bdddb5e453947768e8af206397bb510790b1", - "typeString": "literal_string \"log(address,bool,address,bool)\"" - }, - "value": "log(address,bool,address,bool)" - }, - { - "id": 24985, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24972, - "src": "65728:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24986, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24974, - "src": "65732:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 24987, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24976, - "src": "65736:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24988, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24978, - "src": "65740:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a6f50b0f122c916fe81861751b94bdddb5e453947768e8af206397bb510790b1", - "typeString": "literal_string \"log(address,bool,address,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 24982, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65670:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24983, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65674:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65670:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 24989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65670:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24981, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "65654:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 24990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65654:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24991, - "nodeType": "ExpressionStatement", - "src": "65654:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65584:3:15", - "parameters": { - "id": 24979, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24972, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65596:2:15", - "nodeType": "VariableDeclaration", - "scope": 24993, - "src": "65588:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24971, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65588:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24974, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65605:2:15", - "nodeType": "VariableDeclaration", - "scope": 24993, - "src": "65600:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24973, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65600:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24976, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65617:2:15", - "nodeType": "VariableDeclaration", - "scope": 24993, - "src": "65609:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24975, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65609:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24978, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65626:2:15", - "nodeType": "VariableDeclaration", - "scope": 24993, - "src": "65621:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24977, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65621:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "65587:42:15" - }, - "returnParameters": { - "id": 24980, - "nodeType": "ParameterList", - "parameters": [], - "src": "65644:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 25016, - "nodeType": "FunctionDefinition", - "src": "65757:182:15", - "nodes": [], - "body": { - "id": 25015, - "nodeType": "Block", - "src": "65829:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c6164647265737329", - "id": 25007, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65879:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_660375ddb58761b4ce952ec7e1ae63efe9f8e9e69831fd72875968fec9046e35", - "typeString": "literal_string \"log(address,bool,address,address)\"" - }, - "value": "log(address,bool,address,address)" - }, - { - "id": 25008, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24995, - "src": "65916:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25009, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24997, - "src": "65920:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 25010, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24999, - "src": "65924:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25011, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25001, - "src": "65928:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_660375ddb58761b4ce952ec7e1ae63efe9f8e9e69831fd72875968fec9046e35", - "typeString": "literal_string \"log(address,bool,address,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 25005, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65855:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25006, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65859:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65855:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 25012, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65855:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25004, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "65839:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 25013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65839:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25014, - "nodeType": "ExpressionStatement", - "src": "65839:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65766:3:15", - "parameters": { - "id": 25002, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24995, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65778:2:15", - "nodeType": "VariableDeclaration", - "scope": 25016, - "src": "65770:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24994, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65770:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24997, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65787:2:15", - "nodeType": "VariableDeclaration", - "scope": 25016, - "src": "65782:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24996, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65782:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24999, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65799:2:15", - "nodeType": "VariableDeclaration", - "scope": 25016, - "src": "65791:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24998, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65791:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25001, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65811:2:15", - "nodeType": "VariableDeclaration", - "scope": 25016, - "src": "65803:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25000, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65803:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "65769:45:15" - }, - "returnParameters": { - "id": 25003, - "nodeType": "ParameterList", - "parameters": [], - "src": "65829:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 25039, - "nodeType": "FunctionDefinition", - "src": "65945:188:15", - "nodes": [], - "body": { - "id": 25038, - "nodeType": "Block", - "src": "66020:113:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e743235362c75696e7432353629", - "id": 25030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "66070:38:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_be55348107f27daf63b48e87ab23840f2cbf20bdfa1dd4b92b4c2b337967fa25", - "typeString": "literal_string \"log(address,address,uint256,uint256)\"" - }, - "value": "log(address,address,uint256,uint256)" - }, - { - "id": 25031, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25018, - "src": "66110:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25032, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25020, - "src": "66114:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25033, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25022, - "src": "66118:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 25034, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25024, - "src": "66122:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_be55348107f27daf63b48e87ab23840f2cbf20bdfa1dd4b92b4c2b337967fa25", - "typeString": "literal_string \"log(address,address,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 25028, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "66046:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25029, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "66050:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "66046:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 25035, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66046:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25027, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "66030:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 25036, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66030:96:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25037, - "nodeType": "ExpressionStatement", - "src": "66030:96:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65954:3:15", - "parameters": { - "id": 25025, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25018, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65966:2:15", - "nodeType": "VariableDeclaration", - "scope": 25039, - "src": "65958:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25017, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65958:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25020, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65978:2:15", - "nodeType": "VariableDeclaration", - "scope": 25039, - "src": "65970:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25019, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65970:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25022, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65990:2:15", - "nodeType": "VariableDeclaration", - "scope": 25039, - "src": "65982:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25021, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "65982:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25024, - "mutability": "mutable", - "name": "p3", - "nameLocation": "66002:2:15", - "nodeType": "VariableDeclaration", - "scope": 25039, - "src": "65994:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25023, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "65994:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "65957:48:15" - }, - "returnParameters": { - "id": 25026, - "nodeType": "ParameterList", - "parameters": [], - "src": "66020:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 25062, - "nodeType": "FunctionDefinition", - "src": "66139:193:15", - "nodes": [], - "body": { - "id": 25061, - "nodeType": "Block", - "src": "66220:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e743235362c737472696e6729", - "id": 25053, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "66270:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fdb4f99053c71d9229026b69fabc5567b4324649a228ca0935bada4975f57343", - "typeString": "literal_string \"log(address,address,uint256,string)\"" - }, - "value": "log(address,address,uint256,string)" - }, - { - "id": 25054, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25041, - "src": "66309:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25055, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25043, - "src": "66313:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25056, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25045, - "src": "66317:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 25057, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25047, - "src": "66321:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_fdb4f99053c71d9229026b69fabc5567b4324649a228ca0935bada4975f57343", - "typeString": "literal_string \"log(address,address,uint256,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 25051, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "66246:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25052, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "66250:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "66246:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 25058, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66246:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25050, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "66230:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 25059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66230:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25060, - "nodeType": "ExpressionStatement", - "src": "66230:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "66148:3:15", - "parameters": { - "id": 25048, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25041, - "mutability": "mutable", - "name": "p0", - "nameLocation": "66160:2:15", - "nodeType": "VariableDeclaration", - "scope": 25062, - "src": "66152:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25040, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66152:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25043, - "mutability": "mutable", - "name": "p1", - "nameLocation": "66172:2:15", - "nodeType": "VariableDeclaration", - "scope": 25062, - "src": "66164:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25042, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66164:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25045, - "mutability": "mutable", - "name": "p2", - "nameLocation": "66184:2:15", - "nodeType": "VariableDeclaration", - "scope": 25062, - "src": "66176:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25044, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "66176:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25047, - "mutability": "mutable", - "name": "p3", - "nameLocation": "66202:2:15", - "nodeType": "VariableDeclaration", - "scope": 25062, - "src": "66188:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25046, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "66188:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "66151:54:15" - }, - "returnParameters": { - "id": 25049, - "nodeType": "ParameterList", - "parameters": [], - "src": "66220:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 25085, - "nodeType": "FunctionDefinition", - "src": "66338:182:15", - "nodes": [], - "body": { - "id": 25084, - "nodeType": "Block", - "src": "66410:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e743235362c626f6f6c29", - "id": 25076, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "66460:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9b4254e23753cb4c7d637e38638d109b03aeabf8705961d18d943c5bfa6672cd", - "typeString": "literal_string \"log(address,address,uint256,bool)\"" - }, - "value": "log(address,address,uint256,bool)" - }, - { - "id": 25077, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25064, - "src": "66497:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25078, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25066, - "src": "66501:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25079, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25068, - "src": "66505:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 25080, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25070, - "src": "66509:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9b4254e23753cb4c7d637e38638d109b03aeabf8705961d18d943c5bfa6672cd", - "typeString": "literal_string \"log(address,address,uint256,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 25074, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "66436:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25075, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "66440:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "66436:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 25081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66436:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25073, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "66420:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 25082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66420:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25083, - "nodeType": "ExpressionStatement", - "src": "66420:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "66347:3:15", - "parameters": { - "id": 25071, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25064, - "mutability": "mutable", - "name": "p0", - "nameLocation": "66359:2:15", - "nodeType": "VariableDeclaration", - "scope": 25085, - "src": "66351:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25063, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66351:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25066, - "mutability": "mutable", - "name": "p1", - "nameLocation": "66371:2:15", - "nodeType": "VariableDeclaration", - "scope": 25085, - "src": "66363:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25065, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66363:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25068, - "mutability": "mutable", - "name": "p2", - "nameLocation": "66383:2:15", - "nodeType": "VariableDeclaration", - "scope": 25085, - "src": "66375:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25067, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "66375:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25070, - "mutability": "mutable", - "name": "p3", - "nameLocation": "66392:2:15", - "nodeType": "VariableDeclaration", - "scope": 25085, - "src": "66387:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 25069, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "66387:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "66350:45:15" - }, - "returnParameters": { - "id": 25072, - "nodeType": "ParameterList", - "parameters": [], - "src": "66410:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 25108, - "nodeType": "FunctionDefinition", - "src": "66526:188:15", - "nodes": [], - "body": { - "id": 25107, - "nodeType": "Block", - "src": "66601:113:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e743235362c6164647265737329", - "id": 25099, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "66651:38:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8da6def55c582f2ce59d561e896a66e570478eda5169747a6ea3575cfa60d28b", - "typeString": "literal_string \"log(address,address,uint256,address)\"" - }, - "value": "log(address,address,uint256,address)" - }, - { - "id": 25100, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25087, - "src": "66691:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25101, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25089, - "src": "66695:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25102, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25091, - "src": "66699:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 25103, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25093, - "src": "66703:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8da6def55c582f2ce59d561e896a66e570478eda5169747a6ea3575cfa60d28b", - "typeString": "literal_string \"log(address,address,uint256,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 25097, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "66627:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25098, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "66631:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "66627:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 25104, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66627:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25096, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "66611:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 25105, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66611:96:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25106, - "nodeType": "ExpressionStatement", - "src": "66611:96:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "66535:3:15", - "parameters": { - "id": 25094, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25087, - "mutability": "mutable", - "name": "p0", - "nameLocation": "66547:2:15", - "nodeType": "VariableDeclaration", - "scope": 25108, - "src": "66539:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25086, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66539:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25089, - "mutability": "mutable", - "name": "p1", - "nameLocation": "66559:2:15", - "nodeType": "VariableDeclaration", - "scope": 25108, - "src": "66551:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25088, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66551:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25091, - "mutability": "mutable", - "name": "p2", - "nameLocation": "66571:2:15", - "nodeType": "VariableDeclaration", - "scope": 25108, - "src": "66563:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25090, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "66563:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25093, - "mutability": "mutable", - "name": "p3", - "nameLocation": "66583:2:15", - "nodeType": "VariableDeclaration", - "scope": 25108, - "src": "66575:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25092, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66575:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "66538:48:15" - }, - "returnParameters": { - "id": 25095, - "nodeType": "ParameterList", - "parameters": [], - "src": "66601:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 25131, - "nodeType": "FunctionDefinition", - "src": "66720:193:15", - "nodes": [], - "body": { - "id": 25130, - "nodeType": "Block", - "src": "66801:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c75696e7432353629", - "id": 25122, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "66851:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ef1cefe7e092dcc5b0ed6bc72a78756f9c352fc002139efb9b181c734d5d45d5", - "typeString": "literal_string \"log(address,address,string,uint256)\"" - }, - "value": "log(address,address,string,uint256)" - }, - { - "id": 25123, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25110, - "src": "66890:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25124, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25112, - "src": "66894:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25125, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25114, - "src": "66898:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 25126, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25116, - "src": "66902:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ef1cefe7e092dcc5b0ed6bc72a78756f9c352fc002139efb9b181c734d5d45d5", - "typeString": "literal_string \"log(address,address,string,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 25120, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "66827:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25121, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "66831:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "66827:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 25127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66827:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25119, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "66811:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 25128, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66811:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25129, - "nodeType": "ExpressionStatement", - "src": "66811:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "66729:3:15", - "parameters": { - "id": 25117, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25110, - "mutability": "mutable", - "name": "p0", - "nameLocation": "66741:2:15", - "nodeType": "VariableDeclaration", - "scope": 25131, - "src": "66733:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25109, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66733:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25112, - "mutability": "mutable", - "name": "p1", - "nameLocation": "66753:2:15", - "nodeType": "VariableDeclaration", - "scope": 25131, - "src": "66745:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25111, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66745:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25114, - "mutability": "mutable", - "name": "p2", - "nameLocation": "66771:2:15", - "nodeType": "VariableDeclaration", - "scope": 25131, - "src": "66757:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25113, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "66757:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25116, - "mutability": "mutable", - "name": "p3", - "nameLocation": "66783:2:15", - "nodeType": "VariableDeclaration", - "scope": 25131, - "src": "66775:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25115, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "66775:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "66732:54:15" - }, - "returnParameters": { - "id": 25118, - "nodeType": "ParameterList", - "parameters": [], - "src": "66801:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 25154, - "nodeType": "FunctionDefinition", - "src": "66919:198:15", - "nodes": [], - "body": { - "id": 25153, - "nodeType": "Block", - "src": "67006:111:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c737472696e6729", - "id": 25145, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "67056:36:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_21bdaf25c85279ffda21e4e2b9f685ff585c62a37c0ebe7ae25670fd06df3aa1", - "typeString": "literal_string \"log(address,address,string,string)\"" - }, - "value": "log(address,address,string,string)" - }, - { - "id": 25146, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25133, - "src": "67094:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25147, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25135, - "src": "67098:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25148, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25137, - "src": "67102:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 25149, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25139, - "src": "67106:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_21bdaf25c85279ffda21e4e2b9f685ff585c62a37c0ebe7ae25670fd06df3aa1", - "typeString": "literal_string \"log(address,address,string,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 25143, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "67032:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "67036:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "67032:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 25150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67032:77:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25142, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "67016:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 25151, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67016:94:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25152, - "nodeType": "ExpressionStatement", - "src": "67016:94:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "66928:3:15", - "parameters": { - "id": 25140, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25133, - "mutability": "mutable", - "name": "p0", - "nameLocation": "66940:2:15", - "nodeType": "VariableDeclaration", - "scope": 25154, - "src": "66932:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25132, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66932:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25135, - "mutability": "mutable", - "name": "p1", - "nameLocation": "66952:2:15", - "nodeType": "VariableDeclaration", - "scope": 25154, - "src": "66944:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25134, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66944:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25137, - "mutability": "mutable", - "name": "p2", - "nameLocation": "66970:2:15", - "nodeType": "VariableDeclaration", - "scope": 25154, - "src": "66956:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25136, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "66956:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25139, - "mutability": "mutable", - "name": "p3", - "nameLocation": "66988:2:15", - "nodeType": "VariableDeclaration", - "scope": 25154, - "src": "66974:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25138, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "66974:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "66931:60:15" - }, - "returnParameters": { - "id": 25141, - "nodeType": "ParameterList", - "parameters": [], - "src": "67006:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 25177, - "nodeType": "FunctionDefinition", - "src": "67123:187:15", - "nodes": [], - "body": { - "id": 25176, - "nodeType": "Block", - "src": "67201:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c626f6f6c29", - "id": 25168, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "67251:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f1a594e70810560eaae5bbc82bc991f1120ac326ec142f6fb212682169447fd", - "typeString": "literal_string \"log(address,address,string,bool)\"" - }, - "value": "log(address,address,string,bool)" - }, - { - "id": 25169, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25156, - "src": "67287:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25170, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25158, - "src": "67291:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25171, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25160, - "src": "67295:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 25172, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25162, - "src": "67299:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6f1a594e70810560eaae5bbc82bc991f1120ac326ec142f6fb212682169447fd", - "typeString": "literal_string \"log(address,address,string,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 25166, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "67227:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25167, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "67231:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "67227:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 25173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67227:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25165, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "67211:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 25174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67211:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25175, - "nodeType": "ExpressionStatement", - "src": "67211:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "67132:3:15", - "parameters": { - "id": 25163, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25156, - "mutability": "mutable", - "name": "p0", - "nameLocation": "67144:2:15", - "nodeType": "VariableDeclaration", - "scope": 25177, - "src": "67136:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25155, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67136:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25158, - "mutability": "mutable", - "name": "p1", - "nameLocation": "67156:2:15", - "nodeType": "VariableDeclaration", - "scope": 25177, - "src": "67148:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25157, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67148:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25160, - "mutability": "mutable", - "name": "p2", - "nameLocation": "67174:2:15", - "nodeType": "VariableDeclaration", - "scope": 25177, - "src": "67160:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25159, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "67160:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25162, - "mutability": "mutable", - "name": "p3", - "nameLocation": "67183:2:15", - "nodeType": "VariableDeclaration", - "scope": 25177, - "src": "67178:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 25161, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "67178:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "67135:51:15" - }, - "returnParameters": { - "id": 25164, - "nodeType": "ParameterList", - "parameters": [], - "src": "67201:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 25200, - "nodeType": "FunctionDefinition", - "src": "67316:193:15", - "nodes": [], - "body": { - "id": 25199, - "nodeType": "Block", - "src": "67397:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c6164647265737329", - "id": 25191, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "67447:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8f736d1685010d3a1ac02ed96109cdd5141fd92077c14203bc63442ad9b6a687", - "typeString": "literal_string \"log(address,address,string,address)\"" - }, - "value": "log(address,address,string,address)" - }, - { - "id": 25192, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25179, - "src": "67486:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25193, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25181, - "src": "67490:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25194, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25183, - "src": "67494:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 25195, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25185, - "src": "67498:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8f736d1685010d3a1ac02ed96109cdd5141fd92077c14203bc63442ad9b6a687", - "typeString": "literal_string \"log(address,address,string,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 25189, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "67423:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25190, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "67427:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "67423:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 25196, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67423:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25188, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "67407:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 25197, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67407:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25198, - "nodeType": "ExpressionStatement", - "src": "67407:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "67325:3:15", - "parameters": { - "id": 25186, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25179, - "mutability": "mutable", - "name": "p0", - "nameLocation": "67337:2:15", - "nodeType": "VariableDeclaration", - "scope": 25200, - "src": "67329:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25178, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67329:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25181, - "mutability": "mutable", - "name": "p1", - "nameLocation": "67349:2:15", - "nodeType": "VariableDeclaration", - "scope": 25200, - "src": "67341:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25180, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67341:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25183, - "mutability": "mutable", - "name": "p2", - "nameLocation": "67367:2:15", - "nodeType": "VariableDeclaration", - "scope": 25200, - "src": "67353:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25182, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "67353:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25185, - "mutability": "mutable", - "name": "p3", - "nameLocation": "67379:2:15", - "nodeType": "VariableDeclaration", - "scope": 25200, - "src": "67371:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25184, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67371:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "67328:54:15" - }, - "returnParameters": { - "id": 25187, - "nodeType": "ParameterList", - "parameters": [], - "src": "67397:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 25223, - "nodeType": "FunctionDefinition", - "src": "67515:182:15", - "nodes": [], - "body": { - "id": 25222, - "nodeType": "Block", - "src": "67587:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c75696e7432353629", - "id": 25214, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "67637:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3971e78c267e3c99a8d143ab93f96daa498ed164b55c7e4c2a5439320fbc2671", - "typeString": "literal_string \"log(address,address,bool,uint256)\"" - }, - "value": "log(address,address,bool,uint256)" - }, - { - "id": 25215, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25202, - "src": "67674:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25216, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25204, - "src": "67678:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25217, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25206, - "src": "67682:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 25218, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25208, - "src": "67686:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3971e78c267e3c99a8d143ab93f96daa498ed164b55c7e4c2a5439320fbc2671", - "typeString": "literal_string \"log(address,address,bool,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 25212, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "67613:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25213, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "67617:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "67613:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 25219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67613:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25211, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "67597:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 25220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67597:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25221, - "nodeType": "ExpressionStatement", - "src": "67597:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "67524:3:15", - "parameters": { - "id": 25209, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25202, - "mutability": "mutable", - "name": "p0", - "nameLocation": "67536:2:15", - "nodeType": "VariableDeclaration", - "scope": 25223, - "src": "67528:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25201, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67528:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25204, - "mutability": "mutable", - "name": "p1", - "nameLocation": "67548:2:15", - "nodeType": "VariableDeclaration", - "scope": 25223, - "src": "67540:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25203, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67540:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25206, - "mutability": "mutable", - "name": "p2", - "nameLocation": "67557:2:15", - "nodeType": "VariableDeclaration", - "scope": 25223, - "src": "67552:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 25205, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "67552:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25208, - "mutability": "mutable", - "name": "p3", - "nameLocation": "67569:2:15", - "nodeType": "VariableDeclaration", - "scope": 25223, - "src": "67561:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25207, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "67561:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "67527:45:15" - }, - "returnParameters": { - "id": 25210, - "nodeType": "ParameterList", - "parameters": [], - "src": "67587:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 25246, - "nodeType": "FunctionDefinition", - "src": "67703:187:15", - "nodes": [], - "body": { - "id": 25245, - "nodeType": "Block", - "src": "67781:109:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c737472696e6729", - "id": 25237, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "67831:34:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_aa6540c8e9a40f69e022e01a14ab22c94aae4999f1d7a246236f464d7c933b88", - "typeString": "literal_string \"log(address,address,bool,string)\"" - }, - "value": "log(address,address,bool,string)" - }, - { - "id": 25238, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25225, - "src": "67867:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25239, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25227, - "src": "67871:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25240, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25229, - "src": "67875:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 25241, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25231, - "src": "67879:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_aa6540c8e9a40f69e022e01a14ab22c94aae4999f1d7a246236f464d7c933b88", - "typeString": "literal_string \"log(address,address,bool,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 25235, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "67807:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25236, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "67811:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "67807:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 25242, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67807:75:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25234, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "67791:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 25243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67791:92:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25244, - "nodeType": "ExpressionStatement", - "src": "67791:92:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "67712:3:15", - "parameters": { - "id": 25232, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25225, - "mutability": "mutable", - "name": "p0", - "nameLocation": "67724:2:15", - "nodeType": "VariableDeclaration", - "scope": 25246, - "src": "67716:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25224, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67716:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25227, - "mutability": "mutable", - "name": "p1", - "nameLocation": "67736:2:15", - "nodeType": "VariableDeclaration", - "scope": 25246, - "src": "67728:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25226, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67728:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25229, - "mutability": "mutable", - "name": "p2", - "nameLocation": "67745:2:15", - "nodeType": "VariableDeclaration", - "scope": 25246, - "src": "67740:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 25228, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "67740:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25231, - "mutability": "mutable", - "name": "p3", - "nameLocation": "67763:2:15", - "nodeType": "VariableDeclaration", - "scope": 25246, - "src": "67749:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25230, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "67749:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "67715:51:15" - }, - "returnParameters": { - "id": 25233, - "nodeType": "ParameterList", - "parameters": [], - "src": "67781:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 25269, - "nodeType": "FunctionDefinition", - "src": "67896:176:15", - "nodes": [], - "body": { - "id": 25268, - "nodeType": "Block", - "src": "67965:107:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c626f6f6c29", - "id": 25260, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "68015:32:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2cd4134aedbc2cd722f2b9715dc3acb74b16b253590361dd98a4d6cb66119b65", - "typeString": "literal_string \"log(address,address,bool,bool)\"" - }, - "value": "log(address,address,bool,bool)" - }, - { - "id": 25261, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25248, - "src": "68049:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25262, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25250, - "src": "68053:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25263, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25252, - "src": "68057:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 25264, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25254, - "src": "68061:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2cd4134aedbc2cd722f2b9715dc3acb74b16b253590361dd98a4d6cb66119b65", - "typeString": "literal_string \"log(address,address,bool,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 25258, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "67991:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25259, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "67995:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "67991:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 25265, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67991:73:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25257, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "67975:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 25266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67975:90:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25267, - "nodeType": "ExpressionStatement", - "src": "67975:90:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "67905:3:15", - "parameters": { - "id": 25255, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25248, - "mutability": "mutable", - "name": "p0", - "nameLocation": "67917:2:15", - "nodeType": "VariableDeclaration", - "scope": 25269, - "src": "67909:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25247, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67909:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25250, - "mutability": "mutable", - "name": "p1", - "nameLocation": "67929:2:15", - "nodeType": "VariableDeclaration", - "scope": 25269, - "src": "67921:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25249, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67921:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25252, - "mutability": "mutable", - "name": "p2", - "nameLocation": "67938:2:15", - "nodeType": "VariableDeclaration", - "scope": 25269, - "src": "67933:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 25251, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "67933:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25254, - "mutability": "mutable", - "name": "p3", - "nameLocation": "67947:2:15", - "nodeType": "VariableDeclaration", - "scope": 25269, - "src": "67942:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 25253, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "67942:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "67908:42:15" - }, - "returnParameters": { - "id": 25256, - "nodeType": "ParameterList", - "parameters": [], - "src": "67965:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 25292, - "nodeType": "FunctionDefinition", - "src": "68078:182:15", - "nodes": [], - "body": { - "id": 25291, - "nodeType": "Block", - "src": "68150:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c6164647265737329", - "id": 25283, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "68200:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9f1bc36e6c1a1385bfe3a230338e478ee5447b81d25d35962aff021b2c578b9c", - "typeString": "literal_string \"log(address,address,bool,address)\"" - }, - "value": "log(address,address,bool,address)" - }, - { - "id": 25284, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25271, - "src": "68237:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25285, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25273, - "src": "68241:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25286, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25275, - "src": "68245:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 25287, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25277, - "src": "68249:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9f1bc36e6c1a1385bfe3a230338e478ee5447b81d25d35962aff021b2c578b9c", - "typeString": "literal_string \"log(address,address,bool,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 25281, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "68176:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25282, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "68180:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "68176:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 25288, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68176:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25280, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "68160:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 25289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68160:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25290, - "nodeType": "ExpressionStatement", - "src": "68160:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "68087:3:15", - "parameters": { - "id": 25278, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25271, - "mutability": "mutable", - "name": "p0", - "nameLocation": "68099:2:15", - "nodeType": "VariableDeclaration", - "scope": 25292, - "src": "68091:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25270, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68091:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25273, - "mutability": "mutable", - "name": "p1", - "nameLocation": "68111:2:15", - "nodeType": "VariableDeclaration", - "scope": 25292, - "src": "68103:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25272, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68103:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25275, - "mutability": "mutable", - "name": "p2", - "nameLocation": "68120:2:15", - "nodeType": "VariableDeclaration", - "scope": 25292, - "src": "68115:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 25274, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "68115:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25277, - "mutability": "mutable", - "name": "p3", - "nameLocation": "68132:2:15", - "nodeType": "VariableDeclaration", - "scope": 25292, - "src": "68124:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25276, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68124:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "68090:45:15" - }, - "returnParameters": { - "id": 25279, - "nodeType": "ParameterList", - "parameters": [], - "src": "68150:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 25315, - "nodeType": "FunctionDefinition", - "src": "68266:188:15", - "nodes": [], - "body": { - "id": 25314, - "nodeType": "Block", - "src": "68341:113:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c75696e7432353629", - "id": 25306, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "68391:38:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_94250d77556167cb7a7fd3eb9433101f8af8848163edfced0c46147ba10a2577", - "typeString": "literal_string \"log(address,address,address,uint256)\"" - }, - "value": "log(address,address,address,uint256)" - }, - { - "id": 25307, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25294, - "src": "68431:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25308, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25296, - "src": "68435:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25309, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25298, - "src": "68439:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25310, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25300, - "src": "68443:2:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_94250d77556167cb7a7fd3eb9433101f8af8848163edfced0c46147ba10a2577", - "typeString": "literal_string \"log(address,address,address,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 25304, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "68367:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25305, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "68371:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "68367:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 25311, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68367:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25303, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "68351:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 25312, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68351:96:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25313, - "nodeType": "ExpressionStatement", - "src": "68351:96:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "68275:3:15", - "parameters": { - "id": 25301, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25294, - "mutability": "mutable", - "name": "p0", - "nameLocation": "68287:2:15", - "nodeType": "VariableDeclaration", - "scope": 25315, - "src": "68279:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25293, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68279:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25296, - "mutability": "mutable", - "name": "p1", - "nameLocation": "68299:2:15", - "nodeType": "VariableDeclaration", - "scope": 25315, - "src": "68291:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25295, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68291:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25298, - "mutability": "mutable", - "name": "p2", - "nameLocation": "68311:2:15", - "nodeType": "VariableDeclaration", - "scope": 25315, - "src": "68303:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25297, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68303:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25300, - "mutability": "mutable", - "name": "p3", - "nameLocation": "68323:2:15", - "nodeType": "VariableDeclaration", - "scope": 25315, - "src": "68315:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25299, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "68315:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "68278:48:15" - }, - "returnParameters": { - "id": 25302, - "nodeType": "ParameterList", - "parameters": [], - "src": "68341:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 25338, - "nodeType": "FunctionDefinition", - "src": "68460:193:15", - "nodes": [], - "body": { - "id": 25337, - "nodeType": "Block", - "src": "68541:112:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c737472696e6729", - "id": 25329, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "68591:37:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f808da2086fed855c3e15d9dbfed3b17a93ed9a59947aae6ab05b7e18576f025", - "typeString": "literal_string \"log(address,address,address,string)\"" - }, - "value": "log(address,address,address,string)" - }, - { - "id": 25330, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25317, - "src": "68630:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25331, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25319, - "src": "68634:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25332, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25321, - "src": "68638:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25333, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25323, - "src": "68642:2:15", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f808da2086fed855c3e15d9dbfed3b17a93ed9a59947aae6ab05b7e18576f025", - "typeString": "literal_string \"log(address,address,address,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 25327, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "68567:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "68571:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "68567:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 25334, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68567:78:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25326, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "68551:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 25335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68551:95:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25336, - "nodeType": "ExpressionStatement", - "src": "68551:95:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "68469:3:15", - "parameters": { - "id": 25324, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25317, - "mutability": "mutable", - "name": "p0", - "nameLocation": "68481:2:15", - "nodeType": "VariableDeclaration", - "scope": 25338, - "src": "68473:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25316, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68473:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25319, - "mutability": "mutable", - "name": "p1", - "nameLocation": "68493:2:15", - "nodeType": "VariableDeclaration", - "scope": 25338, - "src": "68485:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25318, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68485:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25321, - "mutability": "mutable", - "name": "p2", - "nameLocation": "68505:2:15", - "nodeType": "VariableDeclaration", - "scope": 25338, - "src": "68497:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25320, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68497:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25323, - "mutability": "mutable", - "name": "p3", - "nameLocation": "68523:2:15", - "nodeType": "VariableDeclaration", - "scope": 25338, - "src": "68509:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25322, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "68509:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "68472:54:15" - }, - "returnParameters": { - "id": 25325, - "nodeType": "ParameterList", - "parameters": [], - "src": "68541:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 25361, - "nodeType": "FunctionDefinition", - "src": "68659:182:15", - "nodes": [], - "body": { - "id": 25360, - "nodeType": "Block", - "src": "68731:110:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c626f6f6c29", - "id": 25352, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "68781:35:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0e378994a4cd2663acfd73a7ad4e09d196e4fb7ee05b7cdf0708eb30271e2afb", - "typeString": "literal_string \"log(address,address,address,bool)\"" - }, - "value": "log(address,address,address,bool)" - }, - { - "id": 25353, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25340, - "src": "68818:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25354, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25342, - "src": "68822:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25355, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25344, - "src": "68826:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25356, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25346, - "src": "68830:2:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0e378994a4cd2663acfd73a7ad4e09d196e4fb7ee05b7cdf0708eb30271e2afb", - "typeString": "literal_string \"log(address,address,address,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 25350, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "68757:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25351, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "68761:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "68757:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 25357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68757:76:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25349, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "68741:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 25358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68741:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25359, - "nodeType": "ExpressionStatement", - "src": "68741:93:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "68668:3:15", - "parameters": { - "id": 25347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25340, - "mutability": "mutable", - "name": "p0", - "nameLocation": "68680:2:15", - "nodeType": "VariableDeclaration", - "scope": 25361, - "src": "68672:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25339, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68672:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25342, - "mutability": "mutable", - "name": "p1", - "nameLocation": "68692:2:15", - "nodeType": "VariableDeclaration", - "scope": 25361, - "src": "68684:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25341, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68684:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25344, - "mutability": "mutable", - "name": "p2", - "nameLocation": "68704:2:15", - "nodeType": "VariableDeclaration", - "scope": 25361, - "src": "68696:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25343, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68696:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25346, - "mutability": "mutable", - "name": "p3", - "nameLocation": "68713:2:15", - "nodeType": "VariableDeclaration", - "scope": 25361, - "src": "68708:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 25345, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "68708:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "68671:45:15" - }, - "returnParameters": { - "id": 25348, - "nodeType": "ParameterList", - "parameters": [], - "src": "68731:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 25384, - "nodeType": "FunctionDefinition", - "src": "68847:188:15", - "nodes": [], - "body": { - "id": 25383, - "nodeType": "Block", - "src": "68922:113:15", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c6164647265737329", - "id": 25375, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "68972:38:15", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_665bf1345e006aa321c0b6b71bed55ce0d6cdd812632f8c43114f62c55ffa0b5", - "typeString": "literal_string \"log(address,address,address,address)\"" - }, - "value": "log(address,address,address,address)" - }, - { - "id": 25376, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25363, - "src": "69012:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25377, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25365, - "src": "69016:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25378, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25367, - "src": "69020:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25379, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25369, - "src": "69024:2:15", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_665bf1345e006aa321c0b6b71bed55ce0d6cdd812632f8c43114f62c55ffa0b5", - "typeString": "literal_string \"log(address,address,address,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 25373, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "68948:3:15", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25374, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "68952:19:15", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "68948:23:15", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 25380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68948:79:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25372, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17345, - "src": "68932:15:15", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 25381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68932:96:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25382, - "nodeType": "ExpressionStatement", - "src": "68932:96:15" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "68856:3:15", - "parameters": { - "id": 25370, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25363, - "mutability": "mutable", - "name": "p0", - "nameLocation": "68868:2:15", - "nodeType": "VariableDeclaration", - "scope": 25384, - "src": "68860:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25362, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68860:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25365, - "mutability": "mutable", - "name": "p1", - "nameLocation": "68880:2:15", - "nodeType": "VariableDeclaration", - "scope": 25384, - "src": "68872:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25364, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68872:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25367, - "mutability": "mutable", - "name": "p2", - "nameLocation": "68892:2:15", - "nodeType": "VariableDeclaration", - "scope": 25384, - "src": "68884:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25366, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68884:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25369, - "mutability": "mutable", - "name": "p3", - "nameLocation": "68904:2:15", - "nodeType": "VariableDeclaration", - "scope": 25384, - "src": "68896:10:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25368, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68896:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "68859:48:15" - }, - "returnParameters": { - "id": 25371, - "nodeType": "ParameterList", - "parameters": [], - "src": "68922:0:15" - }, - "scope": 25385, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "console2", - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 17323, - "nodeType": "StructuredDocumentation", - "src": "66:459:15", - "text": "@dev The original console.sol uses `int` and `uint` for computing function selectors, but it should\n use `int256` and `uint256`. This modified version fixes that. This version is recommended\n over `console.sol` if you don't need compatibility with Hardhat as the logs will show up in\n forge stack traces. If you do need compatibility with Hardhat, you must use `console.sol`.\n Reference: https://github.com/NomicFoundation/hardhat/issues/2178" - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 25385 - ], - "name": "console2", - "nameLocation": "533:8:15", - "scope": 25386, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 15 -} \ No newline at end of file diff --git a/out/test.sol/DSTest.json b/out/test.sol/DSTest.json deleted file mode 100644 index da2c754..0000000 --- a/out/test.sol/DSTest.json +++ /dev/null @@ -1,23857 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "log", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "log_address", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "log_bytes", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "log_bytes32", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "name": "log_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "address", - "name": "val", - "type": "address" - } - ], - "name": "log_named_address", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "val", - "type": "bytes" - } - ], - "name": "log_named_bytes", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "val", - "type": "bytes32" - } - ], - "name": "log_named_bytes32", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256", - "name": "val", - "type": "int256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "decimals", - "type": "uint256" - } - ], - "name": "log_named_decimal_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "val", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "decimals", - "type": "uint256" - } - ], - "name": "log_named_decimal_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256", - "name": "val", - "type": "int256" - } - ], - "name": "log_named_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "val", - "type": "string" - } - ], - "name": "log_named_string", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "val", - "type": "uint256" - } - ], - "name": "log_named_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "log_string", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "log_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "logs", - "type": "event" - }, - { - "inputs": [], - "name": "IS_TEST", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "failed", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x6080806040523461002357600160ff19600054161760005561024090816100298239f35b600080fdfe6080604052600436101561001257600080fd5b6000803560e01c8063ba414fa6146100575763fa7626d41461003357600080fd5b3461005457806003193601126100545760ff60209154166040519015158152f35b80fd5b503461005457806003193601126100545760206100726100b4565b6040519015158152f35b90601f8019910116810190811067ffffffffffffffff82111761009e57604052565b634e487b7160e01b600052604160045260246000fd5b6000805460081c60ff16156100cd575460081c60ff1690565b80737109709ecfa91a80626ff3989d68f67f5b1dd12d803b6100ee57505090565b90915060405160209180838301526519985a5b195960d21b604083015260408252606082019167ffffffffffffffff92818110848211176101f65791828692936040526080840190630667f9d760e41b8252845187855b8281106101de5750509061016f60248787989488950185608482015203600481018452018261007c565b51925af1503d156101d6573d9081116101c25760405190610199601f8201601f191684018361007c565b81523d838383013e5b81818051810103126101be570151908115158203610054575090565b8280fd5b634e487b7160e01b83526041600452602483fd5b5060606101a2565b808801808301516084909101528a9650899101610145565b634e487b7160e01b86526041600452602486fdfea2646970667358221220e8b22d16e514098eeea03e40322d4f33f38fd65fcc44539a8d596c298cf857b564736f6c63430008110033", - "sourceMap": "715:15435:2:-:0;;;;;;;1594:4;715:15435;;1594:4;715:15435;;;1594:4;715:15435;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x6080604052600436101561001257600080fd5b6000803560e01c8063ba414fa6146100575763fa7626d41461003357600080fd5b3461005457806003193601126100545760ff60209154166040519015158152f35b80fd5b503461005457806003193601126100545760206100726100b4565b6040519015158152f35b90601f8019910116810190811067ffffffffffffffff82111761009e57604052565b634e487b7160e01b600052604160045260246000fd5b6000805460081c60ff16156100cd575460081c60ff1690565b80737109709ecfa91a80626ff3989d68f67f5b1dd12d803b6100ee57505090565b90915060405160209180838301526519985a5b195960d21b604083015260408252606082019167ffffffffffffffff92818110848211176101f65791828692936040526080840190630667f9d760e41b8252845187855b8281106101de5750509061016f60248787989488950185608482015203600481018452018261007c565b51925af1503d156101d6573d9081116101c25760405190610199601f8201601f191684018361007c565b81523d838383013e5b81818051810103126101be570151908115158203610054575090565b8280fd5b634e487b7160e01b83526041600452602483fd5b5060606101a2565b808801808301516084909101528a9650899101610145565b634e487b7160e01b86526041600452602486fdfea2646970667358221220e8b22d16e514098eeea03e40322d4f33f38fd65fcc44539a8d596c298cf857b564736f6c63430008110033", - "sourceMap": "715:15435:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;1671:64;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;1819:584;1873:7;715:15435;;;;;;;;;;;;;;;1896:14::o;1869:528::-;1941:25;2939:104;;;1980:374;;2367:19;;;:::o;1980:374::-;715:15435;;;;;2196:43;;;;;;1671:64;;;;715:15435;1671:64;;;715:15435;2196:43;;715:15435;1671:64;;;;;;;;;;;;;;;;;;;715:15435;1671:64;2086:175;;;1671:64;;;;;;;;;;;;;;;;;;;2086:175;1671:64;;;;;;;;;;;;;2086:175;;;;;;;;;:::i;:::-;2047:232;;;;-1:-1:-1;1671:64:2;;;;;;;;;;715:15435;;;1671:64;;;;-1:-1:-1;;1671:64:2;;;715:15435;1671:64;:::i;:::-;;;;;;;;;;;;;;2312:27;;1671:64;;;;2312:27;1671:64;715:15435;;;;1671:64;;;;2297:42;2367:19;:::o;1671:64::-;715:15435;;;1671:64;-1:-1:-1;;;1671:64:2;;;2086:175;1671:64;;;;;;715:15435;1671:64;;;;;;;;;;;;;;;;;-1:-1:-1;1671:64:2;;;;;;-1:-1:-1;;;1671:64:2;;;;;;;", - "linkReferences": {} - }, - "methodIdentifiers": { - "IS_TEST()": "fa7626d4", - "failed()": "ba414fa6" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"log\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"log_address\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"log_bytes\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"log_bytes32\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"name\":\"log_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"val\",\"type\":\"address\"}],\"name\":\"log_named_address\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"val\",\"type\":\"bytes\"}],\"name\":\"log_named_bytes\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"val\",\"type\":\"bytes32\"}],\"name\":\"log_named_bytes32\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"val\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"}],\"name\":\"log_named_decimal_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"}],\"name\":\"log_named_decimal_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"val\",\"type\":\"int256\"}],\"name\":\"log_named_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"val\",\"type\":\"string\"}],\"name\":\"log_named_string\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"log_named_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"log_string\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"log_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"logs\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"IS_TEST\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"failed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/lib/ds-test/src/test.sol\":\"DSTest\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"lib/forge-std/lib/ds-test/src/test.sol\":{\"keccak256\":\"0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5\",\"dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.17+commit.8df45f5f" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string", - "indexed": false - } - ], - "type": "event", - "name": "log", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "log_address", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "log_bytes", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32", - "indexed": false - } - ], - "type": "event", - "name": "log_bytes32", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256", - "indexed": false - } - ], - "type": "event", - "name": "log_int", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "address", - "name": "val", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "log_named_address", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "bytes", - "name": "val", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "log_named_bytes", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "bytes32", - "name": "val", - "type": "bytes32", - "indexed": false - } - ], - "type": "event", - "name": "log_named_bytes32", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "int256", - "name": "val", - "type": "int256", - "indexed": false - }, - { - "internalType": "uint256", - "name": "decimals", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "log_named_decimal_int", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "uint256", - "name": "val", - "type": "uint256", - "indexed": false - }, - { - "internalType": "uint256", - "name": "decimals", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "log_named_decimal_uint", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "int256", - "name": "val", - "type": "int256", - "indexed": false - } - ], - "type": "event", - "name": "log_named_int", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "string", - "name": "val", - "type": "string", - "indexed": false - } - ], - "type": "event", - "name": "log_named_string", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - }, - { - "internalType": "uint256", - "name": "val", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "log_named_uint", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string", - "indexed": false - } - ], - "type": "event", - "name": "log_string", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "log_uint", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "logs", - "anonymous": false - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "IS_TEST", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "failed", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@ensdomains/=node_modules/@ensdomains/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":eth-gas-reporter/=node_modules/eth-gas-reporter/", - ":forge-std/=lib/forge-std/src/", - ":hardhat-deploy/=node_modules/hardhat-deploy/", - ":hardhat/=node_modules/hardhat/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/lib/ds-test/src/test.sol": "DSTest" - }, - "libraries": {}, - "viaIR": true - }, - "sources": { - "lib/forge-std/lib/ds-test/src/test.sol": { - "keccak256": "0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54", - "urls": [ - "bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5", - "dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr" - ], - "license": "GPL-3.0-or-later" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/lib/ds-test/src/test.sol", - "id": 2513, - "exportedSymbols": { - "DSTest": [ - 2512 - ] - }, - "nodeType": "SourceUnit", - "src": "689:15462:2", - "nodes": [ - { - "id": 727, - "nodeType": "PragmaDirective", - "src": "689:24:2", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.5", - ".0" - ] - }, - { - "id": 2512, - "nodeType": "ContractDefinition", - "src": "715:15435:2", - "nodes": [ - { - "id": 731, - "nodeType": "EventDefinition", - "src": "737:38:2", - "nodes": [], - "anonymous": false, - "eventSelector": "41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50", - "name": "log", - "nameLocation": "743:3:2", - "parameters": { - "id": 730, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 729, - "indexed": false, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 731, - "src": "767:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 728, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "767:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "766:8:2" - } - }, - { - "id": 735, - "nodeType": "EventDefinition", - "src": "780:37:2", - "nodes": [], - "anonymous": false, - "eventSelector": "e7950ede0394b9f2ce4a5a1bf5a7e1852411f7e6661b4308c913c4bfd11027e4", - "name": "logs", - "nameLocation": "786:4:2", - "parameters": { - "id": 734, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 733, - "indexed": false, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 735, - "src": "810:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 732, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "810:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "809:7:2" - } - }, - { - "id": 739, - "nodeType": "EventDefinition", - "src": "823:39:2", - "nodes": [], - "anonymous": false, - "eventSelector": "7ae74c527414ae135fd97047b12921a5ec3911b804197855d67e25c7b75ee6f3", - "name": "log_address", - "nameLocation": "829:11:2", - "parameters": { - "id": 738, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 737, - "indexed": false, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 739, - "src": "853:7:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 736, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "853:7:2", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "852:9:2" - } - }, - { - "id": 743, - "nodeType": "EventDefinition", - "src": "867:39:2", - "nodes": [], - "anonymous": false, - "eventSelector": "e81699b85113eea1c73e10588b2b035e55893369632173afd43feb192fac64e3", - "name": "log_bytes32", - "nameLocation": "873:11:2", - "parameters": { - "id": 742, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 741, - "indexed": false, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 743, - "src": "897:7:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 740, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "897:7:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "896:9:2" - } - }, - { - "id": 747, - "nodeType": "EventDefinition", - "src": "911:35:2", - "nodes": [], - "anonymous": false, - "eventSelector": "0eb5d52624c8d28ada9fc55a8c502ed5aa3fbe2fb6e91b71b5f376882b1d2fb8", - "name": "log_int", - "nameLocation": "917:7:2", - "parameters": { - "id": 746, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 745, - "indexed": false, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 747, - "src": "941:3:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 744, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "941:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "940:5:2" - } - }, - { - "id": 751, - "nodeType": "EventDefinition", - "src": "951:36:2", - "nodes": [], - "anonymous": false, - "eventSelector": "2cab9790510fd8bdfbd2115288db33fec66691d476efc5427cfd4c0969301755", - "name": "log_uint", - "nameLocation": "957:8:2", - "parameters": { - "id": 750, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 749, - "indexed": false, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 751, - "src": "981:4:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 748, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "981:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "980:6:2" - } - }, - { - "id": 755, - "nodeType": "EventDefinition", - "src": "992:37:2", - "nodes": [], - "anonymous": false, - "eventSelector": "23b62ad0584d24a75f0bf3560391ef5659ec6db1269c56e11aa241d637f19b20", - "name": "log_bytes", - "nameLocation": "998:9:2", - "parameters": { - "id": 754, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 753, - "indexed": false, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 755, - "src": "1022:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 752, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1022:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1021:7:2" - } - }, - { - "id": 759, - "nodeType": "EventDefinition", - "src": "1034:38:2", - "nodes": [], - "anonymous": false, - "eventSelector": "0b2e13ff20ac7b474198655583edf70dedd2c1dc980e329c4fbb2fc0748b796b", - "name": "log_string", - "nameLocation": "1040:10:2", - "parameters": { - "id": 758, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 757, - "indexed": false, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 759, - "src": "1064:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 756, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1064:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1063:8:2" - } - }, - { - "id": 765, - "nodeType": "EventDefinition", - "src": "1078:55:2", - "nodes": [], - "anonymous": false, - "eventSelector": "9c4e8541ca8f0dc1c413f9108f66d82d3cecb1bddbce437a61caa3175c4cc96f", - "name": "log_named_address", - "nameLocation": "1084:17:2", - "parameters": { - "id": 764, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 761, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "1115:3:2", - "nodeType": "VariableDeclaration", - "scope": 765, - "src": "1108:10:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 760, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1108:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 763, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "1128:3:2", - "nodeType": "VariableDeclaration", - "scope": 765, - "src": "1120:11:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 762, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1120:7:2", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1107:25:2" - } - }, - { - "id": 771, - "nodeType": "EventDefinition", - "src": "1138:55:2", - "nodes": [], - "anonymous": false, - "eventSelector": "afb795c9c61e4fe7468c386f925d7a5429ecad9c0495ddb8d38d690614d32f99", - "name": "log_named_bytes32", - "nameLocation": "1144:17:2", - "parameters": { - "id": 770, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 767, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "1175:3:2", - "nodeType": "VariableDeclaration", - "scope": 771, - "src": "1168:10:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 766, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1168:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 769, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "1188:3:2", - "nodeType": "VariableDeclaration", - "scope": 771, - "src": "1180:11:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 768, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1180:7:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "1167:25:2" - } - }, - { - "id": 779, - "nodeType": "EventDefinition", - "src": "1198:66:2", - "nodes": [], - "anonymous": false, - "eventSelector": "5da6ce9d51151ba10c09a559ef24d520b9dac5c5b8810ae8434e4d0d86411a95", - "name": "log_named_decimal_int", - "nameLocation": "1204:21:2", - "parameters": { - "id": 778, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 773, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "1235:3:2", - "nodeType": "VariableDeclaration", - "scope": 779, - "src": "1228:10:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 772, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1228:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 775, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "1244:3:2", - "nodeType": "VariableDeclaration", - "scope": 779, - "src": "1240:7:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 774, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "1240:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 777, - "indexed": false, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "1254:8:2", - "nodeType": "VariableDeclaration", - "scope": 779, - "src": "1249:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 776, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1249:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1227:36:2" - } - }, - { - "id": 787, - "nodeType": "EventDefinition", - "src": "1269:67:2", - "nodes": [], - "anonymous": false, - "eventSelector": "eb8ba43ced7537421946bd43e828b8b2b8428927aa8f801c13d934bf11aca57b", - "name": "log_named_decimal_uint", - "nameLocation": "1275:22:2", - "parameters": { - "id": 786, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 781, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "1306:3:2", - "nodeType": "VariableDeclaration", - "scope": 787, - "src": "1299:10:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 780, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1299:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 783, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "1316:3:2", - "nodeType": "VariableDeclaration", - "scope": 787, - "src": "1311:8:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 782, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1311:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 785, - "indexed": false, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "1326:8:2", - "nodeType": "VariableDeclaration", - "scope": 787, - "src": "1321:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 784, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1321:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1298:37:2" - } - }, - { - "id": 793, - "nodeType": "EventDefinition", - "src": "1341:51:2", - "nodes": [], - "anonymous": false, - "eventSelector": "2fe632779174374378442a8e978bccfbdcc1d6b2b0d81f7e8eb776ab2286f168", - "name": "log_named_int", - "nameLocation": "1347:13:2", - "parameters": { - "id": 792, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 789, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "1378:3:2", - "nodeType": "VariableDeclaration", - "scope": 793, - "src": "1371:10:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 788, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1371:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 791, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "1387:3:2", - "nodeType": "VariableDeclaration", - "scope": 793, - "src": "1383:7:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 790, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "1383:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "1370:21:2" - } - }, - { - "id": 799, - "nodeType": "EventDefinition", - "src": "1397:52:2", - "nodes": [], - "anonymous": false, - "eventSelector": "b2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a8", - "name": "log_named_uint", - "nameLocation": "1403:14:2", - "parameters": { - "id": 798, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 795, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "1434:3:2", - "nodeType": "VariableDeclaration", - "scope": 799, - "src": "1427:10:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 794, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1427:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 797, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "1444:3:2", - "nodeType": "VariableDeclaration", - "scope": 799, - "src": "1439:8:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 796, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1439:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1426:22:2" - } - }, - { - "id": 805, - "nodeType": "EventDefinition", - "src": "1454:53:2", - "nodes": [], - "anonymous": false, - "eventSelector": "d26e16cad4548705e4c9e2d94f98ee91c289085ee425594fd5635fa2964ccf18", - "name": "log_named_bytes", - "nameLocation": "1460:15:2", - "parameters": { - "id": 804, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 801, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "1491:3:2", - "nodeType": "VariableDeclaration", - "scope": 805, - "src": "1484:10:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 800, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1484:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 803, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "1502:3:2", - "nodeType": "VariableDeclaration", - "scope": 805, - "src": "1496:9:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 802, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1496:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1483:23:2" - } - }, - { - "id": 811, - "nodeType": "EventDefinition", - "src": "1512:54:2", - "nodes": [], - "anonymous": false, - "eventSelector": "280f4446b28a1372417dda658d30b95b2992b12ac9c7f378535f29a97acf3583", - "name": "log_named_string", - "nameLocation": "1518:16:2", - "parameters": { - "id": 810, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 807, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "1549:3:2", - "nodeType": "VariableDeclaration", - "scope": 811, - "src": "1542:10:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 806, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1542:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 809, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "1561:3:2", - "nodeType": "VariableDeclaration", - "scope": 811, - "src": "1554:10:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 808, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1554:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1541:24:2" - } - }, - { - "id": 814, - "nodeType": "VariableDeclaration", - "src": "1572:26:2", - "nodes": [], - "constant": false, - "functionSelector": "fa7626d4", - "mutability": "mutable", - "name": "IS_TEST", - "nameLocation": "1584:7:2", - "scope": 2512, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 812, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1572:4:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": { - "hexValue": "74727565", - "id": 813, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1594:4:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "visibility": "public" - }, - { - "id": 816, - "nodeType": "VariableDeclaration", - "src": "1604:20:2", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "_failed", - "nameLocation": "1617:7:2", - "scope": 2512, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 815, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1604:4:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "private" - }, - { - "id": 833, - "nodeType": "VariableDeclaration", - "src": "1631:104:2", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "HEVM_ADDRESS", - "nameLocation": "1648:12:2", - "scope": 2512, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 817, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1631:7:2", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6865766d20636865617420636f6465", - "id": 827, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1713:17:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - }, - "value": "hevm cheat code" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_885cb69240a935d632d79c317109709ecfa91a80626ff3989d68f67f5b1dd12d", - "typeString": "literal_string \"hevm cheat code\"" - } - ], - "id": 826, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1703:9:2", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 828, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1703:28:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 825, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1695:7:2", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 824, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1695:7:2", - "typeDescriptions": {} - } - }, - "id": 829, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1695:37:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 823, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1687:7:2", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 822, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "1687:7:2", - "typeDescriptions": {} - } - }, - "id": 830, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1687:46:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 821, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1679:7:2", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes20_$", - "typeString": "type(bytes20)" - }, - "typeName": { - "id": 820, - "name": "bytes20", - "nodeType": "ElementaryTypeName", - "src": "1679:7:2", - "typeDescriptions": {} - } - }, - "id": 831, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1679:55:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - ], - "id": 819, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1671:7:2", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 818, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1671:7:2", - "typeDescriptions": {} - } - }, - "id": 832, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1671:64:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "id": 837, - "nodeType": "ModifierDefinition", - "src": "1742:27:2", - "nodes": [], - "body": { - "id": 836, - "nodeType": "Block", - "src": "1763:6:2", - "nodes": [], - "statements": [ - { - "id": 835, - "nodeType": "PlaceholderStatement", - "src": "1765:1:2" - } - ] - }, - "name": "mayRevert", - "nameLocation": "1751:9:2", - "parameters": { - "id": 834, - "nodeType": "ParameterList", - "parameters": [], - "src": "1760:2:2" - }, - "virtual": false, - "visibility": "internal" - }, - { - "id": 843, - "nodeType": "ModifierDefinition", - "src": "1774:39:2", - "nodes": [], - "body": { - "id": 842, - "nodeType": "Block", - "src": "1807:6:2", - "nodes": [], - "statements": [ - { - "id": 841, - "nodeType": "PlaceholderStatement", - "src": "1809:1:2" - } - ] - }, - "name": "testopts", - "nameLocation": "1783:8:2", - "parameters": { - "id": 840, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 839, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 843, - "src": "1792:13:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 838, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1792:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1791:15:2" - }, - "virtual": false, - "visibility": "internal" - }, - { - "id": 898, - "nodeType": "FunctionDefinition", - "src": "1819:584:2", - "nodes": [], - "body": { - "id": 897, - "nodeType": "Block", - "src": "1859:544:2", - "nodes": [], - "statements": [ - { - "condition": { - "id": 848, - "name": "_failed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 816, - "src": "1873:7:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 895, - "nodeType": "Block", - "src": "1927:470:2", - "statements": [ - { - "assignments": [ - 853 - ], - "declarations": [ - { - "constant": false, - "id": 853, - "mutability": "mutable", - "name": "globalFailed", - "nameLocation": "1946:12:2", - "nodeType": "VariableDeclaration", - "scope": 895, - "src": "1941:17:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 852, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1941:4:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "id": 855, - "initialValue": { - "hexValue": "66616c7365", - "id": 854, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1961:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "nodeType": "VariableDeclarationStatement", - "src": "1941:25:2" - }, - { - "condition": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 856, - "name": "hasHEVMContext", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 957, - "src": "1984:14:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 857, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1984:16:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 892, - "nodeType": "IfStatement", - "src": "1980:374:2", - "trueBody": { - "id": 891, - "nodeType": "Block", - "src": "2002:352:2", - "statements": [ - { - "assignments": [ - null, - 859 - ], - "declarations": [ - null, - { - "constant": false, - "id": 859, - "mutability": "mutable", - "name": "retdata", - "nameLocation": "2036:7:2", - "nodeType": "VariableDeclaration", - "scope": 891, - "src": "2023:20:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 858, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2023:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 880, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f616428616464726573732c6279746573333229", - "id": 867, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2145:23:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc4", - "typeString": "literal_string \"load(address,bytes32)\"" - }, - "value": "load(address,bytes32)" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc4", - "typeString": "literal_string \"load(address,bytes32)\"" - } - ], - "id": 866, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2135:9:2", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 868, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2135:34:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 865, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2128:6:2", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": { - "id": 864, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "2128:6:2", - "typeDescriptions": {} - } - }, - "id": 869, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2128:42:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 872, - "name": "HEVM_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 833, - "src": "2207:12:2", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "6661696c6564", - "id": 875, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2229:8:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8f44d68b1a26169d304522fa2f95aa938d98120d628d1db5726120ca84e53b43", - "typeString": "literal_string \"failed\"" - }, - "value": "failed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8f44d68b1a26169d304522fa2f95aa938d98120d628d1db5726120ca84e53b43", - "typeString": "literal_string \"failed\"" - } - ], - "id": 874, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2221:7:2", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 873, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2221:7:2", - "typeDescriptions": {} - } - }, - "id": 876, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2221:17:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 870, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2196:3:2", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 871, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2200:6:2", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2196:10:2", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 877, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2196:43:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 862, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2086:3:2", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2090:12:2", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "2086:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 878, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2086:175:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 860, - "name": "HEVM_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 833, - "src": "2047:12:2", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 861, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2060:4:2", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "2047:17:2", - "typeDescriptions": { - "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) payable returns (bool,bytes memory)" - } - }, - "id": 879, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2047:232:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2020:259:2" - }, - { - "expression": { - "id": 889, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 881, - "name": "globalFailed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 853, - "src": "2297:12:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 884, - "name": "retdata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 859, - "src": "2323:7:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 886, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2333:4:2", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bool_$", - "typeString": "type(bool)" - }, - "typeName": { - "id": 885, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2333:4:2", - "typeDescriptions": {} - } - } - ], - "id": 887, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2332:6:2", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bool_$", - "typeString": "type(bool)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bool_$", - "typeString": "type(bool)" - } - ], - "expression": { - "id": 882, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2312:3:2", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 883, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2316:6:2", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "2312:10:2", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 888, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2312:27:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2297:42:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 890, - "nodeType": "ExpressionStatement", - "src": "2297:42:2" - } - ] - } - }, - { - "expression": { - "id": 893, - "name": "globalFailed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 853, - "src": "2374:12:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 847, - "id": 894, - "nodeType": "Return", - "src": "2367:19:2" - } - ] - }, - "id": 896, - "nodeType": "IfStatement", - "src": "1869:528:2", - "trueBody": { - "id": 851, - "nodeType": "Block", - "src": "1882:39:2", - "statements": [ - { - "expression": { - "id": 849, - "name": "_failed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 816, - "src": "1903:7:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 847, - "id": 850, - "nodeType": "Return", - "src": "1896:14:2" - } - ] - } - } - ] - }, - "functionSelector": "ba414fa6", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "failed", - "nameLocation": "1828:6:2", - "parameters": { - "id": 844, - "nodeType": "ParameterList", - "parameters": [], - "src": "1834:2:2" - }, - "returnParameters": { - "id": 847, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 846, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 898, - "src": "1853:4:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 845, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1853:4:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "1852:6:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 942, - "nodeType": "FunctionDefinition", - "src": "2410:424:2", - "nodes": [], - "body": { - "id": 941, - "nodeType": "Block", - "src": "2435:399:2", - "nodes": [], - "statements": [ - { - "condition": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 901, - "name": "hasHEVMContext", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 957, - "src": "2449:14:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 902, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2449:16:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 936, - "nodeType": "IfStatement", - "src": "2445:359:2", - "trueBody": { - "id": 935, - "nodeType": "Block", - "src": "2467:337:2", - "statements": [ - { - "assignments": [ - 904, - null - ], - "declarations": [ - { - "constant": false, - "id": 904, - "mutability": "mutable", - "name": "status", - "nameLocation": "2487:6:2", - "nodeType": "VariableDeclaration", - "scope": 935, - "src": "2482:11:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 903, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2482:4:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - null - ], - "id": 932, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "73746f726528616464726573732c627974657333322c6279746573333229", - "id": 912, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2589:32:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70ca10bbd0dbfd9020a9f4b13402c16cb120705e0d1c0aeab10fa353ae586fc4", - "typeString": "literal_string \"store(address,bytes32,bytes32)\"" - }, - "value": "store(address,bytes32,bytes32)" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_70ca10bbd0dbfd9020a9f4b13402c16cb120705e0d1c0aeab10fa353ae586fc4", - "typeString": "literal_string \"store(address,bytes32,bytes32)\"" - } - ], - "id": 911, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2579:9:2", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 913, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2579:43:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 910, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2572:6:2", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": { - "id": 909, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "2572:6:2", - "typeDescriptions": {} - } - }, - "id": 914, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2572:51:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 917, - "name": "HEVM_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 833, - "src": "2656:12:2", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "6661696c6564", - "id": 920, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2678:8:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8f44d68b1a26169d304522fa2f95aa938d98120d628d1db5726120ca84e53b43", - "typeString": "literal_string \"failed\"" - }, - "value": "failed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8f44d68b1a26169d304522fa2f95aa938d98120d628d1db5726120ca84e53b43", - "typeString": "literal_string \"failed\"" - } - ], - "id": 919, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2670:7:2", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 918, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2670:7:2", - "typeDescriptions": {} - } - }, - "id": 921, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2670:17:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30783031", - "id": 926, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2705:4:2", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "0x01" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 925, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2697:7:2", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 924, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2697:7:2", - "typeDescriptions": {} - } - }, - "id": 927, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2697:13:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 923, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2689:7:2", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 922, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2689:7:2", - "typeDescriptions": {} - } - }, - "id": 928, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2689:22:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 915, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2645:3:2", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 916, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2649:6:2", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2645:10:2", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 929, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2645:67:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 907, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2534:3:2", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 908, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2538:12:2", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "2534:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 930, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2534:196:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 905, - "name": "HEVM_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 833, - "src": "2499:12:2", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 906, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2512:4:2", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "2499:17:2", - "typeDescriptions": { - "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) payable returns (bool,bytes memory)" - } - }, - "id": 931, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2499:245:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2481:263:2" - }, - { - "expression": { - "id": 933, - "name": "status", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 904, - "src": "2758:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 934, - "nodeType": "ExpressionStatement", - "src": "2758:6:2" - } - ] - } - }, - { - "expression": { - "id": 939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 937, - "name": "_failed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 816, - "src": "2813:7:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "74727565", - "id": 938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2823:4:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "2813:14:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 940, - "nodeType": "ExpressionStatement", - "src": "2813:14:2" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fail", - "nameLocation": "2419:4:2", - "parameters": { - "id": 899, - "nodeType": "ParameterList", - "parameters": [], - "src": "2423:2:2" - }, - "returnParameters": { - "id": 900, - "nodeType": "ParameterList", - "parameters": [], - "src": "2435:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 957, - "nodeType": "FunctionDefinition", - "src": "2840:242:2", - "nodes": [], - "body": { - "id": 956, - "nodeType": "Block", - "src": "2895:187:2", - "nodes": [], - "statements": [ - { - "assignments": [ - 948 - ], - "declarations": [ - { - "constant": false, - "id": 948, - "mutability": "mutable", - "name": "hevmCodeSize", - "nameLocation": "2913:12:2", - "nodeType": "VariableDeclaration", - "scope": 956, - "src": "2905:20:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 947, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2905:7:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 950, - "initialValue": { - "hexValue": "30", - "id": 949, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2928:1:2", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2905:24:2" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "2948:95:2", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "2962:71:2", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2990:42:2", - "type": "", - "value": "0x7109709ECfa91a80626fF3989D68f67F5b1DD12D" - } - ], - "functionName": { - "name": "extcodesize", - "nodeType": "YulIdentifier", - "src": "2978:11:2" - }, - "nodeType": "YulFunctionCall", - "src": "2978:55:2" - }, - "variableNames": [ - { - "name": "hevmCodeSize", - "nodeType": "YulIdentifier", - "src": "2962:12:2" - } - ] - } - ] - }, - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 948, - "isOffset": false, - "isSlot": false, - "src": "2962:12:2", - "valueSize": 1 - } - ], - "id": 951, - "nodeType": "InlineAssembly", - "src": "2939:104:2" - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 952, - "name": "hevmCodeSize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 948, - "src": "3059:12:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 953, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3074:1:2", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "3059:16:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 946, - "id": 955, - "nodeType": "Return", - "src": "3052:23:2" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hasHEVMContext", - "nameLocation": "2849:14:2", - "parameters": { - "id": 943, - "nodeType": "ParameterList", - "parameters": [], - "src": "2863:2:2" - }, - "returnParameters": { - "id": 946, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 945, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 957, - "src": "2889:4:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 944, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2889:4:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "2888:6:2" - }, - "scope": 2512, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 978, - "nodeType": "ModifierDefinition", - "src": "3088:161:2", - "nodes": [], - "body": { - "id": 977, - "nodeType": "Block", - "src": "3108:141:2", - "nodes": [], - "statements": [ - { - "assignments": [ - 960 - ], - "declarations": [ - { - "constant": false, - "id": 960, - "mutability": "mutable", - "name": "startGas", - "nameLocation": "3123:8:2", - "nodeType": "VariableDeclaration", - "scope": 977, - "src": "3118:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 959, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3118:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 963, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 961, - "name": "gasleft", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -7, - "src": "3134:7:2", - "typeDescriptions": { - "typeIdentifier": "t_function_gasleft_view$__$returns$_t_uint256_$", - "typeString": "function () view returns (uint256)" - } - }, - "id": 962, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3134:9:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3118:25:2" - }, - { - "id": 964, - "nodeType": "PlaceholderStatement", - "src": "3153:1:2" - }, - { - "assignments": [ - 966 - ], - "declarations": [ - { - "constant": false, - "id": 966, - "mutability": "mutable", - "name": "endGas", - "nameLocation": "3169:6:2", - "nodeType": "VariableDeclaration", - "scope": 977, - "src": "3164:11:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 965, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3164:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 969, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 967, - "name": "gasleft", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -7, - "src": "3178:7:2", - "typeDescriptions": { - "typeIdentifier": "t_function_gasleft_view$__$returns$_t_uint256_$", - "typeString": "function () view returns (uint256)" - } - }, - "id": 968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3178:9:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3164:23:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "676173", - "id": 971, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3217:5:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4498c2139ad6cf2beef3ae7bec34c4856d471c8680dfd28d553f117df74df6b7", - "typeString": "literal_string \"gas\"" - }, - "value": "gas" - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 974, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 972, - "name": "startGas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 960, - "src": "3224:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 973, - "name": "endGas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 966, - "src": "3235:6:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3224:17:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4498c2139ad6cf2beef3ae7bec34c4856d471c8680dfd28d553f117df74df6b7", - "typeString": "literal_string \"gas\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 970, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "3202:14:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3202:40:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 976, - "nodeType": "EmitStatement", - "src": "3197:45:2" - } - ] - }, - "name": "logs_gas", - "nameLocation": "3097:8:2", - "parameters": { - "id": 958, - "nodeType": "ParameterList", - "parameters": [], - "src": "3105:2:2" - }, - "virtual": false, - "visibility": "internal" - }, - { - "id": 995, - "nodeType": "FunctionDefinition", - "src": "3255:157:2", - "nodes": [], - "body": { - "id": 994, - "nodeType": "Block", - "src": "3300:112:2", - "nodes": [], - "statements": [ - { - "condition": { - "id": 984, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "3314:10:2", - "subExpression": { - "id": 983, - "name": "condition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 980, - "src": "3315:9:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 993, - "nodeType": "IfStatement", - "src": "3310:96:2", - "trueBody": { - "id": 992, - "nodeType": "Block", - "src": "3326:80:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a20417373657274696f6e204661696c6564", - "id": 986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3349:25:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cc8bd7d7034d6f139e4d0b1fc61bcb3025672e801833991d94fa7390aceb1687", - "typeString": "literal_string \"Error: Assertion Failed\"" - }, - "value": "Error: Assertion Failed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cc8bd7d7034d6f139e4d0b1fc61bcb3025672e801833991d94fa7390aceb1687", - "typeString": "literal_string \"Error: Assertion Failed\"" - } - ], - "id": 985, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "3345:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3345:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 988, - "nodeType": "EmitStatement", - "src": "3340:35:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 989, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "3389:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3389:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 991, - "nodeType": "ExpressionStatement", - "src": "3389:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertTrue", - "nameLocation": "3264:10:2", - "parameters": { - "id": 981, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 980, - "mutability": "mutable", - "name": "condition", - "nameLocation": "3280:9:2", - "nodeType": "VariableDeclaration", - "scope": 995, - "src": "3275:14:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 979, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3275:4:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "3274:16:2" - }, - "returnParameters": { - "id": 982, - "nodeType": "ParameterList", - "parameters": [], - "src": "3300:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1016, - "nodeType": "FunctionDefinition", - "src": "3418:191:2", - "nodes": [], - "body": { - "id": 1015, - "nodeType": "Block", - "src": "3482:127:2", - "nodes": [], - "statements": [ - { - "condition": { - "id": 1003, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "3496:10:2", - "subExpression": { - "id": 1002, - "name": "condition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 997, - "src": "3497:9:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1014, - "nodeType": "IfStatement", - "src": "3492:111:2", - "trueBody": { - "id": 1013, - "nodeType": "Block", - "src": "3508:95:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1005, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3544:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1006, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 999, - "src": "3553:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1004, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "3527:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3527:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1008, - "nodeType": "EmitStatement", - "src": "3522:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 1010, - "name": "condition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 997, - "src": "3582:9:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 1009, - "name": "assertTrue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 995, - 1016 - ], - "referencedDeclaration": 995, - "src": "3571:10:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bool_$returns$__$", - "typeString": "function (bool)" - } - }, - "id": 1011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3571:21:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1012, - "nodeType": "ExpressionStatement", - "src": "3571:21:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertTrue", - "nameLocation": "3427:10:2", - "parameters": { - "id": 1000, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 997, - "mutability": "mutable", - "name": "condition", - "nameLocation": "3443:9:2", - "nodeType": "VariableDeclaration", - "scope": 1016, - "src": "3438:14:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 996, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3438:4:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 999, - "mutability": "mutable", - "name": "err", - "nameLocation": "3468:3:2", - "nodeType": "VariableDeclaration", - "scope": 1016, - "src": "3454:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 998, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3454:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3437:35:2" - }, - "returnParameters": { - "id": 1001, - "nodeType": "ParameterList", - "parameters": [], - "src": "3482:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1046, - "nodeType": "FunctionDefinition", - "src": "3615:277:2", - "nodes": [], - "body": { - "id": 1045, - "nodeType": "Block", - "src": "3664:228:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 1025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1023, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1018, - "src": "3678:1:2", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 1024, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1020, - "src": "3683:1:2", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3678:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1044, - "nodeType": "IfStatement", - "src": "3674:212:2", - "trueBody": { - "id": 1043, - "nodeType": "Block", - "src": "3686:200:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b616464726573735d", - "id": 1027, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3709:39:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9fc6ddd126630392f6812bf6b1418b5ec062ae84acc54ee474317255c7d57017", - "typeString": "literal_string \"Error: a == b not satisfied [address]\"" - }, - "value": "Error: a == b not satisfied [address]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9fc6ddd126630392f6812bf6b1418b5ec062ae84acc54ee474317255c7d57017", - "typeString": "literal_string \"Error: a == b not satisfied [address]\"" - } - ], - "id": 1026, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "3705:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3705:44:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1029, - "nodeType": "EmitStatement", - "src": "3700:49:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 1031, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3786:12:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 1032, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1020, - "src": "3800:1:2", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 1030, - "name": "log_named_address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 765, - "src": "3768:17:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_address_$returns$__$", - "typeString": "function (string memory,address)" - } - }, - "id": 1033, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3768:34:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1034, - "nodeType": "EmitStatement", - "src": "3763:39:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 1036, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3839:12:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 1037, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1018, - "src": "3853:1:2", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 1035, - "name": "log_named_address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 765, - "src": "3821:17:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_address_$returns$__$", - "typeString": "function (string memory,address)" - } - }, - "id": 1038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3821:34:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1039, - "nodeType": "EmitStatement", - "src": "3816:39:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1040, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "3869:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1041, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3869:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1042, - "nodeType": "ExpressionStatement", - "src": "3869:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "3624:8:2", - "parameters": { - "id": 1021, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1018, - "mutability": "mutable", - "name": "a", - "nameLocation": "3641:1:2", - "nodeType": "VariableDeclaration", - "scope": 1046, - "src": "3633:9:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1017, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3633:7:2", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1020, - "mutability": "mutable", - "name": "b", - "nameLocation": "3652:1:2", - "nodeType": "VariableDeclaration", - "scope": 1046, - "src": "3644:9:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1019, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3644:7:2", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3632:22:2" - }, - "returnParameters": { - "id": 1022, - "nodeType": "ParameterList", - "parameters": [], - "src": "3664:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1071, - "nodeType": "FunctionDefinition", - "src": "3897:185:2", - "nodes": [], - "body": { - "id": 1070, - "nodeType": "Block", - "src": "3965:117:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 1057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1055, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1048, - "src": "3979:1:2", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 1056, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1050, - "src": "3984:1:2", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3979:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1069, - "nodeType": "IfStatement", - "src": "3975:101:2", - "trueBody": { - "id": 1068, - "nodeType": "Block", - "src": "3987:89:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1059, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4024:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1060, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1052, - "src": "4033:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1058, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "4006:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4006:31:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1062, - "nodeType": "EmitStatement", - "src": "4001:36:2" - }, - { - "expression": { - "arguments": [ - { - "id": 1064, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1048, - "src": "4060:1:2", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 1065, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1050, - "src": "4063:1:2", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 1063, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1046, - 1071, - 1101, - 1126, - 1185, - 1210, - 1240, - 1265, - 2365, - 2400 - ], - "referencedDeclaration": 1046, - "src": "4051:8:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address)" - } - }, - "id": 1066, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4051:14:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1067, - "nodeType": "ExpressionStatement", - "src": "4051:14:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "3906:8:2", - "parameters": { - "id": 1053, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1048, - "mutability": "mutable", - "name": "a", - "nameLocation": "3923:1:2", - "nodeType": "VariableDeclaration", - "scope": 1071, - "src": "3915:9:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1047, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3915:7:2", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1050, - "mutability": "mutable", - "name": "b", - "nameLocation": "3934:1:2", - "nodeType": "VariableDeclaration", - "scope": 1071, - "src": "3926:9:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1049, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3926:7:2", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1052, - "mutability": "mutable", - "name": "err", - "nameLocation": "3951:3:2", - "nodeType": "VariableDeclaration", - "scope": 1071, - "src": "3937:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1051, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3937:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3914:41:2" - }, - "returnParameters": { - "id": 1054, - "nodeType": "ParameterList", - "parameters": [], - "src": "3965:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1101, - "nodeType": "FunctionDefinition", - "src": "4088:277:2", - "nodes": [], - "body": { - "id": 1100, - "nodeType": "Block", - "src": "4137:228:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 1080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1078, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1073, - "src": "4151:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 1079, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1075, - "src": "4156:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "4151:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1099, - "nodeType": "IfStatement", - "src": "4147:212:2", - "trueBody": { - "id": 1098, - "nodeType": "Block", - "src": "4159:200:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b627974657333325d", - "id": 1082, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4182:39:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6605dedc99dd4e0a76d4678a99cc6956499fe2b523ca6525b248ca3582cef3ef", - "typeString": "literal_string \"Error: a == b not satisfied [bytes32]\"" - }, - "value": "Error: a == b not satisfied [bytes32]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6605dedc99dd4e0a76d4678a99cc6956499fe2b523ca6525b248ca3582cef3ef", - "typeString": "literal_string \"Error: a == b not satisfied [bytes32]\"" - } - ], - "id": 1081, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "4178:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1083, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4178:44:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1084, - "nodeType": "EmitStatement", - "src": "4173:49:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 1086, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4259:12:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 1087, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1075, - "src": "4273:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 1085, - "name": "log_named_bytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 771, - "src": "4241:17:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (string memory,bytes32)" - } - }, - "id": 1088, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4241:34:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1089, - "nodeType": "EmitStatement", - "src": "4236:39:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 1091, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4312:12:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 1092, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1073, - "src": "4326:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 1090, - "name": "log_named_bytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 771, - "src": "4294:17:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (string memory,bytes32)" - } - }, - "id": 1093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4294:34:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1094, - "nodeType": "EmitStatement", - "src": "4289:39:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1095, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "4342:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1096, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4342:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1097, - "nodeType": "ExpressionStatement", - "src": "4342:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "4097:8:2", - "parameters": { - "id": 1076, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1073, - "mutability": "mutable", - "name": "a", - "nameLocation": "4114:1:2", - "nodeType": "VariableDeclaration", - "scope": 1101, - "src": "4106:9:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1072, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4106:7:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1075, - "mutability": "mutable", - "name": "b", - "nameLocation": "4125:1:2", - "nodeType": "VariableDeclaration", - "scope": 1101, - "src": "4117:9:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1074, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4117:7:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "4105:22:2" - }, - "returnParameters": { - "id": 1077, - "nodeType": "ParameterList", - "parameters": [], - "src": "4137:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1126, - "nodeType": "FunctionDefinition", - "src": "4370:185:2", - "nodes": [], - "body": { - "id": 1125, - "nodeType": "Block", - "src": "4438:117:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 1112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1110, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1103, - "src": "4452:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 1111, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1105, - "src": "4457:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "4452:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1124, - "nodeType": "IfStatement", - "src": "4448:101:2", - "trueBody": { - "id": 1123, - "nodeType": "Block", - "src": "4460:89:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1114, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4497:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1115, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1107, - "src": "4506:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1113, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "4479:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4479:31:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1117, - "nodeType": "EmitStatement", - "src": "4474:36:2" - }, - { - "expression": { - "arguments": [ - { - "id": 1119, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1103, - "src": "4533:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 1120, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1105, - "src": "4536:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 1118, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1046, - 1071, - 1101, - 1126, - 1185, - 1210, - 1240, - 1265, - 2365, - 2400 - ], - "referencedDeclaration": 1101, - "src": "4524:8:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 1121, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4524:14:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1122, - "nodeType": "ExpressionStatement", - "src": "4524:14:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "4379:8:2", - "parameters": { - "id": 1108, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1103, - "mutability": "mutable", - "name": "a", - "nameLocation": "4396:1:2", - "nodeType": "VariableDeclaration", - "scope": 1126, - "src": "4388:9:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1102, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4388:7:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1105, - "mutability": "mutable", - "name": "b", - "nameLocation": "4407:1:2", - "nodeType": "VariableDeclaration", - "scope": 1126, - "src": "4399:9:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1104, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4399:7:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1107, - "mutability": "mutable", - "name": "err", - "nameLocation": "4424:3:2", - "nodeType": "VariableDeclaration", - "scope": 1126, - "src": "4410:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1106, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4410:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4387:41:2" - }, - "returnParameters": { - "id": 1109, - "nodeType": "ParameterList", - "parameters": [], - "src": "4438:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1139, - "nodeType": "FunctionDefinition", - "src": "4560:82:2", - "nodes": [], - "body": { - "id": 1138, - "nodeType": "Block", - "src": "4611:31:2", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 1134, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1128, - "src": "4630:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 1135, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1130, - "src": "4633:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 1133, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1046, - 1071, - 1101, - 1126, - 1185, - 1210, - 1240, - 1265, - 2365, - 2400 - ], - "referencedDeclaration": 1101, - "src": "4621:8:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 1136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4621:14:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1137, - "nodeType": "ExpressionStatement", - "src": "4621:14:2" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq32", - "nameLocation": "4569:10:2", - "parameters": { - "id": 1131, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1128, - "mutability": "mutable", - "name": "a", - "nameLocation": "4588:1:2", - "nodeType": "VariableDeclaration", - "scope": 1139, - "src": "4580:9:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1127, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4580:7:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1130, - "mutability": "mutable", - "name": "b", - "nameLocation": "4599:1:2", - "nodeType": "VariableDeclaration", - "scope": 1139, - "src": "4591:9:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1129, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4591:7:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "4579:22:2" - }, - "returnParameters": { - "id": 1132, - "nodeType": "ParameterList", - "parameters": [], - "src": "4611:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1155, - "nodeType": "FunctionDefinition", - "src": "4647:106:2", - "nodes": [], - "body": { - "id": 1154, - "nodeType": "Block", - "src": "4717:36:2", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 1149, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1141, - "src": "4736:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 1150, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1143, - "src": "4739:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 1151, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1145, - "src": "4742:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1148, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1046, - 1071, - 1101, - 1126, - 1185, - 1210, - 1240, - 1265, - 2365, - 2400 - ], - "referencedDeclaration": 1126, - "src": "4727:8:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bytes32,bytes32,string memory)" - } - }, - "id": 1152, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4727:19:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1153, - "nodeType": "ExpressionStatement", - "src": "4727:19:2" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq32", - "nameLocation": "4656:10:2", - "parameters": { - "id": 1146, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1141, - "mutability": "mutable", - "name": "a", - "nameLocation": "4675:1:2", - "nodeType": "VariableDeclaration", - "scope": 1155, - "src": "4667:9:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1140, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4667:7:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1143, - "mutability": "mutable", - "name": "b", - "nameLocation": "4686:1:2", - "nodeType": "VariableDeclaration", - "scope": 1155, - "src": "4678:9:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1142, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4678:7:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1145, - "mutability": "mutable", - "name": "err", - "nameLocation": "4703:3:2", - "nodeType": "VariableDeclaration", - "scope": 1155, - "src": "4689:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1144, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4689:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4666:41:2" - }, - "returnParameters": { - "id": 1147, - "nodeType": "ParameterList", - "parameters": [], - "src": "4717:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1185, - "nodeType": "FunctionDefinition", - "src": "4759:257:2", - "nodes": [], - "body": { - "id": 1184, - "nodeType": "Block", - "src": "4800:216:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1164, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1162, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1157, - "src": "4814:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 1163, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "4819:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "4814:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1183, - "nodeType": "IfStatement", - "src": "4810:200:2", - "trueBody": { - "id": 1182, - "nodeType": "Block", - "src": "4822:188:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b696e745d", - "id": 1166, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4845:35:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c510d1b16a7b86013fe25431f855bed96290957b4566f7ab53d5bf1855a3a81", - "typeString": "literal_string \"Error: a == b not satisfied [int]\"" - }, - "value": "Error: a == b not satisfied [int]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0c510d1b16a7b86013fe25431f855bed96290957b4566f7ab53d5bf1855a3a81", - "typeString": "literal_string \"Error: a == b not satisfied [int]\"" - } - ], - "id": 1165, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "4841:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1167, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4841:40:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1168, - "nodeType": "EmitStatement", - "src": "4836:45:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 1170, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4914:12:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 1171, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "4928:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1169, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 793, - "src": "4900:13:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 1172, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4900:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1173, - "nodeType": "EmitStatement", - "src": "4895:35:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 1175, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4963:12:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 1176, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1157, - "src": "4977:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1174, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 793, - "src": "4949:13:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 1177, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4949:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1178, - "nodeType": "EmitStatement", - "src": "4944:35:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1179, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "4993:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1180, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4993:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1181, - "nodeType": "ExpressionStatement", - "src": "4993:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "4768:8:2", - "parameters": { - "id": 1160, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1157, - "mutability": "mutable", - "name": "a", - "nameLocation": "4781:1:2", - "nodeType": "VariableDeclaration", - "scope": 1185, - "src": "4777:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1156, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "4777:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1159, - "mutability": "mutable", - "name": "b", - "nameLocation": "4788:1:2", - "nodeType": "VariableDeclaration", - "scope": 1185, - "src": "4784:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1158, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "4784:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "4776:14:2" - }, - "returnParameters": { - "id": 1161, - "nodeType": "ParameterList", - "parameters": [], - "src": "4800:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1210, - "nodeType": "FunctionDefinition", - "src": "5021:176:2", - "nodes": [], - "body": { - "id": 1209, - "nodeType": "Block", - "src": "5081:116:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1196, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1194, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1187, - "src": "5095:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 1195, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1189, - "src": "5100:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "5095:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1208, - "nodeType": "IfStatement", - "src": "5091:100:2", - "trueBody": { - "id": 1207, - "nodeType": "Block", - "src": "5103:88:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1198, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5139:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1199, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1191, - "src": "5148:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1197, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "5122:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5122:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1201, - "nodeType": "EmitStatement", - "src": "5117:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 1203, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1187, - "src": "5175:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1204, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1189, - "src": "5178:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1202, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1046, - 1071, - 1101, - 1126, - 1185, - 1210, - 1240, - 1265, - 2365, - 2400 - ], - "referencedDeclaration": 1185, - "src": "5166:8:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 1205, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5166:14:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1206, - "nodeType": "ExpressionStatement", - "src": "5166:14:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "5030:8:2", - "parameters": { - "id": 1192, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1187, - "mutability": "mutable", - "name": "a", - "nameLocation": "5043:1:2", - "nodeType": "VariableDeclaration", - "scope": 1210, - "src": "5039:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1186, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "5039:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1189, - "mutability": "mutable", - "name": "b", - "nameLocation": "5050:1:2", - "nodeType": "VariableDeclaration", - "scope": 1210, - "src": "5046:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1188, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "5046:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1191, - "mutability": "mutable", - "name": "err", - "nameLocation": "5067:3:2", - "nodeType": "VariableDeclaration", - "scope": 1210, - "src": "5053:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1190, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5053:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5038:33:2" - }, - "returnParameters": { - "id": 1193, - "nodeType": "ParameterList", - "parameters": [], - "src": "5081:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1240, - "nodeType": "FunctionDefinition", - "src": "5202:262:2", - "nodes": [], - "body": { - "id": 1239, - "nodeType": "Block", - "src": "5245:219:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1217, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1212, - "src": "5259:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 1218, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1214, - "src": "5264:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5259:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1238, - "nodeType": "IfStatement", - "src": "5255:203:2", - "trueBody": { - "id": 1237, - "nodeType": "Block", - "src": "5267:191:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e745d", - "id": 1221, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5290:36:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3bb05d3ba160a011999668447ff4a7cdd52bf87aeb1d7b9b284ef23b37a2b183", - "typeString": "literal_string \"Error: a == b not satisfied [uint]\"" - }, - "value": "Error: a == b not satisfied [uint]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3bb05d3ba160a011999668447ff4a7cdd52bf87aeb1d7b9b284ef23b37a2b183", - "typeString": "literal_string \"Error: a == b not satisfied [uint]\"" - } - ], - "id": 1220, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "5286:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5286:41:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1223, - "nodeType": "EmitStatement", - "src": "5281:46:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 1225, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5361:12:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 1226, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1214, - "src": "5375:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1224, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "5346:14:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 1227, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5346:31:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1228, - "nodeType": "EmitStatement", - "src": "5341:36:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 1230, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5411:12:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 1231, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1212, - "src": "5425:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1229, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "5396:14:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 1232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5396:31:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1233, - "nodeType": "EmitStatement", - "src": "5391:36:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1234, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "5441:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1235, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5441:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1236, - "nodeType": "ExpressionStatement", - "src": "5441:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "5211:8:2", - "parameters": { - "id": 1215, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1212, - "mutability": "mutable", - "name": "a", - "nameLocation": "5225:1:2", - "nodeType": "VariableDeclaration", - "scope": 1240, - "src": "5220:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1211, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5220:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1214, - "mutability": "mutable", - "name": "b", - "nameLocation": "5233:1:2", - "nodeType": "VariableDeclaration", - "scope": 1240, - "src": "5228:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1213, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5228:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5219:16:2" - }, - "returnParameters": { - "id": 1216, - "nodeType": "ParameterList", - "parameters": [], - "src": "5245:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1265, - "nodeType": "FunctionDefinition", - "src": "5469:178:2", - "nodes": [], - "body": { - "id": 1264, - "nodeType": "Block", - "src": "5531:116:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1251, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1249, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1242, - "src": "5545:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 1250, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1244, - "src": "5550:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5545:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1263, - "nodeType": "IfStatement", - "src": "5541:100:2", - "trueBody": { - "id": 1262, - "nodeType": "Block", - "src": "5553:88:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1253, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5589:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1254, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1246, - "src": "5598:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1252, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "5572:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5572:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1256, - "nodeType": "EmitStatement", - "src": "5567:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 1258, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1242, - "src": "5625:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1259, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1244, - "src": "5628:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1257, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1046, - 1071, - 1101, - 1126, - 1185, - 1210, - 1240, - 1265, - 2365, - 2400 - ], - "referencedDeclaration": 1240, - "src": "5616:8:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 1260, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5616:14:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1261, - "nodeType": "ExpressionStatement", - "src": "5616:14:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "5478:8:2", - "parameters": { - "id": 1247, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1242, - "mutability": "mutable", - "name": "a", - "nameLocation": "5492:1:2", - "nodeType": "VariableDeclaration", - "scope": 1265, - "src": "5487:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1241, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5487:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1244, - "mutability": "mutable", - "name": "b", - "nameLocation": "5500:1:2", - "nodeType": "VariableDeclaration", - "scope": 1265, - "src": "5495:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1243, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5495:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1246, - "mutability": "mutable", - "name": "err", - "nameLocation": "5517:3:2", - "nodeType": "VariableDeclaration", - "scope": 1265, - "src": "5503:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1245, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5503:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5486:35:2" - }, - "returnParameters": { - "id": 1248, - "nodeType": "ParameterList", - "parameters": [], - "src": "5531:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1299, - "nodeType": "FunctionDefinition", - "src": "5652:323:2", - "nodes": [], - "body": { - "id": 1298, - "nodeType": "Block", - "src": "5715:260:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1276, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1274, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1267, - "src": "5729:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 1275, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1269, - "src": "5734:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "5729:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1297, - "nodeType": "IfStatement", - "src": "5725:244:2", - "trueBody": { - "id": 1296, - "nodeType": "Block", - "src": "5737:232:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b646563696d616c20696e745d", - "id": 1278, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5760:43:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3ee6ef9b326324a79dedc7af5585ef9f689364368b4e76dd3a37559719a19fe6", - "typeString": "literal_string \"Error: a == b not satisfied [decimal int]\"" - }, - "value": "Error: a == b not satisfied [decimal int]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3ee6ef9b326324a79dedc7af5585ef9f689364368b4e76dd3a37559719a19fe6", - "typeString": "literal_string \"Error: a == b not satisfied [decimal int]\"" - } - ], - "id": 1277, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "5756:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1279, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5756:48:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1280, - "nodeType": "EmitStatement", - "src": "5751:53:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 1282, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5845:12:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 1283, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1269, - "src": "5859:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1284, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1271, - "src": "5862:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1281, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 779, - "src": "5823:21:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,int256,uint256)" - } - }, - "id": 1285, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5823:48:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1286, - "nodeType": "EmitStatement", - "src": "5818:53:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 1288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5912:12:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 1289, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1267, - "src": "5926:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1290, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1271, - "src": "5929:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1287, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 779, - "src": "5890:21:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,int256,uint256)" - } - }, - "id": 1291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5890:48:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1292, - "nodeType": "EmitStatement", - "src": "5885:53:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1293, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "5952:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1294, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5952:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1295, - "nodeType": "ExpressionStatement", - "src": "5952:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEqDecimal", - "nameLocation": "5661:15:2", - "parameters": { - "id": 1272, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1267, - "mutability": "mutable", - "name": "a", - "nameLocation": "5681:1:2", - "nodeType": "VariableDeclaration", - "scope": 1299, - "src": "5677:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1266, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "5677:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1269, - "mutability": "mutable", - "name": "b", - "nameLocation": "5688:1:2", - "nodeType": "VariableDeclaration", - "scope": 1299, - "src": "5684:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1268, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "5684:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1271, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "5696:8:2", - "nodeType": "VariableDeclaration", - "scope": 1299, - "src": "5691:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1270, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5691:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5676:29:2" - }, - "returnParameters": { - "id": 1273, - "nodeType": "ParameterList", - "parameters": [], - "src": "5715:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1327, - "nodeType": "FunctionDefinition", - "src": "5980:215:2", - "nodes": [], - "body": { - "id": 1326, - "nodeType": "Block", - "src": "6062:133:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1312, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1310, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1301, - "src": "6076:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 1311, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1303, - "src": "6081:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "6076:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1325, - "nodeType": "IfStatement", - "src": "6072:117:2", - "trueBody": { - "id": 1324, - "nodeType": "Block", - "src": "6084:105:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1314, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6120:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1315, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1307, - "src": "6129:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1313, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "6103:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1316, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6103:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1317, - "nodeType": "EmitStatement", - "src": "6098:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 1319, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1301, - "src": "6163:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1320, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1303, - "src": "6166:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1321, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1305, - "src": "6169:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1318, - "name": "assertEqDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1299, - 1327, - 1361, - 1389 - ], - "referencedDeclaration": 1299, - "src": "6147:15:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 1322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6147:31:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1323, - "nodeType": "ExpressionStatement", - "src": "6147:31:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEqDecimal", - "nameLocation": "5989:15:2", - "parameters": { - "id": 1308, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1301, - "mutability": "mutable", - "name": "a", - "nameLocation": "6009:1:2", - "nodeType": "VariableDeclaration", - "scope": 1327, - "src": "6005:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1300, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "6005:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1303, - "mutability": "mutable", - "name": "b", - "nameLocation": "6016:1:2", - "nodeType": "VariableDeclaration", - "scope": 1327, - "src": "6012:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1302, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "6012:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1305, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "6024:8:2", - "nodeType": "VariableDeclaration", - "scope": 1327, - "src": "6019:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1304, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6019:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1307, - "mutability": "mutable", - "name": "err", - "nameLocation": "6048:3:2", - "nodeType": "VariableDeclaration", - "scope": 1327, - "src": "6034:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1306, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6034:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6004:48:2" - }, - "returnParameters": { - "id": 1309, - "nodeType": "ParameterList", - "parameters": [], - "src": "6062:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1361, - "nodeType": "FunctionDefinition", - "src": "6200:328:2", - "nodes": [], - "body": { - "id": 1360, - "nodeType": "Block", - "src": "6265:263:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1336, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1329, - "src": "6279:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 1337, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1331, - "src": "6284:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6279:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1359, - "nodeType": "IfStatement", - "src": "6275:247:2", - "trueBody": { - "id": 1358, - "nodeType": "Block", - "src": "6287:235:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b646563696d616c2075696e745d", - "id": 1340, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6310:44:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_acd59a69b2dc4bcee2d5b2a205a178a5eace192e68808cc4db1cea91cdc48141", - "typeString": "literal_string \"Error: a == b not satisfied [decimal uint]\"" - }, - "value": "Error: a == b not satisfied [decimal uint]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_acd59a69b2dc4bcee2d5b2a205a178a5eace192e68808cc4db1cea91cdc48141", - "typeString": "literal_string \"Error: a == b not satisfied [decimal uint]\"" - } - ], - "id": 1339, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "6306:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6306:49:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1342, - "nodeType": "EmitStatement", - "src": "6301:54:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 1344, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6397:12:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 1345, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1331, - "src": "6411:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1346, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1333, - "src": "6414:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1343, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 787, - "src": "6374:22:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 1347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6374:49:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1348, - "nodeType": "EmitStatement", - "src": "6369:54:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 1350, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6465:12:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 1351, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1329, - "src": "6479:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1352, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1333, - "src": "6482:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1349, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 787, - "src": "6442:22:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 1353, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6442:49:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1354, - "nodeType": "EmitStatement", - "src": "6437:54:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1355, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "6505:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1356, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6505:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1357, - "nodeType": "ExpressionStatement", - "src": "6505:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEqDecimal", - "nameLocation": "6209:15:2", - "parameters": { - "id": 1334, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1329, - "mutability": "mutable", - "name": "a", - "nameLocation": "6230:1:2", - "nodeType": "VariableDeclaration", - "scope": 1361, - "src": "6225:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1328, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6225:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1331, - "mutability": "mutable", - "name": "b", - "nameLocation": "6238:1:2", - "nodeType": "VariableDeclaration", - "scope": 1361, - "src": "6233:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1330, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6233:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1333, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "6246:8:2", - "nodeType": "VariableDeclaration", - "scope": 1361, - "src": "6241:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1332, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6241:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6224:31:2" - }, - "returnParameters": { - "id": 1335, - "nodeType": "ParameterList", - "parameters": [], - "src": "6265:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1389, - "nodeType": "FunctionDefinition", - "src": "6533:217:2", - "nodes": [], - "body": { - "id": 1388, - "nodeType": "Block", - "src": "6617:133:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1374, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1372, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "6631:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 1373, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1365, - "src": "6636:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6631:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1387, - "nodeType": "IfStatement", - "src": "6627:117:2", - "trueBody": { - "id": 1386, - "nodeType": "Block", - "src": "6639:105:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1376, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6675:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1377, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1369, - "src": "6684:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1375, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "6658:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1378, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6658:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1379, - "nodeType": "EmitStatement", - "src": "6653:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 1381, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "6718:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1382, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1365, - "src": "6721:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1383, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "6724:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1380, - "name": "assertEqDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1299, - 1327, - 1361, - 1389 - ], - "referencedDeclaration": 1361, - "src": "6702:15:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 1384, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6702:31:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1385, - "nodeType": "ExpressionStatement", - "src": "6702:31:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEqDecimal", - "nameLocation": "6542:15:2", - "parameters": { - "id": 1370, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1363, - "mutability": "mutable", - "name": "a", - "nameLocation": "6563:1:2", - "nodeType": "VariableDeclaration", - "scope": 1389, - "src": "6558:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1362, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6558:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1365, - "mutability": "mutable", - "name": "b", - "nameLocation": "6571:1:2", - "nodeType": "VariableDeclaration", - "scope": 1389, - "src": "6566:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1364, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6566:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1367, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "6579:8:2", - "nodeType": "VariableDeclaration", - "scope": 1389, - "src": "6574:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1366, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6574:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1369, - "mutability": "mutable", - "name": "err", - "nameLocation": "6603:3:2", - "nodeType": "VariableDeclaration", - "scope": 1389, - "src": "6589:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1368, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6589:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6557:50:2" - }, - "returnParameters": { - "id": 1371, - "nodeType": "ParameterList", - "parameters": [], - "src": "6617:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1419, - "nodeType": "FunctionDefinition", - "src": "6756:259:2", - "nodes": [], - "body": { - "id": 1418, - "nodeType": "Block", - "src": "6799:216:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1398, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1396, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1391, - "src": "6813:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 1397, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1393, - "src": "6818:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6813:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1417, - "nodeType": "IfStatement", - "src": "6809:200:2", - "trueBody": { - "id": 1416, - "nodeType": "Block", - "src": "6821:188:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203e2062206e6f7420736174697366696564205b75696e745d", - "id": 1400, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6844:35:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_71977b46fbd6a64b4465b93c7a77bcaa06103df599ead9f7e7004b34129c9e3a", - "typeString": "literal_string \"Error: a > b not satisfied [uint]\"" - }, - "value": "Error: a > b not satisfied [uint]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_71977b46fbd6a64b4465b93c7a77bcaa06103df599ead9f7e7004b34129c9e3a", - "typeString": "literal_string \"Error: a > b not satisfied [uint]\"" - } - ], - "id": 1399, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "6840:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1401, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6840:40:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1402, - "nodeType": "EmitStatement", - "src": "6835:45:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1404, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6914:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1405, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1391, - "src": "6927:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1403, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "6899:14:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 1406, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6899:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1407, - "nodeType": "EmitStatement", - "src": "6894:35:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1409, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6963:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1410, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1393, - "src": "6976:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1408, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "6948:14:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 1411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6948:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1412, - "nodeType": "EmitStatement", - "src": "6943:35:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1413, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "6992:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6992:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1415, - "nodeType": "ExpressionStatement", - "src": "6992:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGt", - "nameLocation": "6765:8:2", - "parameters": { - "id": 1394, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1391, - "mutability": "mutable", - "name": "a", - "nameLocation": "6779:1:2", - "nodeType": "VariableDeclaration", - "scope": 1419, - "src": "6774:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1390, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6774:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1393, - "mutability": "mutable", - "name": "b", - "nameLocation": "6787:1:2", - "nodeType": "VariableDeclaration", - "scope": 1419, - "src": "6782:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1392, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6782:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6773:16:2" - }, - "returnParameters": { - "id": 1395, - "nodeType": "ParameterList", - "parameters": [], - "src": "6799:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1444, - "nodeType": "FunctionDefinition", - "src": "7020:178:2", - "nodes": [], - "body": { - "id": 1443, - "nodeType": "Block", - "src": "7082:116:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1428, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1421, - "src": "7096:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 1429, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1423, - "src": "7101:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7096:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1442, - "nodeType": "IfStatement", - "src": "7092:100:2", - "trueBody": { - "id": 1441, - "nodeType": "Block", - "src": "7104:88:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1432, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7140:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1433, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1425, - "src": "7149:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1431, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "7123:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7123:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1435, - "nodeType": "EmitStatement", - "src": "7118:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 1437, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1421, - "src": "7176:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1438, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1423, - "src": "7179:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1436, - "name": "assertGt", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1419, - 1444, - 1474, - 1499 - ], - "referencedDeclaration": 1419, - "src": "7167:8:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 1439, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7167:14:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1440, - "nodeType": "ExpressionStatement", - "src": "7167:14:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGt", - "nameLocation": "7029:8:2", - "parameters": { - "id": 1426, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1421, - "mutability": "mutable", - "name": "a", - "nameLocation": "7043:1:2", - "nodeType": "VariableDeclaration", - "scope": 1444, - "src": "7038:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1420, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7038:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1423, - "mutability": "mutable", - "name": "b", - "nameLocation": "7051:1:2", - "nodeType": "VariableDeclaration", - "scope": 1444, - "src": "7046:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1422, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7046:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1425, - "mutability": "mutable", - "name": "err", - "nameLocation": "7068:3:2", - "nodeType": "VariableDeclaration", - "scope": 1444, - "src": "7054:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1424, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7054:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7037:35:2" - }, - "returnParameters": { - "id": 1427, - "nodeType": "ParameterList", - "parameters": [], - "src": "7082:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1474, - "nodeType": "FunctionDefinition", - "src": "7203:254:2", - "nodes": [], - "body": { - "id": 1473, - "nodeType": "Block", - "src": "7244:213:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1451, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1446, - "src": "7258:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 1452, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1448, - "src": "7263:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "7258:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1472, - "nodeType": "IfStatement", - "src": "7254:197:2", - "trueBody": { - "id": 1471, - "nodeType": "Block", - "src": "7266:185:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203e2062206e6f7420736174697366696564205b696e745d", - "id": 1455, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7289:34:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c6338b3f9677628b4efbdc683490461f2a94469341c3d2ff3d117001fb77d49b", - "typeString": "literal_string \"Error: a > b not satisfied [int]\"" - }, - "value": "Error: a > b not satisfied [int]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c6338b3f9677628b4efbdc683490461f2a94469341c3d2ff3d117001fb77d49b", - "typeString": "literal_string \"Error: a > b not satisfied [int]\"" - } - ], - "id": 1454, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "7285:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7285:39:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1457, - "nodeType": "EmitStatement", - "src": "7280:44:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1459, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7357:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1460, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1446, - "src": "7370:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1458, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 793, - "src": "7343:13:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 1461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7343:29:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1462, - "nodeType": "EmitStatement", - "src": "7338:34:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1464, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7405:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1465, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1448, - "src": "7418:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1463, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 793, - "src": "7391:13:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 1466, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7391:29:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1467, - "nodeType": "EmitStatement", - "src": "7386:34:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1468, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "7434:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1469, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7434:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1470, - "nodeType": "ExpressionStatement", - "src": "7434:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGt", - "nameLocation": "7212:8:2", - "parameters": { - "id": 1449, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1446, - "mutability": "mutable", - "name": "a", - "nameLocation": "7225:1:2", - "nodeType": "VariableDeclaration", - "scope": 1474, - "src": "7221:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1445, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "7221:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1448, - "mutability": "mutable", - "name": "b", - "nameLocation": "7232:1:2", - "nodeType": "VariableDeclaration", - "scope": 1474, - "src": "7228:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1447, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "7228:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "7220:14:2" - }, - "returnParameters": { - "id": 1450, - "nodeType": "ParameterList", - "parameters": [], - "src": "7244:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1499, - "nodeType": "FunctionDefinition", - "src": "7462:176:2", - "nodes": [], - "body": { - "id": 1498, - "nodeType": "Block", - "src": "7522:116:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1483, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1476, - "src": "7536:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 1484, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1478, - "src": "7541:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "7536:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1497, - "nodeType": "IfStatement", - "src": "7532:100:2", - "trueBody": { - "id": 1496, - "nodeType": "Block", - "src": "7544:88:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1487, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7580:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1488, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1480, - "src": "7589:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1486, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "7563:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1489, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7563:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1490, - "nodeType": "EmitStatement", - "src": "7558:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 1492, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1476, - "src": "7616:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1493, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1478, - "src": "7619:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1491, - "name": "assertGt", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1419, - 1444, - 1474, - 1499 - ], - "referencedDeclaration": 1474, - "src": "7607:8:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 1494, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7607:14:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1495, - "nodeType": "ExpressionStatement", - "src": "7607:14:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGt", - "nameLocation": "7471:8:2", - "parameters": { - "id": 1481, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1476, - "mutability": "mutable", - "name": "a", - "nameLocation": "7484:1:2", - "nodeType": "VariableDeclaration", - "scope": 1499, - "src": "7480:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1475, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "7480:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1478, - "mutability": "mutable", - "name": "b", - "nameLocation": "7491:1:2", - "nodeType": "VariableDeclaration", - "scope": 1499, - "src": "7487:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1477, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "7487:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1480, - "mutability": "mutable", - "name": "err", - "nameLocation": "7508:3:2", - "nodeType": "VariableDeclaration", - "scope": 1499, - "src": "7494:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1479, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7494:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7479:33:2" - }, - "returnParameters": { - "id": 1482, - "nodeType": "ParameterList", - "parameters": [], - "src": "7522:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1533, - "nodeType": "FunctionDefinition", - "src": "7643:320:2", - "nodes": [], - "body": { - "id": 1532, - "nodeType": "Block", - "src": "7706:257:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1508, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1501, - "src": "7720:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 1509, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1503, - "src": "7725:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "7720:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1531, - "nodeType": "IfStatement", - "src": "7716:241:2", - "trueBody": { - "id": 1530, - "nodeType": "Block", - "src": "7728:229:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203e2062206e6f7420736174697366696564205b646563696d616c20696e745d", - "id": 1512, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7751:42:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_85ee98c18b4560d5bfeeef41e54955cef93f7b8071348c487f1fd81bd1aaf2ad", - "typeString": "literal_string \"Error: a > b not satisfied [decimal int]\"" - }, - "value": "Error: a > b not satisfied [decimal int]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_85ee98c18b4560d5bfeeef41e54955cef93f7b8071348c487f1fd81bd1aaf2ad", - "typeString": "literal_string \"Error: a > b not satisfied [decimal int]\"" - } - ], - "id": 1511, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "7747:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1513, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7747:47:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1514, - "nodeType": "EmitStatement", - "src": "7742:52:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1516, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7835:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1517, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1501, - "src": "7848:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1518, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1505, - "src": "7851:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1515, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 779, - "src": "7813:21:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,int256,uint256)" - } - }, - "id": 1519, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7813:47:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1520, - "nodeType": "EmitStatement", - "src": "7808:52:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1522, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7901:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1523, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1503, - "src": "7914:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1524, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1505, - "src": "7917:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1521, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 779, - "src": "7879:21:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,int256,uint256)" - } - }, - "id": 1525, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7879:47:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1526, - "nodeType": "EmitStatement", - "src": "7874:52:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1527, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "7940:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1528, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7940:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1529, - "nodeType": "ExpressionStatement", - "src": "7940:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGtDecimal", - "nameLocation": "7652:15:2", - "parameters": { - "id": 1506, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1501, - "mutability": "mutable", - "name": "a", - "nameLocation": "7672:1:2", - "nodeType": "VariableDeclaration", - "scope": 1533, - "src": "7668:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1500, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "7668:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1503, - "mutability": "mutable", - "name": "b", - "nameLocation": "7679:1:2", - "nodeType": "VariableDeclaration", - "scope": 1533, - "src": "7675:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1502, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "7675:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1505, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "7687:8:2", - "nodeType": "VariableDeclaration", - "scope": 1533, - "src": "7682:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1504, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7682:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7667:29:2" - }, - "returnParameters": { - "id": 1507, - "nodeType": "ParameterList", - "parameters": [], - "src": "7706:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1561, - "nodeType": "FunctionDefinition", - "src": "7968:215:2", - "nodes": [], - "body": { - "id": 1560, - "nodeType": "Block", - "src": "8050:133:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1546, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1544, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1535, - "src": "8064:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 1545, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1537, - "src": "8069:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "8064:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1559, - "nodeType": "IfStatement", - "src": "8060:117:2", - "trueBody": { - "id": 1558, - "nodeType": "Block", - "src": "8072:105:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1548, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8108:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1549, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1541, - "src": "8117:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1547, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "8091:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1550, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8091:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1551, - "nodeType": "EmitStatement", - "src": "8086:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 1553, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1535, - "src": "8151:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1554, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1537, - "src": "8154:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1555, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1539, - "src": "8157:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1552, - "name": "assertGtDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1533, - 1561, - 1595, - 1623 - ], - "referencedDeclaration": 1533, - "src": "8135:15:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 1556, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8135:31:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1557, - "nodeType": "ExpressionStatement", - "src": "8135:31:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGtDecimal", - "nameLocation": "7977:15:2", - "parameters": { - "id": 1542, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1535, - "mutability": "mutable", - "name": "a", - "nameLocation": "7997:1:2", - "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "7993:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1534, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "7993:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1537, - "mutability": "mutable", - "name": "b", - "nameLocation": "8004:1:2", - "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "8000:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1536, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "8000:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1539, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "8012:8:2", - "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "8007:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1538, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8007:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1541, - "mutability": "mutable", - "name": "err", - "nameLocation": "8036:3:2", - "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "8022:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1540, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8022:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7992:48:2" - }, - "returnParameters": { - "id": 1543, - "nodeType": "ParameterList", - "parameters": [], - "src": "8050:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1595, - "nodeType": "FunctionDefinition", - "src": "8188:325:2", - "nodes": [], - "body": { - "id": 1594, - "nodeType": "Block", - "src": "8253:260:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1572, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1570, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1563, - "src": "8267:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 1571, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1565, - "src": "8272:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8267:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1593, - "nodeType": "IfStatement", - "src": "8263:244:2", - "trueBody": { - "id": 1592, - "nodeType": "Block", - "src": "8275:232:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203e2062206e6f7420736174697366696564205b646563696d616c2075696e745d", - "id": 1574, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8298:43:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2a2cca6a3a53808b9763cfdafa62d083cc161a243845052a9c6e09d6d624c69f", - "typeString": "literal_string \"Error: a > b not satisfied [decimal uint]\"" - }, - "value": "Error: a > b not satisfied [decimal uint]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2a2cca6a3a53808b9763cfdafa62d083cc161a243845052a9c6e09d6d624c69f", - "typeString": "literal_string \"Error: a > b not satisfied [decimal uint]\"" - } - ], - "id": 1573, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "8294:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8294:48:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1576, - "nodeType": "EmitStatement", - "src": "8289:53:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1578, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8384:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1579, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1563, - "src": "8397:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1580, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1567, - "src": "8400:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1577, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 787, - "src": "8361:22:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 1581, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8361:48:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1582, - "nodeType": "EmitStatement", - "src": "8356:53:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1584, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8451:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1585, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1565, - "src": "8464:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1586, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1567, - "src": "8467:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1583, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 787, - "src": "8428:22:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 1587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8428:48:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1588, - "nodeType": "EmitStatement", - "src": "8423:53:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1589, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "8490:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1590, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8490:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1591, - "nodeType": "ExpressionStatement", - "src": "8490:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGtDecimal", - "nameLocation": "8197:15:2", - "parameters": { - "id": 1568, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1563, - "mutability": "mutable", - "name": "a", - "nameLocation": "8218:1:2", - "nodeType": "VariableDeclaration", - "scope": 1595, - "src": "8213:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1562, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8213:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1565, - "mutability": "mutable", - "name": "b", - "nameLocation": "8226:1:2", - "nodeType": "VariableDeclaration", - "scope": 1595, - "src": "8221:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1564, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8221:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1567, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "8234:8:2", - "nodeType": "VariableDeclaration", - "scope": 1595, - "src": "8229:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1566, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8229:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8212:31:2" - }, - "returnParameters": { - "id": 1569, - "nodeType": "ParameterList", - "parameters": [], - "src": "8253:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1623, - "nodeType": "FunctionDefinition", - "src": "8518:217:2", - "nodes": [], - "body": { - "id": 1622, - "nodeType": "Block", - "src": "8602:133:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1608, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1606, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "8616:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 1607, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1599, - "src": "8621:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8616:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1621, - "nodeType": "IfStatement", - "src": "8612:117:2", - "trueBody": { - "id": 1620, - "nodeType": "Block", - "src": "8624:105:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1610, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8660:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1611, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1603, - "src": "8669:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1609, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "8643:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8643:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1613, - "nodeType": "EmitStatement", - "src": "8638:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 1615, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "8703:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1616, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1599, - "src": "8706:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1617, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1601, - "src": "8709:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1614, - "name": "assertGtDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1533, - 1561, - 1595, - 1623 - ], - "referencedDeclaration": 1595, - "src": "8687:15:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 1618, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8687:31:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1619, - "nodeType": "ExpressionStatement", - "src": "8687:31:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGtDecimal", - "nameLocation": "8527:15:2", - "parameters": { - "id": 1604, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1597, - "mutability": "mutable", - "name": "a", - "nameLocation": "8548:1:2", - "nodeType": "VariableDeclaration", - "scope": 1623, - "src": "8543:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1596, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8543:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1599, - "mutability": "mutable", - "name": "b", - "nameLocation": "8556:1:2", - "nodeType": "VariableDeclaration", - "scope": 1623, - "src": "8551:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1598, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8551:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1601, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "8564:8:2", - "nodeType": "VariableDeclaration", - "scope": 1623, - "src": "8559:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1600, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8559:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1603, - "mutability": "mutable", - "name": "err", - "nameLocation": "8588:3:2", - "nodeType": "VariableDeclaration", - "scope": 1623, - "src": "8574:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1602, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8574:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8542:50:2" - }, - "returnParameters": { - "id": 1605, - "nodeType": "ParameterList", - "parameters": [], - "src": "8602:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1653, - "nodeType": "FunctionDefinition", - "src": "8741:259:2", - "nodes": [], - "body": { - "id": 1652, - "nodeType": "Block", - "src": "8784:216:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1632, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1630, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "8798:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 1631, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1627, - "src": "8802:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8798:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1651, - "nodeType": "IfStatement", - "src": "8794:200:2", - "trueBody": { - "id": 1650, - "nodeType": "Block", - "src": "8805:189:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203e3d2062206e6f7420736174697366696564205b75696e745d", - "id": 1634, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8828:36:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ad79593ab7a8c163bd9b5379945ad36a940281a5ef1023478b9c309b02ea375e", - "typeString": "literal_string \"Error: a >= b not satisfied [uint]\"" - }, - "value": "Error: a >= b not satisfied [uint]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ad79593ab7a8c163bd9b5379945ad36a940281a5ef1023478b9c309b02ea375e", - "typeString": "literal_string \"Error: a >= b not satisfied [uint]\"" - } - ], - "id": 1633, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "8824:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1635, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8824:41:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1636, - "nodeType": "EmitStatement", - "src": "8819:46:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1638, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8899:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1639, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "8912:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1637, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "8884:14:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 1640, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8884:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1641, - "nodeType": "EmitStatement", - "src": "8879:35:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8948:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1644, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1627, - "src": "8961:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1642, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "8933:14:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 1645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8933:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1646, - "nodeType": "EmitStatement", - "src": "8928:35:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1647, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "8977:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8977:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1649, - "nodeType": "ExpressionStatement", - "src": "8977:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGe", - "nameLocation": "8750:8:2", - "parameters": { - "id": 1628, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1625, - "mutability": "mutable", - "name": "a", - "nameLocation": "8764:1:2", - "nodeType": "VariableDeclaration", - "scope": 1653, - "src": "8759:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1624, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8759:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1627, - "mutability": "mutable", - "name": "b", - "nameLocation": "8772:1:2", - "nodeType": "VariableDeclaration", - "scope": 1653, - "src": "8767:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1626, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8767:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8758:16:2" - }, - "returnParameters": { - "id": 1629, - "nodeType": "ParameterList", - "parameters": [], - "src": "8784:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1678, - "nodeType": "FunctionDefinition", - "src": "9005:177:2", - "nodes": [], - "body": { - "id": 1677, - "nodeType": "Block", - "src": "9067:115:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1662, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1655, - "src": "9081:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 1663, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "9085:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9081:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1676, - "nodeType": "IfStatement", - "src": "9077:99:2", - "trueBody": { - "id": 1675, - "nodeType": "Block", - "src": "9088:88:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1666, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9124:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1667, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1659, - "src": "9133:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1665, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "9107:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9107:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1669, - "nodeType": "EmitStatement", - "src": "9102:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 1671, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1655, - "src": "9160:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1672, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "9163:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1670, - "name": "assertGe", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1653, - 1678, - 1708, - 1733 - ], - "referencedDeclaration": 1653, - "src": "9151:8:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 1673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9151:14:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1674, - "nodeType": "ExpressionStatement", - "src": "9151:14:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGe", - "nameLocation": "9014:8:2", - "parameters": { - "id": 1660, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1655, - "mutability": "mutable", - "name": "a", - "nameLocation": "9028:1:2", - "nodeType": "VariableDeclaration", - "scope": 1678, - "src": "9023:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1654, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9023:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1657, - "mutability": "mutable", - "name": "b", - "nameLocation": "9036:1:2", - "nodeType": "VariableDeclaration", - "scope": 1678, - "src": "9031:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1656, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9031:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1659, - "mutability": "mutable", - "name": "err", - "nameLocation": "9053:3:2", - "nodeType": "VariableDeclaration", - "scope": 1678, - "src": "9039:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1658, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9039:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9022:35:2" - }, - "returnParameters": { - "id": 1661, - "nodeType": "ParameterList", - "parameters": [], - "src": "9067:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1708, - "nodeType": "FunctionDefinition", - "src": "9187:254:2", - "nodes": [], - "body": { - "id": 1707, - "nodeType": "Block", - "src": "9228:213:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1687, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1685, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1680, - "src": "9242:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 1686, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1682, - "src": "9246:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "9242:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1706, - "nodeType": "IfStatement", - "src": "9238:197:2", - "trueBody": { - "id": 1705, - "nodeType": "Block", - "src": "9249:186:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203e3d2062206e6f7420736174697366696564205b696e745d", - "id": 1689, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9272:35:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9dd34d7cd7d190bc9855e4326f563fd4539c0d764699b480d53bfd72aa5807a6", - "typeString": "literal_string \"Error: a >= b not satisfied [int]\"" - }, - "value": "Error: a >= b not satisfied [int]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9dd34d7cd7d190bc9855e4326f563fd4539c0d764699b480d53bfd72aa5807a6", - "typeString": "literal_string \"Error: a >= b not satisfied [int]\"" - } - ], - "id": 1688, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "9268:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9268:40:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1691, - "nodeType": "EmitStatement", - "src": "9263:45:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1693, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9341:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1694, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1680, - "src": "9354:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1692, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 793, - "src": "9327:13:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 1695, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9327:29:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1696, - "nodeType": "EmitStatement", - "src": "9322:34:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1698, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9389:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1699, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1682, - "src": "9402:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1697, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 793, - "src": "9375:13:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 1700, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9375:29:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1701, - "nodeType": "EmitStatement", - "src": "9370:34:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1702, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "9418:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9418:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1704, - "nodeType": "ExpressionStatement", - "src": "9418:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGe", - "nameLocation": "9196:8:2", - "parameters": { - "id": 1683, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1680, - "mutability": "mutable", - "name": "a", - "nameLocation": "9209:1:2", - "nodeType": "VariableDeclaration", - "scope": 1708, - "src": "9205:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1679, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "9205:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1682, - "mutability": "mutable", - "name": "b", - "nameLocation": "9216:1:2", - "nodeType": "VariableDeclaration", - "scope": 1708, - "src": "9212:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1681, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "9212:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "9204:14:2" - }, - "returnParameters": { - "id": 1684, - "nodeType": "ParameterList", - "parameters": [], - "src": "9228:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1733, - "nodeType": "FunctionDefinition", - "src": "9446:175:2", - "nodes": [], - "body": { - "id": 1732, - "nodeType": "Block", - "src": "9506:115:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1719, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1717, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1710, - "src": "9520:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 1718, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1712, - "src": "9524:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "9520:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1731, - "nodeType": "IfStatement", - "src": "9516:99:2", - "trueBody": { - "id": 1730, - "nodeType": "Block", - "src": "9527:88:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1721, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9563:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1722, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1714, - "src": "9572:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1720, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "9546:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1723, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9546:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1724, - "nodeType": "EmitStatement", - "src": "9541:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 1726, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1710, - "src": "9599:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1727, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1712, - "src": "9602:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1725, - "name": "assertGe", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1653, - 1678, - 1708, - 1733 - ], - "referencedDeclaration": 1708, - "src": "9590:8:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 1728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9590:14:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1729, - "nodeType": "ExpressionStatement", - "src": "9590:14:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGe", - "nameLocation": "9455:8:2", - "parameters": { - "id": 1715, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1710, - "mutability": "mutable", - "name": "a", - "nameLocation": "9468:1:2", - "nodeType": "VariableDeclaration", - "scope": 1733, - "src": "9464:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1709, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "9464:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1712, - "mutability": "mutable", - "name": "b", - "nameLocation": "9475:1:2", - "nodeType": "VariableDeclaration", - "scope": 1733, - "src": "9471:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1711, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "9471:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1714, - "mutability": "mutable", - "name": "err", - "nameLocation": "9492:3:2", - "nodeType": "VariableDeclaration", - "scope": 1733, - "src": "9478:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1713, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9478:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9463:33:2" - }, - "returnParameters": { - "id": 1716, - "nodeType": "ParameterList", - "parameters": [], - "src": "9506:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1767, - "nodeType": "FunctionDefinition", - "src": "9626:320:2", - "nodes": [], - "body": { - "id": 1766, - "nodeType": "Block", - "src": "9689:257:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1742, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1735, - "src": "9703:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 1743, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1737, - "src": "9707:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "9703:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1765, - "nodeType": "IfStatement", - "src": "9699:241:2", - "trueBody": { - "id": 1764, - "nodeType": "Block", - "src": "9710:230:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203e3d2062206e6f7420736174697366696564205b646563696d616c20696e745d", - "id": 1746, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9733:43:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0f02f65375ca93c3f3c485b8b2455303d1a8668a2b626cba00789d1c4ebd8736", - "typeString": "literal_string \"Error: a >= b not satisfied [decimal int]\"" - }, - "value": "Error: a >= b not satisfied [decimal int]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0f02f65375ca93c3f3c485b8b2455303d1a8668a2b626cba00789d1c4ebd8736", - "typeString": "literal_string \"Error: a >= b not satisfied [decimal int]\"" - } - ], - "id": 1745, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "9729:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9729:48:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1748, - "nodeType": "EmitStatement", - "src": "9724:53:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1750, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9818:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1751, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1735, - "src": "9831:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1752, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1739, - "src": "9834:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1749, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 779, - "src": "9796:21:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,int256,uint256)" - } - }, - "id": 1753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9796:47:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1754, - "nodeType": "EmitStatement", - "src": "9791:52:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9884:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1757, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1737, - "src": "9897:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1758, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1739, - "src": "9900:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1755, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 779, - "src": "9862:21:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,int256,uint256)" - } - }, - "id": 1759, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9862:47:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1760, - "nodeType": "EmitStatement", - "src": "9857:52:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1761, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "9923:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1762, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9923:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1763, - "nodeType": "ExpressionStatement", - "src": "9923:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGeDecimal", - "nameLocation": "9635:15:2", - "parameters": { - "id": 1740, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1735, - "mutability": "mutable", - "name": "a", - "nameLocation": "9655:1:2", - "nodeType": "VariableDeclaration", - "scope": 1767, - "src": "9651:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1734, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "9651:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1737, - "mutability": "mutable", - "name": "b", - "nameLocation": "9662:1:2", - "nodeType": "VariableDeclaration", - "scope": 1767, - "src": "9658:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1736, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "9658:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1739, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "9670:8:2", - "nodeType": "VariableDeclaration", - "scope": 1767, - "src": "9665:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1738, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9665:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "9650:29:2" - }, - "returnParameters": { - "id": 1741, - "nodeType": "ParameterList", - "parameters": [], - "src": "9689:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1795, - "nodeType": "FunctionDefinition", - "src": "9951:214:2", - "nodes": [], - "body": { - "id": 1794, - "nodeType": "Block", - "src": "10033:132:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1780, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1778, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1769, - "src": "10047:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 1779, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1771, - "src": "10051:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "10047:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1793, - "nodeType": "IfStatement", - "src": "10043:116:2", - "trueBody": { - "id": 1792, - "nodeType": "Block", - "src": "10054:105:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1782, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10090:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1783, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1775, - "src": "10099:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1781, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "10073:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1784, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10073:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1785, - "nodeType": "EmitStatement", - "src": "10068:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 1787, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1769, - "src": "10133:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1788, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1771, - "src": "10136:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1789, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1773, - "src": "10139:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1786, - "name": "assertGeDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1767, - 1795, - 1829, - 1857 - ], - "referencedDeclaration": 1767, - "src": "10117:15:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 1790, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10117:31:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1791, - "nodeType": "ExpressionStatement", - "src": "10117:31:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGeDecimal", - "nameLocation": "9960:15:2", - "parameters": { - "id": 1776, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1769, - "mutability": "mutable", - "name": "a", - "nameLocation": "9980:1:2", - "nodeType": "VariableDeclaration", - "scope": 1795, - "src": "9976:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1768, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "9976:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1771, - "mutability": "mutable", - "name": "b", - "nameLocation": "9987:1:2", - "nodeType": "VariableDeclaration", - "scope": 1795, - "src": "9983:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1770, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "9983:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1773, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "9995:8:2", - "nodeType": "VariableDeclaration", - "scope": 1795, - "src": "9990:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1772, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9990:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1775, - "mutability": "mutable", - "name": "err", - "nameLocation": "10019:3:2", - "nodeType": "VariableDeclaration", - "scope": 1795, - "src": "10005:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1774, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10005:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9975:48:2" - }, - "returnParameters": { - "id": 1777, - "nodeType": "ParameterList", - "parameters": [], - "src": "10033:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1829, - "nodeType": "FunctionDefinition", - "src": "10170:325:2", - "nodes": [], - "body": { - "id": 1828, - "nodeType": "Block", - "src": "10235:260:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1806, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1804, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1797, - "src": "10249:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 1805, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1799, - "src": "10253:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10249:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1827, - "nodeType": "IfStatement", - "src": "10245:244:2", - "trueBody": { - "id": 1826, - "nodeType": "Block", - "src": "10256:233:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203e3d2062206e6f7420736174697366696564205b646563696d616c2075696e745d", - "id": 1808, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10279:44:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1192304a51ee70969886576ac83224cad7adddc5aab218616c612e9fa634c616", - "typeString": "literal_string \"Error: a >= b not satisfied [decimal uint]\"" - }, - "value": "Error: a >= b not satisfied [decimal uint]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1192304a51ee70969886576ac83224cad7adddc5aab218616c612e9fa634c616", - "typeString": "literal_string \"Error: a >= b not satisfied [decimal uint]\"" - } - ], - "id": 1807, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "10275:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10275:49:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1810, - "nodeType": "EmitStatement", - "src": "10270:54:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10366:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1813, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1797, - "src": "10379:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1814, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1801, - "src": "10382:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1811, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 787, - "src": "10343:22:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 1815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10343:48:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1816, - "nodeType": "EmitStatement", - "src": "10338:53:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1818, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10433:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1819, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1799, - "src": "10446:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1820, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1801, - "src": "10449:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1817, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 787, - "src": "10410:22:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 1821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10410:48:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1822, - "nodeType": "EmitStatement", - "src": "10405:53:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1823, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "10472:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10472:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1825, - "nodeType": "ExpressionStatement", - "src": "10472:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGeDecimal", - "nameLocation": "10179:15:2", - "parameters": { - "id": 1802, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1797, - "mutability": "mutable", - "name": "a", - "nameLocation": "10200:1:2", - "nodeType": "VariableDeclaration", - "scope": 1829, - "src": "10195:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1796, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10195:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1799, - "mutability": "mutable", - "name": "b", - "nameLocation": "10208:1:2", - "nodeType": "VariableDeclaration", - "scope": 1829, - "src": "10203:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1798, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10203:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1801, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "10216:8:2", - "nodeType": "VariableDeclaration", - "scope": 1829, - "src": "10211:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1800, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10211:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10194:31:2" - }, - "returnParameters": { - "id": 1803, - "nodeType": "ParameterList", - "parameters": [], - "src": "10235:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1857, - "nodeType": "FunctionDefinition", - "src": "10500:216:2", - "nodes": [], - "body": { - "id": 1856, - "nodeType": "Block", - "src": "10584:132:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1840, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1831, - "src": "10598:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 1841, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1833, - "src": "10602:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10598:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1855, - "nodeType": "IfStatement", - "src": "10594:116:2", - "trueBody": { - "id": 1854, - "nodeType": "Block", - "src": "10605:105:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1844, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10641:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1845, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1837, - "src": "10650:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1843, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "10624:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1846, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10624:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1847, - "nodeType": "EmitStatement", - "src": "10619:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 1849, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1831, - "src": "10684:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1850, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1833, - "src": "10687:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1851, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1835, - "src": "10690:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1848, - "name": "assertGeDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1767, - 1795, - 1829, - 1857 - ], - "referencedDeclaration": 1829, - "src": "10668:15:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 1852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10668:31:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1853, - "nodeType": "ExpressionStatement", - "src": "10668:31:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGeDecimal", - "nameLocation": "10509:15:2", - "parameters": { - "id": 1838, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1831, - "mutability": "mutable", - "name": "a", - "nameLocation": "10530:1:2", - "nodeType": "VariableDeclaration", - "scope": 1857, - "src": "10525:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1830, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10525:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1833, - "mutability": "mutable", - "name": "b", - "nameLocation": "10538:1:2", - "nodeType": "VariableDeclaration", - "scope": 1857, - "src": "10533:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1832, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10533:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1835, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "10546:8:2", - "nodeType": "VariableDeclaration", - "scope": 1857, - "src": "10541:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1834, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10541:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1837, - "mutability": "mutable", - "name": "err", - "nameLocation": "10570:3:2", - "nodeType": "VariableDeclaration", - "scope": 1857, - "src": "10556:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1836, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10556:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10524:50:2" - }, - "returnParameters": { - "id": 1839, - "nodeType": "ParameterList", - "parameters": [], - "src": "10584:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1887, - "nodeType": "FunctionDefinition", - "src": "10722:259:2", - "nodes": [], - "body": { - "id": 1886, - "nodeType": "Block", - "src": "10765:216:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1864, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1859, - "src": "10779:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 1865, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1861, - "src": "10784:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10779:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1885, - "nodeType": "IfStatement", - "src": "10775:200:2", - "trueBody": { - "id": 1884, - "nodeType": "Block", - "src": "10787:188:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203c2062206e6f7420736174697366696564205b75696e745d", - "id": 1868, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10810:35:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4a5f85d4936ddbc273c762d0b3a90fefdc47bf4d5496816359b86f70b5c74f9", - "typeString": "literal_string \"Error: a < b not satisfied [uint]\"" - }, - "value": "Error: a < b not satisfied [uint]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4a5f85d4936ddbc273c762d0b3a90fefdc47bf4d5496816359b86f70b5c74f9", - "typeString": "literal_string \"Error: a < b not satisfied [uint]\"" - } - ], - "id": 1867, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "10806:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1869, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10806:40:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1870, - "nodeType": "EmitStatement", - "src": "10801:45:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1872, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10880:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1873, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1859, - "src": "10893:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1871, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "10865:14:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 1874, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10865:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1875, - "nodeType": "EmitStatement", - "src": "10860:35:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1877, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10929:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1878, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1861, - "src": "10942:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1876, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "10914:14:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 1879, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10914:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1880, - "nodeType": "EmitStatement", - "src": "10909:35:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1881, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "10958:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1882, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10958:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1883, - "nodeType": "ExpressionStatement", - "src": "10958:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLt", - "nameLocation": "10731:8:2", - "parameters": { - "id": 1862, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1859, - "mutability": "mutable", - "name": "a", - "nameLocation": "10745:1:2", - "nodeType": "VariableDeclaration", - "scope": 1887, - "src": "10740:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1858, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10740:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1861, - "mutability": "mutable", - "name": "b", - "nameLocation": "10753:1:2", - "nodeType": "VariableDeclaration", - "scope": 1887, - "src": "10748:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1860, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10748:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10739:16:2" - }, - "returnParameters": { - "id": 1863, - "nodeType": "ParameterList", - "parameters": [], - "src": "10765:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1912, - "nodeType": "FunctionDefinition", - "src": "10986:178:2", - "nodes": [], - "body": { - "id": 1911, - "nodeType": "Block", - "src": "11048:116:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1898, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1896, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1889, - "src": "11062:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 1897, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1891, - "src": "11067:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11062:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1910, - "nodeType": "IfStatement", - "src": "11058:100:2", - "trueBody": { - "id": 1909, - "nodeType": "Block", - "src": "11070:88:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1900, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11106:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1901, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1893, - "src": "11115:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1899, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "11089:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1902, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11089:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1903, - "nodeType": "EmitStatement", - "src": "11084:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 1905, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1889, - "src": "11142:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1906, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1891, - "src": "11145:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1904, - "name": "assertLt", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1887, - 1912, - 1942, - 1967 - ], - "referencedDeclaration": 1887, - "src": "11133:8:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 1907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11133:14:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1908, - "nodeType": "ExpressionStatement", - "src": "11133:14:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLt", - "nameLocation": "10995:8:2", - "parameters": { - "id": 1894, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1889, - "mutability": "mutable", - "name": "a", - "nameLocation": "11009:1:2", - "nodeType": "VariableDeclaration", - "scope": 1912, - "src": "11004:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1888, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "11004:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1891, - "mutability": "mutable", - "name": "b", - "nameLocation": "11017:1:2", - "nodeType": "VariableDeclaration", - "scope": 1912, - "src": "11012:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1890, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "11012:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1893, - "mutability": "mutable", - "name": "err", - "nameLocation": "11034:3:2", - "nodeType": "VariableDeclaration", - "scope": 1912, - "src": "11020:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1892, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11020:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11003:35:2" - }, - "returnParameters": { - "id": 1895, - "nodeType": "ParameterList", - "parameters": [], - "src": "11048:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1942, - "nodeType": "FunctionDefinition", - "src": "11169:254:2", - "nodes": [], - "body": { - "id": 1941, - "nodeType": "Block", - "src": "11210:213:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1919, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1914, - "src": "11224:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 1920, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1916, - "src": "11229:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "11224:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1940, - "nodeType": "IfStatement", - "src": "11220:197:2", - "trueBody": { - "id": 1939, - "nodeType": "Block", - "src": "11232:185:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203c2062206e6f7420736174697366696564205b696e745d", - "id": 1923, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11255:34:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_62edb5e296dde1308ab599c3156f51dcd32b6d82784df4b0c0246d307d4bd055", - "typeString": "literal_string \"Error: a < b not satisfied [int]\"" - }, - "value": "Error: a < b not satisfied [int]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_62edb5e296dde1308ab599c3156f51dcd32b6d82784df4b0c0246d307d4bd055", - "typeString": "literal_string \"Error: a < b not satisfied [int]\"" - } - ], - "id": 1922, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "11251:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1924, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11251:39:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1925, - "nodeType": "EmitStatement", - "src": "11246:44:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1927, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11323:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1928, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1914, - "src": "11336:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1926, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 793, - "src": "11309:13:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 1929, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11309:29:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1930, - "nodeType": "EmitStatement", - "src": "11304:34:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1932, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11371:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1933, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1916, - "src": "11384:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1931, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 793, - "src": "11357:13:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 1934, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11357:29:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1935, - "nodeType": "EmitStatement", - "src": "11352:34:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1936, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "11400:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1937, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11400:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1938, - "nodeType": "ExpressionStatement", - "src": "11400:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLt", - "nameLocation": "11178:8:2", - "parameters": { - "id": 1917, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1914, - "mutability": "mutable", - "name": "a", - "nameLocation": "11191:1:2", - "nodeType": "VariableDeclaration", - "scope": 1942, - "src": "11187:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1913, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "11187:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1916, - "mutability": "mutable", - "name": "b", - "nameLocation": "11198:1:2", - "nodeType": "VariableDeclaration", - "scope": 1942, - "src": "11194:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1915, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "11194:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "11186:14:2" - }, - "returnParameters": { - "id": 1918, - "nodeType": "ParameterList", - "parameters": [], - "src": "11210:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1967, - "nodeType": "FunctionDefinition", - "src": "11428:176:2", - "nodes": [], - "body": { - "id": 1966, - "nodeType": "Block", - "src": "11488:116:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1953, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1951, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1944, - "src": "11502:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 1952, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1946, - "src": "11507:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "11502:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1965, - "nodeType": "IfStatement", - "src": "11498:100:2", - "trueBody": { - "id": 1964, - "nodeType": "Block", - "src": "11510:88:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1955, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11546:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1956, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1948, - "src": "11555:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1954, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "11529:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11529:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1958, - "nodeType": "EmitStatement", - "src": "11524:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 1960, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1944, - "src": "11582:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1961, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1946, - "src": "11585:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1959, - "name": "assertLt", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1887, - 1912, - 1942, - 1967 - ], - "referencedDeclaration": 1942, - "src": "11573:8:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 1962, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11573:14:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1963, - "nodeType": "ExpressionStatement", - "src": "11573:14:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLt", - "nameLocation": "11437:8:2", - "parameters": { - "id": 1949, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1944, - "mutability": "mutable", - "name": "a", - "nameLocation": "11450:1:2", - "nodeType": "VariableDeclaration", - "scope": 1967, - "src": "11446:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1943, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "11446:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1946, - "mutability": "mutable", - "name": "b", - "nameLocation": "11457:1:2", - "nodeType": "VariableDeclaration", - "scope": 1967, - "src": "11453:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1945, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "11453:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1948, - "mutability": "mutable", - "name": "err", - "nameLocation": "11474:3:2", - "nodeType": "VariableDeclaration", - "scope": 1967, - "src": "11460:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1947, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11460:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11445:33:2" - }, - "returnParameters": { - "id": 1950, - "nodeType": "ParameterList", - "parameters": [], - "src": "11488:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2001, - "nodeType": "FunctionDefinition", - "src": "11609:320:2", - "nodes": [], - "body": { - "id": 2000, - "nodeType": "Block", - "src": "11672:257:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1978, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1976, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1969, - "src": "11686:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 1977, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1971, - "src": "11691:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "11686:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1999, - "nodeType": "IfStatement", - "src": "11682:241:2", - "trueBody": { - "id": 1998, - "nodeType": "Block", - "src": "11694:229:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203c2062206e6f7420736174697366696564205b646563696d616c20696e745d", - "id": 1980, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11717:42:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a598de9e78c706978d3e40be19632446c2f234152ee02226f88acff1b63da79a", - "typeString": "literal_string \"Error: a < b not satisfied [decimal int]\"" - }, - "value": "Error: a < b not satisfied [decimal int]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a598de9e78c706978d3e40be19632446c2f234152ee02226f88acff1b63da79a", - "typeString": "literal_string \"Error: a < b not satisfied [decimal int]\"" - } - ], - "id": 1979, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "11713:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1981, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11713:47:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1982, - "nodeType": "EmitStatement", - "src": "11708:52:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1984, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11801:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1985, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1969, - "src": "11814:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1986, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1973, - "src": "11817:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1983, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 779, - "src": "11779:21:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,int256,uint256)" - } - }, - "id": 1987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11779:47:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1988, - "nodeType": "EmitStatement", - "src": "11774:52:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1990, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11867:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1991, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1971, - "src": "11880:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1992, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1973, - "src": "11883:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1989, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 779, - "src": "11845:21:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,int256,uint256)" - } - }, - "id": 1993, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11845:47:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1994, - "nodeType": "EmitStatement", - "src": "11840:52:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1995, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "11906:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11906:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1997, - "nodeType": "ExpressionStatement", - "src": "11906:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLtDecimal", - "nameLocation": "11618:15:2", - "parameters": { - "id": 1974, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1969, - "mutability": "mutable", - "name": "a", - "nameLocation": "11638:1:2", - "nodeType": "VariableDeclaration", - "scope": 2001, - "src": "11634:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1968, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "11634:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1971, - "mutability": "mutable", - "name": "b", - "nameLocation": "11645:1:2", - "nodeType": "VariableDeclaration", - "scope": 2001, - "src": "11641:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1970, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "11641:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1973, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "11653:8:2", - "nodeType": "VariableDeclaration", - "scope": 2001, - "src": "11648:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1972, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "11648:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11633:29:2" - }, - "returnParameters": { - "id": 1975, - "nodeType": "ParameterList", - "parameters": [], - "src": "11672:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2029, - "nodeType": "FunctionDefinition", - "src": "11934:215:2", - "nodes": [], - "body": { - "id": 2028, - "nodeType": "Block", - "src": "12016:133:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 2014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2012, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "12030:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 2013, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2005, - "src": "12035:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "12030:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2027, - "nodeType": "IfStatement", - "src": "12026:117:2", - "trueBody": { - "id": 2026, - "nodeType": "Block", - "src": "12038:105:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 2016, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12074:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 2017, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "12083:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2015, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "12057:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2018, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12057:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2019, - "nodeType": "EmitStatement", - "src": "12052:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 2021, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "12117:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 2022, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2005, - "src": "12120:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 2023, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2007, - "src": "12123:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2020, - "name": "assertLtDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2001, - 2029, - 2063, - 2091 - ], - "referencedDeclaration": 2001, - "src": "12101:15:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 2024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12101:31:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2025, - "nodeType": "ExpressionStatement", - "src": "12101:31:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLtDecimal", - "nameLocation": "11943:15:2", - "parameters": { - "id": 2010, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2003, - "mutability": "mutable", - "name": "a", - "nameLocation": "11963:1:2", - "nodeType": "VariableDeclaration", - "scope": 2029, - "src": "11959:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 2002, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "11959:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2005, - "mutability": "mutable", - "name": "b", - "nameLocation": "11970:1:2", - "nodeType": "VariableDeclaration", - "scope": 2029, - "src": "11966:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 2004, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "11966:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2007, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "11978:8:2", - "nodeType": "VariableDeclaration", - "scope": 2029, - "src": "11973:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2006, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "11973:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2009, - "mutability": "mutable", - "name": "err", - "nameLocation": "12002:3:2", - "nodeType": "VariableDeclaration", - "scope": 2029, - "src": "11988:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2008, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11988:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11958:48:2" - }, - "returnParameters": { - "id": 2011, - "nodeType": "ParameterList", - "parameters": [], - "src": "12016:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2063, - "nodeType": "FunctionDefinition", - "src": "12154:325:2", - "nodes": [], - "body": { - "id": 2062, - "nodeType": "Block", - "src": "12219:260:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2038, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2031, - "src": "12233:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 2039, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "12238:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12233:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2061, - "nodeType": "IfStatement", - "src": "12229:244:2", - "trueBody": { - "id": 2060, - "nodeType": "Block", - "src": "12241:232:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203c2062206e6f7420736174697366696564205b646563696d616c2075696e745d", - "id": 2042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12264:43:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8057606f9e67842ac0149f4a7ffdaca59331aea176cd1419e89b7b4b21bbc6d9", - "typeString": "literal_string \"Error: a < b not satisfied [decimal uint]\"" - }, - "value": "Error: a < b not satisfied [decimal uint]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8057606f9e67842ac0149f4a7ffdaca59331aea176cd1419e89b7b4b21bbc6d9", - "typeString": "literal_string \"Error: a < b not satisfied [decimal uint]\"" - } - ], - "id": 2041, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "12260:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 2043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12260:48:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2044, - "nodeType": "EmitStatement", - "src": "12255:53:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 2046, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12350:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 2047, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2031, - "src": "12363:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2048, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2035, - "src": "12366:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2045, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 787, - "src": "12327:22:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 2049, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12327:48:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2050, - "nodeType": "EmitStatement", - "src": "12322:53:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 2052, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12417:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 2053, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "12430:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2054, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2035, - "src": "12433:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2051, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 787, - "src": "12394:22:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 2055, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12394:48:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2056, - "nodeType": "EmitStatement", - "src": "12389:53:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 2057, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "12456:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 2058, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12456:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2059, - "nodeType": "ExpressionStatement", - "src": "12456:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLtDecimal", - "nameLocation": "12163:15:2", - "parameters": { - "id": 2036, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2031, - "mutability": "mutable", - "name": "a", - "nameLocation": "12184:1:2", - "nodeType": "VariableDeclaration", - "scope": 2063, - "src": "12179:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2030, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12179:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2033, - "mutability": "mutable", - "name": "b", - "nameLocation": "12192:1:2", - "nodeType": "VariableDeclaration", - "scope": 2063, - "src": "12187:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2032, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12187:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2035, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "12200:8:2", - "nodeType": "VariableDeclaration", - "scope": 2063, - "src": "12195:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2034, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12195:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12178:31:2" - }, - "returnParameters": { - "id": 2037, - "nodeType": "ParameterList", - "parameters": [], - "src": "12219:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2091, - "nodeType": "FunctionDefinition", - "src": "12484:217:2", - "nodes": [], - "body": { - "id": 2090, - "nodeType": "Block", - "src": "12568:133:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2074, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2065, - "src": "12582:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 2075, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2067, - "src": "12587:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12582:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2089, - "nodeType": "IfStatement", - "src": "12578:117:2", - "trueBody": { - "id": 2088, - "nodeType": "Block", - "src": "12590:105:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 2078, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12626:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 2079, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2071, - "src": "12635:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2077, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "12609:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12609:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2081, - "nodeType": "EmitStatement", - "src": "12604:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 2083, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2065, - "src": "12669:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2084, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2067, - "src": "12672:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2085, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2069, - "src": "12675:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2082, - "name": "assertLtDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2001, - 2029, - 2063, - 2091 - ], - "referencedDeclaration": 2063, - "src": "12653:15:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 2086, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12653:31:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2087, - "nodeType": "ExpressionStatement", - "src": "12653:31:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLtDecimal", - "nameLocation": "12493:15:2", - "parameters": { - "id": 2072, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2065, - "mutability": "mutable", - "name": "a", - "nameLocation": "12514:1:2", - "nodeType": "VariableDeclaration", - "scope": 2091, - "src": "12509:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2064, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12509:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2067, - "mutability": "mutable", - "name": "b", - "nameLocation": "12522:1:2", - "nodeType": "VariableDeclaration", - "scope": 2091, - "src": "12517:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2066, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12517:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2069, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "12530:8:2", - "nodeType": "VariableDeclaration", - "scope": 2091, - "src": "12525:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2068, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12525:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2071, - "mutability": "mutable", - "name": "err", - "nameLocation": "12554:3:2", - "nodeType": "VariableDeclaration", - "scope": 2091, - "src": "12540:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2070, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12540:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12508:50:2" - }, - "returnParameters": { - "id": 2073, - "nodeType": "ParameterList", - "parameters": [], - "src": "12568:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2121, - "nodeType": "FunctionDefinition", - "src": "12707:259:2", - "nodes": [], - "body": { - "id": 2120, - "nodeType": "Block", - "src": "12750:216:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2098, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2093, - "src": "12764:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 2099, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2095, - "src": "12768:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12764:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2119, - "nodeType": "IfStatement", - "src": "12760:200:2", - "trueBody": { - "id": 2118, - "nodeType": "Block", - "src": "12771:189:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203c3d2062206e6f7420736174697366696564205b75696e745d", - "id": 2102, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12794:36:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d5420eec28b94f3fd7dd1c7ce81f45c79bfa9fab37300faf965a8d6272e32ff", - "typeString": "literal_string \"Error: a <= b not satisfied [uint]\"" - }, - "value": "Error: a <= b not satisfied [uint]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6d5420eec28b94f3fd7dd1c7ce81f45c79bfa9fab37300faf965a8d6272e32ff", - "typeString": "literal_string \"Error: a <= b not satisfied [uint]\"" - } - ], - "id": 2101, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "12790:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 2103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12790:41:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2104, - "nodeType": "EmitStatement", - "src": "12785:46:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 2106, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12865:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 2107, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2093, - "src": "12878:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2105, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "12850:14:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 2108, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12850:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2109, - "nodeType": "EmitStatement", - "src": "12845:35:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 2111, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12914:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 2112, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2095, - "src": "12927:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2110, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 799, - "src": "12899:14:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 2113, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12899:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2114, - "nodeType": "EmitStatement", - "src": "12894:35:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 2115, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "12943:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 2116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12943:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2117, - "nodeType": "ExpressionStatement", - "src": "12943:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLe", - "nameLocation": "12716:8:2", - "parameters": { - "id": 2096, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2093, - "mutability": "mutable", - "name": "a", - "nameLocation": "12730:1:2", - "nodeType": "VariableDeclaration", - "scope": 2121, - "src": "12725:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2092, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12725:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2095, - "mutability": "mutable", - "name": "b", - "nameLocation": "12738:1:2", - "nodeType": "VariableDeclaration", - "scope": 2121, - "src": "12733:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2094, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12733:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12724:16:2" - }, - "returnParameters": { - "id": 2097, - "nodeType": "ParameterList", - "parameters": [], - "src": "12750:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2146, - "nodeType": "FunctionDefinition", - "src": "12971:177:2", - "nodes": [], - "body": { - "id": 2145, - "nodeType": "Block", - "src": "13033:115:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2132, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2130, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2123, - "src": "13047:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 2131, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2125, - "src": "13051:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "13047:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2144, - "nodeType": "IfStatement", - "src": "13043:99:2", - "trueBody": { - "id": 2143, - "nodeType": "Block", - "src": "13054:88:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 2134, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13090:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 2135, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2127, - "src": "13099:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2133, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "13073:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13073:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2137, - "nodeType": "EmitStatement", - "src": "13068:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 2139, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2123, - "src": "13126:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2140, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2125, - "src": "13129:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2138, - "name": "assertLe", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2121, - 2146, - 2176, - 2201 - ], - "referencedDeclaration": 2121, - "src": "13117:8:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 2141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13117:14:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2142, - "nodeType": "ExpressionStatement", - "src": "13117:14:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLe", - "nameLocation": "12980:8:2", - "parameters": { - "id": 2128, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2123, - "mutability": "mutable", - "name": "a", - "nameLocation": "12994:1:2", - "nodeType": "VariableDeclaration", - "scope": 2146, - "src": "12989:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2122, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12989:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2125, - "mutability": "mutable", - "name": "b", - "nameLocation": "13002:1:2", - "nodeType": "VariableDeclaration", - "scope": 2146, - "src": "12997:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2124, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12997:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2127, - "mutability": "mutable", - "name": "err", - "nameLocation": "13019:3:2", - "nodeType": "VariableDeclaration", - "scope": 2146, - "src": "13005:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2126, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13005:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12988:35:2" - }, - "returnParameters": { - "id": 2129, - "nodeType": "ParameterList", - "parameters": [], - "src": "13033:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2176, - "nodeType": "FunctionDefinition", - "src": "13153:254:2", - "nodes": [], - "body": { - "id": 2175, - "nodeType": "Block", - "src": "13194:213:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 2155, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2153, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "13208:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 2154, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2150, - "src": "13212:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "13208:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2174, - "nodeType": "IfStatement", - "src": "13204:197:2", - "trueBody": { - "id": 2173, - "nodeType": "Block", - "src": "13215:186:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203c3d2062206e6f7420736174697366696564205b696e745d", - "id": 2157, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13238:35:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_558ba41c44b763b352271d6c22f0cb02f5c0c4dbb25ed68172916a4e6a662555", - "typeString": "literal_string \"Error: a <= b not satisfied [int]\"" - }, - "value": "Error: a <= b not satisfied [int]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_558ba41c44b763b352271d6c22f0cb02f5c0c4dbb25ed68172916a4e6a662555", - "typeString": "literal_string \"Error: a <= b not satisfied [int]\"" - } - ], - "id": 2156, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "13234:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 2158, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13234:40:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2159, - "nodeType": "EmitStatement", - "src": "13229:45:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 2161, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13307:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 2162, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "13320:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 2160, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 793, - "src": "13293:13:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 2163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13293:29:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2164, - "nodeType": "EmitStatement", - "src": "13288:34:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 2166, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13355:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 2167, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2150, - "src": "13368:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 2165, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 793, - "src": "13341:13:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 2168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13341:29:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2169, - "nodeType": "EmitStatement", - "src": "13336:34:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 2170, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "13384:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 2171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13384:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2172, - "nodeType": "ExpressionStatement", - "src": "13384:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLe", - "nameLocation": "13162:8:2", - "parameters": { - "id": 2151, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2148, - "mutability": "mutable", - "name": "a", - "nameLocation": "13175:1:2", - "nodeType": "VariableDeclaration", - "scope": 2176, - "src": "13171:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 2147, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "13171:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2150, - "mutability": "mutable", - "name": "b", - "nameLocation": "13182:1:2", - "nodeType": "VariableDeclaration", - "scope": 2176, - "src": "13178:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 2149, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "13178:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "13170:14:2" - }, - "returnParameters": { - "id": 2152, - "nodeType": "ParameterList", - "parameters": [], - "src": "13194:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2201, - "nodeType": "FunctionDefinition", - "src": "13412:175:2", - "nodes": [], - "body": { - "id": 2200, - "nodeType": "Block", - "src": "13472:115:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 2187, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2185, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2178, - "src": "13486:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 2186, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2180, - "src": "13490:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "13486:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2199, - "nodeType": "IfStatement", - "src": "13482:99:2", - "trueBody": { - "id": 2198, - "nodeType": "Block", - "src": "13493:88:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 2189, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13529:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 2190, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2182, - "src": "13538:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2188, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "13512:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13512:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2192, - "nodeType": "EmitStatement", - "src": "13507:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 2194, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2178, - "src": "13565:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 2195, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2180, - "src": "13568:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 2193, - "name": "assertLe", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2121, - 2146, - 2176, - 2201 - ], - "referencedDeclaration": 2176, - "src": "13556:8:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 2196, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13556:14:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2197, - "nodeType": "ExpressionStatement", - "src": "13556:14:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLe", - "nameLocation": "13421:8:2", - "parameters": { - "id": 2183, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2178, - "mutability": "mutable", - "name": "a", - "nameLocation": "13434:1:2", - "nodeType": "VariableDeclaration", - "scope": 2201, - "src": "13430:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 2177, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "13430:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2180, - "mutability": "mutable", - "name": "b", - "nameLocation": "13441:1:2", - "nodeType": "VariableDeclaration", - "scope": 2201, - "src": "13437:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 2179, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "13437:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2182, - "mutability": "mutable", - "name": "err", - "nameLocation": "13458:3:2", - "nodeType": "VariableDeclaration", - "scope": 2201, - "src": "13444:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2181, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13444:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13429:33:2" - }, - "returnParameters": { - "id": 2184, - "nodeType": "ParameterList", - "parameters": [], - "src": "13472:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2235, - "nodeType": "FunctionDefinition", - "src": "13592:320:2", - "nodes": [], - "body": { - "id": 2234, - "nodeType": "Block", - "src": "13655:257:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 2212, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2210, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "13669:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 2211, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2205, - "src": "13673:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "13669:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2233, - "nodeType": "IfStatement", - "src": "13665:241:2", - "trueBody": { - "id": 2232, - "nodeType": "Block", - "src": "13676:230:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203c3d2062206e6f7420736174697366696564205b646563696d616c20696e745d", - "id": 2214, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13699:43:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a855fbfffc345e8a0ab544e824618dabd995fdc5bda653c7d4869b57deb1d23a", - "typeString": "literal_string \"Error: a <= b not satisfied [decimal int]\"" - }, - "value": "Error: a <= b not satisfied [decimal int]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a855fbfffc345e8a0ab544e824618dabd995fdc5bda653c7d4869b57deb1d23a", - "typeString": "literal_string \"Error: a <= b not satisfied [decimal int]\"" - } - ], - "id": 2213, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "13695:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 2215, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13695:48:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2216, - "nodeType": "EmitStatement", - "src": "13690:53:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 2218, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13784:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 2219, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "13797:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 2220, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2207, - "src": "13800:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2217, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 779, - "src": "13762:21:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,int256,uint256)" - } - }, - "id": 2221, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13762:47:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2222, - "nodeType": "EmitStatement", - "src": "13757:52:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 2224, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13850:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 2225, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2205, - "src": "13863:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 2226, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2207, - "src": "13866:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2223, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 779, - "src": "13828:21:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,int256,uint256)" - } - }, - "id": 2227, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13828:47:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2228, - "nodeType": "EmitStatement", - "src": "13823:52:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 2229, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "13889:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 2230, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13889:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2231, - "nodeType": "ExpressionStatement", - "src": "13889:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLeDecimal", - "nameLocation": "13601:15:2", - "parameters": { - "id": 2208, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2203, - "mutability": "mutable", - "name": "a", - "nameLocation": "13621:1:2", - "nodeType": "VariableDeclaration", - "scope": 2235, - "src": "13617:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 2202, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "13617:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2205, - "mutability": "mutable", - "name": "b", - "nameLocation": "13628:1:2", - "nodeType": "VariableDeclaration", - "scope": 2235, - "src": "13624:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 2204, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "13624:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2207, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "13636:8:2", - "nodeType": "VariableDeclaration", - "scope": 2235, - "src": "13631:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2206, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "13631:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13616:29:2" - }, - "returnParameters": { - "id": 2209, - "nodeType": "ParameterList", - "parameters": [], - "src": "13655:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2263, - "nodeType": "FunctionDefinition", - "src": "13917:214:2", - "nodes": [], - "body": { - "id": 2262, - "nodeType": "Block", - "src": "13999:132:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 2248, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2246, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2237, - "src": "14013:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 2247, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2239, - "src": "14017:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "14013:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2261, - "nodeType": "IfStatement", - "src": "14009:116:2", - "trueBody": { - "id": 2260, - "nodeType": "Block", - "src": "14020:105:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 2250, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14056:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 2251, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2243, - "src": "14065:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2249, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "14039:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14039:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2253, - "nodeType": "EmitStatement", - "src": "14034:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 2255, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2237, - "src": "14099:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 2256, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2239, - "src": "14102:1:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 2257, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2241, - "src": "14105:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2254, - "name": "assertLeDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2235, - 2263, - 2297, - 2325 - ], - "referencedDeclaration": 2235, - "src": "14083:15:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 2258, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14083:31:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2259, - "nodeType": "ExpressionStatement", - "src": "14083:31:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLeDecimal", - "nameLocation": "13926:15:2", - "parameters": { - "id": 2244, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2237, - "mutability": "mutable", - "name": "a", - "nameLocation": "13946:1:2", - "nodeType": "VariableDeclaration", - "scope": 2263, - "src": "13942:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 2236, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "13942:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2239, - "mutability": "mutable", - "name": "b", - "nameLocation": "13953:1:2", - "nodeType": "VariableDeclaration", - "scope": 2263, - "src": "13949:5:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 2238, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "13949:3:2", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2241, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "13961:8:2", - "nodeType": "VariableDeclaration", - "scope": 2263, - "src": "13956:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2240, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "13956:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2243, - "mutability": "mutable", - "name": "err", - "nameLocation": "13985:3:2", - "nodeType": "VariableDeclaration", - "scope": 2263, - "src": "13971:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2242, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13971:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13941:48:2" - }, - "returnParameters": { - "id": 2245, - "nodeType": "ParameterList", - "parameters": [], - "src": "13999:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2297, - "nodeType": "FunctionDefinition", - "src": "14136:325:2", - "nodes": [], - "body": { - "id": 2296, - "nodeType": "Block", - "src": "14201:260:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2274, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2272, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2265, - "src": "14215:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 2273, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2267, - "src": "14219:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "14215:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2295, - "nodeType": "IfStatement", - "src": "14211:244:2", - "trueBody": { - "id": 2294, - "nodeType": "Block", - "src": "14222:233:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203c3d2062206e6f7420736174697366696564205b646563696d616c2075696e745d", - "id": 2276, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14245:44:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_32bce37771ce1d01bc601c73b51f2296c0d8e2a50c2d19a6ac89c6b917715c51", - "typeString": "literal_string \"Error: a <= b not satisfied [decimal uint]\"" - }, - "value": "Error: a <= b not satisfied [decimal uint]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_32bce37771ce1d01bc601c73b51f2296c0d8e2a50c2d19a6ac89c6b917715c51", - "typeString": "literal_string \"Error: a <= b not satisfied [decimal uint]\"" - } - ], - "id": 2275, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "14241:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 2277, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14241:49:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2278, - "nodeType": "EmitStatement", - "src": "14236:54:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 2280, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14332:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 2281, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2265, - "src": "14345:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2282, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2269, - "src": "14348:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2279, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 787, - "src": "14309:22:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 2283, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14309:48:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2284, - "nodeType": "EmitStatement", - "src": "14304:53:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 2286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14399:11:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 2287, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2267, - "src": "14412:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2288, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2269, - "src": "14415:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2285, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 787, - "src": "14376:22:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 2289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14376:48:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2290, - "nodeType": "EmitStatement", - "src": "14371:53:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 2291, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "14438:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 2292, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14438:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2293, - "nodeType": "ExpressionStatement", - "src": "14438:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLeDecimal", - "nameLocation": "14145:15:2", - "parameters": { - "id": 2270, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2265, - "mutability": "mutable", - "name": "a", - "nameLocation": "14166:1:2", - "nodeType": "VariableDeclaration", - "scope": 2297, - "src": "14161:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2264, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14161:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2267, - "mutability": "mutable", - "name": "b", - "nameLocation": "14174:1:2", - "nodeType": "VariableDeclaration", - "scope": 2297, - "src": "14169:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2266, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14169:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2269, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "14182:8:2", - "nodeType": "VariableDeclaration", - "scope": 2297, - "src": "14177:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2268, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14177:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "14160:31:2" - }, - "returnParameters": { - "id": 2271, - "nodeType": "ParameterList", - "parameters": [], - "src": "14201:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2325, - "nodeType": "FunctionDefinition", - "src": "14466:216:2", - "nodes": [], - "body": { - "id": 2324, - "nodeType": "Block", - "src": "14550:132:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2310, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2308, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2299, - "src": "14564:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 2309, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2301, - "src": "14568:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "14564:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2323, - "nodeType": "IfStatement", - "src": "14560:116:2", - "trueBody": { - "id": 2322, - "nodeType": "Block", - "src": "14571:105:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 2312, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14607:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 2313, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2305, - "src": "14616:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2311, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "14590:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2314, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14590:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2315, - "nodeType": "EmitStatement", - "src": "14585:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 2317, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2299, - "src": "14650:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2318, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2301, - "src": "14653:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2319, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "14656:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2316, - "name": "assertGeDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1767, - 1795, - 1829, - 1857 - ], - "referencedDeclaration": 1829, - "src": "14634:15:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 2320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14634:31:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2321, - "nodeType": "ExpressionStatement", - "src": "14634:31:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLeDecimal", - "nameLocation": "14475:15:2", - "parameters": { - "id": 2306, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2299, - "mutability": "mutable", - "name": "a", - "nameLocation": "14496:1:2", - "nodeType": "VariableDeclaration", - "scope": 2325, - "src": "14491:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2298, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14491:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2301, - "mutability": "mutable", - "name": "b", - "nameLocation": "14504:1:2", - "nodeType": "VariableDeclaration", - "scope": 2325, - "src": "14499:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2300, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14499:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2303, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "14512:8:2", - "nodeType": "VariableDeclaration", - "scope": 2325, - "src": "14507:13:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2302, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14507:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2305, - "mutability": "mutable", - "name": "err", - "nameLocation": "14536:3:2", - "nodeType": "VariableDeclaration", - "scope": 2325, - "src": "14522:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2304, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14522:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "14490:50:2" - }, - "returnParameters": { - "id": 2307, - "nodeType": "ParameterList", - "parameters": [], - "src": "14550:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2365, - "nodeType": "FunctionDefinition", - "src": "14688:344:2", - "nodes": [], - "body": { - "id": 2364, - "nodeType": "Block", - "src": "14749:283:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 2344, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2335, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2327, - "src": "14790:1:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2333, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14773:3:2", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2334, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14777:12:2", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "14773:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14773:19:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2332, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "14763:9:2", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14763:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2341, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2329, - "src": "14824:1:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2339, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14807:3:2", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2340, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14811:12:2", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "14807:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2342, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14807:19:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2338, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "14797:9:2", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2343, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14797:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "14763:64:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2363, - "nodeType": "IfStatement", - "src": "14759:267:2", - "trueBody": { - "id": 2362, - "nodeType": "Block", - "src": "14829:197:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b737472696e675d", - "id": 2346, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14852:38:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_58e3ca0e65e73c038df3db6a7cab1bf7de300d13038b802ce0f4435889c48e5e", - "typeString": "literal_string \"Error: a == b not satisfied [string]\"" - }, - "value": "Error: a == b not satisfied [string]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_58e3ca0e65e73c038df3db6a7cab1bf7de300d13038b802ce0f4435889c48e5e", - "typeString": "literal_string \"Error: a == b not satisfied [string]\"" - } - ], - "id": 2345, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "14848:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 2347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14848:43:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2348, - "nodeType": "EmitStatement", - "src": "14843:48:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 2350, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14927:12:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 2351, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2329, - "src": "14941:1:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2349, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "14910:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2352, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14910:33:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2353, - "nodeType": "EmitStatement", - "src": "14905:38:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 2355, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14979:12:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 2356, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2327, - "src": "14993:1:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2354, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "14962:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14962:33:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2358, - "nodeType": "EmitStatement", - "src": "14957:38:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 2359, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "15009:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 2360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15009:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2361, - "nodeType": "ExpressionStatement", - "src": "15009:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "14697:8:2", - "parameters": { - "id": 2330, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2327, - "mutability": "mutable", - "name": "a", - "nameLocation": "14720:1:2", - "nodeType": "VariableDeclaration", - "scope": 2365, - "src": "14706:15:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2326, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14706:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2329, - "mutability": "mutable", - "name": "b", - "nameLocation": "14737:1:2", - "nodeType": "VariableDeclaration", - "scope": 2365, - "src": "14723:15:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2328, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14723:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "14705:34:2" - }, - "returnParameters": { - "id": 2331, - "nodeType": "ParameterList", - "parameters": [], - "src": "14749:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2400, - "nodeType": "FunctionDefinition", - "src": "15037:254:2", - "nodes": [], - "body": { - "id": 2399, - "nodeType": "Block", - "src": "15117:174:2", - "nodes": [], - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 2386, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2377, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2367, - "src": "15158:1:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2375, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15141:3:2", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2376, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15145:12:2", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "15141:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2378, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15141:19:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2374, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "15131:9:2", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2379, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15131:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2383, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2369, - "src": "15192:1:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2381, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15175:3:2", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2382, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15179:12:2", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "15175:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2384, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15175:19:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2380, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "15165:9:2", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2385, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15165:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "15131:64:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2398, - "nodeType": "IfStatement", - "src": "15127:158:2", - "trueBody": { - "id": 2397, - "nodeType": "Block", - "src": "15197:88:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 2388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15233:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 2389, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2371, - "src": "15242:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2387, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "15216:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2390, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15216:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2391, - "nodeType": "EmitStatement", - "src": "15211:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 2393, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2367, - "src": "15269:1:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2394, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2369, - "src": "15272:1:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2392, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1046, - 1071, - 1101, - 1126, - 1185, - 1210, - 1240, - 1265, - 2365, - 2400 - ], - "referencedDeclaration": 2365, - "src": "15260:8:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2395, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15260:14:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2396, - "nodeType": "ExpressionStatement", - "src": "15260:14:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "15046:8:2", - "parameters": { - "id": 2372, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2367, - "mutability": "mutable", - "name": "a", - "nameLocation": "15069:1:2", - "nodeType": "VariableDeclaration", - "scope": 2400, - "src": "15055:15:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2366, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15055:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2369, - "mutability": "mutable", - "name": "b", - "nameLocation": "15086:1:2", - "nodeType": "VariableDeclaration", - "scope": 2400, - "src": "15072:15:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2368, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15072:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2371, - "mutability": "mutable", - "name": "err", - "nameLocation": "15103:3:2", - "nodeType": "VariableDeclaration", - "scope": 2400, - "src": "15089:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2370, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15089:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "15054:53:2" - }, - "returnParameters": { - "id": 2373, - "nodeType": "ParameterList", - "parameters": [], - "src": "15117:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2452, - "nodeType": "FunctionDefinition", - "src": "15297:345:2", - "nodes": [], - "body": { - "id": 2451, - "nodeType": "Block", - "src": "15379:263:2", - "nodes": [], - "statements": [ - { - "expression": { - "id": 2411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 2409, - "name": "ok", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2407, - "src": "15389:2:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "74727565", - "id": 2410, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15394:4:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "15389:9:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2412, - "nodeType": "ExpressionStatement", - "src": "15389:9:2" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2417, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 2413, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2402, - "src": "15412:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 2414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15414:6:2", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "15412:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "id": 2415, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2404, - "src": "15424:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 2416, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15426:6:2", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "15424:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15412:20:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 2449, - "nodeType": "Block", - "src": "15601:35:2", - "statements": [ - { - "expression": { - "id": 2447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 2445, - "name": "ok", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2407, - "src": "15615:2:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "66616c7365", - "id": 2446, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15620:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "src": "15615:10:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2448, - "nodeType": "ExpressionStatement", - "src": "15615:10:2" - } - ] - }, - "id": 2450, - "nodeType": "IfStatement", - "src": "15408:228:2", - "trueBody": { - "id": 2444, - "nodeType": "Block", - "src": "15434:161:2", - "statements": [ - { - "body": { - "id": 2442, - "nodeType": "Block", - "src": "15484:101:2", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 2435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "id": 2429, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2402, - "src": "15506:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 2431, - "indexExpression": { - "id": 2430, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2419, - "src": "15508:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15506:4:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "baseExpression": { - "id": 2432, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2404, - "src": "15514:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 2434, - "indexExpression": { - "id": 2433, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2419, - "src": "15516:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15514:4:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "15506:12:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2441, - "nodeType": "IfStatement", - "src": "15502:69:2", - "trueBody": { - "id": 2440, - "nodeType": "Block", - "src": "15520:51:2", - "statements": [ - { - "expression": { - "id": 2438, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 2436, - "name": "ok", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2407, - "src": "15542:2:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "66616c7365", - "id": 2437, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15547:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "src": "15542:10:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2439, - "nodeType": "ExpressionStatement", - "src": "15542:10:2" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2425, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2422, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2419, - "src": "15465:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 2423, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2402, - "src": "15469:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 2424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15471:6:2", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "15469:8:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15465:12:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2443, - "initializationExpression": { - "assignments": [ - 2419 - ], - "declarations": [ - { - "constant": false, - "id": 2419, - "mutability": "mutable", - "name": "i", - "nameLocation": "15458:1:2", - "nodeType": "VariableDeclaration", - "scope": 2443, - "src": "15453:6:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2418, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "15453:4:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 2421, - "initialValue": { - "hexValue": "30", - "id": 2420, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15462:1:2", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "15453:10:2" - }, - "loopExpression": { - "expression": { - "id": 2427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "15479:3:2", - "subExpression": { - "id": 2426, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2419, - "src": "15479:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2428, - "nodeType": "ExpressionStatement", - "src": "15479:3:2" - }, - "nodeType": "ForStatement", - "src": "15448:137:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checkEq0", - "nameLocation": "15306:8:2", - "parameters": { - "id": 2405, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2402, - "mutability": "mutable", - "name": "a", - "nameLocation": "15328:1:2", - "nodeType": "VariableDeclaration", - "scope": 2452, - "src": "15315:14:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2401, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15315:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2404, - "mutability": "mutable", - "name": "b", - "nameLocation": "15344:1:2", - "nodeType": "VariableDeclaration", - "scope": 2452, - "src": "15331:14:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2403, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15331:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "15314:32:2" - }, - "returnParameters": { - "id": 2408, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2407, - "mutability": "mutable", - "name": "ok", - "nameLocation": "15375:2:2", - "nodeType": "VariableDeclaration", - "scope": 2452, - "src": "15370:7:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2406, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15370:4:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "15369:9:2" - }, - "scope": 2512, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2484, - "nodeType": "FunctionDefinition", - "src": "15647:291:2", - "nodes": [], - "body": { - "id": 2483, - "nodeType": "Block", - "src": "15707:231:2", - "nodes": [], - "statements": [ - { - "condition": { - "id": 2463, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "15721:15:2", - "subExpression": { - "arguments": [ - { - "id": 2460, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2454, - "src": "15731:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 2461, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2456, - "src": "15734:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2459, - "name": "checkEq0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2452, - "src": "15722:8:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (bytes memory,bytes memory) pure returns (bool)" - } - }, - "id": 2462, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15722:14:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2482, - "nodeType": "IfStatement", - "src": "15717:215:2", - "trueBody": { - "id": 2481, - "nodeType": "Block", - "src": "15738:194:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b62797465735d", - "id": 2465, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15761:37:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9bb7b728691fe2872efdd27bd07c4a95b3586c3b7ec3afa731a7c21a76e39cfc", - "typeString": "literal_string \"Error: a == b not satisfied [bytes]\"" - }, - "value": "Error: a == b not satisfied [bytes]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9bb7b728691fe2872efdd27bd07c4a95b3586c3b7ec3afa731a7c21a76e39cfc", - "typeString": "literal_string \"Error: a == b not satisfied [bytes]\"" - } - ], - "id": 2464, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 731, - "src": "15757:3:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 2466, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15757:42:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2467, - "nodeType": "EmitStatement", - "src": "15752:47:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 2469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15834:12:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 2470, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2456, - "src": "15848:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2468, - "name": "log_named_bytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 805, - "src": "15818:15:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (string memory,bytes memory)" - } - }, - "id": 2471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15818:32:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2472, - "nodeType": "EmitStatement", - "src": "15813:37:2" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 2474, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15885:12:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 2475, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2454, - "src": "15899:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2473, - "name": "log_named_bytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 805, - "src": "15869:15:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (string memory,bytes memory)" - } - }, - "id": 2476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15869:32:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2477, - "nodeType": "EmitStatement", - "src": "15864:37:2" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 2478, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 942, - "src": "15915:4:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 2479, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15915:6:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2480, - "nodeType": "ExpressionStatement", - "src": "15915:6:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq0", - "nameLocation": "15656:9:2", - "parameters": { - "id": 2457, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2454, - "mutability": "mutable", - "name": "a", - "nameLocation": "15679:1:2", - "nodeType": "VariableDeclaration", - "scope": 2484, - "src": "15666:14:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2453, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15666:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2456, - "mutability": "mutable", - "name": "b", - "nameLocation": "15695:1:2", - "nodeType": "VariableDeclaration", - "scope": 2484, - "src": "15682:14:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2455, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15682:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "15665:32:2" - }, - "returnParameters": { - "id": 2458, - "nodeType": "ParameterList", - "parameters": [], - "src": "15707:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2511, - "nodeType": "FunctionDefinition", - "src": "15943:205:2", - "nodes": [], - "body": { - "id": 2510, - "nodeType": "Block", - "src": "16022:126:2", - "nodes": [], - "statements": [ - { - "condition": { - "id": 2497, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "16036:15:2", - "subExpression": { - "arguments": [ - { - "id": 2494, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2486, - "src": "16046:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 2495, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2488, - "src": "16049:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2493, - "name": "checkEq0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2452, - "src": "16037:8:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (bytes memory,bytes memory) pure returns (bool)" - } - }, - "id": 2496, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16037:14:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2509, - "nodeType": "IfStatement", - "src": "16032:110:2", - "trueBody": { - "id": 2508, - "nodeType": "Block", - "src": "16053:89:2", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 2499, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16089:7:2", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 2500, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2490, - "src": "16098:3:2", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 2498, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "16072:16:2", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16072:30:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2502, - "nodeType": "EmitStatement", - "src": "16067:35:2" - }, - { - "expression": { - "arguments": [ - { - "id": 2504, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2486, - "src": "16126:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 2505, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2488, - "src": "16129:1:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2503, - "name": "assertEq0", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2484, - 2511 - ], - "referencedDeclaration": 2484, - "src": "16116:9:2", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory,bytes memory)" - } - }, - "id": 2506, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16116:15:2", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2507, - "nodeType": "ExpressionStatement", - "src": "16116:15:2" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq0", - "nameLocation": "15952:9:2", - "parameters": { - "id": 2491, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2486, - "mutability": "mutable", - "name": "a", - "nameLocation": "15975:1:2", - "nodeType": "VariableDeclaration", - "scope": 2511, - "src": "15962:14:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2485, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15962:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2488, - "mutability": "mutable", - "name": "b", - "nameLocation": "15991:1:2", - "nodeType": "VariableDeclaration", - "scope": 2511, - "src": "15978:14:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2487, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15978:5:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2490, - "mutability": "mutable", - "name": "err", - "nameLocation": "16008:3:2", - "nodeType": "VariableDeclaration", - "scope": 2511, - "src": "15994:17:2", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2489, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15994:6:2", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "15961:51:2" - }, - "returnParameters": { - "id": 2492, - "nodeType": "ParameterList", - "parameters": [], - "src": "16022:0:2" - }, - "scope": 2512, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "DSTest", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 2512 - ], - "name": "DSTest", - "nameLocation": "724:6:2", - "scope": 2513, - "usedErrors": [] - } - ], - "license": "GPL-3.0-or-later" - }, - "id": 2 -} \ No newline at end of file diff --git a/test/foundry/apps.t.sol b/test/foundry/apps.t.sol index 5881448..3f95ab8 100644 --- a/test/foundry/apps.t.sol +++ b/test/foundry/apps.t.sol @@ -3,13 +3,13 @@ pragma solidity ^0.8.7; import "forge-std/Test.sol"; import "../../contracts/FleekERC721.sol"; -contract ContractBTest is Test { +contract FleekTest is Test { FleekERC721 fleekContract; - + address constant DEPLOYER = 0x7FA9385bE102ac3EAc297483Dd6233D62b3e1496; function setUp() public { fleekContract = new FleekERC721('Test Contract', 'FLKAPS'); } - + function testName() public { assertEq(fleekContract.name(), 'Test Contract'); } @@ -18,9 +18,13 @@ contract ContractBTest is Test { assertEq(fleekContract.symbol(), 'FLKAPS'); } + function test() public { + assertEq(fleekContract.symbol(), 'FLKAPS'); + } + function testMint() public { uint256 mint = fleekContract.mint( - 0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84, + DEPLOYER, 'Foundry Test App', 'This is a test application submitted by foundry tests.', 'https://fleek.xyz', @@ -35,7 +39,7 @@ contract ContractBTest is Test { function testMintingMintedToken() public { uint256 first_mint = fleekContract.mint( - 0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84, + DEPLOYER, 'Foundry Test App', 'This is a test application submitted by foundry tests.', 'https://fleek.xyz', @@ -46,7 +50,7 @@ contract ContractBTest is Test { ); uint256 second_mint = fleekContract.mint( - 0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84, + DEPLOYER, 'Foundry Test App', 'This is a test application submitted by foundry tests.', 'https://fleek.xyz', @@ -62,7 +66,7 @@ contract ContractBTest is Test { function testMintingMoreThanOneTokenForTheSameAddress() public { uint256 first_mint = fleekContract.mint( - 0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84, + DEPLOYER, 'Foundry Test App', 'This is a test application submitted by foundry tests.', 'https://fleek.xyz', @@ -75,7 +79,7 @@ contract ContractBTest is Test { assertEq(first_mint, 0); uint256 second_mint = fleekContract.mint( - 0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84, + DEPLOYER, 'Foundry Test App 2', 'This is a test application submitted by foundry tests [2].', 'https://fleek.xyz', @@ -90,7 +94,7 @@ contract ContractBTest is Test { function testMintingTwoTokensForTwoAddresses() public { uint256 first_mint = fleekContract.mint( - 0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84, + DEPLOYER, 'Foundry Test App', 'This is a test application submitted by foundry tests.', 'https://fleek.xyz', @@ -103,7 +107,7 @@ contract ContractBTest is Test { assertEq(first_mint, 0); uint256 second_mint = fleekContract.mint( - address(0), + address(12), 'Foundry Test App 2', 'This is a test application submitted by foundry tests[2].', 'https://fleek.xyz', @@ -118,7 +122,7 @@ contract ContractBTest is Test { function testTokenURI() public { uint256 mint = fleekContract.mint( - 0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84, + DEPLOYER, 'Foundry Test App', 'This is a test application submitted by foundry tests.', 'https://fleek.xyz', @@ -136,7 +140,7 @@ contract ContractBTest is Test { '{', '"name":"Foundry Test App",', '"description":"This is a test application submitted by foundry tests.",', - '"owner":"0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84",', + '"owner":"DEPLOYER",', '"external_url":"https://fleek.xyz",', '"image":"https://fleek.xyz",', '"attributes": [', @@ -156,7 +160,7 @@ contract ContractBTest is Test { '{', '"name":"Foundry Test App",', '"description":"This is a test application submitted by foundry tests.",', - '"owner":"0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84",', + '"owner":"DEPLOYER",', '"external_url":"https://fleek.xyz",', '"image":"https://fleek.xyz",', '"attributes": [', @@ -173,7 +177,7 @@ contract ContractBTest is Test { function testBurn() public { uint256 mint = fleekContract.mint( - 0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84, + DEPLOYER, 'Foundry Test App', 'This is a test application submitted by foundry tests.', 'https://fleek.xyz', @@ -194,7 +198,7 @@ contract ContractBTest is Test { function testSetTokenName() public { uint256 mint = fleekContract.mint( - 0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84, + DEPLOYER, 'Foundry Test App', 'This is a test application submitted by foundry tests.', 'https://fleek.xyz', @@ -211,7 +215,7 @@ contract ContractBTest is Test { function testSetTokenDescription() public { uint256 mint = fleekContract.mint( - 0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84, + DEPLOYER, 'Foundry Test App', 'This is a test application submitted by foundry tests.', 'https://fleek.xyz', @@ -228,7 +232,7 @@ contract ContractBTest is Test { function testSetTokenImage() public { uint256 mint = fleekContract.mint( - 0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84, + DEPLOYER, 'Foundry Test App', 'This is a test application submitted by foundry tests.', 'https://fleek.xyz', @@ -245,7 +249,7 @@ contract ContractBTest is Test { function testSetTokenExternalURL() public { uint256 mint = fleekContract.mint( - 0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84, + DEPLOYER, 'Foundry Test App', 'This is a test application submitted by foundry tests.', 'https://fleek.xyz', @@ -261,18 +265,72 @@ contract ContractBTest is Test { } function testSetTokenBuild() public { - } + uint256 mint = fleekContract.mint( + DEPLOYER, + 'Foundry Test App', + 'This is a test application submitted by foundry tests.', + 'https://fleek.xyz', + 'https://fleek.xyz', + 'fleek_xyz', + 'afff3f6', + 'https://github.com/fleekxyz/contracts' + ); - function testUpgradeTokenBuild() public { + assertEq(mint, 0); + + fleekContract.setTokenBuild(mint, 'aaaaaaa', 'https://github.com/fleekxyz/test_contracts'); } function testSetTokenENS() public { + uint256 mint = fleekContract.mint( + DEPLOYER, + 'Foundry Test App', + 'This is a test application submitted by foundry tests.', + 'https://fleek.xyz', + 'https://fleek.xyz', + 'fleek_xyz', + 'afff3f6', + 'https://github.com/fleekxyz/contracts' + ); + + assertEq(mint, 0); + + fleekContract.setTokenENS(mint, 'fleek_nfts'); } function testAddTokenController() public { + uint256 mint = fleekContract.mint( + DEPLOYER, + 'Foundry Test App', + 'This is a test application submitted by foundry tests.', + 'https://fleek.xyz', + 'https://fleek.xyz', + 'fleek_xyz', + 'afff3f6', + 'https://github.com/fleekxyz/contracts' + ); + + assertEq(mint, 0); + + fleekContract.addTokenController(mint, 0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84); } function testRemoveTokenController() public { + uint256 mint = fleekContract.mint( + DEPLOYER, + 'Foundry Test App', + 'This is a test application submitted by foundry tests.', + 'https://fleek.xyz', + 'https://fleek.xyz', + 'fleek_xyz', + 'afff3f6', + 'https://github.com/fleekxyz/contracts' + ); + + assertEq(mint, 0); + + fleekContract.addTokenController(mint, 0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84); + fleekContract.removeTokenController(mint, 0xb4c79daB8f259C7Aee6E5b2Aa729821864227e84); } }